Add a debug output utility.

This commit is contained in:
Drew Galbraith 2023-05-17 20:42:59 -07:00
parent c2af2eee97
commit 872e6f3392
4 changed files with 24 additions and 4 deletions

View file

@ -1,11 +1,9 @@
#include <stdint.h>
#include "common/port.h"
#define COM1 0x3f8
#include "debug/debug.h"
extern "C" void zion() {
outb(COM1, 'a');
dbgln("Hello World!");
while (1)
;