Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

SAVE

Syntax:

save "filename", <byte or int device_no>, <int start_address>, <int end_address>

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

Note: The last byte written in the file will be end_address - 1.

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

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

Use the FERR() function to get error information on the saving process.