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_ADVANCED_ATA
|
---|
38 | %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
|
---|
39 | %endif
|
---|
40 |
|
---|
41 | %ifdef MODULE_EBIOS
|
---|
42 | %include "EBIOS.inc" ; Equates for EBIOS functions
|
---|
43 | %endif
|
---|
44 |
|
---|
45 | %ifdef MODULE_HOTKEYS
|
---|
46 | %include "HotkeyBar.inc" ; For Hotkeys
|
---|
47 | %ifdef MODULE_BOOT_MENU
|
---|
48 | %include "BootMenu.inc" ; For Boot Menu
|
---|
49 | %endif
|
---|
50 | %endif
|
---|
51 |
|
---|
52 | %ifdef MODULE_IRQ
|
---|
53 | %include "IntController.inc"
|
---|
54 | %endif
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 | ; Included modules for ROMVARS.wFlags
|
---|
59 | %ifdef MODULE_ADVANCED_ATA
|
---|
60 | MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
|
---|
61 | %else
|
---|
62 | MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
|
---|
63 | %endif
|
---|
64 |
|
---|
65 | %ifdef MODULE_BOOT_MENU
|
---|
66 | MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
|
---|
67 | %else
|
---|
68 | MAIN_FLG_MODULE_BOOT_MENU EQU 0
|
---|
69 | %endif
|
---|
70 |
|
---|
71 | %ifdef MODULE_EBIOS
|
---|
72 | MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
|
---|
73 | %else
|
---|
74 | MAIN_FLG_MODULE_EBIOS EQU 0
|
---|
75 | %endif
|
---|
76 |
|
---|
77 | %ifdef MODULE_HOTKEYS
|
---|
78 | MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
|
---|
79 | %else
|
---|
80 | MAIN_FLG_MODULE_HOTKEYS EQU 0
|
---|
81 | %endif
|
---|
82 |
|
---|
83 | %ifdef MODULE_IRQ
|
---|
84 | MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
|
---|
85 | %else
|
---|
86 | MAIN_FLG_MODULE_IRQ EQU 0
|
---|
87 | %endif
|
---|
88 |
|
---|
89 | %ifdef MODULE_JRIDE
|
---|
90 | MAIN_FLG_MODULE_JRIDE EQU FLG_ROMVARS_MODULE_JRIDE
|
---|
91 | %else
|
---|
92 | MAIN_FLG_MODULE_JRIDE EQU 0
|
---|
93 | %endif
|
---|
94 |
|
---|
95 | %ifdef MODULE_SERIAL
|
---|
96 | MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
|
---|
97 | %else
|
---|
98 | MAIN_FLG_MODULE_SERIAL EQU 0
|
---|
99 | %endif
|
---|
100 |
|
---|
101 | %ifdef MODULE_SERIAL_FLOPPY
|
---|
102 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
|
---|
103 | %else
|
---|
104 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
|
---|
105 | %endif
|
---|
106 |
|
---|
107 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
108 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
|
---|
109 | %else
|
---|
110 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
|
---|
111 | %endif
|
---|
112 |
|
---|
113 | MASK_ROMVARS_INCLUDED_MODULES EQU 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
|
---|