Ignore:
Timestamp:
Apr 19, 2012, 3:08:06 PM (10 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • IRQ related stuff is now optional MODULE_IRQ.
  • XT builds no longer include support for IDE IRQ.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm

    r392 r398  
    9191    ; QD6580 always have Primary IDE at 1F0h
    9292    ; Secondary IDE at 170h can be enabled or disabled
    93     cmp     bx, DEVICE_ATA_DEFAULT_PORT
     93    cmp     bx, DEVICE_ATA_PRIMARY_PORT
    9494    je      SHORT .ReturnResultInZF
    9595
     
    108108    test    al, FLG_QDCONFIG_PRIMARY_IDE
    109109    jz      SHORT .CompareBXtoSecondaryIDE
    110     cmp     bx, DEVICE_ATA_DEFAULT_PORT
     110    cmp     bx, DEVICE_ATA_PRIMARY_PORT
    111111    ret
    112112
    113113.CompareBXtoSecondaryIDE:
    114     cmp     bx, DEVICE_ATA_DEFAULT_SECONDARY_PORT
     114    cmp     bx, DEVICE_ATA_SECONDARY_PORT
    115115.ReturnResultInZF:
    116116    ret
     
    180180    ; QD6580 always has Primary channel at 1F0h. Secondary channel at 170h can be Enabled or Disabled.
    181181    call    AccessDPT_GetIdeBasePortToBX
    182     cmp     bx, DEVICE_ATA_DEFAULT_PORT
     182    cmp     bx, DEVICE_ATA_PRIMARY_PORT
    183183    je      SHORT .CalculateTimingTicksForQD6580    ; Primary Channel so no need to modify DX
    184184    times 2 inc dx                                  ; Secondary Channel IDE Timing Register
Note: See TracChangeset for help on using the changeset viewer.