EasyManua.ls Logo

Commodore 128 - Page 313

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Mode
0
40 column (VIC) text
1
bit map*
2
split screen bit map*
3
multicolor bit map*
4
split screen multicolor
bit map*
5
80 column (8563) text
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.
17-71

Table of Contents

Other manuals for Commodore 128

Related product manuals