EN
vcsInjectDmaData(3V)vcsLib manualvcsInjectDmaData(3V)
Name

vcsInjectDmaData

Serves bytes to a run of consecutive reads starting at address, which is how MARIA’s DMA reads them.

Synopsis
#include "vcsLib.h"

void vcsInjectDmaData(uint16_t address, uint8_t count, const uint8_t *bytes);
Description

MARIA fetches graphics from the cartridge by DMA, without going through the 6502. This function serves the whole run, and if a read from another address comes in the middle, the run stops there.

On the bus

It serves bytes[0..count-1] and takes null cycles.

Example
vcsInjectDmaData(0x1000, 160, line_buffer);
Compatibility

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

ImplementationBy versionNotes
Stella– 7.0– masterIt’s called injectDmaData and it stops emulation.
Gopher2600– 2022-2023– 2025-04– v0.51.0– v0.53.0– masterIt’s missing.
Test7800● 2025● v0.8.0 – v0.9.0
PlusCart and UnoCart○ 2.3.15 – 2.3.28○ git 2025-11○ 2.3.32It’s called injectDmaData and it’s empty. It links, but a 7800 game ends up with no graphics.
Chameleon Cart◐ 2025-10-23The firmware uses it at startup, and it has a race that hangs 36 of 801 clock offsets in the simulator.
Chameleon Cart, alternative firmware● 2026-11-28
Newbroo Wild Cart and Decker? 2026
VCSIDE ACE adapter○ 2026-11It does nothing.
Known issues
See also

vcsSnoopRead(3V)

vcsLib · December 20267800 busvcsInjectDmaData(3V)