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

Last change on this file since 616 was 593, checked in by Tomi Tilli, 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
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;
[526]6; XTIDE Universal BIOS and Associated Tools
[593]7; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2018 by XTIDE Universal BIOS Team.
[376]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.
[526]13;
[376]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
[526]17; GNU General Public License for more details.
[376]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"
[593]47 %include "InterruptHandlers.asm"
[41]48%endif
49
50%ifdef INCLUDE_KEYBOARD_LIBRARY
[369]51 %ifndef KEYBOARD_JUMP_ALIGN
52 %define KEYBOARD_JUMP_ALIGN 1
[370]53 %endif
[41]54 %include "Keyboard.asm"
55%endif
56
57%ifdef INCLUDE_MENU_LIBRARY
[369]58 %ifndef MENU_JUMP_ALIGN
59 %define MENU_JUMP_ALIGN 1
[370]60 %endif
[52]61 %include "CharOutLineSplitter.asm"
[41]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"
[54]76 %include "DialogDrive.asm"
[41]77 %include "DialogFile.asm"
78 %include "DialogMessage.asm"
79 %include "DialogProgress.asm"
80 %include "DialogSelection.asm"
81 %include "DialogString.asm"
82 %include "DialogWord.asm"
[52]83 %include "ItemLineSplitter.asm"
[41]84 %include "StringsForDialogs.asm"
85 %endif
86%endif
87
88%ifdef INCLUDE_STRING_LIBRARY
[369]89 %ifndef STRING_JUMP_ALIGN
90 %define STRING_JUMP_ALIGN 1
[370]91 %endif
[41]92 %include "Char.asm"
[592]93 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS
[131]94 %include "String.asm"
[162]95 %include "StringProcess.asm"
[131]96 %endif
[41]97%endif
98
[277]99%ifdef INCLUDE_SERIAL_LIBRARY
100 %include "Serial.inc"
[370]101%endif
[277]102%ifdef INCLUDE_SERIALSERVER_LIBRARY
103 %include "SerialServer.asm"
104 %include "SerialServerScan.asm"
105 %define INCLUDE_TIME_LIBRARY
[370]106%endif
[277]107
[41]108%ifdef INCLUDE_TIME_LIBRARY
[592]109 %ifndef EXCLUDE_FROM_XUB
[139]110 %include "Delay.asm"
[370]111 %ifndef EXCLUDE_FROM_XTIDECFG
112 %include "SystemTimer.asm"
113 %endif
[139]114 %endif
[41]115 %include "TimerTicks.asm"
116%endif
117
118%ifdef INCLUDE_UTIL_LIBRARY
[369]119 %ifndef UTIL_SIZE_JUMP_ALIGN
120 %define UTIL_SIZE_JUMP_ALIGN 1
[370]121 %endif
[592]122 %ifndef EXCLUDE_FROM_XUB
123 %ifndef EXCLUDE_FROM_BIOSDRVS
124 %include "Bit.asm"
125 %endif
126 %include "Math.asm"
[85]127 %endif
[592]128 %ifndef EXCLUDE_FROM_BIOSDRVS
129 %include "Registers.asm"
130 %include "Reboot.asm"
131 %include "Memory.asm"
132 %endif
[41]133 %include "Size.asm"
[592]134 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS
[85]135 %include "Sort.asm"
136 %endif
[593]137
138%ifdef INCLUDE_CMOS_LIBRARY
139 %include "CMOS.asm"
[41]140%endif
[593]141%endif
[277]142
Note: See TracBrowser for help on using the repository browser.