source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc@ 569

Last change on this file since 569 was 567, checked in by krille_n_@…, 10 years ago

Changes:

  • Renamed MODULE_FEATURE_SETS to MODULE_POWER_MANAGEMENT.
  • Renamed MODULE_VERY_LATE_INITIALIZATION to MODULE_VERY_LATE_INIT and removed it from the official builds.
  • Removed the code that skips detection of slave drives on XT-CF controllers since slave drives can be used with Lo-tech ISA CompactFlash boards.
  • Added autodetection of the SVC ADP50L controller to XTIDECFG.
  • The autodetection of XT-CF controllers now requires MODULE_8BIT_IDE_ADVANCED in the loaded BIOS.
  • Fixed a bug in XTIDECFG from r502 where the "Base (cmd block) address" menu option would be displayed when a serial device was selected as the IDE controller.
  • XTIDECFG would display the "Enable interrupt" menu option for the XTIDE r1 but not for the XTIDE r2. It's now displayed for both controller types.
  • Disabled the "Internal Write Cache" menu option in the Master/Slave Drive menus for serial device type drives.
  • Optimizations and other fixes.
File size: 3.9 KB
RevLine 
[395]1; Project name : XTIDE Universal BIOS
2; Description : Dependencies for optional modules.
3
4;
[491]5; XTIDE Universal BIOS and Associated Tools
[526]6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
[395]7;
8; This program is free software; you can redistribute it and/or modify
9; it under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2 of the License, or
11; (at your option) any later version.
[491]12;
[395]13; This program is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[491]16; GNU General Public License for more details.
[395]17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
[522]20; Allow RELOCATE_INT13H_STACK only for AT builds
21%ifndef USE_AT
[524]22 %ifdef RELOCATE_INT13H_STACK
23 %undef RELOCATE_INT13H_STACK
24 %warning "RELOCATE_INT13H_STACK is not supported for XT builds!"
25 %endif
[522]26%endif
27
28
[398]29%ifdef MODULE_SERIAL_FLOPPY
30 %ifndef MODULE_SERIAL
31 %define MODULE_SERIAL
32 %endif
33%endif
[397]34
[493]35%ifdef MODULE_8BIT_IDE_ADVANCED
36 %define MODULE_8BIT_IDE
[477]37 %include "DmaController.inc"
[471]38 %include "XTCF.inc" ; For Lo-tech XT-CF
[473]39 %include "JRIDE_ISA.inc" ; For JR-IDE/ISA
[536]40 %include "ADP50L.inc" ; For SVC ADP50L
[400]41%endif
42
[493]43; Include module specific .INC files
44%ifdef MODULE_8BIT_IDE
45 %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
46%endif
47
[398]48%ifdef MODULE_ADVANCED_ATA
49 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
50%endif
51
[550]52%ifdef MODULE_COMPATIBLE_TABLES
53 %include "CompatibleDPT.inc"
54%endif
55
[397]56%ifdef MODULE_EBIOS
57 %include "EBIOS.inc" ; Equates for EBIOS functions
58%endif
59
60%ifdef MODULE_HOTKEYS
61 %include "HotkeyBar.inc" ; For Hotkeys
62%endif
63
[492]64%ifdef MODULE_BOOT_MENU
65 %include "BootMenu.inc" ; For Boot Menu
66%endif
67
68%ifdef MODULE_BOOT_MENU OR MODULE_HOTKEYS
69 %define MODULE_DRIVEXLATE
70%endif
71
[398]72%ifdef MODULE_IRQ
73 %include "IntController.inc"
[397]74%endif
75
76
77; Included modules for ROMVARS.wFlags
[400]78%ifdef MODULE_8BIT_IDE
79 MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
80%else
81 MAIN_FLG_MODULE_8BIT_IDE EQU 0
82%endif
83
[397]84%ifdef MODULE_ADVANCED_ATA
85 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
86%else
87 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
88%endif
89
90%ifdef MODULE_BOOT_MENU
91 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
92%else
93 MAIN_FLG_MODULE_BOOT_MENU EQU 0
94%endif
95
96%ifdef MODULE_EBIOS
97 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
98%else
99 MAIN_FLG_MODULE_EBIOS EQU 0
100%endif
101
102%ifdef MODULE_HOTKEYS
103 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
104%else
105 MAIN_FLG_MODULE_HOTKEYS EQU 0
106%endif
107
[398]108%ifdef MODULE_IRQ
109 MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
110%else
111 MAIN_FLG_MODULE_IRQ EQU 0
112%endif
113
[397]114%ifdef MODULE_SERIAL
115 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
116%else
117 MAIN_FLG_MODULE_SERIAL EQU 0
118%endif
119
120%ifdef MODULE_SERIAL_FLOPPY
121 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
122%else
123 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
124%endif
125
126%ifdef MODULE_STRINGS_COMPRESSED
127 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
128%else
129 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
130%endif
131
[567]132%ifdef MODULE_POWER_MANAGEMENT
133 MAIN_FLG_MODULE_POWER_MANAGEMENT EQU FLG_ROMVARS_MODULE_POWER_MANAGEMENT
[400]134%else
[567]135 MAIN_FLG_MODULE_POWER_MANAGEMENT EQU 0
[400]136%endif
137
[493]138%ifdef MODULE_8BIT_IDE_ADVANCED
139 MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU FLG_ROMVARS_MODULE_8BIT_IDE_ADVANCED
140%else
141 MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU 0
142%endif
143
[567]144MASK_ROMVARS_INCLUDED_MODULES EQU MAIN_FLG_MODULE_8BIT_IDE | 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_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED | MAIN_FLG_MODULE_POWER_MANAGEMENT | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED
[493]145
Note: See TracBrowser for help on using the repository browser.