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

Last change on this file since 439 was 427, checked in by aitotat@…, 12 years ago

Changes to Assembly Library:

  • Added Hard Drive Reset (0Dh) to BiosFunctions.inc.
File size: 1.9 KB
RevLine 
[41]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
[146]8BIOS_DISK_INTERRUPT_13h EQU 13h
[41]9BIOS_SYSTEM_INTERRUPT_15h EQU 15h
10BIOS_KEYBOARD_INTERRUPT_16h EQU 16h
[151]11BIOS_BOOT_FAILURE_INTERRUPT_18h EQU 18h
12BIOS_BOOT_LOADER_INTERRUPT_19h EQU 19h
[147]13BIOS_DISKETTE_INTERRUPT_40h EQU 40h
[151]14HD0_DPT_POINTER_41h EQU 41h
15HD1_DPT_POINTER_46h EQU 46h
[41]16
[151]17; Hardware interrupts
18HARDWARE_IRQ_0_INTERRUPT_08h EQU 08h ; System timer
19HARDWARE_IRQ_1_INTERRUPT_09h EQU 09h ; Keyboard
20HARDWARE_IRQ_2_INTERRUPT_0Ah EQU 0Ah
21HARDWARE_IRQ_3_INTERRUPT_0Bh EQU 0Bh
22HARDWARE_IRQ_4_INTERRUPT_0Ch EQU 0Ch
23HARDWARE_IRQ_5_INTERRUPT_0Dh EQU 0Dh
24HARDWARE_IRQ_6_INTERRUPT_0Eh EQU 0Eh
25HARDWARE_IRQ_7_INTERRUPT_0Fh EQU 0Fh
26HARDWARE_IRQ_8_INTERRUPT_70h EQU 70h
27HARDWARE_IRQ_9_INTERRUPT_71h EQU 71h
28HARDWARE_IRQ_10_INTERRUPT_72h EQU 72h
29HARDWARE_IRQ_11_INTERRUPT_73h EQU 73h
30HARDWARE_IRQ_12_INTERRUPT_74h EQU 74h
31HARDWARE_IRQ_13_INTERRUPT_75h EQU 75h
32HARDWARE_IRQ_14_INTERRUPT_76h EQU 76h
33HARDWARE_IRQ_15_INTERRUPT_77h EQU 77h
[41]34
[151]35
[41]36; BIOS video functions
[141]37SET_VIDEO_MODE EQU 00h
[41]38SET_TEXT_MODE_CURSOR_SHAPE EQU 01h
39SET_CURSOR_POSITION EQU 02h
40GET_CURSOR_POSITION_AND_SIZE EQU 03h
41SELECT_ACTIVE_DISPLAY_PAGE EQU 05h
42TELETYPE_OUTPUT EQU 0Eh
43
[146]44; BIOS disk functions
45GET_DRIVE_PARAMETERS EQU 08h
[427]46RESET_HARD_DISK EQU 0Dh
[146]47GET_DISK_TYPE EQU 15h
[323]48GET_DRIVE_INFORMATION EQU 25h
49CHECK_EXTENSIONS_PRESENT EQU 41h
50GET_EXTENDED_DRIVE_INFORMATION EQU 48h
[146]51
[147]52; BIOS system functions
53OS_HOOK_DEVICE_BUSY EQU 90h
54OS_HOOK_DEVICE_POST EQU 91h
55
[41]56; BIOS keyboard functions
57GET_KEYSTROKE EQU 00h
58CHECK_FOR_KEYSTROKE EQU 01h
59
60; BIOS system functions
61EVENT_WAIT EQU 86h
62
63
64%endif ; BIOS_FUNCTIONS_INC
Note: See TracBrowser for help on using the repository browser.