Changeset 28 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
- Timestamp:
- Aug 1, 2010, 5:57:24 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r27 r28 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 21.9.2007 4 ; Last update : 1 2.4.20104 ; Last update : 1.8.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_FUNCTION 59 60 60 61 ; Jump to correct BIOS function … … 147 148 ; 148 149 ; Int13h_ReturnWithoutSwappingDrives 150 ; Int13h_StoreErrorCodeToBDAandPopDSDIandReturn 151 ; Int13h_StoreErrorCodeToBDAandPopXRegsAndReturn 149 152 ; Int13h_PopXRegsAndReturn 150 153 ; Int13h_PopDiDsAndReturn … … 160 163 Int13h_ReturnWithoutSwappingDrives: 161 164 pushf 162 dec BYTE [RAMVARS.xlateVars+XLATEVARS.bRecurCnt] 163 jmp SHORT Int13h_StoreErrorCodeAndLeave 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 164 177 ALIGN JUMP_ALIGN 165 178 Int13h_PopXRegsAndReturn: … … 173 186 pushf 174 187 call DriveXlate_WhenLeavingInt13h 175 Int13h_StoreErrorCodeAndLeave:176 LOAD_BDA_SEGMENT_TO ds, di177 mov [BDA.bHDLastSt], ah ; Store error code178 188 Int13h_Leave: 179 189 popf
Note:
See TracChangeset
for help on using the changeset viewer.