This commit is contained in:
2025-08-05 22:49:34 +02:00
parent f8399152d4
commit f8f00cc608
12 changed files with 1838 additions and 25 deletions

14
kernel/serial.asm Normal file
View File

@ -0,0 +1,14 @@
global serial_outb
serial_outb:
mov dx, di
mov al, sil
out dx, al
ret
global serial_inb
serial_inb:
mov dx, di
in al, dx
movzx rax, al
ret