Changeset 249 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
- Timestamp:
- Feb 16, 2012, 1:56:36 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r227 r249 105 105 ALIGN JUMP_ALIGN 106 106 .ExchangeInt13hHandlers: 107 call ExchangeCurrentInt13hHandlerWithOldInt13hHandler 107 %ifdef USE_186 108 push Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 109 jmp SHORT ExchangeCurrentInt13hHandlerWithOldInt13hHandler 110 %else 111 call ExchangeCurrentInt13hHandlerWithOldInt13hHandler 112 jmp SHORT Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 113 %endif 114 115 116 ;-------------------------------------------------------------------- 117 ; Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAHandTransferredSectorsFromCL 118 ; Parameters: 119 ; AH: BIOS Error code 120 ; CL: Number of sectors actually transferred 121 ; SS:BP: Ptr to IDEPACK 122 ; Returns: 123 ; All registers are loaded from INTPACK 124 ;-------------------------------------------------------------------- 125 ALIGN JUMP_ALIGN 126 Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAHandTransferredSectorsFromCL: 127 mov [bp+IDEPACK.intpack+INTPACK.al], cl 108 128 ; Fall to Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 109 110 129 111 130 ;--------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.