summaryrefslogtreecommitdiff
path: root/vbe.c
diff options
context:
space:
mode:
authorVolker Ruppert <info@vruppert.de>2005-05-20 16:06:52 +0000
committerVolker Ruppert <info@vruppert.de>2005-05-20 16:06:52 +0000
commita7b98ce3231b7af6e26b982b79999cda03b4295a (patch)
tree0263c968e92627b42156a029f1b28b779833f536 /vbe.c
parent36d5a7f05f9af7e95c8c0e18975121786df8e4cc (diff)
- fixed return value for the default case in the VBE section (non-debug mode)
- removed unused macros HALT and PANIC_PORT
Diffstat (limited to 'vbe.c')
-rw-r--r--vbe.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/vbe.c b/vbe.c
index 075ec99..f80402f 100644
--- a/vbe.c
+++ b/vbe.c
@@ -117,23 +117,6 @@ _vbebios_mode_list:
.word VBE_VESA_MODE_END_OF_LIST
#endif
-ASM_END
-
-// from rombios.c
-#define PANIC_PORT 0x501
-
-ASM_START
-MACRO HALT
- ;; the HALT macro is called with the line number of the HALT call.
- ;; The line number is then sent to the PANIC_PORT, causing Bochs to
- ;; print a BX_PANIC message. This will normally halt the simulation
- ;; with a message such as "BIOS panic at rombios.c, line 4091".
- ;; However, users can choose to make panics non-fatal and continue.
- mov dx,#PANIC_PORT
- mov ax,#?1
- out dx,ax
-MEND
-
; DISPI ioport functions
dispi_get_id: