8-bit emulator experiments in Zig.
NOTE: no longer works with Zig 0.13.0, instead use the Zig nightly version
zig build --release=fast run-pacman
zig build --release=fast run-pengo
zig build --release=fast run-bombjack
Key input:
- 1: insert coin
- Enter: start game
- Arrow keys: move up/down/left/right
- Space: jump/shove/fire button
zig build --release=fast run-kc852
zig build --release=fast run-kc853
zig build --release=fast run-kc854
Run KC85/3 with 16 KByte RAM module (this will be automatically mapped to address 0x4000 by the CAOS operating system):
zig build --release=fast run-kc853 -- -slot8 m022
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/digger3.tap
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/jungle.kcc
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/pengo.kcc
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/house.kcc
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/cave.kcc
zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/labyrinth.kcc
(this tests the KC85/4 per-pixel color mode):
zig build --release=fast run-kc854 -- -file media/kc85/sokoban4.kcc
(note: this demo has no sound)
zig build --release=fast run-kc854 -- -file media/kc85/demo.kcc
zig build --release=fast run-kc854 -- -file media/kc85/sreplay.kcc
After the KC85/4 has finished booting, start the demo manually with the command:
PLAY
...or refresh the menu to show the available commands (which are PLAY
and STOP
):
MENU
zig build --release=fast run-kc854 -- -file media/kc85/serious.kcc
Start with Forth ROM module in expansion slot 08
:
zig build --release=fast run-kc852 -- -slot8 m026 media/kc85/forth.853
zig build --release=fast run-kc853 -- -slot8 m026 media/kc85/forth.853
zig build --release=fast run-kc854 -- -slot8 m026 media/kc85/forth.853
To activate and start the Forth module on KC85/2 and KC85/4:
SWITCH 8 C1
MENU
FORTH
...on KC85/3 you also need to deactivate the BASIC ROM:
SWITCH 8 C1
SWITCH 2 0
MENU
FORTH