Moved IDT code wholely to idt.c, add keyboard read support, add readline function, updated Makefile accordingly.

This commit is contained in:
2021-09-02 20:59:15 +01:00
parent a184efbc9f
commit d9d3abbf62
5 changed files with 154 additions and 17 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ CFLAGS = -m32 -mgeneral-regs-only -nostdlib -fno-builtin -fno-exceptions -fno-le
LDFLAGS =
DISK_IMG_FILES = kernel.bin hello.bin print.bin boot32.bin kernel32.bin
KERNEL32_OBJS = screenstuff.o io.o idt.o kernel32_strap.o kernel32.o
KERNEL32_OBJS = screenstuff.o io.o idt.o keyboard.o kernel32_strap.o kernel32.o
run: disk.img
qemu-system-x86_64 disk.img