Changeset 398 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


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/Inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc

    r397 r398  
    2626%endif
    2727
     28%ifdef MODULE_SERIAL_FLOPPY
     29    %ifndef MODULE_SERIAL
     30        %define MODULE_SERIAL
     31    %endif
     32%endif
     33
    2834
    2935
    3036; Include module specific .INC files
     37%ifdef MODULE_ADVANCED_ATA
     38    %include "Vision.inc"           ; For QDI Vision QD65xx VLB IDE Controllers
     39%endif
     40
    3141%ifdef MODULE_EBIOS
    3242    %include "EBIOS.inc"            ; Equates for EBIOS functions
     
    4050%endif
    4151
    42 %ifdef MODULE_ADVANCED_ATA
    43     %include "Vision.inc"           ; For QDI Vision QD65xx VLB IDE Controllers
     52%ifdef MODULE_IRQ
     53    %include "IntController.inc"
    4454%endif
     55
    4556
    4657
     
    7081%endif
    7182
     83%ifdef MODULE_IRQ
     84    MAIN_FLG_MODULE_IRQ     EQU FLG_ROMVARS_MODULE_IRQ
     85%else
     86    MAIN_FLG_MODULE_IRQ     EQU 0
     87%endif
     88
    7289%ifdef MODULE_JRIDE
    7390    MAIN_FLG_MODULE_JRIDE   EQU FLG_ROMVARS_MODULE_JRIDE
     
    94111%endif
    95112
    96 MASK_ROMVARS_INCLUDED_MODULES   EQU MAIN_FLG_MODULE_ADVANCED_ATA | MAIN_FLG_MODULE_BOOT_MENU | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_HOTKEYS | MAIN_FLG_MODULE_JRIDE | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED
     113MASK_ROMVARS_INCLUDED_MODULES   EQU MAIN_FLG_MODULE_ADVANCED_ATA | MAIN_FLG_MODULE_BOOT_MENU | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_HOTKEYS | MAIN_FLG_MODULE_IRQ | MAIN_FLG_MODULE_JRIDE | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r397 r398  
    7070                                                ; (Conveniently, this is 8, a fact we exploit when testing the bit)
    7171
    72 FLG_ROMVARS_MODULE_ADVANCED_ATA         EQU (1<<8)  ; Here in case the configuration needs to know functionality is present
    73 FLG_ROMVARS_MODULE_BOOT_MENU            EQU (1<<9)  ; Here in case the configuration needs to know functionality is present
    74 FLG_ROMVARS_MODULE_EBIOS                EQU (1<<10) ; Here in case the configuration needs to know functionality is present
    75 FLG_ROMVARS_MODULE_HOTKEYS              EQU (1<<11) ; Here in case the configuration needs to know functionality is present
     72FLG_ROMVARS_MODULE_ADVANCED_ATA         EQU (1<<7)  ; Here in case the configuration needs to know functionality is present
     73FLG_ROMVARS_MODULE_BOOT_MENU            EQU (1<<8)  ; Here in case the configuration needs to know functionality is present
     74FLG_ROMVARS_MODULE_EBIOS                EQU (1<<9)  ; Here in case the configuration needs to know functionality is present
     75FLG_ROMVARS_MODULE_HOTKEYS              EQU (1<<10) ; Here in case the configuration needs to know functionality is present
     76FLG_ROMVARS_MODULE_IRQ                  EQU (1<<11) ; Here in case the configuration needs to know functionality is present
    7677FLG_ROMVARS_MODULE_JRIDE                EQU (1<<12) ; Here in case the configuration needs to know functionality is present
    7778FLG_ROMVARS_MODULE_SERIAL               EQU (1<<13) ; Here in case the configuration needs to know functionality is present
     
    118119;
    119120DEVICE_XTIDE_DEFAULT_PORT               EQU     300h
    120 DEVICE_XTIDE_DEFAULT_PORTCTRL           EQU     308h
    121 DEVICE_ATA_DEFAULT_PORT                 EQU     1F0h
    122 DEVICE_ATA_DEFAULT_PORTCTRL             EQU     3F0h
    123 DEVICE_ATA_DEFAULT_SECONDARY_PORT       EQU     170h
    124 DEVICE_ATA_DEFAULT_SECONDARY_PORTCTRL   EQU     370h
     121DEVICE_XTIDE_DEFAULT_PORTCTRL           EQU     DEVICE_XTIDE_DEFAULT_PORT + 8h
     122
     123DEVICE_ATA_PRIMARY_PORT                 EQU     1F0h
     124DEVICE_ATA_PRIMARY_PORTCTRL             EQU     DEVICE_ATA_PRIMARY_PORT + 200h
     125
     126DEVICE_ATA_SECONDARY_PORT               EQU     170h
     127DEVICE_ATA_SECONDARY_PORTCTRL           EQU     DEVICE_ATA_SECONDARY_PORT + 200h
     128
     129DEVICE_ATA_TERTIARY_PORT                EQU     1E8h
     130DEVICE_ATA_TERTIARY_PORTCTRL            EQU     DEVICE_ATA_TERTIARY_PORT + 200h
     131
     132DEVICE_ATA_QUATERNARY_PORT              EQU     168h
     133DEVICE_ATA_QUATERNARY_PORTCTRL          EQU     DEVICE_ATA_QUATERNARY_PORT + 200h
     134
    125135
    126136; Device types for IDEVARS.bDevice
Note: See TracChangeset for help on using the changeset viewer.