Changeset 408 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device


Ignore:
Timestamp:
Apr 25, 2012, 8:57:37 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Restored polling BSY before selecting drive since 4GB Magicstor microdrive seems to require it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm

    r400 r408  
    195195ALIGN JUMP_ALIGN
    196196IdeCommand_SelectDrive:
     197    ; Wait until neither Master or Slave Drive is busy
     198    mov     bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_BSY, FLG_STATUS_BSY)
     199    cmp     BYTE [bp+IDEPACK.bCommand], COMMAND_IDENTIFY_DEVICE
     200    eCMOVE  bh, TIMEOUT_IDENTIFY_DEVICE
     201    call    IdeWait_PollStatusFlagInBLwithTimeoutInBH
     202
    197203    ; Select Master or Slave Drive
    198204    mov     al, [bp+IDEPACK.bDrvAndHead]
Note: See TracChangeset for help on using the changeset viewer.