Changeset 35 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
- Timestamp:
- Aug 24, 2010, 6:44:44 PM (15 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r28 r35 82 82 and BYTE [di+DPT.bReset], ~FLG_RESET_nSETBLOCK 83 83 84 ; Force PIO mode 085 ;call AH9h_ForcePioMode086 87 84 .ReturnNotSuccessfull: 88 85 pop cx … … 152 149 .Return: 153 150 ret 154 155 156 ;--------------------------------------------------------------------157 ; AH9h_ForcePioMode0158 ; Parameters:159 ; DL: Drive number160 ; DS:DI: Ptr to DPT161 ; Returns:162 ; AH: BIOS Error code163 ; CF: Cleared if succesfull164 ; Set if any error165 ; Corrupts registers:166 ; AX, BX167 ;--------------------------------------------------------------------168 ;ALIGN JUMP_ALIGN169 ;AH9h_ForcePioMode0:170 ; mov bh, 08h ; Parameter to Sector Count Register (PIO Flow Control Transfer Mode 0)171 ; mov ax, 2303h ; Feature: Set transfer mode based on value in Sector Count register172 ; int 13h173 ; jc SHORT .FailedToForcePIO0174 ; ; Debug output here175 ; ret176 ;.FailedToForcePIO0:177 ; ; Debug output here178 ; ret
Note:
See TracChangeset
for help on using the changeset viewer.