EN
vcsSnoopRead(3V)vcsLib manualvcsSnoopRead(3V)
Name

vcsSnoopRead

Waits for the console to read address and returns the byte that went across the bus.

Synopsis
#include "vcsLib.h"

uint8_t vcsSnoopRead(uint16_t address);
Description

The cartridge doesn’t serve anything, it only listens. That’s how you find out what the 7800’s 6502 reads from or writes to its own RAM.

On the bus

It doesn’t put anything on the bus.

Example
uint8_t v = vcsSnoopRead(0x1FF8);
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.32It’s missing, so an ELF that references it won’t load.
Chameleon Cart● 2025-10-23
Chameleon Cart, alternative firmware● 2026-11-28
Newbroo Wild Cart and Decker? 2026
VCSIDE ACE adapter○ 2026-11It always returns 0.
Known issues
See also

vcsWaitForAddress(3V)

vcsLib · December 20267800 busvcsSnoopRead(3V)