From a7b98ce3231b7af6e26b982b79999cda03b4295a Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Fri, 20 May 2005 16:06:52 +0000 Subject: - fixed return value for the default case in the VBE section (non-debug mode) - removed unused macros HALT and PANIC_PORT --- vbe.c | 17 ----------------- vgabios.c | 2 +- 2 files changed, 1 insertion(+), 18 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: diff --git a/vgabios.c b/vgabios.c index 0931bb7..2c9cf37 100644 --- a/vgabios.c +++ b/vgabios.c @@ -734,8 +734,8 @@ static void int10_func(DI, SI, BP, SP, BX, DX, CX, AX, DS, ES, FLAGS) // function failed AX=0x100; break; -#ifdef DEBUG default: +#ifdef DEBUG unknown(); #endif // function failed -- cgit v1.2.3