Commodore 128 System Manual page 321

Table of Contents

Advertisement

EXAMPLES:
SSHAPE A$,10,10
Saves a rectangular area from the coordinates 10,10 to the
location of the pixel cursor, into string variable A$.
SSHAPE B$,20,30,47,51
Saves a rectangular area from top left coordinate (20,30) through
bottom right coordinate (47,51 ) into string variable B$.
GSHAPE AS,120,20
Retrieves shape continued in string variable A$ and displays it at
top left corner at coordinate (120,20).
GSHAPE B$,30,30,1
Retrieves shape contained in string variable B$ and displays it at
top left coordinate (30,30). The shape is inverted due to the
replacement mode being selected by the 1.
NOTE: Beware using modes 1 -4 with multicolor shapes. You may
obtain unpredictable results.
STASH
Move contents of host memory to expansion ram
STASH #bytes, intsa, expsa, expb
Refer to FETCH command for description of parameters.
STOP
Halt program execution
STOP
This statement halts the program. A message, BREAK IN LINE
XXX occurs (in program mode), where XXX is the line number
containing the STOP command. The program can be restarted at
the statement following STOP if the CONT command is used
immediately, without any editing occurring in the listing. The
STOP statement is often used while debugging a program.
17-79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents