Commodore 128 System Manual page 313

Hide thumbs Also See for 128:
Table of Contents

Advertisement

EXAMPLE:
10 GRAPHIC 1 :GOSUB 100
20 SCALE 1 ¡GOSUBlOO
30 SCALE 1,5000,5000 :GOSUB100
40 END
100 CIRCLE 1,160,100,60:RETURN
SCNCLR
Clear screen
SCNCLR[mode number]
The modes are as follows:
Mode Number
0
1
2
3
4
5
This statement with no argument clears the graphic screen, if it is
present otherwise the current text screen is cleared.**
EXAMPLES:
SCNCLR 5
Clears 80 column text screen
SCNCLR 1
Clears the (VIC) bit map screen
SCNCLR 4
Clears the (VIC) multicolor bit map split screen
NOTE:
* The bit map area is the same for both hi-res and
multicolor, the different mode numbers select other parameters to
clear e.g. 40 column text (2 and 4) color ram (3 and 4).
* * If a graphics screen has been created but is not selected
(GRAPHICS = 0) it will not be cleared. If you are using 2 screens
(80 columns for text and 40 columns for graphics) SCNCLR will
clear both text and graphics screens if called from the 80 column
screen.
Mode
40 column (VIC) text
bit map*
split screen bit map*
multicolor bit map*
split screen multicolor
bit map*
80 column (8563) text
17-71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents