Table of Contents

MEMSET

PET VIC-20 C64 C16 Plus/4 C128 X16 M65

Syntax:

MEMSET <source_address>, <length>, <fill_value>

The MEMSET command calls a built-in routine that sets length number of bytes in memory to fill_value starting from source_address.

Example

REM -- clear the screen
MEMSET 1024, 1000, 32

Note

MEMSET uses fast Direct Memory Access (DMA) on the M65.

See also