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

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

Changes to XTIDE Universal BIOS:

  • INT 13h stack is now at the beginning of RAMVARS.
  • RELOCATE_INT13H_STACK is now allowed only for AT builds. This saves few bytes from interrupt table when lite mode is used.
File size: 3.7 KB
RevLine 
[395]1; Project name : XTIDE Universal BIOS
2; Description : Dependencies for optional modules.
3
4;
[491]5; XTIDE Universal BIOS and Associated Tools
[395]6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
7;
8; This program is free software; you can redistribute it and/or modify
9; it under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2 of the License, or
11; (at your option) any later version.
[491]12;
[395]13; This program is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[491]16; GNU General Public License for more details.
[395]17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
[522]20; Allow RELOCATE_INT13H_STACK only for AT builds
21%ifndef USE_AT
22 %undef RELOCATE_INT13H_STACK
23%endif
24
25
[398]26%ifdef MODULE_SERIAL_FLOPPY
27 %ifndef MODULE_SERIAL
28 %define MODULE_SERIAL
29 %endif
30%endif
[397]31
[493]32%ifdef MODULE_8BIT_IDE_ADVANCED
33 %define MODULE_8BIT_IDE
[477]34 %include "DmaController.inc"
[471]35 %include "XTCF.inc" ; For Lo-tech XT-CF
[473]36 %include "JRIDE_ISA.inc" ; For JR-IDE/ISA
[400]37%endif
38
[493]39; Include module specific .INC files
40%ifdef MODULE_8BIT_IDE
41 %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
42%endif
43
[398]44%ifdef MODULE_ADVANCED_ATA
45 %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
46%endif
47
[397]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%endif
55
[492]56%ifdef MODULE_BOOT_MENU
57 %include "BootMenu.inc" ; For Boot Menu
58%endif
59
60%ifdef MODULE_BOOT_MENU OR MODULE_HOTKEYS
61 %define MODULE_DRIVEXLATE
62%endif
63
[398]64%ifdef MODULE_IRQ
65 %include "IntController.inc"
[397]66%endif
67
68
69; Included modules for ROMVARS.wFlags
[400]70%ifdef MODULE_8BIT_IDE
71 MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
72%else
73 MAIN_FLG_MODULE_8BIT_IDE EQU 0
74%endif
75
[397]76%ifdef MODULE_ADVANCED_ATA
77 MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
78%else
79 MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
80%endif
81
82%ifdef MODULE_BOOT_MENU
83 MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
84%else
85 MAIN_FLG_MODULE_BOOT_MENU EQU 0
86%endif
87
88%ifdef MODULE_EBIOS
89 MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
90%else
91 MAIN_FLG_MODULE_EBIOS EQU 0
92%endif
93
94%ifdef MODULE_HOTKEYS
95 MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
96%else
97 MAIN_FLG_MODULE_HOTKEYS EQU 0
98%endif
99
[398]100%ifdef MODULE_IRQ
101 MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
102%else
103 MAIN_FLG_MODULE_IRQ EQU 0
104%endif
105
[397]106%ifdef MODULE_SERIAL
107 MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
108%else
109 MAIN_FLG_MODULE_SERIAL EQU 0
110%endif
111
112%ifdef MODULE_SERIAL_FLOPPY
113 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
114%else
115 MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
116%endif
117
118%ifdef MODULE_STRINGS_COMPRESSED
119 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
120%else
121 MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
122%endif
123
[400]124%ifdef MODULE_FEATURE_SETS
125 MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
126%else
127 MAIN_FLG_MODULE_FEATURE_SETS EQU 0
128%endif
129
[493]130%ifdef MODULE_8BIT_IDE_ADVANCED
131 MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU FLG_ROMVARS_MODULE_8BIT_IDE_ADVANCED
132%else
133 MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU 0
134%endif
135
136MASK_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 | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED
137
Note: See TracBrowser for help on using the repository browser.