Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

NumBlocks: its TI-84 Plus CE version built by make port

Mason363bfd70f26581a
diff --git a/games/numblocks/Makefile b/games/numblocks/Makefile
index 615ab425..a7f33951 100644
--- a/games/numblocks/Makefile
+++ b/games/numblocks/Makefile
@@ -117,4 +117,5 @@ PORT_ID = numblocks
PORT_NAME = NumBlocks
PORT_SRC = src/main.c src/world.c src/edits.c src/render.c src/player.c src/phys.c src/inv.c src/entity.c src/mob.c src/tick.c src/gui.c src/hand.c src/save.c src/names.c src/command.c src/gen.c src/data_dims.c src/dims.c src/end.c src/plat_eadk.c
PORT_FLAGS = -DNB_DIMS=1
+PORT_CE = ce
include ../../platform/port.mk
diff --git a/games/numblocks/ce/makefile b/games/numblocks/ce/makefile
index 67337a27..e4b0c537 100644
--- a/games/numblocks/ce/makefile
+++ b/games/numblocks/ce/makefile
@@ -7,6 +7,8 @@ COMPRESSED = YES
ARCHIVED = YES
CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wno-missing-braces -Oz
HAS_PRINTF = NO
+# (the program's name whatever TARGET make port was given)
+override TARGET := $(NAME).8xp
include $(shell cedev-config --makefile)
diff --git a/games/numblocks/ce/src/rs.s b/games/numblocks/ce/src/rs.s
index 9ad08878..9b7c2e35 100644
--- a/games/numblocks/ce/src/rs.s
+++ b/games/numblocks/ce/src/rs.s
@@ -2437,3 +2437,5 @@ r_rtab:
.extern _w_eey
.extern _rs_recip
.extern _rs_ratio
+
+ .section .note.GNU-stack,"",@progbits