We can now read from the disk in protected mode

This commit is contained in:
2021-09-06 21:32:02 +01:00
parent b2e2cdb19b
commit ec314d7b1b
4 changed files with 158 additions and 7 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 keyboard.o strings.o kernel32_strap.o kernel32.o
KERNEL32_OBJS = screenstuff.o io.o idt.o keyboard.o strings.o atapio.o kernel32_strap.o kernel32.o
run: disk.img
qemu-system-x86_64 disk.img