Commodore 128 System Manual page 288

Hide thumbs Also See for 128:
Table of Contents

Advertisement

L0A D "HELL0",8
Looks for the program called HELLO on disk drive number 8,
drive 0. (This is equivalent to DLOAD " HELLO" )
LOAD" MACHLANG",8,1
LOADs the machine language program called " MACHLANG" into
the location from which it was SAVEd.
The LOAD command can be used within a BASIC program to
find and RUN the next program on a tape or disk. This is called
chaining.
LOCATE
Position the bit map pixel cursor on the screen
LOCATE x, y
The LOCATE statement places the pixel cursor (PC) at any
specified pixel coordinate on the screen.
The pixel cursor (PC) is the coordinate on the bit map screen
where drawing of circles, boxes, lines and points and where
PAINTing begins. The PC ranges from X and Y coordinates 0,0
through 319,199 (scaled). The PC is not visible like the text
cursor but it can be controlled through the graphics statements
(BOX, CIRCLE, DRAW etc.) The default location of the pixel
cursor is the coordinate specified as the X and Y portions in each
particular graphics command. So the LOCATE command does
not have to be specified.
EXAMPLE:
LOCATE 160,100
Positions the PC in the centre of the bit map screen. Nothing will
be seen until something is drawn.
The PC can be found by using the RDOT(O) function to get the X-
coordinate and RDOT(1) to get the Y-coordinate. The color
source of the dot at the PC can be found by PRINTing RDOT(2).
17-46

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents