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

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

WIDE checkin... Added copyright and license information to sorce files, as per the GPL instructions for usage.

File size: 3.4 KB
RevLine 
[41]1; Project name  :   Assembly Library
2; Description   :   Assembly Library main file. This is the only file that
3;                   needs to be included.
4
[376]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
[41]21; Section containing code
22SECTION .text
23
24%ifdef INCLUDE_DISPLAY_LIBRARY
[369]25  %ifndef DISPLAY_JUMP_ALIGN
26    %define DISPLAY_JUMP_ALIGN 1
27  %endif
[48]28    %include "CgaSnow.asm"
[41]29    %include "Display.asm"
30    %include "DisplayCharOut.asm"
31    %include "DisplayContext.asm"
32    %include "DisplayCursor.asm"
33    %include "DisplayPage.asm"
[370]34    %include "DisplayPrint.asm"                 ; must come before DisplayFormat/DisplayFormatCompressed
[186]35%ifdef MODULE_STRINGS_COMPRESSED
36    %include "DisplayFormatCompressed.asm"
37%else
[370]38    %include "DisplayFormat.asm"
[41]39%endif
[186]40%endif
[41]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
[369]50  %ifndef KEYBOARD_JUMP_ALIGN
51    %define KEYBOARD_JUMP_ALIGN 1
[370]52  %endif
[41]53    %include "Keyboard.asm"
54%endif
55
56%ifdef INCLUDE_MENU_LIBRARY
[369]57  %ifndef MENU_JUMP_ALIGN
58    %define MENU_JUMP_ALIGN 1
[370]59  %endif
[52]60    %include "CharOutLineSplitter.asm"
[41]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"
[54]75        %include "DialogDrive.asm"
[41]76        %include "DialogFile.asm"
77        %include "DialogMessage.asm"
78        %include "DialogProgress.asm"
79        %include "DialogSelection.asm"
80        %include "DialogString.asm"
81        %include "DialogWord.asm"
[52]82        %include "ItemLineSplitter.asm"
[41]83        %include "StringsForDialogs.asm"
84    %endif
85%endif
86
87%ifdef INCLUDE_STRING_LIBRARY
[369]88  %ifndef STRING_JUMP_ALIGN
89    %define STRING_JUMP_ALIGN 1
[370]90  %endif
[41]91    %include "Char.asm"
[131]92    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
93        %include "String.asm"
[162]94        %include "StringProcess.asm"
[131]95    %endif
[41]96%endif
97
[277]98%ifdef INCLUDE_SERIAL_LIBRARY
99    %include "Serial.inc"
[370]100%endif
[277]101%ifdef INCLUDE_SERIALSERVER_LIBRARY
102    %include "SerialServer.asm"
103    %include "SerialServerScan.asm"
104    %define INCLUDE_TIME_LIBRARY
[370]105%endif
[277]106
[41]107%ifdef INCLUDE_TIME_LIBRARY
[139]108    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
109        %include "Delay.asm"
[370]110        %ifndef EXCLUDE_FROM_XTIDECFG
111            %include "SystemTimer.asm"
112        %endif
[139]113    %endif
[41]114    %include "TimerTicks.asm"
115%endif
116
117%ifdef INCLUDE_UTIL_LIBRARY
[369]118  %ifndef UTIL_SIZE_JUMP_ALIGN
119    %define UTIL_SIZE_JUMP_ALIGN 1
[370]120  %endif
[131]121    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
[85]122        %include "Bit.asm"
123    %endif
[172]124    %include "Math.asm"
[103]125    %include "Registers.asm"
[245]126    %include "Reboot.asm"
[41]127    %include "Memory.asm"
128    %include "Size.asm"
[131]129    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
[85]130        %include "Sort.asm"
131    %endif
[41]132%endif
[277]133
Note: See TracBrowser for help on using the repository browser.