Ignore:
File:
1 edited

Legend:

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

    r28 r3  
    22; Project name  :   IDE BIOS
    33; Created date  :   14.12.2007
    4 ; Last update   :   1.8.2010
     4; Last update   :   14.4.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
    170171    jmp     HStatus_WaitBsyDefTime      ; Check for errors
    171172.RetError:
     
    231232HPIO_WriteToDrive:
    232233    cld                                     ; OUTS to increment SI
    233     call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block, get status reg to DX
     234    call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block
    234235    jc      SHORT .RetError                 ; Return if error (code in AH)
    235236    sub     dx, BYTE REGR_IDE_ST            ; DX to Data Port address
     
    250251    jmp     HStatus_WaitIrqOrRdy            ; Check for errors
    251252
    252 
     253   
    253254;--------------------------------------------------------------------
    254255; Bus specific transfer functions and lookup table.
Note: See TracChangeset for help on using the changeset viewer.