Changeset 443 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
- Timestamp:
- Aug 25, 2012, 2:48:40 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r442 r443 63 63 ; CF: Cleared if success, Set if error 64 64 ; Corrupts registers: 65 ; AL, B L, CX, DX, SI, DI, ES65 ; AL, BX, CX, DX, SI, DI, ES 66 66 ;-------------------------------------------------------------------- 67 67 IdeCommand_IdentifyDeviceToBufferInESSIwithDriveSelectByteInBH: … … 74 74 call IdeDPT_StoreDeviceTypeFromIdevarsInCSBPtoDPTinDSDI 75 75 76 ; Wait until drive motors have reached maxspeed76 ; Wait until drive motors have reached full speed 77 77 cmp bp, BYTE ROMVARS.ideVars0 ; First controller? 78 78 jne SHORT .SkipLongWaitSinceDriveIsNotPrimaryMaster … … 88 88 %ifdef MODULE_8BIT_IDE 89 89 ; Enable 8-bit PIO mode for Lo-tech XT-CF 90 push si 90 91 call AH9h_Enable8bitPioModeForXTCF 92 pop si 91 93 jc SHORT .FailedToSet8bitMode 92 94 %endif … … 100 102 ; Clean stack and return 101 103 .FailedToSet8bitMode: 102 lea sp, [bp+ EXTRA_BYTES_FOR_INTPACK] ; This assumes BP hasn't changed between Idepack_FakeToSSBP and here104 lea sp, [bp+SIZE_OF_IDEPACK_WITHOUT_INTPACK] ; This assumes BP hasn't changed between Idepack_FakeToSSBP and here 103 105 pop bp 104 106 ret
Note:
See TracChangeset
for help on using the changeset viewer.