Changeset 10 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common


Ignore:
Timestamp:
May 25, 2010, 5:03:06 PM (15 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Now assembles with Yasm

File:
1 edited

Legend:

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

    r3 r10  
    22; Project name  :   IDE BIOS
    33; Created date  :   15.12.2009
    4 ; Last update   :   13.4.2010
     4; Last update   :   25.5.2010
    55; Author        :   Tomi Tilli
    66; Description   :   IDE Status Register polling functions.
     
    2626HStatus_WaitIrqOrRdy:
    2727    test    BYTE [di+DPT.bDrvCtrl], FLG_IDE_CTRL_nIEN
    28     jz      HIRQ_WaitIRQ                    ; Wait for IRQ if enabled
     28    jnz     SHORT .PollRdySinceIrqsAreDisabled
     29    jmp     HIRQ_WaitIRQ
     30ALIGN JUMP_ALIGN
     31.PollRdySinceIrqsAreDisabled:
    2932    call    HStatus_ReadAndIgnoreAlternateStatus
    3033    mov     cl, B_TIMEOUT_DRQ               ; Load DRQ (not RDY) timeout
Note: See TracChangeset for help on using the changeset viewer.