MEMCPYVM

X16

Defined in X16.BAS.

MEMCPYVM is a subroutine that copies an area from VRAM to RAM.

Subroutine header

SUB MEMCPYVM (srcAddr AS LONG, targetAddr AS WORD, cntBytes AS WORD) SHARED STATIC

Example

INCLUDE "x16.bas"
CALL MEMCPYVM($10000, $0400, 1024) ' Copies 1k of data from address $10000 of the VRAM to RAM address $0400 

See also