Ignore:
Timestamp:
Jul 26, 2010, 6:30:33 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Fixed a bug where Disk Parameter Table was accessed with wrong pointer register after writing last block
Cleaned AH=00h, Disk Controller Reset a bit

File:
1 edited

Legend:

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

    r3 r26  
    232232HPIO_WriteToDrive:
    233233    cld                                     ; OUTS to increment SI
    234     call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block
     234    call    HStatus_WaitDrqDefTime          ; Always poll DRQ for first block, get data port to DX
    235235    jc      SHORT .RetError                 ; Return if error (code in AH)
    236236    sub     dx, BYTE REGR_IDE_ST            ; DX to Data Port address
     
    251251    jmp     HStatus_WaitIrqOrRdy            ; Check for errors
    252252
    253    
     253
    254254;--------------------------------------------------------------------
    255255; Bus specific transfer functions and lookup table.
Note: See TracChangeset for help on using the changeset viewer.