EN

Library

VCSIDE

VCSIDE, a development environment for the 2600, has a vcsLib written on the bus library of its ACE projects. With it an ELF game can also be built as an ACE file, the format the UnoCart and the PlusCart run without linking. Since 18 November 2026 new ELF projects no longer offer it, and only its “ELF game on vcsLib” example uses it.

VCSIDE, public domain (CC0)

Complete 15With differences 3Empty 4Missing 27

Specifications

Filedata/templates/elf/ace/vcslib_ace.c
ProcessorCortex-M4F (UnoCart and PlusCart)
Buildmake ace, in the “ELF game on vcsLib” example

Versions

2022202320242025202620272026-11
VersionDateChanges to vcsLib
2026-112026-11-11The first version, with the 2600 functions but without bus stuffing or the stack.

Implementation notes

  1. vcsRead4 takes 7 cycles (8 above $FF), because it reads the byte and then writes it to $1FF0 so the ARM can see it.
  2. vcsSta4 only exists for zero page, and there’s no vcsStx4 or vcsSty4.
  3. The 7800 functions exist but do nothing, and vcsSnoopRead always returns 0.
  4. Its overblank program writes AUDV0 on every line by itself, and it keeps driving the data bus after the jump to RIOT RAM, so on a PlusCart the screen stays black.
  5. The args array has only three entries, so there’s no MP_ELAPSED or MP_THRESHOLD. args[MP_SYSTEM_TYPE] is the TV system the game was built for, and args[MP_FEATURE_FLAGS] is FF_MULTI_CART.
  6. When elf_main returns, it serves JMP ($FFFC) so that the cartridge’s menu takes over.

On the differences page

Compatibility by version

● complete ◐ works with differences ○ exists but does nothing – missing ? not published

Function2026-11Notes
Startup
elf_main●The args array has only three entries.
Flow control
vcsJmp3●
vcsNop2●
vcsNop2n●
vcsNop3–
vcsSleep●
vcsJsr6–
vcsTxs2–
Loads and stores
vcsLda2●
vcsLdx2●
vcsLdy2●
vcsSta3●
vcsStx3●
vcsSty3●
vcsSax3–
vcsSta4◐Only vcsSta4 exists, and only for zero page.
vcsStx4–It doesn’t exist.
vcsSty4–It doesn’t exist.
vcsWrite5●
vcsWrite6●
Reads
vcsRead4◐7 cycles (8 above $FF).
vcsRead6–
Bus stuffing
vcsLdaForBusStuff2–
vcsLdxForBusStuff2–
vcsLdyForBusStuff2–
vcsWrite3–
vcsWrite4–
Stack
vcsPha3–
vcsPhp3–
vcsPla4–
vcsPlp4–
vcsPla4Ex–
vcsPlp4Ex–
Overblank
vcsCopyOverblankToRiotRam◐Its program writes AUDV0 on every line by itself.
vcsStartOverblank●
vcsEndOverblank●
7800 bus
vcsJmpToRam3○It exists, but does nothing.
vcsWaitForAddress○It does nothing.
vcsSnoopRead○It always returns 0.
vcsInjectDmaData○It does nothing.
Cartridge ROM
vcsPokeRomByte–
vcsSetNextAddress–
Saving
vcsInitNvStore–
vcsWriteNvChunk–
vcsProcessNvStoreEvents–
vcsIsNvBusy–
Utilities
randint–
ReverseByte–
ColorLookup–
memset?
memcpy?