Changeset 148 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Mar 19, 2011, 8:09:41 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r145 r148 149 149 ; Cleared if drive belongs to some other BIOS 150 150 ; Corrupts registers: 151 ; DI151 ; Nothing 152 152 ;-------------------------------------------------------------------- 153 153 ALIGN JUMP_ALIGN 154 154 RamVars_IsDriveHandledByThisBIOS: 155 xchg di, ax ; Backup AX155 push ax 156 156 mov ax, [RAMVARS.wDrvCntAndFirst] ; Drive count to AL, First number to AH 157 157 add al, ah ; One past last drive to AL … … 161 161 ja SHORT .DriveNotHandledByThisBIOS 162 162 stc 163 ALIGN JUMP_ALIGN164 163 .DriveNotHandledByThisBIOS: 165 xchg ax, di164 pop ax 166 165 ret 167 166
Note:
See TracChangeset
for help on using the changeset viewer.