EN

Cartridge · no public website

Chameleon Cart, alternative firmware

Extra pieces that are linked with the official template objects. They add bus stuffing and 7800 mode and get rid of the two races. The rest of vcsLib is the template’s.

Made for La abadía del crimen 2600 (being tested, private repository)

Complete 31With differences 2Empty 0Missing 18

STM32G070Cortex-M0+ · 64 MHz

Specifications

Based onThe 2025-10-23 template objects
AddsvcsWrite3 and vcsLd[axy]ForBusStuff2 with calibration, plus vcsWaitForAddress, vcsSnoopRead and vcsInjectDmaData for the 7800
Tested onA PAL 7800, in both 7800 and 2600 mode

Versions

2022202320242025202620272026-11-28
VersionDateChanges to vcsLib
2026-11-282026-11-28Calibrated bus stuffing, a vcsEndOverblank without the race, and startup in 7800 mode.

Errata

  1. It inherits the extra NOP in vcsRead4, the +2 return of vcsJmpToRam3 and the missing stack functions from the template.
  2. Bus stuffing on a 2600 and on NTSC consoles has only been tested in a cycle simulator.

On the differences page

Compatibility by version

● complete ◐ works with differences ○ exists but does nothing – missing ? no data

Function2026-11-28Notes
Startup
elf_main●
Flow control
vcsJmp3●
vcsNop2●
vcsNop2n●
vcsNop3–
vcsSleep●
vcsJsr6–
vcsTxs2–
Loads and stores
vcsLda2●
vcsLdx2●
vcsLdy2●
vcsSta3●
vcsStx3●
vcsSty3●
vcsSax3●
vcsSta4●
vcsStx4●
vcsSty4●
vcsWrite5●
vcsWrite6●
Reads
vcsRead4◐It’s the template’s version, NOP included.
vcsRead6–
Bus stuffing
vcsLdaForBusStuff2●
vcsLdxForBusStuff2●
vcsLdyForBusStuff2●
vcsWrite3●With calibration of the bits the console lets the cartridge force.
vcsWrite4–
Stack
vcsPha3–
vcsPhp3–
vcsPla4–
vcsPlp4–
vcsPla4Ex–
vcsPlp4Ex–
Overblank
vcsCopyOverblankToRiotRam●
vcsStartOverblank●
vcsEndOverblank●It replaces it with a version that has no race.
7800 bus
vcsJmpToRam3◐On the 2600 it’s the template’s version, with the return at JMP + 2. On the 7800 it uses its own.
vcsWaitForAddress●Only in the 7800 image.
vcsSnoopRead●
vcsInjectDmaData●
Cartridge ROM
vcsPokeRomByte–
vcsSetNextAddress–
Saving
vcsInitNvStore–
vcsWriteNvChunk–
vcsProcessNvStoreEvents–
vcsIsNvBusy–
Utilities
randint●
ReverseByte●
ColorLookup–
memset●
memcpy●