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

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

Changes to XTIDE Universal BIOS:

  • Cleaned some code concerning recent module changes.
  • Removed drive number translation flag from ROMVARS.
  • BOOTMENUINFO is now DRVDETECTINFO.
  • Makefile now builds tiny binary (XT build with minimal features).
File size: 2.7 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
29
30; Include module specific .INC files
31%ifdef MODULE_EBIOS
32 %include "EBIOS.inc" ; Equates for EBIOS functions
33%endif
34
35%ifdef MODULE_HOTKEYS
36 %include "HotkeyBar.inc" ; For Hotkeys
37 %ifdef MODULE_BOOT_MENU
38 %include "BootMenu.inc" ; For Boot Menu
39 %endif
40%endif
41
42%ifdef MODULE_ADVANCED_ATA
43 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
44%endif
45
46
47; Included modules for ROMVARS.wFlags
48%ifdef MODULE_ADVANCED_ATA
49 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
50%else
51 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
52%endif
53
54%ifdef MODULE_BOOT_MENU
55 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
56%else
57 MAIN_FLG_MODULE_BOOT_MENU EQU 0
58%endif
59
60%ifdef MODULE_EBIOS
61 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
62%else
63 MAIN_FLG_MODULE_EBIOS EQU 0
64%endif
65
66%ifdef MODULE_HOTKEYS
67 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
68%else
69 MAIN_FLG_MODULE_HOTKEYS EQU 0
70%endif
71
72%ifdef MODULE_JRIDE
73 MAIN_FLG_MODULE_JRIDE EQU FLG_ROMVARS_MODULE_JRIDE
74%else
75 MAIN_FLG_MODULE_JRIDE EQU 0
76%endif
77
78%ifdef MODULE_SERIAL
79 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
80%else
81 MAIN_FLG_MODULE_SERIAL EQU 0
82%endif
83
84%ifdef MODULE_SERIAL_FLOPPY
85 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
86%else
87 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
88%endif
89
90%ifdef MODULE_STRINGS_COMPRESSED
91 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
92%else
93 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
94%endif
95
96MASK_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_JRIDE | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_SERIAL_FLOPPY | MAIN_FLG_MODULE_STRINGS_COMPRESSED
Note: See TracBrowser for help on using the repository browser.