From 4d55000665917674be436c0cb8798fad4cd7e4a2 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Sat, 17 Oct 2026 15:39:36 -0500 Subject: [PATCH] Keeping in sync with JoeyLib. --- Makefile | 7 +++++-- README.md | 2 +- tests/hostPort.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 83c46d1..8d2430b 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,11 @@ include $(JOEYLIB)/make/project.mk include $(JOEY_PROJECT)/program.mk -# The author DVX's resource list names. -DVX_AUTHOR := Scott Duensing +# Whose it is: on DVX the vendor folder it installs in and its author, on +# macOS the start of its app's identifier. +DVX_VENDOR := kpunch +DVX_AUTHOR := Scott Duensing +MACOS_ID_PREFIX := com.kangaroopunch include $(JOEYLIB)/make/programs.mk diff --git a/README.md b/README.md index 92fa38a..0bae889 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ $ make clean ``` The programs land in `build//bin/`: `AGI` (IIgs), `Agi` (Amiga), -`AGI.PRG`, `AGI.EXE`, `AGI.X`, and on DVX `apps/joeylib/agi/`. +`AGI.PRG`, `AGI.EXE`, `AGI.X`, and on DVX `apps/kpunch/agi/`. `make iigs-game-disk-agi` writes `build/iigs/bin/AGI.2mg`, a 2 MB bootable volume holding the interpreter and the game (`AGI_GAME=NAME` puts `games/NAME` on it instead). JoeyLib's library is built on demand in the diff --git a/tests/hostPort.c b/tests/hostPort.c index 3d722be..ac8f29d 100644 --- a/tests/hostPort.c +++ b/tests/hostPort.c @@ -1078,7 +1078,7 @@ void jlpInputPoll(void) { uint16_t k; for (k = 0u; k < (uint16_t)JL_KEY_COUNT; k++) { - gKeyState[k] = (uint8_t)((gHeld[k] || gFrame < gHoldUntil[k]) ? 1u : 0u); + jlgKeyState[k] = (uint8_t)((gHeld[k] || gFrame < gHoldUntil[k]) ? 1u : 0u); } }