A very few pin patterns are needed for this program. In fact, each
“pattern” consists of only one pin, making the numbers easy
to calculate:
1
for the low pin
64
for the high pin
1, 2,
4,
8, 16, 32, 64 for the diagonal rise
64,
32, 16, 8, 4, 2, 1
for the diagonal fall
As you will see in the next few pages, these pin patterns are coded
right into the program. You’ll only need to store as data the number of
repetitions for the low and high sections.
A close look at Figure
12-4
reveals that most of the lines can be
produced by repeating a 4-step pattern:
1.
Fire the bottom pin (pin
1),
repeat L times.
2.
Draw a diagonal rise (pins
1 - 64).
3. Fire the top pin (pin 64), repeat H times.
4.
Draw a diagonal fall (pins
64
- 1).
This pattern is repeated several times. Printing the figure is mainly a
matter of reading the length of the low and high sections, then printing
the four-part cycle.
First version of 3D program
We have you enter this program in portions that are easy to discuss
as units, so please don’t try to RUN it until we give the word.
Might as well start off with the easy stuff. Set the line spacing for
7-
pin graphics:
NEW
l0 LPRINT CHR$(27)"1"
Note: If your system leaves gaps in 7-dot graphics printing, you will
prefer to use the
6-2/3-dot
line spacing,
CHR$(27)
“3’CHR$(20).
Next up are the three straight lines at the start of the design. There’s no
need for anything fancy-just a single dot printed across the page. For
that, add these lines (lines
20
and
170
are different for the
FX-100):
20 G$=CHR$(27)+"L"+CHR$(51)+CHR$(3): GOSUB 160
150
LPRINT CHR$(27)"@": END
160
FOR X=1 TO
3:
LPRINT G$;
165
Содержание FX-80
Страница 1: ......
Страница 16: ...17 1 17 2 17 3 17 4 Barchart Program for BARCHART Statement form Program for STATEMENT 228 230 232 234 xvi ...
Страница 22: ......
Страница 23: ......
Страница 26: ......
Страница 31: ...Figure 1 1 The FX 80 and FX 100 printers 14 ...
Страница 32: ...Figure 1 2 Printer parts 1 5 ...
Страница 38: ...Figure 1 8 DIP switch vent 21 ...
Страница 42: ...Figure 1 11 Ribbon insertion 25 ...
Страница 51: ...Figure 1 20 Paper thickness adjustment 34 ...
Страница 85: ......
Страница 92: ......
Страница 95: ......
Страница 97: ...80 ...
Страница 109: ......
Страница 117: ...Figure 7 3 Staggering STAIR STEPS 100 ...
Страница 119: ...Table 7 1 Line spacing commands 102 ...
Страница 129: ...112 ...
Страница 147: ...130 ...
Страница 181: ...Figure 12 4 Corner of the FX 80 design ...
Страница 189: ...Figure 12 10 Most distinct version Figure 12 11 Reversed version 172 ...
Страница 215: ...198 ...
Страница 231: ...214 ...
Страница 249: ......
Страница 268: ...W Width of characters 256 270 statements 313 314 Word processing 36 321 322 Z Zero slashed 23 251 ...
Страница 269: ......
Страница 272: ...iv ...
Страница 283: ......
Страница 290: ......
Страница 305: ...282 ...
Страница 311: ...288 ...
Страница 323: ...300 ...
Страница 339: ......
Страница 343: ...320 ...
Страница 349: ...326 ...
Страница 353: ...330 ...
Страница 354: ...Schematic 331 ...
Страница 371: ...w Width of characters 256 270 statements 313 314 Word processing 36 321 322 Zero slashed 23 Z 349 ...