#include <minilib.h>
#include <smi.h>
#include <pci-bother.h>
+#include <fb.h>
#include "../net/net.h"
#include "vga-overlay.h"
#include "../aseg/packet.h"
outb(0x80, (ticks++) & 0xFF);
- outlog();
+ if (!fb || fb->curmode.text)
+ outlog();
}
void kbc_handler(smi_event_t ev)
fb->getvmode(fb->priv);
counter++;
- sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter);
- strblit(statstr, 0, 0, 0);
+ if (!fb || fb->curmode.text)
+ {
+ sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter);
+ strblit(statstr, 0, 0, 0);
+ }
eth_poll();