Changeset 322 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Timestamp:
- Mar 11, 2012, 4:17:46 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH25h_HDrvID.asm
r305 r322 22 22 ALIGN JUMP_ALIGN 23 23 AH25h_HandlerForGetDriveInformation: 24 mov al, 1 ; Read 1 sector 25 call Prepare_BufferToESSIforOldInt13hTransfer 26 mov ah, COMMAND_IDENTIFY_DEVICE 24 mov ax, (COMMAND_IDENTIFY_DEVICE << 8 | 1) ; Read 1 sector 25 call Prepare_BufferToESSIforOldInt13hTransfer ; Preserves AX 27 26 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRQ) 28 27 %ifdef USE_186 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
r294 r322 111 111 cmp al, 128 112 112 ja SHORT InvalidNumberOfSectorsRequested 113 mov ah, RET_HD_BOUNDARY114 113 test si, si ; Offset must be zero to xfer 128 sectors 115 114 jnz SHORT CannotAlignPointerProperly … … 120 119 Prepare_ReturnFromInt13hWithInvalidFunctionError: 121 120 mov ah, RET_HD_INVALID 121 SKIP2B f 122 CannotAlignPointerProperly: 123 mov ah, RET_HD_BOUNDARY 122 124 ZeroSectorsRequestedSoNoErrors: 123 CannotAlignPointerProperly:124 125 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 125 126
Note:
See TracChangeset
for help on using the changeset viewer.