Changeset 421 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- May 9, 2012, 7:12:53 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r411 r421 79 79 test bh, FLG_DRVNHEAD_DRV 80 80 jnz SHORT .SkipLongWaitSinceDriveIsNotPrimaryMaster 81 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_MOTOR_STARTUP, FLG_STATUS_ BSY)81 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_MOTOR_STARTUP, FLG_STATUS_DRDY) 82 82 call IdeWait_PollStatusFlagInBLwithTimeoutInBH 83 83 .SkipLongWaitSinceDriveIsNotPrimaryMaster: … … 195 195 ALIGN JUMP_ALIGN 196 196 IdeCommand_SelectDrive: 197 %if 0 197 198 ; Wait until neither Master or Slave Drive is busy 198 199 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_BSY, FLG_STATUS_BSY) … … 200 201 eCMOVE bh, TIMEOUT_IDENTIFY_DEVICE 201 202 call IdeWait_PollStatusFlagInBLwithTimeoutInBH 203 %endif 202 204 203 205 ; Select Master or Slave Drive -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r419 r421 119 119 jc SHORT ReturnWithTransferErrorInAH 120 120 121 ; All rectors succesfully transferred121 ; All sectors succesfully transferred 122 122 add cx, [bp+PIOVARS.bSectorsDone] ; Never sets CF 123 123 ret … … 371 371 pop ds 372 372 ret 373 374 373 %endif ; MODULE_8BIT_IDE 374 375 375 376 376 ;-------------------------------------------------------------------- … … 395 395 db 6Fh ; OUTSW/OUTSD 396 396 ret 397 %endif 397 %endif ; USE_AT 398 398 399 399
Note:
See TracChangeset
for help on using the changeset viewer.