EN

Cartridge · github.com/Al-Nafuur/United-Carts-of-Atari

PlusCart and UnoCart

Multicarts built around an STM32F4. The UnoCart reads games from an SD card and the PlusCart downloads them over Wi-Fi. Both run the United-Carts-of-Atari firmware, which is where the ELF loader and the reference vcsLib.h header started out.

Wolfgang Stubig (Al_Nafuur), who sells it on his website, Firmaplus. The ELF loader is by Zachary Scolaro (ZackAttack) and the original UnoCart by Robin Edwards (electrotrains).

Complete 37With differences 4Empty 5Missing 5

STM32F4Cortex-M4F

Specifications

ProcessorSTM32F4, Cortex-M4F
Where the game runsIn RAM, with vcsLib in flash
SizeELF files of up to 96 KB run from RAM, and larger ones from flash (since 2.3.32)
FirmwareUnited-Carts-of-Atari, under the GPL

Versions

2022202320242025202620272.3.15 – 2.3.28git 2025-112.3.32
VersionDateChanges to vcsLib
2.3.15 – 2.3.282023-01-19The first builds with the ELF loader and vcsLib (the code is from December 2022). The set of functions stayed the same up to 2.3.28, in April 2025.
git 2025-112025-11-12Unreleased work that adds vcsWrite4, vcsRead6 and the vcsSleep macro, takes vcsRead4 out of the header and removes ColorLookup.
2.3.322026-11-07Save functions (still empty), PXE and ELF files bigger than the buffer, and ELF files over 96 KB loaded from flash.

Errata

  1. vcsLib lives in flash and the game in RAM, so every call into vcsLib has to be a long call (long_call). Otherwise linking fails because the target is too far away.
  2. It only understands the R_ARM_TARGET1, R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_THM_JUMP24 relocations.
  3. vcsPla4Ex serves PHP (08) instead of PLA (68).
  4. injectDmaData exists but is empty, and there’s no vcsSnoopRead, so an ELF that references it won’t load.
  5. The save functions are empty. They link, but nothing is saved.
  6. It never sets FF_CHAMELEON_CART or FF_REDUCED_HMOVE, and never reports a 7800 system type.
  7. Bus stuffing is only switched on if the ELF references vcsWrite3 or vcsWrite4.

On the differences page

Compatibility by version

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

Function2.3.15 – 2.3.28git 2025-112.3.32Notes
Startup
elf_main◐◐◐It accepts main or elf_main. It only ever sets FF_MULTI_CART, and MP_SYSTEM_TYPE is always 0, 1 or 2.
Flow control
vcsJmp3●●●
vcsNop2●●●
vcsNop2n●●●It doesn’t check for count = 0.
vcsNop3–––
vcsSleep●●●
vcsJsr6●●●
vcsTxs2●●●
Loads and stores
vcsLda2●●●
vcsLdx2●●●
vcsLdy2●●●
vcsSta3●●●
vcsStx3●●●
vcsSty3●●●
vcsSax3●●●
vcsSta4●●●
vcsStx4●●●
vcsSty4●●●
vcsWrite5●●●
vcsWrite6●●●
Reads
vcsRead4●◐◐It’s still in the firmware so that older ELF files keep working, but it was taken out of the header in November 2025.
vcsRead6–●●
Bus stuffing
vcsLdaForBusStuff2●●●
vcsLdxForBusStuff2●●●
vcsLdyForBusStuff2●●●
vcsWrite3●●●The loader only turns bus stuffing on if the ELF references vcsWrite3 or vcsWrite4.
vcsWrite4–●●
Stack
vcsPha3●●●
vcsPhp3●●●
vcsPla4●●●
vcsPlp4●●●
vcsPla4Ex◐◐◐It serves PHP (08) instead of PLA (68).
vcsPlp4Ex●●●
Overblank
vcsCopyOverblankToRiotRam●●●
vcsStartOverblank●●●
vcsEndOverblank◐◐◐It first waits for the 6507 to go past $00A9.
7800 bus
vcsJmpToRam3●●●
vcsWaitForAddress●●●
vcsSnoopRead–––It’s missing, so an ELF that references it won’t load.
vcsInjectDmaData○○○It’s called injectDmaData and it’s empty. It links, but a 7800 game ends up with no graphics.
Cartridge ROM
vcsPokeRomByte–––
vcsSetNextAddress–––
Saving
vcsInitNvStore––○It’s empty. It links, but nothing gets saved.
vcsWriteNvChunk––○It’s empty. It links, but nothing gets saved.
vcsProcessNvStoreEvents––○It’s empty. It links, but nothing gets saved.
vcsIsNvBusy––○It’s empty. It links, but nothing gets saved.
Utilities
randint●●●
ReverseByte●●●
ColorLookup●––Removed in November 2025.
memset●●●
memcpy●●●