[41] | 1 | ; File name : AssemblyLibrary.inc
|
---|
| 2 | ; Project name : Assembly Library
|
---|
| 3 | ; Created date : 2.7.2010
|
---|
[73] | 4 | ; Last update : 11.12.2010
|
---|
[41] | 5 | ; Author : Tomi Tilli
|
---|
| 6 | ; Description : Common defines for all library functions.
|
---|
| 7 | %ifndef ASSEMBLY_LIBRARY_INC
|
---|
| 8 | %define ASSEMBLY_LIBRARY_INC
|
---|
| 9 |
|
---|
| 10 | ; Include .inc files
|
---|
| 11 | %include "Emulate.inc" ; Must be included first!
|
---|
| 12 | %include "BiosData.inc"
|
---|
| 13 | %include "BiosFunctions.inc"
|
---|
[48] | 14 | %include "CgaSnow.inc"
|
---|
[41] | 15 | %include "Debug.inc"
|
---|
| 16 | %include "DosFunctions.inc"
|
---|
[50] | 17 | %include "File.inc"
|
---|
[41] | 18 | %include "Math.inc"
|
---|
| 19 |
|
---|
| 20 | ; Library dependencies
|
---|
| 21 | %ifdef INCLUDE_MENU_DIALOGS
|
---|
| 22 | %include "Dialog.inc"
|
---|
| 23 | %define INCLUDE_MENU_LIBRARY
|
---|
| 24 | %define INCLUDE_FILE_LIBRARY
|
---|
| 25 | %endif
|
---|
| 26 |
|
---|
| 27 | %ifdef INCLUDE_MENU_LIBRARY
|
---|
| 28 | %include "Menu.inc"
|
---|
| 29 | %include "MenuEvents.inc"
|
---|
| 30 | %define INCLUDE_KEYBOARD_LIBRARY
|
---|
| 31 | %define INCLUDE_TIME_LIBRARY
|
---|
| 32 | %endif
|
---|
| 33 |
|
---|
| 34 | %ifdef INCLUDE_KEYBOARD_LIBRARY
|
---|
| 35 | %define INCLUDE_DISPLAY_LIBRARY
|
---|
| 36 | %define INCLUDE_UTIL_LIBRARY
|
---|
| 37 | %endif
|
---|
| 38 |
|
---|
| 39 | %ifdef INCLUDE_DISPLAY_LIBRARY
|
---|
| 40 | %include "Display.inc"
|
---|
| 41 | %define INCLUDE_STRING_LIBRARY
|
---|
| 42 | %endif
|
---|
| 43 |
|
---|
[73] | 44 | %ifdef INCLUDE_STRING_LIBRARY
|
---|
| 45 | %define INCLUDE_UTIL_LIBRARY
|
---|
| 46 | %endif
|
---|
| 47 |
|
---|
[41] | 48 | %ifdef INCLUDE_FILE_LIBRARY
|
---|
| 49 | %define INCLUDE_UTIL_LIBRARY
|
---|
| 50 | %endif
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | %endif ; ASSEMBLY_LIBRARY_INC
|
---|