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

Last change on this file since 593 was 593, checked in by aitotat, 6 years ago

Flashing now works again.
Hack to get Windows 95 to work properly (MODULE_WIN95_CMOS_HACK included for 386 builds by default).
Edited makefile to produce large 386 build.
Fixed recovery time for QDI Vision VLB-IDE controllers.
No more warnings with Nasm 2.13.xx and later.
File dialog now properly restores default drive when file selection is cancelled.

File size: 3.6 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;
6; XTIDE Universal BIOS and Associated Tools
7; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2018 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
22SECTION .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    %include "InterruptHandlers.asm"
48%endif
49
50%ifdef INCLUDE_KEYBOARD_LIBRARY
51  %ifndef KEYBOARD_JUMP_ALIGN
52    %define KEYBOARD_JUMP_ALIGN 1
53  %endif
54    %include "Keyboard.asm"
55%endif
56
57%ifdef INCLUDE_MENU_LIBRARY
58  %ifndef MENU_JUMP_ALIGN
59    %define MENU_JUMP_ALIGN 1
60  %endif
61    %include "CharOutLineSplitter.asm"
62    %include "Menu.asm"
63    %include "MenuAttributes.asm"
64    %include "MenuBorders.asm"
65    %include "MenuCharOut.asm"
66    %include "MenuEvent.asm"
67    %include "MenuInit.asm"
68    %include "MenuLocation.asm"
69    %include "MenuLoop.asm"
70    %include "MenuScrollbars.asm"
71    %include "MenuText.asm"
72    %include "MenuTime.asm"
73
74    %ifdef INCLUDE_MENU_DIALOGS
75        %include "Dialog.asm"
76        %include "DialogDrive.asm"
77        %include "DialogFile.asm"
78        %include "DialogMessage.asm"
79        %include "DialogProgress.asm"
80        %include "DialogSelection.asm"
81        %include "DialogString.asm"
82        %include "DialogWord.asm"
83        %include "ItemLineSplitter.asm"
84        %include "StringsForDialogs.asm"
85    %endif
86%endif
87
88%ifdef INCLUDE_STRING_LIBRARY
89  %ifndef STRING_JUMP_ALIGN
90    %define STRING_JUMP_ALIGN 1
91  %endif
92    %include "Char.asm"
93    %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS
94        %include "String.asm"
95        %include "StringProcess.asm"
96    %endif
97%endif
98
99%ifdef INCLUDE_SERIAL_LIBRARY
100    %include "Serial.inc"
101%endif
102%ifdef INCLUDE_SERIALSERVER_LIBRARY
103    %include "SerialServer.asm"
104    %include "SerialServerScan.asm"
105    %define INCLUDE_TIME_LIBRARY
106%endif
107
108%ifdef INCLUDE_TIME_LIBRARY
109    %ifndef EXCLUDE_FROM_XUB
110        %include "Delay.asm"
111        %ifndef EXCLUDE_FROM_XTIDECFG
112            %include "SystemTimer.asm"
113        %endif
114    %endif
115    %include "TimerTicks.asm"
116%endif
117
118%ifdef INCLUDE_UTIL_LIBRARY
119  %ifndef UTIL_SIZE_JUMP_ALIGN
120    %define UTIL_SIZE_JUMP_ALIGN 1
121  %endif
122    %ifndef EXCLUDE_FROM_XUB
123        %ifndef EXCLUDE_FROM_BIOSDRVS
124            %include "Bit.asm"
125        %endif
126        %include "Math.asm"
127    %endif
128    %ifndef EXCLUDE_FROM_BIOSDRVS
129        %include "Registers.asm"
130        %include "Reboot.asm"
131        %include "Memory.asm"
132    %endif
133    %include "Size.asm"
134    %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS
135        %include "Sort.asm"
136    %endif
137
138%ifdef INCLUDE_CMOS_LIBRARY
139    %include "CMOS.asm"
140%endif
141%endif
142
Note: See TracBrowser for help on using the repository browser.