Keeping in sync with JoeyLib.
This commit is contained in:
parent
f9ef3e99c2
commit
4d55000665
3 changed files with 7 additions and 4 deletions
7
Makefile
7
Makefile
|
|
@ -18,8 +18,11 @@ include $(JOEYLIB)/make/project.mk
|
||||||
|
|
||||||
include $(JOEY_PROJECT)/program.mk
|
include $(JOEY_PROJECT)/program.mk
|
||||||
|
|
||||||
# The author DVX's resource list names.
|
# Whose it is: on DVX the vendor folder it installs in and its author, on
|
||||||
DVX_AUTHOR := Scott Duensing
|
# 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
|
include $(JOEYLIB)/make/programs.mk
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ $ make clean
|
||||||
```
|
```
|
||||||
|
|
||||||
The programs land in `build/<machine>/bin/`: `AGI` (IIgs), `Agi` (Amiga),
|
The programs land in `build/<machine>/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
|
`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
|
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
|
`games/NAME` on it instead). JoeyLib's library is built on demand in the
|
||||||
|
|
|
||||||
|
|
@ -1078,7 +1078,7 @@ void jlpInputPoll(void) {
|
||||||
uint16_t k;
|
uint16_t k;
|
||||||
|
|
||||||
for (k = 0u; k < (uint16_t)JL_KEY_COUNT; 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue