Fill BIOS segments using pointers from DOSMEM_Bios* functions, instead
of pointers from global heap functions.
This commit is contained in:
parent
62f059f6fe
commit
bf5ceb9ebc
|
@ -169,9 +169,9 @@ struct _DOS_LISTOFLISTS * DOSMEM_LOL()
|
|||
*/
|
||||
static void DOSMEM_FillBiosSegments(void)
|
||||
{
|
||||
BYTE *pBiosSys = (BYTE *)GlobalLock16( DOSMEM_BiosSysSeg );
|
||||
BYTE *pBiosSys = DOSMEM_BiosSys();
|
||||
BYTE *pBiosROMTable = pBiosSys+0xe6f5;
|
||||
BIOSDATA *pBiosData = (BIOSDATA *)GlobalLock16( DOSMEM_BiosDataSeg );
|
||||
BIOSDATA *pBiosData = DOSMEM_BiosData();
|
||||
|
||||
/* bogus 0xe0xx addresses !! Adapt int 0x10/0x1b if change needed */
|
||||
VIDEOFUNCTIONALITY *pVidFunc = (VIDEOFUNCTIONALITY *)(pBiosSys+0xe000);
|
||||
|
|
Loading…
Reference in New Issue