vcsJmp3(3V)vcsLib manualvcsJmp3(3V)
- Name
vcsJmp3
Sends the 6507 back to $1000 with a JMP.
- Synopsis
#include "vcsLib.h" void vcsJmp3(void);- Description
The 6507 drives the address bus and moves on one byte with every read. The cartridge only decides which byte to serve. If nothing makes it jump, it eventually walks out of the cartridge’s 4 KB ($1000–$1FFF) and starts reading RAM or the TIA.
Once per kernel line is enough. Since it takes 3 cycles, it also comes in handy for using up an odd number of cycles.
After vcsJmp3 the cartridge expects the next read at $1000, and every other function counts from there.
- On the bus
It serves
4C 00 10and takes 3 cycles of the 6507. This is how it looks on the bus right after a vcsJmp3:1 jmp abs2 low byte3 high byte4 carries on at $1000served by the cartridge
- Example
vcsSta3(WSYNC); vcsWrite5(COLUBK, color); vcsJmp3(); /* once per line */- Compatibility
● complete ◐ works with differences ○ exists but does nothing – missing ? no data
Implementation By version Notes 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-23 Chameleon Cart, alternative firmware ● 2026-11-28 Newbroo Wild Cart and Decker ? 2026 VCSIDE ACE adapter ● 2026-11 - See also
vcsLib · December 2026Flow controlvcsJmp3(3V)