Greg Hartman | 76d05dc | 2016-11-23 15:51:27 -0800 | [diff] [blame] | 1 | ;; ----------------------------------------------------------------------- |
| 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 |
| 24 | BIOS_timer_hook resd 1 |
| 25 | |
| 26 | absolute 4*1Eh |
| 27 | fdctab equ $ |
| 28 | fdctab1 resw 1 |
| 29 | fdctab2 resw 1 |
| 30 | |
| 31 | absolute 0400h |
| 32 | serial_base resw 4 ; Base addresses for 4 serial ports |
| 33 | absolute 0413h |
| 34 | BIOS_fbm resw 1 ; Free Base Memory (kilobytes) |
| 35 | absolute 0462h |
| 36 | BIOS_page resb 1 ; Current video page |
| 37 | absolute 046Ch |
| 38 | BIOS_timer resw 1 ; Timer ticks |
| 39 | absolute 0472h |
| 40 | BIOS_magic resw 1 ; BIOS reset magic |
| 41 | absolute 0484h |
| 42 | BIOS_vidrows resb 1 ; Number of screen rows |
| 43 | |
| 44 | %endif ; _BIOS_INC |