Star Swarm: a swooping alien shooter; boardemu frame counter fix
games/swarm: an original Galaxian-style game in C for the Z-80 - a 46-alien formation sways overhead and peels off in looping, firing dives, flagships bring escorts. With more aliens than sprites, the formation is drawn into the graphics and swayed by the hardware X scroll; a diver is wiped out of the graphics and becomes a sprite until it flies back. test-swarm.py has an autopilot destroy a whole swarm. tools/boardemu.py: the frame counter now moves on once per wait, not on every read (it had been running two frames per wait, so anything done on odd frames never happened in tests). The other games' tests still pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0b16e1dce0
commit
e1daf27891
12 files changed
+1312
-5
No files matched your search
@@ -274,6 +274,14 @@ scrolling into view are drawn (about 5-10% of the Z-80's time). Install it as
|
||||
`WARDGAME` with its loader saved as `WARDEN`; `test-warden.py --play` has an
|
||||
autopilot clear a wave.
|
||||
|
||||
**Star Swarm** (`games/swarm/`) is a swooping alien shooter: a 46-alien
|
||||
formation sways overhead and peels off in looping, firing dives; flagships
|
||||
bring escorts. `RUN "SWARM"`. With more aliens than sprites, the formation is
|
||||
drawn into the graphics and swayed by the hardware X scroll; a diving alien is
|
||||
wiped out of the graphics and becomes a sprite until it flies back into its
|
||||
place. Install it as `SWARMGAM` with its loader saved as `SWARM`;
|
||||
`test-swarm.py --play` has an autopilot destroy a whole swarm.
|
||||
|
||||
`tools/boardemu.py` models the board's game hardware (graphics, scrolling,
|
||||
sprites, held keys, terminal) around `tools/z80emu.py` for both tests.
|
||||
|
||||
@@ -568,6 +576,7 @@ which Vivado needs on newer distros.
|
||||
| `games/keep/` | The Iron Keep: game (C), art and map generator, loader, emulator test |
|
||||
| `games/raid/` | Bastion Raid: game (C), art and level generator, loader, emulator test with autopilot |
|
||||
| `games/warden/` | Star Warden: game (C), art and mountain generator, loader, emulator test with autopilot |
|
||||
| `games/swarm/` | Star Swarm: game (C), art generator, loader, emulator test with autopilot |
|
||||
| `tools/boardemu.py` | Model of the board's game hardware around `z80emu.py`, with screenshots |
|
||||
| `basic/` | BASIC interpreter (C), start-up code, build script, `basic.mem` |
|
||||
| `tools/z80emu.py`, `tools/cputest.py`, `scripts/cpusim.sh` | CPU test bench: reference emulator, random tests |
|
||||
|
||||
Reference in new issue
Block a user