forked from skiselev/8088_bios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errno.inc
54 lines (53 loc) · 2.38 KB
/
errno.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
;=========================================================================
; errno.inc - POST checkpoint codes (sent to port 80h during POST)
;-------------------------------------------------------------------------
;
; Compiles with NASM 2.07, might work with other versions
;
; Copyright (C) 2011 - 2014 Sergey Kiselev.
; Provided for hobbyist use on the Xi 8088 board.
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
;
;=========================================================================
e_boot equ 00h ; Boot the OS
e_start equ 01h ; BIOS POST started
e_cpu_ok equ 02h ; CPU test passed
e_dmac_ok equ 03h ; DMAC initialized
e_low_ram_ok equ 04h ; low RAM test passed
e_int_ok equ 05h ; interrupt table initialized
e_pit_ok equ 06h ; PIT (timer) initialized
e_pic_ok equ 08h ; PIC initialized
e_kbd_ok equ 10h ; KBD test passed
e_video_bios_ok equ 11h ; Video BIOS found
e_video_init_ok equ 12h ; Video BIOS initialized
e_rtc_init_ok equ 20h ; RTC initialized
e_cpu_detect_ok equ 21h ; CPU type detected
e_fpu_detect_ok equ 22h ; FPU type detected
e_serial_ok equ 24h ; Serial port scan finished
e_parallel_ok equ 25h ; Parallel port scan finished
e_ram_start equ 30h ; RAM test start
e_ram_complete equ 31h ; RAM test completed
e_ram_esc equ 32h ; RAM test canceled
e_ext_start equ 40h ; Start BIOS extension ROM scan
e_ext_detect equ 41h ; BIOS extension ROM found
e_ext_init_ok equ 42h ; BIOS extension ROM initialized
e_ext_complete equ 43h ; BIOS extension scan complete
e_cpu_fail equ 52h ; CPU test failed
e_low_ram_fail equ 54h ; low RAM test failed
e_kbd_ctrl_fail equ 60h ; KBD test - controller selftest failed
e_kbd_key_fail equ 61h ; KBD test - echo test failed
e_kbd_timeout equ 62h ; KBD timeout
e_kbd_int_fail equ 63h ; KBD test - interface test failed
e_ram_fail equ 80h ; RAM test failed