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

Last change on this file since 612 was 603, checked in by Krister Nordvall, 4 years ago

Changes:

  • Fixed a bug in Strings.asm from r589 where building the BIOS without MODULE_STRINGS_COMPRESSED would fail. Also removed a redundant CR to save a byte when building without MODULE_STRINGS_COMPRESSED.
  • Optimized the code in MODULE_HOTKEYS to reduce ROM space usage, stack usage and time spent in the user timer tick interrupt handler (1Ch). I hope this will fix the problem with hangs introduced in r599.
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.