aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Bothamy <cbothamy@users.sourceforge.net>2002-04-02 22:38:53 +0000
committerChristophe Bothamy <cbothamy@users.sourceforge.net>2002-04-02 22:38:53 +0000
commit9ce7245cc1a22e180f98fd06c788e5615af01c41 (patch)
treedbd825bfaa9a5073817049cd605fa1364be44b4c
parentb0fd8a07ea4873ca54c3edc599ba65d1bf937753 (diff)
downloadvgabios-9ce7245cc1a22e180f98fd06c788e5615af01c41.tar.gz
- changed the logging ports to 0x500 -> 0x502
-rw-r--r--vbe.c6
-rw-r--r--vgabios.c10
2 files changed, 6 insertions, 10 deletions
diff --git a/vbe.c b/vbe.c
index 7e77d44..6eb16fb 100644
--- a/vbe.c
+++ b/vbe.c
@@ -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
diff --git a/vgabios.c b/vgabios.c
index 05733a1..5449880 100644
--- a/vgabios.c
+++ b/vgabios.c
@@ -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"