Changeset 128 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Mar 4, 2011, 1:47:17 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DriveXlate.asm
r126 r128 141 141 ; Corrupts registers: 142 142 ; AX 143 ;-------------------------------------------------------------------- 143 ;-------------------------------------------------------------------- 144 144 ALIGN JUMP_ALIGN 145 145 DriveXlate_Reset: … … 160 160 ; Corrupts registers: 161 161 ; Nothing 162 ;-------------------------------------------------------------------- 162 ;-------------------------------------------------------------------- 163 163 ALIGN JUMP_ALIGN 164 164 DriveXlate_SetDriveToSwap: 165 test dl, 80h; Floppy drive?166 j nzSHORT .SetHardDiskToSwap165 test dl, dl ; Floppy drive? 166 js SHORT .SetHardDiskToSwap 167 167 .SetFloppyDriveToSwap: 168 168 mov [RAMVARS.xlateVars+XLATEVARS.bFDSwap], dl … … 187 187 ; Corrupts registers: 188 188 ; Nothing 189 ;-------------------------------------------------------------------- 189 ;-------------------------------------------------------------------- 190 190 ALIGN JUMP_ALIGN 191 191 DriveXlate_DoesFunctionReturnSomethingInDL: 192 192 cmp ah, 08h ; AH=08h, Read Disk Drive Parameters? 193 193 je SHORT DriveXlate_FunctionReturnsSomethingInDL 194 test dl, 80h195 j zSHORT DriveXlate_DoesFloppyFunctionReturnSomethingInDL194 test dl, dl 195 jns SHORT DriveXlate_DoesFloppyFunctionReturnSomethingInDL 196 196 ; Fall to DriveXlate_DoesHardDiskFunctionReturnSomethingInDL 197 197 … … 211 211 ; Corrupts registers: 212 212 ; Nothing 213 ;-------------------------------------------------------------------- 213 ;-------------------------------------------------------------------- 214 214 ; ALIGN JUMP_ALIGN 215 215 DriveXlate_DoesHardDiskFunctionReturnSomethingInDL:
Note:
See TracChangeset
for help on using the changeset viewer.