From 2581060b3dcf7f4113f5066014db1feecb5ed283 Mon Sep 17 00:00:00 2001 From: Kevin <6500490+Zeturic@users.noreply.github.com> Date: Tue, 14 May 2024 16:02:18 -0400 Subject: [PATCH] remove fences --- main.asm | 2 -- makefile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/main.asm b/main.asm index 67f067c..2127582 100644 --- a/main.asm +++ b/main.asm @@ -7,9 +7,7 @@ .org allocation .area allocation_size - .word 0xFEFEFEFE .importobj "build/linked.o" - .word 0xFEFEFEFE .endarea // ----------------------------------------------------------------------------- diff --git a/makefile b/makefile index fbecc4b..fd88882 100644 --- a/makefile +++ b/makefile @@ -50,7 +50,7 @@ md5: test.gba # ------------------------------------------------------------------------------ build/linked.sz: build/linked.o - echo "`$(SIZE) $(SIZEFLAGS) build/linked.o | awk 'FNR == 2 {print $$4}'` + 8" | bc > "$@" + $(SIZE) $(SIZEFLAGS) build/linked.o | awk 'FNR == 2 {print $$4}' > "$@" build/src/%.o: src/%.c charmap.txt @mkdir -p build/src