strreplace: clean up and simplify
[profile/ivi/syslinux.git] / core / bios.inc
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                 global BIOS_fbm, BIOS_timer
22
23                 ; Interrupt vectors
24                 absolute 4*1Ch
25 BIOS_timer_hook resd 1
26
27                 absolute 4*1Eh
28 fdctab          equ $
29 fdctab1         resw 1
30 fdctab2         resw 1
31
32                 absolute 0400h
33 serial_base     resw 4                  ; Base addresses for 4 serial ports
34                 absolute 0413h
35 BIOS_fbm        resw 1                  ; Free Base Memory (kilobytes)
36                 absolute 0462h
37 BIOS_page       resb 1                  ; Current video page
38                 absolute 046Ch
39 BIOS_timer      resw 1                  ; Timer ticks
40                 absolute 0472h
41 BIOS_magic      resw 1                  ; BIOS reset magic
42                 absolute 0484h
43 BIOS_vidrows    resb 1                  ; Number of screen rows
44
45 %endif ; _BIOS_INC