source: xtideuniversalbios/trunk/Assembly_Library/Src/AssemblyLibrary.asm @ 369

Last change on this file since 369 was 369, checked in by gregli@…, 12 years ago

Removed align directives for initalization code and added define for align in boot-time calls to the assembly library (defaulting to 1), resulting in a significant savings for the AT and 386 builds. Fixed a bug with switch command line handling in the serial server. Put in CR characters in licesnse.txt, so that it properly displays on Windows. In the configurator, added default values for user supplied CHS and LBA values, defaulting to values within range when those features are enabled. Updated the copyright message in the configurator as the literal word Copyright is important.

File size: 2.7 KB
Line 
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
6SECTION .text
7
8%ifdef INCLUDE_DISPLAY_LIBRARY
9  %ifndef DISPLAY_JUMP_ALIGN
10    %define DISPLAY_JUMP_ALIGN 1
11  %endif
12    %include "CgaSnow.asm"
13    %include "Display.asm"
14    %include "DisplayCharOut.asm"
15    %include "DisplayContext.asm"
16    %include "DisplayCursor.asm"
17    %include "DisplayPage.asm"
18    %include "DisplayPrint.asm"                 ; must come before DisplayFormat/DisplayFormatCompressed           
19%ifdef MODULE_STRINGS_COMPRESSED
20    %include "DisplayFormatCompressed.asm"
21%else
22    %include "DisplayFormat.asm"       
23%endif
24%endif
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
34  %ifndef KEYBOARD_JUMP_ALIGN
35    %define KEYBOARD_JUMP_ALIGN 1
36  %endif       
37    %include "Keyboard.asm"
38%endif
39
40%ifdef INCLUDE_MENU_LIBRARY
41  %ifndef MENU_JUMP_ALIGN
42    %define MENU_JUMP_ALIGN 1
43  %endif               
44    %include "CharOutLineSplitter.asm"
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"
59        %include "DialogDrive.asm"
60        %include "DialogFile.asm"
61        %include "DialogMessage.asm"
62        %include "DialogProgress.asm"
63        %include "DialogSelection.asm"
64        %include "DialogString.asm"
65        %include "DialogWord.asm"
66        %include "ItemLineSplitter.asm"
67        %include "StringsForDialogs.asm"
68    %endif
69%endif
70
71%ifdef INCLUDE_STRING_LIBRARY
72  %ifndef STRING_JUMP_ALIGN
73    %define STRING_JUMP_ALIGN 1
74  %endif               
75    %include "Char.asm"
76    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
77        %include "String.asm"
78        %include "StringProcess.asm"
79    %endif
80%endif
81
82%ifdef INCLUDE_SERIAL_LIBRARY
83    %include "Serial.inc"
84%endif     
85%ifdef INCLUDE_SERIALSERVER_LIBRARY
86    %include "SerialServer.asm"
87    %include "SerialServerScan.asm"
88    %define INCLUDE_TIME_LIBRARY
89%endif     
90
91%ifdef INCLUDE_TIME_LIBRARY
92    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
93        %include "Delay.asm"
94        %include "SystemTimer.asm"
95    %endif
96    %include "TimerTicks.asm"
97%endif
98
99%ifdef INCLUDE_UTIL_LIBRARY
100  %ifndef UTIL_SIZE_JUMP_ALIGN
101    %define UTIL_SIZE_JUMP_ALIGN 1
102  %endif       
103    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
104        %include "Bit.asm"
105    %endif
106    %include "Math.asm"
107    %include "Registers.asm"
108    %include "Reboot.asm"
109    %include "Memory.asm"
110    %include "Size.asm"
111    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
112        %include "Sort.asm"
113    %endif
114%endif
115
Note: See TracBrowser for help on using the repository browser.