Changeset 400 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Apr 20, 2012, 2:30:16 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r395 r400 47 47 ;-------------------------------------------------------------------- 48 48 .StealMemoryForRAMVARS: 49 ; Always steal memory when using Advanced ATA module since it 50 ; uses larger DPTs 51 %ifndef MODULE_ADVANCED_ATA 49 %ifndef USE_AT 52 50 mov ax, LITE_MODE_RAMVARS_SEGMENT 53 51 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE … … 114 112 RamVars_GetSegmentToDS: 115 113 116 %ifndef MODULE_ADVANCED_ATA ; Always in Full Mode when using Advanced ATA Module114 %ifndef USE_AT ; Always in Full Mode for AT builds 117 115 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE 118 116 jnz SHORT .GetStolenSegmentToDS 119 %ifndef USE_186120 mov di, LITE_MODE_RAMVARS_SEGMENT121 mov ds, di122 %else123 push LITE_MODE_RAMVARS_SEGMENT124 pop ds125 %endif126 ret 127 %endif ; MODULE_ADVANCED_ATA117 %ifndef USE_186 118 mov di, LITE_MODE_RAMVARS_SEGMENT 119 mov ds, di 120 %else 121 push LITE_MODE_RAMVARS_SEGMENT 122 pop ds 123 %endif 124 ret 125 %endif 128 126 129 127 ALIGN JUMP_ALIGN
Note:
See TracChangeset
for help on using the changeset viewer.