Basic working version generates sounds and graphics

This commit is contained in:
Dejvino
2026-02-23 22:39:29 +01:00
parent 6459fe2f02
commit 8a3abafd84
10 changed files with 572 additions and 47 deletions
+12
View File
@@ -0,0 +1,12 @@
TOOLCHAIN = arm-none-eabi
CC = $(TOOLCHAIN)-gcc
OBJCOPY = $(TOOLCHAIN)-objcopy
all: kernel.img
kernel.img: boot.o kernel.o
$(CC) -T link.ld -o kernel.elf -ffreestanding -O2 -nostdlib boot.o kernel.o
$(OBJCOPY) kernel.elf -O binary kernel.img
clean:
rm -f *.o *.elf *.img