EN
vcsWrite6(3V)vcsLib manualvcsWrite6(3V)
Name

vcsWrite6

Like vcsWrite5, but with an absolute address (LDA # and STA abs).

Synopsis
#include "vcsLib.h"

void vcsWrite6(uint16_t address, uint8_t value);
Description

It’s for the RIOT (TIM64T, SWACNT…), for 7800 RAM, or for bank-switching registers on other hardware.

On the bus

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

φ2A12–A0D7–D0R/W$1000A9$10012B$10028D$100396$100402$02962B
1 lda #2 value3 sta abs4 low byte5 high byte6 TIM64T

served by the cartridgewritten by the 6507

Example
vcsWrite6(TIM64T, 43);
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

vcsWrite5(3V)

vcsLib · December 2026Loads and storesvcsWrite6(3V)