[41] | 1 | ; Project name : Assembly Library
|
---|
| 2 | ; Description : Assembly Library main file. This is the only file that
|
---|
| 3 | ; needs to be included.
|
---|
| 4 |
|
---|
| 5 | ; Section containing code
|
---|
| 6 | SECTION .text
|
---|
| 7 |
|
---|
| 8 | %ifdef INCLUDE_DISPLAY_LIBRARY
|
---|
[369] | 9 | %ifndef DISPLAY_JUMP_ALIGN
|
---|
| 10 | %define DISPLAY_JUMP_ALIGN 1
|
---|
| 11 | %endif
|
---|
[48] | 12 | %include "CgaSnow.asm"
|
---|
[41] | 13 | %include "Display.asm"
|
---|
| 14 | %include "DisplayCharOut.asm"
|
---|
| 15 | %include "DisplayContext.asm"
|
---|
| 16 | %include "DisplayCursor.asm"
|
---|
| 17 | %include "DisplayPage.asm"
|
---|
[370] | 18 | %include "DisplayPrint.asm" ; must come before DisplayFormat/DisplayFormatCompressed
|
---|
[186] | 19 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
| 20 | %include "DisplayFormatCompressed.asm"
|
---|
| 21 | %else
|
---|
[370] | 22 | %include "DisplayFormat.asm"
|
---|
[41] | 23 | %endif
|
---|
[186] | 24 | %endif
|
---|
[41] | 25 |
|
---|
| 26 | %ifdef INCLUDE_FILE_LIBRARY
|
---|
| 27 | %include "Directory.asm"
|
---|
| 28 | %include "DosCritical.asm"
|
---|
| 29 | %include "Drive.asm"
|
---|
| 30 | %include "FileIO.asm"
|
---|
| 31 | %endif
|
---|
| 32 |
|
---|
| 33 | %ifdef INCLUDE_KEYBOARD_LIBRARY
|
---|
[369] | 34 | %ifndef KEYBOARD_JUMP_ALIGN
|
---|
| 35 | %define KEYBOARD_JUMP_ALIGN 1
|
---|
[370] | 36 | %endif
|
---|
[41] | 37 | %include "Keyboard.asm"
|
---|
| 38 | %endif
|
---|
| 39 |
|
---|
| 40 | %ifdef INCLUDE_MENU_LIBRARY
|
---|
[369] | 41 | %ifndef MENU_JUMP_ALIGN
|
---|
| 42 | %define MENU_JUMP_ALIGN 1
|
---|
[370] | 43 | %endif
|
---|
[52] | 44 | %include "CharOutLineSplitter.asm"
|
---|
[41] | 45 | %include "Menu.asm"
|
---|
| 46 | %include "MenuAttributes.asm"
|
---|
| 47 | %include "MenuBorders.asm"
|
---|
| 48 | %include "MenuCharOut.asm"
|
---|
| 49 | %include "MenuEvent.asm"
|
---|
| 50 | %include "MenuInit.asm"
|
---|
| 51 | %include "MenuLocation.asm"
|
---|
| 52 | %include "MenuLoop.asm"
|
---|
| 53 | %include "MenuScrollbars.asm"
|
---|
| 54 | %include "MenuText.asm"
|
---|
| 55 | %include "MenuTime.asm"
|
---|
| 56 |
|
---|
| 57 | %ifdef INCLUDE_MENU_DIALOGS
|
---|
| 58 | %include "Dialog.asm"
|
---|
[54] | 59 | %include "DialogDrive.asm"
|
---|
[41] | 60 | %include "DialogFile.asm"
|
---|
| 61 | %include "DialogMessage.asm"
|
---|
| 62 | %include "DialogProgress.asm"
|
---|
| 63 | %include "DialogSelection.asm"
|
---|
| 64 | %include "DialogString.asm"
|
---|
| 65 | %include "DialogWord.asm"
|
---|
[52] | 66 | %include "ItemLineSplitter.asm"
|
---|
[41] | 67 | %include "StringsForDialogs.asm"
|
---|
| 68 | %endif
|
---|
| 69 | %endif
|
---|
| 70 |
|
---|
| 71 | %ifdef INCLUDE_STRING_LIBRARY
|
---|
[369] | 72 | %ifndef STRING_JUMP_ALIGN
|
---|
| 73 | %define STRING_JUMP_ALIGN 1
|
---|
[370] | 74 | %endif
|
---|
[41] | 75 | %include "Char.asm"
|
---|
[131] | 76 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
| 77 | %include "String.asm"
|
---|
[162] | 78 | %include "StringProcess.asm"
|
---|
[131] | 79 | %endif
|
---|
[41] | 80 | %endif
|
---|
| 81 |
|
---|
[277] | 82 | %ifdef INCLUDE_SERIAL_LIBRARY
|
---|
| 83 | %include "Serial.inc"
|
---|
[370] | 84 | %endif
|
---|
[277] | 85 | %ifdef INCLUDE_SERIALSERVER_LIBRARY
|
---|
| 86 | %include "SerialServer.asm"
|
---|
| 87 | %include "SerialServerScan.asm"
|
---|
| 88 | %define INCLUDE_TIME_LIBRARY
|
---|
[370] | 89 | %endif
|
---|
[277] | 90 |
|
---|
[41] | 91 | %ifdef INCLUDE_TIME_LIBRARY
|
---|
[139] | 92 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
| 93 | %include "Delay.asm"
|
---|
[370] | 94 | %ifndef EXCLUDE_FROM_XTIDECFG
|
---|
| 95 | %include "SystemTimer.asm"
|
---|
| 96 | %endif
|
---|
[139] | 97 | %endif
|
---|
[41] | 98 | %include "TimerTicks.asm"
|
---|
| 99 | %endif
|
---|
| 100 |
|
---|
| 101 | %ifdef INCLUDE_UTIL_LIBRARY
|
---|
[369] | 102 | %ifndef UTIL_SIZE_JUMP_ALIGN
|
---|
| 103 | %define UTIL_SIZE_JUMP_ALIGN 1
|
---|
[370] | 104 | %endif
|
---|
[131] | 105 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
[85] | 106 | %include "Bit.asm"
|
---|
| 107 | %endif
|
---|
[172] | 108 | %include "Math.asm"
|
---|
[103] | 109 | %include "Registers.asm"
|
---|
[245] | 110 | %include "Reboot.asm"
|
---|
[41] | 111 | %include "Memory.asm"
|
---|
| 112 | %include "Size.asm"
|
---|
[131] | 113 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
[85] | 114 | %include "Sort.asm"
|
---|
| 115 | %endif
|
---|
[41] | 116 | %endif
|
---|
[277] | 117 |
|
---|