Changes in trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm [28:3] in xtideuniversalbios
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r28 r3 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 21.9.2007 4 ; Last update : 1 .8.20104 ; Last update : 12.4.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Int 13h BIOS functions (Floppy and Hard disk). … … 57 57 call RamVars_IsFunctionHandledByThisBIOS 58 58 jnc SHORT Int13h_DirectCallToAnotherBios 59 ;DEBUG_PRINT_DRIVE_AND_FUNCTION60 59 61 60 ; Jump to correct BIOS function … … 89 88 Int13h_UnsupportedFunction: 90 89 Int13h_DirectCallToAnotherBios: 91 ; Temporarily store original DI and DS from stackto RAMVARS90 ; Temporarily store original DI and DS to RAMVARS 92 91 pop WORD [RAMVARS.wI13hDI] 93 92 pop WORD [RAMVARS.wI13hDS] … … 148 147 ; 149 148 ; Int13h_ReturnWithoutSwappingDrives 150 ; Int13h_StoreErrorCodeToBDAandPopDSDIandReturn151 ; Int13h_StoreErrorCodeToBDAandPopXRegsAndReturn152 149 ; Int13h_PopXRegsAndReturn 153 150 ; Int13h_PopDiDsAndReturn … … 163 160 Int13h_ReturnWithoutSwappingDrives: 164 161 pushf 165 dec BYTE [RAMVARS.xlateVars+XLATEVARS.bRecurCnt] ; Preserves CF 166 call HError_StoreBiosErrorCodeFromAHtoBDA 167 jmp SHORT Int13h_Leave 168 169 ALIGN JUMP_ALIGN 170 Int13h_StoreErrorCodeToBDAandPopDSDIandReturn: 171 call HError_StoreBiosErrorCodeFromAHtoBDA 172 jmp SHORT Int13h_PopDiDsAndReturn 173 174 ALIGN JUMP_ALIGN 175 Int13h_StoreErrorCodeToBDAandPopXRegsAndReturn: 176 call HError_StoreBiosErrorCodeFromAHtoBDA 162 dec BYTE [RAMVARS.xlateVars+XLATEVARS.bRecurCnt] 163 jmp SHORT Int13h_StoreErrorCodeAndLeave 177 164 ALIGN JUMP_ALIGN 178 165 Int13h_PopXRegsAndReturn: … … 186 173 pushf 187 174 call DriveXlate_WhenLeavingInt13h 175 Int13h_StoreErrorCodeAndLeave: 176 LOAD_BDA_SEGMENT_TO ds, di 177 mov [BDA.bHDLastSt], ah ; Store error code 188 178 Int13h_Leave: 189 179 popf
Note: See TracChangeset
for help on using the changeset viewer.