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

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

Changes to XTIDE Universal BIOS:

  • Large changes to prepare full XT-CF support (DMA not yet implemented and memory mapped transfers are not working).
File size: 3.3 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
35
36; Include module specific .INC files
37%ifdef MODULE_8BIT_IDE
38 %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
39 %include "XTCF.inc" ; For Lo-tech XT-CF
40 %include "JRIDE_ISA.inc" ; For JR-IDE/ISA
41%endif
42
43%ifdef MODULE_ADVANCED_ATA
44 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
45%endif
46
47%ifdef MODULE_EBIOS
48 %include "EBIOS.inc" ; Equates for EBIOS functions
49%endif
50
51%ifdef MODULE_HOTKEYS
52 %include "HotkeyBar.inc" ; For Hotkeys
53 %ifdef MODULE_BOOT_MENU
54 %include "BootMenu.inc" ; For Boot Menu
55 %endif
56%endif
57
58%ifdef MODULE_IRQ
59 %include "IntController.inc"
60%endif
61
62
63
64; Included modules for ROMVARS.wFlags
65%ifdef MODULE_8BIT_IDE
66 MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
67%else
68 MAIN_FLG_MODULE_8BIT_IDE EQU 0
69%endif
70
71%ifdef MODULE_ADVANCED_ATA
72 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
73%else
74 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
75%endif
76
77%ifdef MODULE_BOOT_MENU
78 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
79%else
80 MAIN_FLG_MODULE_BOOT_MENU EQU 0
81%endif
82
83%ifdef MODULE_EBIOS
84 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
85%else
86 MAIN_FLG_MODULE_EBIOS EQU 0
87%endif
88
89%ifdef MODULE_HOTKEYS
90 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
91%else
92 MAIN_FLG_MODULE_HOTKEYS EQU 0
93%endif
94
95%ifdef MODULE_IRQ
96 MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
97%else
98 MAIN_FLG_MODULE_IRQ EQU 0
99%endif
100
101%ifdef MODULE_SERIAL
102 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
103%else
104 MAIN_FLG_MODULE_SERIAL EQU 0
105%endif
106
107%ifdef MODULE_SERIAL_FLOPPY
108 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
109%else
110 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
111%endif
112
113%ifdef MODULE_STRINGS_COMPRESSED
114 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
115%else
116 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
117%endif
118
119%ifdef MODULE_FEATURE_SETS
120 MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
121%else
122 MAIN_FLG_MODULE_FEATURE_SETS EQU 0
123%endif
124
125MASK_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_FEATURE_SETS
Note: See TracBrowser for help on using the repository browser.