MEMCPYMV

X16

Defined in X16.BAS.

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

Subroutine header

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

Example

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

See also