Skip to content

1.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 22:15
· 1 commit to main since this release
f090445

Version 1.7.0 makes the knowledge that c64bridge gives your coding agent checkable. Every factual statement in the served documents now has an ID and recorded evidence: a test, a measurement on real hardware, ROM bytes, source code or a reference. Statements that the evidence contradicted are corrected.

It also adds game-genre guidance and fixes a REST connection hang on Ultimate hardware.

Knowledge you can trace

Which C64U statements in the hardware guide were measured, and on which firmware?

  • 3,134 assertions across 27 domains, from BASIC and the KERNAL to the VIC-II, SID, REU, UCI and the REST API. Each one has a registry row that records how it was verified and on which devices. npm run knowledge:check enforces this in CI, knowledge:trace <ID> shows the evidence for one statement.
  • Measured on four targets: the C64 Ultimate 1.2.1, the Ultimate 64 Elite, an Ultimate II+L in the C64U's cartridge port, and VICE 3.10. npm run hil:knowledge reruns the measurements, restores the device configuration afterwards and records each result in evidence/ledger.jsonl.
  • Corrections found by measurement, among them the sampler period on the C64U, U64 and U2+L, undecoded $D400-$D7FF accesses, the U2 menu screen, socket DMA keep-alive, CIA ICR bit 7, the SID voice 3 filter path, the callable CLR entry and REU rates at 1 to 3 MHz.
  • Mocks checked against hardware: the REST mock is replayed against recorded C64U and U64 answers, and the VICE monitor mock against VICE 3.10.

Game genres

Plan a horizontally scrolling shooter for a stock C64, and the same game for the C64U with turbo and REU.

  • c64://gamedev/genres covers 15 game types, from arcade and platformers to RPGs, 3D and multiplayer. Each has a stock-C64 track and a modern C64U/U64 track, frame budgets in cycles, and classic and recent games as examples. The game-development prompt adds it when you name a genre.

Fixes

  • REST requests to an Ultimate no longer hang for their whole timeout when the host reuses a local port that the device still holds in TIME_WAIT. A stalled TCP connect is abandoned after 2.5 s and retried from a new local port (#273).
  • Video and audio stream capture enlarges the UDP receive buffer, so a busy host no longer drops stream packets that showed up as lost frames.
  • c64_debug diagnose on the U64: a large memory read without an answer is bounded and retried (#269).
  • VICE_HEADLESS=1 no longer passes -headless, which VICE 3.10 does not have.
  • The VICE monitor mock keeps snapshots in memory instead of writing files.
  • cross-spawn 7.1.2 (Dependabot alert 113); sidwave ^0.11.0.
  • AGENTS.md is now a short guide for agents that change this repository (#276).

Fixed issues: #265, #266, #269, #270, #273, #276.

Tested on

The hardware-in-the-loop release gate (scripts/hil/gate.mjs) ran once at commit 3e601c09 on VICE 3.10, an Ultimate 64 Elite (build ea0ec543), a C64 Ultimate (firmware 1.2.1) and an Ultimate II+L in the C64 Ultimate's cartridge port: 642 cases passed, 0 failed, 167 were skipped as not supported by the backend. One C64 Ultimate printer case passed only on retry and is tracked in #275. The knowledge measurements were recorded with npm run hil:knowledge on the same four targets.

Full Changelog: 1.6.0...1.7.0