WIP : About to rip out the old parser and solver, can't get things working the way I expect and the old code is in the way

This commit is contained in:
2024-05-07 18:06:01 -04:00
parent bd9399e060
commit 06d110e28b
5 changed files with 136 additions and 97 deletions

View File

@@ -4,11 +4,14 @@ endif
all: boot.img kernel.bin
src/%.S: src/%.c
~/bin/bcc -ansi -0 -S -d -t $@ $<
src/%.o: src/%.c
bcc -ansi -0 -c -o $@ $<
~/bin/bcc -ansi -0 -c -o $@ $<
kernel.bin: src/screen.o src/conio.o src/string.o src/stdlib.o src/basic.o src/kernel.o
ld86 -d -M -o $@ $^ | tee ld86.out
~/bin/ld86 -d -M -L/home/andrew/lib/bcc -lbcc -o $@ $^ | tee ld86.out
asm/kernel_syms.S: kernel.bin
cat ld86.out | \