velxio/frontend/src/__tests__
David Montero Crespo e3d21cd6fc feat(chipbus): Galaksija video display chip - full computer renders READY
galaksija-display.c: a 32x16 text video chip that renders the Galaksija
video RAM. It is a passive bus snoop -- watches WR + address + data, and on
a write into the 0x2800 video region stores the character and renders that
cell into a 256x128 framebuffer using the public-domain CHRGEN font (code*8,
bit 0 = lit). It never drives the bus. The host blits the framebuffer to the
chip canvas (vx_framebuffer_init / vx_buffer_write).

Two tests:
- chipbus-galaksija-display: snoop+render smoke test (a write of 'R' to
  0x2802 lights its cell; unwritten cells stay blank).
- chipbus-galaksija-computer: the COMPLETE machine over the chip-to-chip bus
  (Z80 + galaksija-rom + ram-64k + inverter decode + galaksija-display) boots
  the public-domain ROM and renders the monitor's "READY" prompt on screen.

40 chipbus tests across 10 files pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 12:14:40 -03:00
..
__snapshots__ test(snapshots): refresh smart-ui-eyes netlist after circuit was wired 2026-05-23 08:28:08 +02:00
fixtures feat(chipbus): Galaksija video display chip - full computer renders READY 2026-06-05 12:14:40 -03:00
helpers fix(stop): preserve display state on Stop, only blank on Reset 2026-05-26 18:54:17 +02:00
AVRSimulator.test.ts
PinManager.test.ts
RP2040Simulator.test.ts
SignalRouter.test.ts fix(esp32): LEDC signal IDs are 71-86 per ESP32 TRM, not 72-87 2026-05-17 05:42:52 +02:00
ammeter-waveform.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
arduino-arduino-spi.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
arduino-esp32-uart.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
arduino-pico-digital.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
arduino-pico-i2c.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
arduino-pico-mixed-uart.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
attiny85-simulation.test.ts
avr-uart-tx-waveform.test.ts feat(avr/uart): synthesize bit-level TX waveform on PD1/PE1 2026-05-22 19:49:43 +02:00
board-kinds-coverage.test.ts test(board-coverage): accept the 6 new STM32 variant boards as uncovered 2026-05-31 08:37:58 +02:00
board-removal-running-reconcile.test.ts refactor(sim): single-board example load rebuilds from scratch 2026-05-31 23:23:41 +02:00
capacitor-charge-transient.test.ts feat(sim): Phase 1d #3 + #5 — WASM pre-boot on mount + delete dead wire* utils 2026-05-15 22:24:31 +02:00
chipbus-buskernel.test.ts feat(chipbus): Phase 2 - synchronous settle kernel (settle-before-read) 2026-06-05 02:36:54 -03:00
chipbus-buslogic.test.ts feat(chipbus): Phase 1 - 4-valued logic + drive-strength tri-state buses 2026-06-05 02:18:47 -03:00
chipbus-busnets.test.ts feat(chipbus): Phase 1 - 4-valued logic + drive-strength tri-state buses 2026-06-05 02:18:47 -03:00
chipbus-galaksija-boot.test.ts test(chipbus): a real Galaksija (1983 Z80 home computer) boots over the bus 2026-06-05 11:55:28 -03:00
chipbus-galaksija-computer.test.ts feat(chipbus): Galaksija video display chip - full computer renders READY 2026-06-05 12:14:40 -03:00
chipbus-galaksija-display.test.ts feat(chipbus): Galaksija video display chip - full computer renders READY 2026-06-05 12:14:40 -03:00
chipbus-netkey.test.ts feat(chipbus): Phase 0 - net-identity shared key for chip-to-chip buses 2026-06-05 01:18:08 -03:00
chipbus-twochip-integration.test.ts feat(chipbus): Phase 1 - 4-valued logic + drive-strength tri-state buses 2026-06-05 02:18:47 -03:00
chipbus-z80-ram-decode.test.ts test(chipbus): Phase 3 core - Z80 + ROM + RAM + address decode over the bus 2026-06-05 10:23:57 -03:00
chipbus-z80-rom-boot.test.ts test(chipbus): live proof - a real Z80 boots from a ROM over the bus 2026-06-05 10:07:26 -03:00
circuit-simulation-service.test.ts fix(circuit-sim): stop() guard + drop edges with no V-source post-rebuild 2026-05-20 03:49:29 +02:00
circuit-verifier.test.ts
component-metadata-bmp280.test.ts
component-to-spice.test.ts test: align photoresistor-sensor fixtures + snapshots with 603b791 alias 2026-05-19 18:29:21 -03:00
components-metadata-integrity.test.ts test(sim): Phase 1d-tests J + C — vitest.config.ts + components-metadata integrity 2026-05-15 22:58:12 +02:00
dual-arduino-digital.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
dual-arduino-hw-uart.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
dual-arduino-multi-protocol.test.ts
dual-arduino-software-serial.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
dual-esp32-uart.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
dual-pico-digital.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
dual-pico-multi-protocol.test.ts
dual-pico-serial-passthrough.test.ts
epaper-part-integration.test.ts
esp32-dht22-flow.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
esp32-integration.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
esp32-multi-servo-gpio-matrix.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
esp32-rectifier-integration.test.ts
esp32-servo-pot.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
esp32-wifi-bluetooth.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
esp32-wifi-compile.test.ts
esp32-wifi-webserver-integration.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
esp32c3-blink.test.ts fix(tests): update mocks + assertions for PinManager API changes 2026-05-19 04:52:30 +02:00
esp32c3-simulation.test.ts fix(tests): update mocks + assertions for PinManager API changes 2026-05-19 04:52:30 +02:00
esp32c3-wifi-bluetooth.test.ts test(esp32): add hardResetPinStates to PinManager mocks in 6 test files 2026-05-28 19:31:43 +02:00
examples-all-buckets-smoke.test.ts test(sim): Phase 1d-tests B — smoke test 100-days + epaper + picow-wifi + circuits 2026-05-15 23:05:33 +02:00
examples-analog-live.test.ts feat(sim): Phase 1d #2 + #9 — convergence helpers in Worker + enable LM358 subckt 2026-05-15 22:17:06 +02:00
examples-analog.test.ts feat(sim): Phase 1d #2 + #9 — convergence helpers in Worker + enable LM358 subckt 2026-05-15 22:17:06 +02:00
examples-circuits.test.ts
examples-digital.test.ts
examples-gallery-smoke.test.ts feat(sim): Phase 1d #1 — gallery smoke test imports real examples + shared helper 2026-05-15 22:11:28 +02:00
examples-netlist-snapshot.test.ts test(sim): Phase 1d-tests A — netlist snapshots for every gallery example 2026-05-15 23:00:14 +02:00
examples-pico-doom.test.ts
firmware-loader.test.ts
flip-flop-parts.test.ts
i2c-complex-scenarios.test.ts
i2c-esp32-multiboard-bridge.test.ts
i2c-esp32-real-firmware.test.ts
i2c-interconnect-bridge.test.ts
i2c-lcd-coupling-gap.test.ts
i2c-multi-board-slave-gap.test.ts
i2c-real-firmware.test.ts
install-libraries.test.ts
instruments.test.ts
integration.test.ts
interactive-parts.test.ts
interconnect-routing.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
issue-122-micropython-esp32.test.ts
library-compile.integration.test.ts ci: Phase 1d-tests I + K + L — workflow hardening + nightly library-compile 2026-05-15 23:19:11 +02:00
load-example-transitions.test.ts feat(sim): Stop halts custom chips + LEDs go dark; retro chip examples go board-less 2026-06-04 04:32:44 +02:00
load-ngspice-for-node.test.ts
logic-families.test.ts
logic-gate-parts.test.ts
mega-emulation.test.ts
mixed-mode-bjt-switch-integration.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
mixed-mode-scheduler.test.ts
motor-parts.test.ts
multi-board-integration.test.ts test(frontend): fix 2 test-mock bugs that blocked the deploy gate 2026-05-28 19:26:21 +02:00
netlist-builder.test.ts
ngspice-interactive.test.ts
ngspice-node-adapter.test.ts
oscilloscope-trigger.test.ts feat(scope/trigger): add Auto / Normal / Single-shot trigger modes 2026-05-22 21:11:03 +02:00
part-simulators-coverage.test.ts test(sim): Phase 1d-tests E + F — part simulator coverage + solver determinism 2026-05-15 23:10:05 +02:00
phase-2-device-models.test.ts
phase-2-lm358-subckt.test.ts
phase-4-wire-resistance.test.ts
pi-single-board-examples.test.ts feat(examples): add single-board Raspberry Pi 3/4/5 GPIO examples 2026-06-02 04:36:58 +02:00
pi3-pico-uart.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
piSlaveScanner.test.ts feat(pi): pluggable slave handler + canvas wire detection for I2C/SPI/UART 2026-05-18 16:26:37 +02:00
picow-cyw43-integration.test.ts
pin-position-rotation.test.ts fix(canvas): wires off pins after rotation — wrapper offset was (4,6) instead of (6,6) 2026-05-26 15:16:04 +02:00
pin-resolver-phase1b.test.ts
pin-resolver.test.ts
protocol-parts.test.ts
rp2040-pio-servo.test.ts
sensor-parts.test.ts
serial-batching.test.ts
simulation-parts.test.ts test(joystick): update fixture to direction-style xValue / yValue 2026-05-22 18:59:49 +02:00
simulation.test.ts
solver-determinism.test.ts test(sim): Phase 1d-tests E + F — part simulator coverage + solver determinism 2026-05-15 23:10:05 +02:00
solver-perf-baseline.test.ts test(sim): Phase 1d-tests D + G — board-kind coverage matrix + perf baseline 2026-05-15 23:13:48 +02:00
solver-port-contract.test.ts
spice-ac.test.ts
spice-active.test.ts
spice-avr-mixed.test.ts
spice-digital.test.ts
spice-mosfet-diag.test.ts
spice-mosfet-pwm.test.ts
spice-npn-switch-diag.test.ts
spice-npn-switch-integration.test.ts
spice-passive.test.ts
spice-rectifier-integration.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-rectifier-live-repro.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-relaxation-oscillator.test.ts
spice-relay-integration.test.ts
spice-signal-generator-tran.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
spice-smoke.test.ts
spice-transient.test.ts
ssd168x-decoder.test.ts
ssd1306-render.test.ts
triple-pico-digital-chain.test.ts refactor(esp32): retire ledc_update + broadcastPwm + channelGpioMemo 2026-05-19 04:05:34 +02:00
uc8159c-decoder.test.ts
undo-redo.test.ts
virtual-i2c-devices.test.ts
voltmeter-waveform.test.ts feat(sim): Phase 1c G+F3 — retire legacy CircuitScheduler / eecircuit-engine 2026-05-15 21:46:34 +02:00
waveform-stats.test.ts