velxio/test/test_custom_chips/sdk/examples
David Montero Crespo 8441d370d3 test(chipbus): a real Galaksija (1983 Z80 home computer) boots over the bus
The public-domain Galaksija ROM (Voja Antonic; ROM A monitor + integer
BASIC, ROM B float BASIC, 8 KB) runs on a standalone Z80 + external ROM +
RAM + an inverter for address decode, all chip-to-chip over the shared bus,
no board:

  ROM 0x0000-0x1FFF   rom.CE = A13
  RAM 0x2000-0x3FFF   ram.CE = NOT A13   (the inverter chip)
  RD -> both OE ; WR -> RAM WE

Pin-level boot proof (mirrors test_intel/test_z80/galaksija.test.js): watch
M1, read the address bus on each opcode fetch, and confirm the Z80 leaves
the reset vector (DI; SUB A; JP 0x03DA), reaches the init routine at 0x03DA,
and runs 1000+ fetches across 50+ distinct ROM addresses -- the real
firmware executing end-to-end through the settle-kernel bus. The on-screen
"READY" prompt is the next milestone (needs the video display chip
rendering the 0x2800 video RAM).

galaksija-rom.c embeds the public-domain ROM A+B image. 38 chipbus tests
across 8 files pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:55:28 -03:00
..
bus-driver.c test(chipbus): Phase 0 live proof - two real WASM chips exchange a byte 2026-06-05 02:10:08 -03:00
bus-driver.chip.json test(chipbus): Phase 0 live proof - two real WASM chips exchange a byte 2026-06-05 02:10:08 -03:00
bus-reader.c test(chipbus): Phase 0 live proof - two real WASM chips exchange a byte 2026-06-05 02:10:08 -03:00
bus-reader.chip.json test(chipbus): Phase 0 live proof - two real WASM chips exchange a byte 2026-06-05 02:10:08 -03:00
cd4094.c
cd4094.chip.json
ds3231.c
ds3231.chip.json
eeprom-24c01.c
eeprom-24c01.chip.json
eeprom-24lc256.c
eeprom-24lc256.chip.json
galaksija-rom.c test(chipbus): a real Galaksija (1983 Z80 home computer) boots over the bus 2026-06-05 11:55:28 -03:00
galaksija-rom.chip.json test(chipbus): a real Galaksija (1983 Z80 home computer) boots over the bus 2026-06-05 11:55:28 -03:00
inverter.c
inverter.chip.json
mcp3008.c
mcp3008.chip.json
pcf8574.c
pcf8574.chip.json
pulse-counter.c
pulse-counter.chip.json
sn74hc595.c
sn74hc595.chip.json
uart-rot13.c
uart-rot13.chip.json
xor.c
xor.chip.json
z80-boot-rom.c test(chipbus): live proof - a real Z80 boots from a ROM over the bus 2026-06-05 10:07:26 -03:00
z80-boot-rom.chip.json test(chipbus): live proof - a real Z80 boots from a ROM over the bus 2026-06-05 10:07:26 -03:00
z80-ram-rom.c test(chipbus): Phase 3 core - Z80 + ROM + RAM + address decode over the bus 2026-06-05 10:23:57 -03:00
z80-ram-rom.chip.json test(chipbus): Phase 3 core - Z80 + ROM + RAM + address decode over the bus 2026-06-05 10:23:57 -03:00