
MODE # 0
MODE # 1
MODE # 2
MODE # 3
MODE # 4
MODE # 5
MODE # 6
Figure 11-4. Seven density modes
Figure 11-4 displays all seven of the FX modes that affect graphics
density. Table 11-1 describes them.
More Graphics Programming Tips
The next two sections discuss two modes that the FX offers to help
you solve potential graphics problems. A reassigning code allows you
to change the density for graphics programs
that
use one of the four
alternate codes. The 9-pin Graphics Mode allows you to use all nine
pins on each line and thus speed up screen dumps.
Reassigning alternate graphics codes
The FX provides a command to reassign one of the alternate
graphics codes-K, L, Y, or Z-so that it represents any other of the
seven Graphics Modes. The command and its format are:
LPRINT CHR$(27)"?s"CHR(n);
where s is one of the four symbols, K, L, Y, or Z, and n is one of the
numbers used with the ESCape
" *" command, 0 to 6. There are sev-
eral instances in which you may use this sequence.
The first occurs if you have written a program to be printed in
one
Graphics Mode and now want to print it in another. If you have used
concatenation to store your Graphics command strings in one short
character string, that will not be difficult. You can simply change the
mode number or alternate code in the definition of the character
string.
In the program for Figure
11-4,
for example, you did this in line 20
by storing the Graphics Mode command sequence in A$ and making
150