initial commit

This commit is contained in:
Frater 2026-01-08 10:26:52 +01:00
commit 08f66b73e1
10 changed files with 783 additions and 0 deletions

20
src/drivers/debug.asm Normal file
View file

@ -0,0 +1,20 @@
debug_puts:
.next:
lodsb ; AL = *SI++
test al, al
jz .done
mov dx, DEBUG_PORT
out dx, al
jmp .next
.done:
ret
debug_putc:
.next:
mov dx, DEBUG_PORT
out dx, al
ret