Last change
on this file since 619 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
|
Rev | Line | |
---|
[41] | 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!
|
---|
[110] | 8 | %include "Macros.inc"
|
---|
[41] | 9 | %include "BiosData.inc"
|
---|
| 10 | %include "BiosFunctions.inc"
|
---|
[596] | 11 | %include "CgaSnow.inc"
|
---|
[593] | 12 | %include "CMOS.inc"
|
---|
[41] | 13 | %include "Debug.inc"
|
---|
[247] | 14 | %include "Delay.inc"
|
---|
[41] | 15 | %include "DosFunctions.inc"
|
---|
[50] | 16 | %include "File.inc"
|
---|
[41] | 17 | %include "Math.inc"
|
---|
[105] | 18 | %include "Registers.inc"
|
---|
[256] | 19 | %include "SystemTimer.inc"
|
---|
[41] | 20 |
|
---|
[256] | 21 |
|
---|
[41] | 22 | ; Library dependencies
|
---|
[603] | 23 | %ifdef INCLUDE_MENU_LIBRARY OR INCLUDE_MENU_DIALOGS ; To prevent warnings with Nasm 2.13.xx
|
---|
[41] | 24 | %include "Menu.inc"
|
---|
| 25 | %include "MenuEvents.inc"
|
---|
| 26 | %define INCLUDE_KEYBOARD_LIBRARY
|
---|
| 27 | %define INCLUDE_TIME_LIBRARY
|
---|
[596] | 28 |
|
---|
[593] | 29 | %ifdef INCLUDE_MENU_DIALOGS
|
---|
| 30 | %include "Dialog.inc"
|
---|
| 31 | %define INCLUDE_MENU_LIBRARY
|
---|
| 32 | %define INCLUDE_FILE_LIBRARY
|
---|
| 33 | %endif
|
---|
[41] | 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 |
|
---|
[73] | 46 | %ifdef INCLUDE_STRING_LIBRARY
|
---|
| 47 | %define INCLUDE_UTIL_LIBRARY
|
---|
| 48 | %endif
|
---|
| 49 |
|
---|
[41] | 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.