EN

Implementing vcsLib

If you’re adding vcsLib to a cartridge or an emulator, this page covers what it needs, how to test it and how to get it listed here.

  1. Pick the profiles. The 2600 core is enough for almost every game. The others are optional, but if an ELF references a function you don’t have, the game won’t load.
  2. Export the exact names. vcsInjectDmaData, not injectDmaData. If a function isn’t ready yet, it’s better for it not to exist at all than to exist and do nothing, because then the error shows up when the game loads and not halfway through it.
  3. Count bytes the way everyone else does. After each function, the address you expect next is the one right after the last byte you served. For vcsJmpToRam3 that’s JMP + 3.
  4. Fill in args properly. Put the real system in MP_SYSTEM_TYPE, 7800 included, and treat MP_FEATURE_FLAGS as a bit mask.
  5. Run the tests. There are the ElfTests in the United-Carts-of-Atari repository. A conformance ROM would help too, with one screen per function and cycle counts measured with the RIOT timer, but it hasn’t been written yet.
  6. Get listed. Fill in the form below.

Profiles

ProfileStellaGopherT7800PlusCartChameleonCham. altACE
2600 core◐ 28/30◐ 27/30◐ 27/30◐ 25/30◐ 23/30◐ 24/30◐ 15/30
Bus stuffing– 0/5● 5/5◐ 4/5● 5/5– 0/5◐ 4/5– 0/5
Stack◐ 4/6● 6/6◐ 5/6◐ 5/6– 0/6– 0/6– 0/6
7800◐ 1/4◐ 2/4● 4/4◐ 2/4◐ 2/4◐ 3/4– 0/4
Saving– 0/4● 4/4● 4/4– 0/4– 0/4– 0/4– 0/4
Cartridge ROM– 0/2● 2/2● 2/2– 0/2– 0/2– 0/2– 0/2

How many functions of each profile are complete in the latest version.

Add an implementation

Functions it exports in full