Changeset 294 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
- Timestamp:
- Mar 4, 2012, 1:35:10 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r270 r294 125 125 ALIGN JUMP_ALIGN 126 126 RamVars_GetHardDiskCountFromBDAtoAX: 127 push es128 129 LOAD_BDA_SEGMENT_TO es, ax130 127 call RamVars_GetCountOfKnownDrivesToAX 131 mov cl, [es:BDA.bHDCount] 128 push ds 129 LOAD_BDA_SEGMENT_TO ds, cx 130 mov cl, [BDA.bHDCount] 132 131 MAX_U al, cl 133 134 pop es 132 pop ds 135 133 ret 136 134 … … 151 149 cbw 152 150 ret 153 151 154 152 ;-------------------------------------------------------------------- 155 153 ; RamVars_GetIdeControllerCountToCX … … 163 161 ALIGN JUMP_ALIGN 164 162 RamVars_GetIdeControllerCountToCX: 165 eMOVZX cx, BYTE[cs:ROMVARS.bIdeCnt]163 eMOVZX cx, [cs:ROMVARS.bIdeCnt] 166 164 ret 167 165 … … 177 175 ; Corrupts registers: 178 176 ; Nothing 179 ;-------------------------------------------------------------------- 177 ;-------------------------------------------------------------------- 180 178 ALIGN JUMP_ALIGN 181 179 RamVars_UnpackFlopCntAndFirstToAL: 182 180 mov al, [RAMVARS.xlateVars+XLATEVARS.bFlopCntAndFirst] 183 sar al, 1 181 sar al, 1 184 182 ret 185 183 %endif
Note:
See TracChangeset
for help on using the changeset viewer.