EN
vcsRead6(3V)vcsLib manualvcsRead6(3V)
Name

vcsRead6

vcsRead4 followed by a NOP, to give the cartridge time.

Synopsis
#include "vcsLib.h"

uint8_t vcsRead6(uint16_t address);
Description

While the 6507 runs the NOP, the cartridge stores the byte it read and gets the next instruction ready. This is the read function the PlusCart header now has.

On the bus

It serves AD lo hi EA and takes 6 cycles of the 6507. This is how it looks on the bus right after a vcsJmp3:

φ2A12–A0D7–D0R/W$1000AD$10010C$100200$000C80$1003EA$1004··
1 lda abs2 low byte3 INPT44 the TIA answers5 nop6 dummy read

served by the cartridgeanswered by RAM, the TIA or the RIOTdummy read

Example
uint8_t fire = vcsRead6(INPT4) & 0x80;
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-23
Chameleon Cart, alternative firmware– 2026-11-28
Newbroo Wild Cart and Decker? 2026
VCSIDE ACE adapter– 2026-11
Known issues
See also

vcsRead4(3V)

vcsLib · December 2026ReadsvcsRead6(3V)