diff options
author | Christophe Bothamy <cbothamy@users.sourceforge.net> | 2002-04-02 22:38:53 +0000 |
---|---|---|
committer | Christophe Bothamy <cbothamy@users.sourceforge.net> | 2002-04-02 22:38:53 +0000 |
commit | 9ce7245cc1a22e180f98fd06c788e5615af01c41 (patch) | |
tree | dbd825bfaa9a5073817049cd605fa1364be44b4c | |
parent | b0fd8a07ea4873ca54c3edc599ba65d1bf937753 (diff) | |
download | vgabios-9ce7245cc1a22e180f98fd06c788e5615af01c41.tar.gz |
- changed the logging ports to 0x500 -> 0x502
-rw-r--r-- | vbe.c | 6 | ||||
-rw-r--r-- | vgabios.c | 10 |
2 files changed, 6 insertions, 10 deletions
@@ -123,7 +123,7 @@ _vbebios_mode_list: #endasm // from rombios.c -#define PANIC_PORT 0x400 +#define PANIC_PORT 0x501 #asm MACRO HALT @@ -237,9 +237,9 @@ void vbe_init() HALT(__LINE__) #endasm } -#ifdef DEBUG +//#ifdef DEBUG printf("VBE Bios $Id$\n"); -#endif +//#endif } /** VBE Display Info - Display information on screen about the VBE @@ -285,9 +285,7 @@ static void init_vga_card() #endasm -#ifdef DEBUG printf("VGABios $Id$\n"); -#endif } // -------------------------------------------------------------------------------------------- @@ -2363,7 +2361,6 @@ void unknown() } #endif -#ifdef DEBUG // -------------------------------------------------------------------------------------------- void printf(s) Bit8u *s; @@ -2399,9 +2396,9 @@ void printf(s) for (i=0; i<format_width; i++) { nibble = (arg >> (4 * digit)) & 0x000f; if (nibble <= 9) - outb(0xfff0, nibble + '0'); + outb(0x0500, nibble + '0'); else - outb(0xfff0, (nibble - 10) + 'A'); + outb(0x0500, (nibble - 10) + 'A'); digit--; } in_format = 0; @@ -2411,12 +2408,11 @@ void printf(s) // } } else { - outb(0xfff0, c); + outb(0x0500, c); } s ++; } } -#endif #ifdef VBE #include "vbe.c" |