1 | ; Project name : Assembly Library
|
---|
2 | ; Description : Assembly Library main file. This is the only file that
|
---|
3 | ; needs to be included.
|
---|
4 |
|
---|
5 | ;
|
---|
6 | ; XTIDE Universal BIOS and Associated Tools
|
---|
7 | ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
|
---|
8 | ;
|
---|
9 | ; This program is free software; you can redistribute it and/or modify
|
---|
10 | ; it under the terms of the GNU General Public License as published by
|
---|
11 | ; the Free Software Foundation; either version 2 of the License, or
|
---|
12 | ; (at your option) any later version.
|
---|
13 | ;
|
---|
14 | ; This program is distributed in the hope that it will be useful,
|
---|
15 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
16 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
17 | ; GNU General Public License for more details.
|
---|
18 | ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
---|
19 | ;
|
---|
20 |
|
---|
21 | ; Section containing code
|
---|
22 | SECTION .text
|
---|
23 |
|
---|
24 | %ifdef INCLUDE_DISPLAY_LIBRARY
|
---|
25 | %ifndef DISPLAY_JUMP_ALIGN
|
---|
26 | %define DISPLAY_JUMP_ALIGN 1
|
---|
27 | %endif
|
---|
28 | %include "CgaSnow.asm"
|
---|
29 | %include "Display.asm"
|
---|
30 | %include "DisplayCharOut.asm"
|
---|
31 | %include "DisplayContext.asm"
|
---|
32 | %include "DisplayCursor.asm"
|
---|
33 | %include "DisplayPage.asm"
|
---|
34 | %include "DisplayPrint.asm" ; must come before DisplayFormat/DisplayFormatCompressed
|
---|
35 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
36 | %include "DisplayFormatCompressed.asm"
|
---|
37 | %else
|
---|
38 | %include "DisplayFormat.asm"
|
---|
39 | %endif
|
---|
40 | %endif
|
---|
41 |
|
---|
42 | %ifdef INCLUDE_FILE_LIBRARY
|
---|
43 | %include "Directory.asm"
|
---|
44 | %include "DosCritical.asm"
|
---|
45 | %include "Drive.asm"
|
---|
46 | %include "FileIO.asm"
|
---|
47 | %endif
|
---|
48 |
|
---|
49 | %ifdef INCLUDE_KEYBOARD_LIBRARY
|
---|
50 | %ifndef KEYBOARD_JUMP_ALIGN
|
---|
51 | %define KEYBOARD_JUMP_ALIGN 1
|
---|
52 | %endif
|
---|
53 | %include "Keyboard.asm"
|
---|
54 | %endif
|
---|
55 |
|
---|
56 | %ifdef INCLUDE_MENU_LIBRARY
|
---|
57 | %ifndef MENU_JUMP_ALIGN
|
---|
58 | %define MENU_JUMP_ALIGN 1
|
---|
59 | %endif
|
---|
60 | %include "CharOutLineSplitter.asm"
|
---|
61 | %include "Menu.asm"
|
---|
62 | %include "MenuAttributes.asm"
|
---|
63 | %include "MenuBorders.asm"
|
---|
64 | %include "MenuCharOut.asm"
|
---|
65 | %include "MenuEvent.asm"
|
---|
66 | %include "MenuInit.asm"
|
---|
67 | %include "MenuLocation.asm"
|
---|
68 | %include "MenuLoop.asm"
|
---|
69 | %include "MenuScrollbars.asm"
|
---|
70 | %include "MenuText.asm"
|
---|
71 | %include "MenuTime.asm"
|
---|
72 |
|
---|
73 | %ifdef INCLUDE_MENU_DIALOGS
|
---|
74 | %include "Dialog.asm"
|
---|
75 | %include "DialogDrive.asm"
|
---|
76 | %include "DialogFile.asm"
|
---|
77 | %include "DialogMessage.asm"
|
---|
78 | %include "DialogProgress.asm"
|
---|
79 | %include "DialogSelection.asm"
|
---|
80 | %include "DialogString.asm"
|
---|
81 | %include "DialogWord.asm"
|
---|
82 | %include "ItemLineSplitter.asm"
|
---|
83 | %include "StringsForDialogs.asm"
|
---|
84 | %endif
|
---|
85 | %endif
|
---|
86 |
|
---|
87 | %ifdef INCLUDE_STRING_LIBRARY
|
---|
88 | %ifndef STRING_JUMP_ALIGN
|
---|
89 | %define STRING_JUMP_ALIGN 1
|
---|
90 | %endif
|
---|
91 | %include "Char.asm"
|
---|
92 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
93 | %include "String.asm"
|
---|
94 | %include "StringProcess.asm"
|
---|
95 | %endif
|
---|
96 | %endif
|
---|
97 |
|
---|
98 | %ifdef INCLUDE_SERIAL_LIBRARY
|
---|
99 | %include "Serial.inc"
|
---|
100 | %endif
|
---|
101 | %ifdef INCLUDE_SERIALSERVER_LIBRARY
|
---|
102 | %include "SerialServer.asm"
|
---|
103 | %include "SerialServerScan.asm"
|
---|
104 | %define INCLUDE_TIME_LIBRARY
|
---|
105 | %endif
|
---|
106 |
|
---|
107 | %ifdef INCLUDE_TIME_LIBRARY
|
---|
108 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
109 | %include "Delay.asm"
|
---|
110 | %ifndef EXCLUDE_FROM_XTIDECFG
|
---|
111 | %include "SystemTimer.asm"
|
---|
112 | %endif
|
---|
113 | %endif
|
---|
114 | %include "TimerTicks.asm"
|
---|
115 | %endif
|
---|
116 |
|
---|
117 | %ifdef INCLUDE_UTIL_LIBRARY
|
---|
118 | %ifndef UTIL_SIZE_JUMP_ALIGN
|
---|
119 | %define UTIL_SIZE_JUMP_ALIGN 1
|
---|
120 | %endif
|
---|
121 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
122 | %include "Bit.asm"
|
---|
123 | %endif
|
---|
124 | %include "Math.asm"
|
---|
125 | %include "Registers.asm"
|
---|
126 | %include "Reboot.asm"
|
---|
127 | %include "Memory.asm"
|
---|
128 | %include "Size.asm"
|
---|
129 | %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
|
---|
130 | %include "Sort.asm"
|
---|
131 | %endif
|
---|
132 | %endif
|
---|
133 |
|
---|