Commodore 128 System Manual page 289

Table of Contents

Advertisement

MONITOR
Enter the Commodore 128 machine language monitor
MONITOR
See Appendix J for details on the Commodore 128 Machine
Language Monitor.
MOVSPR
Position or move sprite on the screen
MOVSPR number,x1,y1
Place the specified sprite at absolute coordinate x,y (scaled).
MOVSPR number,+|- x, +|- y
Move sprite relative to its current position.
MOVSPR number,X;Y
Move sprite distance X at angle Y relative to its current position.
MOVSPR number,x angle #y speed
Move sprite at an angle relative to its original coordinates, in the
clockwise direction and at the specified speed.
where:
number
is sprite's number (1 through 8)
<,x1,y1>
is coordinate of the sprite location (scaled)
ANGLE
is the angle (0-360) of motion in the clockwise direction
relative to the sprites original coordinate.
SPEED
is a speed (0-15) at which the sprite moves.
This statement locates a sprite at a specific location on the
screen according to the SPRITE coordinate plane (not the bit
map plane) or initiates sprite motion at a specified rate. See
SPRMOV in Section 6 for a diagram of the sprite coordinate
system.
17-47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents