EN
vcsWrite4(3V)vcsLib manualvcsWrite4(3V)
Name

vcsWrite4

vcsWrite3 with an absolute address, one cycle slower.

Synopsis
#include "vcsLib.h"

void vcsWrite4(uint16_t address, uint8_t value);
Description

It makes a bus-stuffed write land one cycle later, or writes outside zero page.

On the bus

It serves 8D·8E·8C·8F lo hi and takes 4 cycles of the 6507. This is how it looks on the bus right after a vcsJmp3:

φ2A12–A0D7–D0R/W$10008D$100111$100200$001100
1 sta abs2 low byte3 high byte4 RESP1, forced data

served by the cartridgeforced by the cartridge

Example
vcsWrite4(RESP1, 0);
Compatibility

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

ImplementationBy versionNotes
Stella– 7.0– masterOnly on the main branch since 7 November 2025, and not in any release yet.
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

vcsWrite3(3V)

vcsLib · December 2026Bus stuffingvcsWrite4(3V)