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

Last change on this file since 420 was 400, checked in by aitotat@…, 13 years ago

Changes to XTIDE Universal BIOS:

  • Moved 8-bit device support to MODULE_8BIT_IDE.
  • JR-IDE/ISA support requires a lot less bytes.
  • AT builds now always use full operating mode.
File size: 3.5 KB
RevLine 
[395]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
[397]27
[398]28%ifdef MODULE_SERIAL_FLOPPY
29 %ifndef MODULE_SERIAL
30 %define MODULE_SERIAL
31 %endif
32%endif
[397]33
[400]34%ifdef MODULE_JRIDE
35 %ifndef MODULE_8BIT_IDE
36 %define MODULE_8BIT_IDE
37 %endif
38%endif
[397]39
[398]40
[400]41
[397]42; Include module specific .INC files
[400]43%ifdef MODULE_8BIT_IDE
44 %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
45%endif
46
[398]47%ifdef MODULE_ADVANCED_ATA
48 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
49%endif
50
[397]51%ifdef MODULE_EBIOS
52 %include "EBIOS.inc" ; Equates for EBIOS functions
53%endif
54
55%ifdef MODULE_HOTKEYS
56 %include "HotkeyBar.inc" ; For Hotkeys
57 %ifdef MODULE_BOOT_MENU
58 %include "BootMenu.inc" ; For Boot Menu
59 %endif
60%endif
61
[398]62%ifdef MODULE_IRQ
63 %include "IntController.inc"
[397]64%endif
65
66
[398]67
[397]68; Included modules for ROMVARS.wFlags
[400]69%ifdef MODULE_8BIT_IDE
70 MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
71%else
72 MAIN_FLG_MODULE_8BIT_IDE EQU 0
73%endif
74
[397]75%ifdef MODULE_ADVANCED_ATA
76 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
77%else
78 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
79%endif
80
81%ifdef MODULE_BOOT_MENU
82 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
83%else
84 MAIN_FLG_MODULE_BOOT_MENU EQU 0
85%endif
86
87%ifdef MODULE_EBIOS
88 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
89%else
90 MAIN_FLG_MODULE_EBIOS EQU 0
91%endif
92
93%ifdef MODULE_HOTKEYS
94 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
95%else
96 MAIN_FLG_MODULE_HOTKEYS EQU 0
97%endif
98
[398]99%ifdef MODULE_IRQ
100 MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
101%else
102 MAIN_FLG_MODULE_IRQ EQU 0
103%endif
104
[397]105%ifdef MODULE_JRIDE
106 MAIN_FLG_MODULE_JRIDE EQU FLG_ROMVARS_MODULE_JRIDE
107%else
108 MAIN_FLG_MODULE_JRIDE EQU 0
109%endif
110
111%ifdef MODULE_SERIAL
112 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
113%else
114 MAIN_FLG_MODULE_SERIAL EQU 0
115%endif
116
117%ifdef MODULE_SERIAL_FLOPPY
118 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
119%else
120 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
121%endif
122
123%ifdef MODULE_STRINGS_COMPRESSED
124 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
125%else
126 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
127%endif
128
[400]129%ifdef MODULE_FEATURE_SETS
130 MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
131%else
132 MAIN_FLG_MODULE_FEATURE_SETS EQU 0
133%endif
134
135MASK_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.