diff options
author | Volker Ruppert <info@vruppert.de> | 2005-05-20 16:06:52 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2005-05-20 16:06:52 +0000 |
commit | a7b98ce3231b7af6e26b982b79999cda03b4295a (patch) | |
tree | 0263c968e92627b42156a029f1b28b779833f536 | |
parent | 36d5a7f05f9af7e95c8c0e18975121786df8e4cc (diff) | |
download | qemu-vgabios-a7b98ce3231b7af6e26b982b79999cda03b4295a.tar.gz |
- fixed return value for the default case in the VBE section (non-debug mode)
- removed unused macros HALT and PANIC_PORT
-rw-r--r-- | vbe.c | 17 | ||||
-rw-r--r-- | vgabios.c | 2 |
2 files changed, 1 insertions, 18 deletions
@@ -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: @@ -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 |