blob: 2e150594a021f15c4f1f0bf599bd92bc36833fda [file] [log] [blame]
Greg Hartman76d05dc2016-11-23 15:51:27 -08001;; -----------------------------------------------------------------------
2;;
3;; Copyright 1994-2008 H. Peter Anvin - All Rights Reserved
4;;
5;; This program is free software; you can redistribute it and/or modify
6;; it under the terms of the GNU General Public License as published by
7;; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8;; Boston MA 02111-1307, USA; either version 2 of the License, or
9;; (at your option) any later version; incorporated herein by reference.
10;;
11;; -----------------------------------------------------------------------
12
13;;
14;; bios.inc
15;;
16;; Header file for the BIOS data structures etc.
17;;
18
19%ifndef _BIOS_INC
20%define _BIOS_INC
21
22 ; Interrupt vectors
23 absolute 4*1Ch
24BIOS_timer_hook resd 1
25
26 absolute 4*1Eh
27fdctab equ $
28fdctab1 resw 1
29fdctab2 resw 1
30
31 absolute 0400h
32serial_base resw 4 ; Base addresses for 4 serial ports
33 absolute 0413h
34BIOS_fbm resw 1 ; Free Base Memory (kilobytes)
35 absolute 0462h
36BIOS_page resb 1 ; Current video page
37 absolute 046Ch
38BIOS_timer resw 1 ; Timer ticks
39 absolute 0472h
40BIOS_magic resw 1 ; BIOS reset magic
41 absolute 0484h
42BIOS_vidrows resb 1 ; Number of screen rows
43
44%endif ; _BIOS_INC