Skip to content

Latest commit

 

History

History
117 lines (93 loc) · 2.54 KB

README.md

File metadata and controls

117 lines (93 loc) · 2.54 KB

chipz

build

8-bit emulator experiments in Zig.

NOTE: no longer works with Zig 0.13.0, instead use the Zig nightly version

Usage

Arcade Machines:

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

KC85/2..4:

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

KC85/3 Digger:

zig build --release=fast run-kc853 -- -slot8 m022 -file media/kc85/digger3.tap

KC85/3 SOWACO games:

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

KC85/4 Sokoban

(this tests the KC85/4 per-pixel color mode):

zig build --release=fast run-kc854 -- -file media/kc85/sokoban4.kcc

KC-IDE sample on KC85/4:

(note: this demo has no sound)

zig build --release=fast run-kc854 -- -file media/kc85/demo.kcc

Doc.K's sampled-audio demo:

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

Moods Plateau's Serious demo:

zig build --release=fast run-kc854 -- -file media/kc85/serious.kcc

Forth on KC85/3:

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