Atari 65XE Owner's Manual page 76

Hide thumbs Also See for 65XE:
Table of Contents

Advertisement

To print large text on the screen in graphics modes 1 and 2, use
PRINT #6; followed by quotes and then the text that you want to print.
This statement is a variation on the PRINT command that you learned
earlier.
Now list the program. Change MODE to mode and run the program.
MODE turns green. Type LIST 20. Using the Inverse Video key
change mode in line 20 to
turns blue. List the line again and change
the program. Now MODE is red.
Enter and run the following program:
NEW
10 REM ** COLORFUL TEXT
20 GRAPHICS 1
30 PRINT #6; "ORANGE"
40 PRINT #6; "green"
50 PRINT #6; "
60 PRINT #6; "
70 PRINT "COLORFUL TEXT"
RUN
As you can see, graphics mode 1 is capable of displaying five colors
at the same time—four different text colors and one background color.
The colors can also be changed by using SETCOLOR according to the
guidelines outlined in the following chart:
Register
Default Color
0
Orange
1
Light green
2
Dark blue
3
Red
4
Black
Type SETCOLOR 4,15,5. Register 4 (the background) changes to a
reddish orange. But now the dark blue text is difficult to read. Use
SETCOLOR to change it. According to the chart, register 2 controls
the dark blue text. SETCOLOR 2,8,6 does the trick by making the dark
blue text a little bit lighter. Add the following lines to the Colorful Text
program:
100 FOR COLOR=0 TO 15
110 SETCOLOR 2,COLOR,8
120 FOR DELAY=1 TO 400:NEXT DELAY
130 NEXT COLOR
and run the program. MODE now
"
"
Character Style
Uppercase
Lowercase
Inverse uppercase
Inverse lowercase
Background
71
to
and run
Color#
LUM
2
8
12
10
9
4
4
6
0
0

Advertisement

Table of Contents
loading

Table of Contents