games/keep: an original game in C for the Z-80 using the sprites - twelve rooms, guards that patrol, see along rows and columns and shoot, keys and locked doors, gold, ammunition and a crown to steal. gen.py holds the art and castle map and checks reachability; test-keep.py runs it in z80emu on a model of the board's ports, takes screenshots and has a bot play it through. keep.bas loads KEEPGAME at 8600h and CALLs it. Ports 88h/89h read keys held down (ps2_keystate), the monitor writes Intel HEX records typed at its prompt, and tools/send-hex.py sends a whole file and saves it as a memory file. Testbench covers both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
180 B
QBasic
5 lines
180 B
QBasic
10 REM THE IRON KEEP: LOAD THE GAME (MEMORY FILE KEEPGAME) AND PLAY IT
|
|
20 REM THE GAME RUNS AT 8600H, PAST THIS PROGRAM, AND COMES BACK HERE
|
|
30 BLOAD "KEEPGAME": CALL 34304
|
|
40 CLS
|