Changeset 171 in xtideuniversalbios


Ignore:
Timestamp:
Aug 22, 2011, 8:21:12 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Restore IdeTransfer.asm to r169 since recent optimizations broke at least drive identification.
File:
1 edited

Legend:

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

    r170 r171  
    2121;   Parameters:
    2222;       AL:     IDE command that was used to start the transfer
     23;               (all PIO read and write commands including Identify Device)
    2324;       ES:SI:  Ptr to destination buffer or source data
    2425;       DS:DI:  Ptr to DPT (in RAMVARS segment)
     
    3536
    3637    ; Are we reading or writing?
    37     test    al, 11001b
    38     jpo     SHORT .PrepareToWriteDataFromESSI
     38    test    al, 16  ; Bit 4 is cleared on all the read commands but set on 3 of the 4 write commands
     39    jnz     SHORT .PrepareToWriteDataFromESSI
     40    cmp     al, COMMAND_WRITE_MULTIPLE
     41    je      SHORT .PrepareToWriteDataFromESSI
    3942
    4043    ; Prepare to read data to ESSI
Note: See TracChangeset for help on using the changeset viewer.