EN
vcsSetNextAddress(3V)vcsLib manualvcsSetNextAddress(3V)
Name

vcsSetNextAddress

Tells the cartridge which address the 6507 will read the next byte from.

Synopsis
#include "vcsLib.h"

void vcsSetNextAddress(uint16_t address);
Description

Use it to take control back after the 6507 has been running code on its own, or to fix a return address that doesn’t match by hand (see vcsJmpToRam3). This description comes from Gopher2600.

On the bus

It doesn’t put anything on the bus.

Example
vcsSetNextAddress(0x1000);
Compatibility

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

ImplementationBy versionNotes
Stella– 7.0– master
Gopher2600– 2022-2023● 2025-04● v0.51.0● v0.53.0● master
Test7800● 2025● v0.8.0 – v0.9.0
PlusCart and UnoCart– 2.3.15 – 2.3.28– git 2025-11– 2.3.32
Chameleon Cart– 2025-10-23Declared in the header but missing from the firmware, so linking fails.
Chameleon Cart, alternative firmware– 2026-11-28
Newbroo Wild Cart and Decker? 2026
VCSIDE ACE adapter– 2026-11
Known issues
See also

vcsPokeRomByte(3V), vcsJmpToRam3(3V)

vcsLib · December 2026Cartridge ROMvcsSetNextAddress(3V)