[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 |
|
---|
[398] | 20 | %ifdef MODULE_SERIAL_FLOPPY
|
---|
| 21 | %ifndef MODULE_SERIAL
|
---|
| 22 | %define MODULE_SERIAL
|
---|
| 23 | %endif
|
---|
| 24 | %endif
|
---|
[397] | 25 |
|
---|
[493] | 26 | %ifdef MODULE_8BIT_IDE_ADVANCED
|
---|
| 27 | %define MODULE_8BIT_IDE
|
---|
[477] | 28 | %include "DmaController.inc"
|
---|
[471] | 29 | %include "XTCF.inc" ; For Lo-tech XT-CF
|
---|
[473] | 30 | %include "JRIDE_ISA.inc" ; For JR-IDE/ISA
|
---|
[400] | 31 | %endif
|
---|
| 32 |
|
---|
[493] | 33 | ; Include module specific .INC files
|
---|
| 34 | %ifdef MODULE_8BIT_IDE
|
---|
| 35 | %include "IDE_8bit.inc" ; For IDE 8-bit data port macros
|
---|
| 36 | %endif
|
---|
| 37 |
|
---|
[398] | 38 | %ifdef MODULE_ADVANCED_ATA
|
---|
| 39 | %include "Vision.inc" ; For QDI Vision QD65xx VLB IDE Controllers
|
---|
| 40 | %endif
|
---|
| 41 |
|
---|
[397] | 42 | %ifdef MODULE_EBIOS
|
---|
| 43 | %include "EBIOS.inc" ; Equates for EBIOS functions
|
---|
| 44 | %endif
|
---|
| 45 |
|
---|
| 46 | %ifdef MODULE_HOTKEYS
|
---|
| 47 | %include "HotkeyBar.inc" ; For Hotkeys
|
---|
| 48 | %endif
|
---|
| 49 |
|
---|
[492] | 50 | %ifdef MODULE_BOOT_MENU
|
---|
| 51 | %include "BootMenu.inc" ; For Boot Menu
|
---|
| 52 | %endif
|
---|
| 53 |
|
---|
| 54 | %ifdef MODULE_BOOT_MENU OR MODULE_HOTKEYS
|
---|
| 55 | %define MODULE_DRIVEXLATE
|
---|
| 56 | %endif
|
---|
| 57 |
|
---|
[398] | 58 | %ifdef MODULE_IRQ
|
---|
| 59 | %include "IntController.inc"
|
---|
[397] | 60 | %endif
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 | ; Included modules for ROMVARS.wFlags
|
---|
[400] | 64 | %ifdef MODULE_8BIT_IDE
|
---|
| 65 | MAIN_FLG_MODULE_8BIT_IDE EQU FLG_ROMVARS_MODULE_8BIT_IDE
|
---|
| 66 | %else
|
---|
| 67 | MAIN_FLG_MODULE_8BIT_IDE EQU 0
|
---|
| 68 | %endif
|
---|
| 69 |
|
---|
[397] | 70 | %ifdef MODULE_ADVANCED_ATA
|
---|
| 71 | MAIN_FLG_MODULE_ADVANCED_ATA EQU FLG_ROMVARS_MODULE_ADVANCED_ATA
|
---|
| 72 | %else
|
---|
| 73 | MAIN_FLG_MODULE_ADVANCED_ATA EQU 0
|
---|
| 74 | %endif
|
---|
| 75 |
|
---|
| 76 | %ifdef MODULE_BOOT_MENU
|
---|
| 77 | MAIN_FLG_MODULE_BOOT_MENU EQU FLG_ROMVARS_MODULE_BOOT_MENU
|
---|
| 78 | %else
|
---|
| 79 | MAIN_FLG_MODULE_BOOT_MENU EQU 0
|
---|
| 80 | %endif
|
---|
| 81 |
|
---|
| 82 | %ifdef MODULE_EBIOS
|
---|
| 83 | MAIN_FLG_MODULE_EBIOS EQU FLG_ROMVARS_MODULE_EBIOS
|
---|
| 84 | %else
|
---|
| 85 | MAIN_FLG_MODULE_EBIOS EQU 0
|
---|
| 86 | %endif
|
---|
| 87 |
|
---|
| 88 | %ifdef MODULE_HOTKEYS
|
---|
| 89 | MAIN_FLG_MODULE_HOTKEYS EQU FLG_ROMVARS_MODULE_HOTKEYS
|
---|
| 90 | %else
|
---|
| 91 | MAIN_FLG_MODULE_HOTKEYS EQU 0
|
---|
| 92 | %endif
|
---|
| 93 |
|
---|
[398] | 94 | %ifdef MODULE_IRQ
|
---|
| 95 | MAIN_FLG_MODULE_IRQ EQU FLG_ROMVARS_MODULE_IRQ
|
---|
| 96 | %else
|
---|
| 97 | MAIN_FLG_MODULE_IRQ EQU 0
|
---|
| 98 | %endif
|
---|
| 99 |
|
---|
[397] | 100 | %ifdef MODULE_SERIAL
|
---|
| 101 | MAIN_FLG_MODULE_SERIAL EQU FLG_ROMVARS_MODULE_SERIAL
|
---|
| 102 | %else
|
---|
| 103 | MAIN_FLG_MODULE_SERIAL EQU 0
|
---|
| 104 | %endif
|
---|
| 105 |
|
---|
| 106 | %ifdef MODULE_SERIAL_FLOPPY
|
---|
| 107 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU FLG_ROMVARS_MODULE_SERIAL_FLOPPY
|
---|
| 108 | %else
|
---|
| 109 | MAIN_FLG_MODULE_SERIAL_FLOPPY EQU 0
|
---|
| 110 | %endif
|
---|
| 111 |
|
---|
| 112 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
| 113 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU FLG_ROMVARS_MODULE_STRINGS_COMPRESSED
|
---|
| 114 | %else
|
---|
| 115 | MAIN_FLG_MODULE_STRINGS_COMPRESSED EQU 0
|
---|
| 116 | %endif
|
---|
| 117 |
|
---|
[400] | 118 | %ifdef MODULE_FEATURE_SETS
|
---|
| 119 | MAIN_FLG_MODULE_FEATURE_SETS EQU FLG_ROMVARS_MODULE_FEATURE_SETS
|
---|
| 120 | %else
|
---|
| 121 | MAIN_FLG_MODULE_FEATURE_SETS EQU 0
|
---|
| 122 | %endif
|
---|
| 123 |
|
---|
[493] | 124 | %ifdef MODULE_8BIT_IDE_ADVANCED
|
---|
| 125 | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU FLG_ROMVARS_MODULE_8BIT_IDE_ADVANCED
|
---|
| 126 | %else
|
---|
| 127 | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED EQU 0
|
---|
| 128 | %endif
|
---|
| 129 |
|
---|
| 130 | 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 | MAIN_FLG_MODULE_8BIT_IDE_ADVANCED
|
---|
| 131 |
|
---|