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 "DmaController.inc"
|
---|
39 | %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
|
---|
40 | %include "XTCF.inc" ; For Lo-tech XT-CF
|
---|
41 | %include "JRIDE_ISA.inc" ; For JR-IDE/ISA
|
---|
42 | %endif
|
---|
43 |
|
---|
44 | %ifdef MODULE_ADVANCED_ATA
|
---|
45 | %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
|
---|
46 | %endif
|
---|
47 |
|
---|
48 | %ifdef MODULE_EBIOS
|
---|
49 | %include "EBIOS.inc" ; Equates for EBIOS functions
|
---|
50 | %endif
|
---|
51 |
|
---|
52 | %ifdef MODULE_HOTKEYS
|
---|
53 | %include "HotkeyBar.inc" ; For Hotkeys
|
---|
54 | %ifdef MODULE_BOOT_MENU
|
---|
55 | %include "BootMenu.inc" ; For Boot Menu
|
---|
56 | %endif
|
---|
57 | %endif
|
---|
58 |
|
---|
59 | %ifdef MODULE_IRQ
|
---|
60 | %include "IntController.inc"
|
---|
61 | %endif
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|
65 | ; Included modules for ROMVARS.wFlags
|
---|
66 | %ifdef MODULE_8BIT_IDE
|
---|
67 | MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
|
---|
68 | %else
|
---|
69 | MAIN_FLG_MODULE_8BIT_IDE EQU 0
|
---|
70 | %endif
|
---|
71 |
|
---|
72 | %ifdef MODULE_ADVANCED_ATA
|
---|
73 | MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
|
---|
74 | %else
|
---|
75 | MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
|
---|
76 | %endif
|
---|
77 |
|
---|
78 | %ifdef MODULE_BOOT_MENU
|
---|
79 | MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
|
---|
80 | %else
|
---|
81 | MAIN_FLG_MODULE_BOOT_MENU EQU 0
|
---|
82 | %endif
|
---|
83 |
|
---|
84 | %ifdef MODULE_EBIOS
|
---|
85 | MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
|
---|
86 | %else
|
---|
87 | MAIN_FLG_MODULE_EBIOS EQU 0
|
---|
88 | %endif
|
---|
89 |
|
---|
90 | %ifdef MODULE_HOTKEYS
|
---|
91 | MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
|
---|
92 | %else
|
---|
93 | MAIN_FLG_MODULE_HOTKEYS EQU 0
|
---|
94 | %endif
|
---|
95 |
|
---|
96 | %ifdef MODULE_IRQ
|
---|
97 | MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
|
---|
98 | %else
|
---|
99 | MAIN_FLG_MODULE_IRQ EQU 0
|
---|
100 | %endif
|
---|
101 |
|
---|
102 | %ifdef MODULE_SERIAL
|
---|
103 | MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
|
---|
104 | %else
|
---|
105 | MAIN_FLG_MODULE_SERIAL EQU 0
|
---|
106 | %endif
|
---|
107 |
|
---|
108 | %ifdef MODULE_SERIAL_FLOPPY
|
---|
109 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
|
---|
110 | %else
|
---|
111 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
|
---|
112 | %endif
|
---|
113 |
|
---|
114 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
115 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
|
---|
116 | %else
|
---|
117 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
|
---|
118 | %endif
|
---|
119 |
|
---|
120 | %ifdef MODULE_FEATURE_SETS
|
---|
121 | MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
|
---|
122 | %else
|
---|
123 | MAIN_FLG_MODULE_FEATURE_SETS EQU 0
|
---|
124 | %endif
|
---|
125 |
|
---|
126 | MASK_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
|
---|