Ignore:
Timestamp:
Aug 1, 2010, 5:57:24 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:
  • v1.1.1 broke booting from foreign drives, it is now fixed.
  • Improved error handling a bit.
  • Longer DRQ and IRQ timeouts to minimize write timouts with some (bad) CF cards.
  • Default boot menu drive should now be properly selected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HPIO.asm

    r26 r28  
    22; Project name  :   IDE BIOS
    33; Created date  :   14.12.2007
    4 ; Last update   :   14.4.2010
     4; Last update   :   1.8.2010
    55; Author        :   Tomi Tilli
    66; Description   :   PIO transfer functions.
     
    168168    add     cx, [bp+PIOVARS.wWordsLeft] ; CX to partial block size
    169169    call    [bp+PIOVARS.fnXfer]         ; Transfer possibly partial block
    170     call    HStatus_ReadAndIgnoreAlternateStatus
    171170    jmp     HStatus_WaitBsyDefTime      ; Check for errors
    172171.RetError:
     
    232231HPIO_WriteToDrive:
    233232    cld                                     ; OUTS to increment SI
    234     call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block, get data port to DX
     233    call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block, get status reg to DX
    235234    jc      SHORT .RetError                 ; Return if error (code in AH)
    236235    sub     dx, BYTE REGR_IDE_ST            ; DX to Data Port address
Note: See TracChangeset for help on using the changeset viewer.