Changeset 364 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Mar 27, 2012, 4:21:58 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r363 r364 171 171 ;-------------------------------------------------------------------- 172 172 InitializePioMode: 173 xor dx, dx ; Parameter to Sector Count Register = 0 = PIO_DEFAULT_MODE 174 mov al, [di+DPT_ATA.bPioMode] 175 cmp al, 3 ; PIO mode 3 and above require IORDY 176 jb SHORT .SetTransferMode 177 or dl, al 178 .SetTransferMode: 173 mov dl, PIO_DEFAULT_MODE_DISABLE_IORDY 174 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_IORDY 175 jz SHORT .IordyNotSupported 176 177 ; Advanced PIO mode 3 and above 178 mov dl, [di+DPT_ADVANCED_ATA.bPioMode] 179 or dl, PIO_FLOW_CONTROL_MODE_xxx 180 181 .IordyNotSupported: 179 182 mov si, FEATURE_SET_TRANSFER_MODE 180 183 jmp AH23h_SetControllerFeatures
Note:
See TracChangeset
for help on using the changeset viewer.