Examples:
- The four .asm examples used generic period syntax no installed assembler
accepts. They are now ca65 with BASIC stubs, and pass c64 test.
- bitmap-demo: SET_PIXEL clobbered the loop counter, colors went to $0400
while $D018 pointed at $8400, the clear missed 64 bytes, and ORA under
BASIC ROM copied ROM bytes into the bitmap. It now draws 200 clean pixels.
- kernal-io: GETIN clobbers X; the line index now lives in memory. The
stray SETLFS is replaced by a real drive-status read.
- irq-handler: the raster IRQ exits via $EA81 instead of re-running the
Kernal handler (which double-counted the jiffy clock).
- sound-demo: NOTE% and WAVEFORM tokenized as NOT/FOR (SYNTAX error).
- disk-access: closing channel 15 closed the data files, the error path
left file 1 open, LOAD "$" replaced the running program, and the read
loop tested ST too early. It now writes, reads, lists, and renames.
Toolchain: BASIC builds sort lines like the C64 editor and warn about
variable names that contain keywords; BASIC errors report their line;
-Disk attaches an image; each target gets build/test/<name>/;
-refreshonbreak keeps screenshots in step with the dump; absolute paths
resolve. tools/regress.ps1 runs all 17 cases (all pass).
AGENTS.md is now a short entry point (workflow, rules, skill/reference/
project indexes); README describes the commands and layout.
newLang's regression suite gives the same 22 pass / 4 fail as on cfa64d1
(map-artifact baselines and a Get-FileHash lookup in prepare-disk.ps1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
skirmish-game, samples/kernal-os-skeleton, and samples/cc65-mouse-driver-demo
get c64project.json manifests with screen expectations; each rebuilds
byte-identical to its committed PRG and passes c64 test. A new cc65Target
manifest field ("none") keeps raw ASCII strings for projects that were
assembled without a target, which the kernal OS shell depends on.
.gitignore covers build/, object files, VICE logs, and personal Claude
settings; the committed .o files, vim128.map, and settings.local.json (which
held another machine's paths) are no longer tracked. .cmd/.bat keep CRLF.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c64.cmd / tools/c64.ps1 give one entry point over cc65 and VICE:
doctor finds cl65/ca65/ld65/x64sc/x128/c1541/petcat (PATH, Program Files, WinGet)
new scaffolds projects/<name> from templates/{c,asm,basic}
build c64project.json or a single .c/.s/.bas -> build/*.prg, .lbl, .map, .d64
run autostarts in x64sc/x128; -Monitor opens the remote monitor with labels
test headless run that captures RAM, I/O, screen text, and a screenshot when
the program stores to $D7FF (0 = pass), reaches a label, or after N
jiffies; BASIC errors fail fast; prints the screen and PASS/FAIL
mon sends monitor commands to a running emulator and resumes it
lib/c64test.h and lib/c64test.inc wrap the $D7FF result protocol, which also
matches VICE's -debugcart. All three templates pass on C64; the C template
also passes as a C128 build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>