sb16: start adding sb16 driver

This commit is contained in:
2026-05-09 14:51:54 +03:00
parent ab2da499da
commit 59b775457d
4 changed files with 103 additions and 3 deletions
+5 -2
View File
@@ -4,7 +4,7 @@ OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o \
bin/keyboard.o bin/paging.o bin/page_alloc.o bin/page_tables.o \
bin/fat.o bin/task.o bin/switch.o bin/sys_exit.o bin/gdt.o bin/isr-asm.o \
bin/kheap.o bin/liballoc.o bin/exec_from_file.o bin/syscalls.o bin/atapi.o \
bin/lib9660.o bin/vfs.o bin/apic.o
bin/lib9660.o bin/vfs.o bin/apic.o bin/sb16.o
# Define the compiler and assembler
#CC = i686-elf-gcc -D__is_katauos
@@ -83,7 +83,7 @@ test-cdrom:
qemu-system-i386 -cdrom boot.iso -m 4096M -d int
cdrom:
qemu-system-i386 -cdrom boot.iso -m 32M
qemu-system-i386 -cdrom boot.iso -m 32M -device sb16
cdrom-debug:
qemu-system-i386 -s -S -cdrom boot.iso -m 32M -monitor stdio
@@ -193,6 +193,9 @@ bin/vfs.o: src/fs/vfs.c
bin/apic.o: src/kernel/apic.c
$(CC) $(CFLAGS) -c $< -o $@
bin/sb16.o: src/drivers/sb16.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -rf bin/
rm -f $(OUTPUT)