[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

be used in your programs and execution will continue with the next statement after the SAVE is completed.

Programs on tape are automatically stored twice, so that your Commodore 64 can check for errors when LOADing the program back in. When saving programs to tape, the <file-name> and secondary <address> are optional. But following a SAVE with a program name in quotes ("") or by a string variable (---$) helps your Commodore 64 find each program more easily. If the file-name is left out it can NOT be LOADed by name later on.

A secondary address of I will tell the KERNAL to LOAD the tape at a later time, with the program currently in memory instead of the normal 2048 location. A secondary address of 2 will cause an end-of-tape marker to follow the program. A secondary address of 3 combines both functions.

When saving programs onto a disk, the <file-name> must be present.

   SAVE               (Write to tape without a name)

   SAVE"ALPHA",1      (Store on tape as file-name "alpha")

   SAVE"ALPHA",1,2    (Store "alpha" with end-of-tape marker)

   SAVE"FUN.DISK",8   (SAVES on disk (device 8 is the disk))

   SAVE A$            (Store on tape with the name A$)

   10 SAVE"HI"        (SAVEs program and then move to next program line)

   SAVE"ME",1,3       (Stores at same memory location and puts an
                       end-of-tope marker on)

[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated November 14, 1998.