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

Last change on this file since 472 was 471, checked in by aitotat@…, 12 years ago

Changes to XTIDE Universal BIOS:

  • XT-CF Control Register definitions should now be correct.
  • Preparations for new function: AH=1Eh, Lo-tech XT-CF Features.
File size: 3.5 KB
Line 
1; /*
2; Project name : XTIDE Universal BIOS
3; Description : Dependencies for optional modules.
4
5;
6; XTIDE Universal BIOS and Associated Tools
7; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
8;
9; This program is free software; you can redistribute it and/or modify
10; it under the terms of the GNU General Public License as published by
11; the Free Software Foundation; either version 2 of the License, or
12; (at your option) any later version.
13;
14; This program is distributed in the hope that it will be useful,
15; but WITHOUT ANY WARRANTY; without even the implied warranty of
16; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17; GNU General Public License for more details.
18; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19;
20
21; Boot Menu requires Hotkey support
22%ifdef MODULE_BOOT_MENU
23 %ifndef MODULE_HOTKEYS
24 %define MODULE_HOTKEYS
25 %endif
26%endif
27
28%ifdef MODULE_SERIAL_FLOPPY
29 %ifndef MODULE_SERIAL
30 %define MODULE_SERIAL
31 %endif
32%endif
33
34%ifdef MODULE_JRIDE
35 %ifndef MODULE_8BIT_IDE
36 %define MODULE_8BIT_IDE
37 %endif
38%endif
39
40
41
42; Include module specific .INC files
43%ifdef MODULE_8BIT_IDE
44 %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
45 %include "XTCF.inc" ; For Lo-tech XT-CF
46%endif
47
48%ifdef MODULE_ADVANCED_ATA
49 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
50%endif
51
52%ifdef MODULE_EBIOS
53 %include "EBIOS.inc" ; Equates for EBIOS functions
54%endif
55
56%ifdef MODULE_HOTKEYS
57 %include "HotkeyBar.inc" ; For Hotkeys
58 %ifdef MODULE_BOOT_MENU
59 %include "BootMenu.inc" ; For Boot Menu
60 %endif
61%endif
62
63%ifdef MODULE_IRQ
64 %include "IntController.inc"
65%endif
66
67
68
69; Included modules for ROMVARS.wFlags
70%ifdef MODULE_8BIT_IDE
71 MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
72%else
73 MAIN_FLG_MODULE_8BIT_IDE EQU 0
74%endif
75
76%ifdef MODULE_ADVANCED_ATA
77 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
78%else
79 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
80%endif
81
82%ifdef MODULE_BOOT_MENU
83 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
84%else
85 MAIN_FLG_MODULE_BOOT_MENU EQU 0
86%endif
87
88%ifdef MODULE_EBIOS
89 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
90%else
91 MAIN_FLG_MODULE_EBIOS EQU 0
92%endif
93
94%ifdef MODULE_HOTKEYS
95 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
96%else
97 MAIN_FLG_MODULE_HOTKEYS EQU 0
98%endif
99
100%ifdef MODULE_IRQ
101 MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
102%else
103 MAIN_FLG_MODULE_IRQ EQU 0
104%endif
105
106%ifdef MODULE_JRIDE
107 MAIN_FLG_MODULE_JRIDE EQU FLG_ROMVARS_MODULE_JRIDE
108%else
109 MAIN_FLG_MODULE_JRIDE EQU 0
110%endif
111
112%ifdef MODULE_SERIAL
113 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
114%else
115 MAIN_FLG_MODULE_SERIAL EQU 0
116%endif
117
118%ifdef MODULE_SERIAL_FLOPPY
119 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
120%else
121 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
122%endif
123
124%ifdef MODULE_STRINGS_COMPRESSED
125 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
126%else
127 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
128%endif
129
130%ifdef MODULE_FEATURE_SETS
131 MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
132%else
133 MAIN_FLG_MODULE_FEATURE_SETS EQU 0
134%endif
135
136MASK_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_JRIDE | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED | MAIN_FLG_MODULE_FEATURE_SETS
Note: See TracBrowser for help on using the repository browser.