source: xtideuniversalbios/trunk/Assembly_Library/Inc/BiosFunctions.inc@ 598

Last change on this file since 598 was 596, checked in by Krister Nordvall, 6 years ago

Changes:

  • Made changes to HotkeyBar.asm to give the Boot Menu and Hotkey Bar a more consistent look. It will probably seem a bit strange at first to people used to the classic theme.
  • Added the missing parts of USE_NEC_V that should have been committed with the rest in r593.
  • Removed DEFINES_ALL_FEATURES from the BIOS makefile. It didn't work anymore and never really made sense anyway. Added all the official builds to 'make unused' instead which actually uncovered some unused code in the Tiny build.
  • XTIDECFG will no longer load color themes from unrecognized versions of the BIOS.
  • Other fixes in comments and some minor optimizations.
File size: 2.1 KB
Line 
1; Project name : AssemblyLibrary
2; Description : Defines for BIOS functions.
3%ifndef BIOS_FUNCTIONS_INC
4%define BIOS_FUNCTIONS_INC
5
6; BIOS interrupts
7BIOS_VIDEO_INTERRUPT_10h EQU 10h
8BIOS_EQUIPMENT_INTERRUPT_11h EQU 11h
9BIOS_DISK_INTERRUPT_13h EQU 13h
10BIOS_SYSTEM_INTERRUPT_15h EQU 15h
11BIOS_KEYBOARD_INTERRUPT_16h EQU 16h
12BIOS_BOOT_FAILURE_INTERRUPT_18h EQU 18h
13BIOS_BOOT_LOADER_INTERRUPT_19h EQU 19h
14BIOS_TIME_PCI_PNP_1Ah EQU 1Ah
15BIOS_DISKETTE_INTERRUPT_40h EQU 40h
16HD0_DPT_POINTER_41h EQU 41h
17HD1_DPT_POINTER_46h EQU 46h
18
19; Hardware interrupts
20HARDWARE_IRQ_0_INTERRUPT_08h EQU 08h ; System timer
21HARDWARE_IRQ_1_INTERRUPT_09h EQU 09h ; Keyboard
22HARDWARE_IRQ_2_INTERRUPT_0Ah EQU 0Ah
23HARDWARE_IRQ_3_INTERRUPT_0Bh EQU 0Bh
24HARDWARE_IRQ_4_INTERRUPT_0Ch EQU 0Ch
25HARDWARE_IRQ_5_INTERRUPT_0Dh EQU 0Dh
26HARDWARE_IRQ_6_INTERRUPT_0Eh EQU 0Eh
27HARDWARE_IRQ_7_INTERRUPT_0Fh EQU 0Fh
28HARDWARE_IRQ_8_INTERRUPT_70h EQU 70h
29HARDWARE_IRQ_9_INTERRUPT_71h EQU 71h
30HARDWARE_IRQ_10_INTERRUPT_72h EQU 72h
31HARDWARE_IRQ_11_INTERRUPT_73h EQU 73h
32HARDWARE_IRQ_12_INTERRUPT_74h EQU 74h
33HARDWARE_IRQ_13_INTERRUPT_75h EQU 75h
34HARDWARE_IRQ_14_INTERRUPT_76h EQU 76h
35HARDWARE_IRQ_15_INTERRUPT_77h EQU 77h
36
37
38; BIOS video functions
39SET_VIDEO_MODE EQU 00h
40SET_TEXT_MODE_CURSOR_SHAPE EQU 01h
41SET_CURSOR_POSITION EQU 02h
42GET_CURSOR_POSITION_AND_SIZE EQU 03h
43SELECT_ACTIVE_DISPLAY_PAGE EQU 05h
44TELETYPE_OUTPUT EQU 0Eh
45
46; BIOS disk functions
47READ_SECTORS_INTO_MEMORY EQU 02h
48GET_DRIVE_PARAMETERS EQU 08h
49RESET_HARD_DISK EQU 0Dh
50GET_DISK_TYPE EQU 15h
51LOTECH_XTCF_FEATURES EQU 1Eh
52GET_DRIVE_INFORMATION EQU 25h
53CHECK_EXTENSIONS_PRESENT EQU 41h
54GET_EXTENDED_DRIVE_INFORMATION EQU 48h
55
56; BIOS system functions
57OS_HOOK_DEVICE_BUSY EQU 90h
58OS_HOOK_DEVICE_POST EQU 91h
59
60; BIOS keyboard functions
61GET_KEYSTROKE EQU 00h
62CHECK_FOR_KEYSTROKE EQU 01h
63
64; BIOS system functions
65EVENT_WAIT EQU 86h
66
67; BIOS PCI 2.0+ functions
68PCI_INSTALLATION_CHECK EQU 0B101h
69
70
71%endif ; BIOS_FUNCTIONS_INC
Note: See TracBrowser for help on using the repository browser.