Changeset 165 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH25h_HDrvID.asm
- Timestamp:
- Aug 20, 2011, 6:37:44 PM (14 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH25h_HDrvID.asm
r150 r165 22 22 ALIGN JUMP_ALIGN 23 23 AH25h_HandlerForGetDriveInformation: 24 mov si, [bp+IDEPACK.intpack+INTPACK.bx] 25 %ifdef USE_186 26 push Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 27 ; Fall to AH25h_GetDriveInformationToBufferInESSIfromDriveInDL 28 %else 29 call AH25h_GetDriveInformationToBufferInESSIfromDriveInDL 30 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 31 %endif 32 33 34 ;-------------------------------------------------------------------- 35 ; AH25h_GetDriveInformationToBufferInESSIfromDriveInDL 36 ; Parameters: 37 ; DL: Translated Drive number 38 ; DS:DI: Ptr to DPT (in RAMVARS segment) 39 ; ES:SI: Ptr to buffer to receive 512-byte drive information 40 ; Returns with INTPACK: 41 ; AH: Int 13h return status 42 ; CF: 0 if succesfull, 1 if error 43 ; Corrupts registers: 44 ; AL, BX, CX, DX 45 ;-------------------------------------------------------------------- 46 AH25h_GetDriveInformationToBufferInESSIfromDriveInDL: 47 push es 24 48 push bp 49 push di 50 push si 25 51 26 mov si, [bp+IDEPACK.intpack+INTPACK.bx]27 52 call AccessDPT_GetDriveSelectByteToAL 28 53 mov bh, al … … 31 56 call Device_IdentifyToBufferInESSIwithDriveSelectByteInBH 32 57 58 pop si 59 pop di 33 60 pop bp 34 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 61 pop es 62 ret
Note:
See TracChangeset
for help on using the changeset viewer.