source: xtideuniversalbios/trunk/Assembly_Library/Inc/AssemblyLibrary.inc @ 596

Last change on this file since 596 was 596, checked in by krille_n_, 6 years ago

Changes:

  • Made changes to HotkeyBar.asm to give the Boot Menu and Hotkey Bar a more consistent look. It will probably seem a bit strange at first to people used to the classic theme.
  • Added the missing parts of USE_NEC_V that should have been committed with the rest in r593.
  • Removed DEFINES_ALL_FEATURES from the BIOS makefile. It didn't work anymore and never really made sense anyway. Added all the official builds to 'make unused' instead which actually uncovered some unused code in the Tiny build.
  • XTIDECFG will no longer load color themes from unrecognized versions of the BIOS.
  • Other fixes in comments and some minor optimizations.
File size: 1.3 KB
Line 
1; Project name  :   Assembly Library
2; Description   :   Common defines for all library functions.
3%ifndef ASSEMBLY_LIBRARY_INC
4%define ASSEMBLY_LIBRARY_INC
5
6; Include .inc files
7%include "Emulate.inc"          ; Must be included first!
8%include "Macros.inc"
9%include "BiosData.inc"
10%include "BiosFunctions.inc"
11%include "CgaSnow.inc"
12%include "CMOS.inc"
13%include "Debug.inc"
14%include "Delay.inc"
15%include "DosFunctions.inc"
16%include "File.inc"
17%include "Math.inc"
18%include "Registers.inc"
19%include "SystemTimer.inc"
20
21
22; Library dependencies
23%ifdef INCLUDE_MENU_LIBRARY or INCLUDE_MENU_DIALOGS ; To prevent warnings with Nasm 2.13.xx
24    %include "Menu.inc"
25    %include "MenuEvents.inc"
26    %define INCLUDE_KEYBOARD_LIBRARY
27    %define INCLUDE_TIME_LIBRARY
28
29    %ifdef INCLUDE_MENU_DIALOGS
30        %include "Dialog.inc"
31        %define INCLUDE_MENU_LIBRARY
32        %define INCLUDE_FILE_LIBRARY
33    %endif
34%endif
35
36%ifdef INCLUDE_KEYBOARD_LIBRARY
37    %define INCLUDE_DISPLAY_LIBRARY
38    %define INCLUDE_UTIL_LIBRARY
39%endif
40
41%ifdef INCLUDE_DISPLAY_LIBRARY
42    %include "Display.inc"
43    %define INCLUDE_STRING_LIBRARY
44%endif
45
46%ifdef INCLUDE_STRING_LIBRARY
47    %define INCLUDE_UTIL_LIBRARY
48%endif
49
50%ifdef INCLUDE_FILE_LIBRARY
51    %define INCLUDE_UTIL_LIBRARY
52%endif
53
54
55%endif ; ASSEMBLY_LIBRARY_INC
Note: See TracBrowser for help on using the repository browser.