Fundamenta/sof Dot Matrix Printing
Note: If we used ‘I” or CHR$(76) instead of “K:’we would be asking Gemini for
nl and n2 represent the set of ASCII codes that define how many columns of graphics to print on a line. If you want to print “x” number of columns of graphics on a line, then:
nl is the remainder of x/256, and n2 is the quotient of x/256
Note: For those of you who are
nl = x
MODULO 256, and n2 = INTEGER of xl256
What does all this mean to the rest of us? The following table might help.
If the number |
|
|
| |
of columns,x, | then, | then | ||
ranges from: | nl | Is | n2 is | |
1 to | 255 |
|
| 0 |
256to | 511 | 1 | ||
512 to | 767 | x- | 512 | 2 |
768 to 1023 | x- | 768 | 3 | |
1024 to 1279 | X- | 1024 | 4 | |
1280 to 1535 | x - | 1280 | 5 | |
1536 to 1791 | x - | 1536 | 6 | |
1792 to 1920 | 7 |
Remember:
91