Ignore:
Timestamp:
May 5, 2012, 4:01:03 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • AT builds now relocate INT 13h stack to top of stolen conventional memory.
  • Some small fixes here and there.
File:
1 edited

Legend:

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

    r414 r417  
    113113    mov     di, si                              ; DS:DI now points DPT
    114114CheckErrorsAfterTransferringLastBlock:
    115     mov     bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRDY)
     115    mov     bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_BSY)
    116116    call    IdeWait_PollStatusFlagInBLwithTimeoutInBH
    117117
     
    304304;       Nothing
    305305;   Corrupts registers:
    306 ;       AX, CX
     306;       AX, BX, CX, DX
    307307;--------------------------------------------------------------------
    308308%ifdef MODULE_8BIT_IDE
     
    311311WriteBlockToXtideRev1:
    312312    push    ds
    313     push    bx
    314313    UNROLL_SECTORS_IN_CX_TO_QWORDS
    315314    mov     bl, 8       ; Bit mask for toggling data low/high reg
     
    323322    XTIDE_OUTSW
    324323    loop    .OutswLoop
    325     pop     bx
    326324    pop     ds
    327325    ret
Note: See TracChangeset for help on using the changeset viewer.