Changeset 116 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Feb 26, 2011, 11:55:06 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r99 r116 34 34 jz SHORT .InitializeRamvars ; No need to steal RAM 35 35 36 LOAD_BDA_SEGMENT_TO ds, ax 36 LOAD_BDA_SEGMENT_TO ds, ax, ! ; Zero AX 37 37 mov al, [cs:ROMVARS.bStealSize] 38 38 sub [BDA.wBaseMem], ax … … 197 197 ; Corrupts registers: 198 198 ; Nothing 199 ;-------------------------------------------------------------------- 199 ;-------------------------------------------------------------------- 200 200 ALIGN JUMP_ALIGN 201 201 RamVars_GetHardDiskCountFromBDAtoCX: … … 203 203 push dx 204 204 205 LOAD_BDA_SEGMENT_TO es, cx 205 LOAD_BDA_SEGMENT_TO es, cx, ! ; Zero CX 206 206 call RamVars_GetCountOfKnownDrivesToDL 207 207 MAX_U dl, [es:BDA.bHDCount] … … 220 220 ; Corrupts registers: 221 221 ; Nothing 222 ;-------------------------------------------------------------------- 222 ;-------------------------------------------------------------------- 223 223 ALIGN JUMP_ALIGN 224 224 RamVars_GetCountOfKnownDrivesToDL: … … 237 237 ; Corrupts registers: 238 238 ; Nothing 239 ;-------------------------------------------------------------------- 239 ;-------------------------------------------------------------------- 240 240 RamVars_GetIdeControllerCountToCX: 241 241 eMOVZX cx, BYTE [cs:ROMVARS.bIdeCnt]
Note:
See TracChangeset
for help on using the changeset viewer.