Ignore:
File:
1 edited

Legend:

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

    r3 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
     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
     
    251250    jmp     HStatus_WaitIrqOrRdy            ; Check for errors
    252251
    253    
     252
    254253;--------------------------------------------------------------------
    255254; Bus specific transfer functions and lookup table.
Note: See TracChangeset for help on using the changeset viewer.