vcsPla4Ex(3V)vcsLib manualvcsPla4Ex(3V)
- Name
vcsPla4Ex
Serves PLA with the stack in the TIA, and the cartridge puts data on D0–D5 while the 6507 reads.
- Synopsis
#include "vcsLib.h" void vcsPla4Ex(uint8_t data);- Description
When the stack pointer points at a TIA register, nothing drives D0–D5 during the PLA read, so the cartridge supplies those bits. That loads A with a 6-bit value and, at the same time, undoes the pointer change of an earlier PHA or PHP.
D6 and D7 come from the TIA, as the collision or input bits of that register.
- On the bus
It serves
68, D0–D5 = dataand takes 4 cycles of the 6507. This is how it looks on the bus right after a vcsJmp3:1 pla2 dummy read3 stack read4 the cartridge drives D0–D5served by the cartridgeforced by the cartridgedummy read
- Example
vcsPla4Ex(0x2A);- Compatibility
● complete ◐ works with differences ○ exists but does nothing – missing ? no data
Implementation By version Notes Stella – 7.0– master It stops emulation with “unimplemented”. 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 It serves PHP (08) instead of PLA (68). 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
- Stella: It stops emulation with “unimplemented”.
- PlusCart and UnoCart: It serves PHP (08) instead of PLA (68).
- See also
vcsPla4(3V)
vcsLib · December 2026StackvcsPla4Ex(3V)