Table of Contents

SAVE

VIC-20 C16 Plus/4 C64 C128 M65

The SAVE command saves a memory area into a file on the given device. The first two bytes in the file will contain the start address.

Syntax

SAVE <filename>, <device_no>, <start_address>, <end_address>

Prepend the file name with @0 to overwrite an existing file on disk.

Warning

File I/O commands are not implemented for the Commodore PET.

Example

save "@0:existingfile", 8, 49152, 49408

See also