memcpy(3V)vcsLib manualmemcpy(3V)
- Name
memcpy
Copies a block of memory.
- Synopsis
#include "vcsLib.h" void *memcpy(void *dst, const void *src, unsigned count);- Description
The compiler calls memset and memcpy by itself when it copies or clears large structures, so both have to be there even if the game never names them. The loader doesn’t provide the rest of the C library.
- On the bus
It doesn’t put anything on the bus.
- Example
memcpy(line, rows[y], 40);- Compatibility
● complete ◐ works with differences ○ exists but does nothing – missing ? no data
Implementation By version Notes Stella ● 7.0● master Gopher2600 ● 2022-2023● 2025-04● v0.51.0● v0.53.0● master Also __aeabi_memcpy and the other __aeabi_mem* functions. 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 They come in the template’s main.o, not in vcsLib.o. Chameleon Cart, alternative firmware ● 2026-11-28 Newbroo Wild Cart and Decker ? 2026 VCSIDE ACE adapter ? 2026-11 - Known issues
- Gopher2600: Also __aeabi_memcpy and the other __aeabi_mem* functions.
- Chameleon Cart: They come in the template’s main.o, not in vcsLib.o.
- See also
memset(3V)
vcsLib · December 2026Utilitiesmemcpy(3V)