--- ADLO_old/bochs/bios/rombios.c	2007-10-14 02:11:05.000000000 -0600
+++ ADLO/bochs/bios/rombios.c	2007-10-26 10:25:06.000000000 -0600
@@ -144,14 +144,16 @@
 #define BX_PCIBIOS       1
 #define BX_APM           1
 
+#define LINUXBIOS	1
+
 #define BX_USE_ATADRV    1
 #define BX_ELTORITO_BOOT 1
 
 #define BX_MAX_ATA_INTERFACES   4
 #define BX_MAX_ATA_DEVICES      (BX_MAX_ATA_INTERFACES*2)
 
-#define BX_VIRTUAL_PORTS 1 /* normal output to Bochs ports */
-#define BX_DEBUG_SERIAL  0 /* output to COM1 */
+#define BX_VIRTUAL_PORTS 0 /* normal output to Bochs ports */
+#define BX_DEBUG_SERIAL  1 /* output to COM1 */
 
    /* model byte 0xFC = AT */
 #define SYS_MODEL_ID     0xFC
@@ -1650,6 +1652,7 @@
   void
 keyboard_init()
 {
+#ifndef LINUXBIOS
     Bit16u max;
 
     /* ------------------- Flush buffers ------------------------*/
@@ -1795,6 +1798,7 @@
     }
 
     outb(0x80, 0x77);
+#endif
 }
 
 //--------------------------------------------------------------------------
