Changeset 398 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Apr 19, 2012, 3:08:06 PM (13 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.
Location:
trunk/XTIDE_Universal_BIOS/Src/Initialization
Files:
2 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
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm

    r392 r398  
    6767    mov     al, BIOS_BOOT_LOADER_INTERRUPT_19h  ; INT 19h interrupt vector offset
    6868    mov     si, Int19hReset_Handler             ; INT 19h handler to reboot the system
     69%ifndef MODULE_IRQ
     70    ; Fall to Interrupts_InstallHandlerToVectorInALFromCSSI
     71%else
    6972    call    Interrupts_InstallHandlerToVectorInALFromCSSI
    7073    ; Fall to .InitializeHardwareIrqHandlers
     
    136139    mov     si, IdeIrq_InterruptServiceRoutineForIrqs2to7
    137140    ; Fall to Interrupts_InstallHandlerToVectorInALFromCSSI
     141%endif ; MODULE_IRQ
    138142
    139143
     
    158162
    159163
     164%ifdef MODULE_IRQ
    160165;--------------------------------------------------------------------
    161166; Interrupts_UnmaskInterruptControllerForDriveInDSDI
     
    227232.Return:
    228233    ret
     234
     235%endif ; MODULE_IRQ
Note: See TracChangeset for help on using the changeset viewer.