Changeset 148 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH10h_HReady.asm
- Timestamp:
- Mar 19, 2011, 8:09:41 PM (13 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH10h_HReady.asm
r3 r148 1 ; File name : AH10h_HReady.asm 2 ; Project name : IDE BIOS 3 ; Created date : 9.12.2007 4 ; Last update : 12.4.2010 5 ; Author : Tomi Tilli 1 ; Project name : XTIDE Universal BIOS 6 2 ; Description : Int 13h function AH=10h, Check Drive Ready. 7 3 … … 14 10 ; AH10h_HandlerForCheckDriveReady 15 11 ; Parameters: 16 ; AH: Bios function 10h 17 ; DL: Drive number (8xh) 18 ; Parameters loaded by Int13h_Jump: 19 ; DS: RAMVARS segment 20 ; Returns: 12 ; DL: Translated Drive number 13 ; DS:DI: Ptr to DPT (in RAMVARS segment) 14 ; SS:BP: Ptr to INTPACK 15 ; Returns with INTPACK in SS:BP: 21 16 ; AH: Int 13h return status 22 17 ; CF: 0 if succesfull, 1 if error 23 ; IF: 124 ; Corrupts registers:25 ; Flags26 18 ;-------------------------------------------------------------------- 27 19 ALIGN JUMP_ALIGN 28 20 AH10h_HandlerForCheckDriveReady: 29 ; Save registers30 push dx31 push cx32 push bx33 push ax34 35 ; Wait until drive is ready36 call FindDPT_ForDriveNumber ; DS:DI now points to DPT37 21 call HStatus_WaitRdyDefTime 38 jmp Int13h_PopXRegsAndReturn 22 xor ah, ah 23 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
Note: See TracChangeset
for help on using the changeset viewer.