
128 | ASCII Code |
| WRONG! |
64 | Descender |
32 | Start column |
| End column |
16 |
|
8 | M, = Descender * 128 + (Start • 16) + End |
btal
Figure 9-6. Dots cannot overlap; those in immediately adjacent “half columns” will be ignored when the character is printed.
nAdd up each column of dots
Now it’s time to give our creative side a break and get down to some basic arithmetic. That’s where the numbers down the left side of the grid come in. Notice that there is a number for each row of dots and that each number is twice the number below it. By making these numbers powers of two we can take any combination of dots in a vertical column and assign them a unique
128 |
|
|
|
|
| 0 | ||
64 | • - | 64 |
|
|
| 0 | - | 64 |
32 | 0 - | 32 | 0 | - | 32 | 0 | - | 32 |
16 |
|
| 0 | - | 16 | 0 | - | 16 |
8 |
|
|
|
| ||||
4 |
|
|
|
|
| |||
2 |
|
| 0 |
| ||||
1 |
|
|
|
| 0 |
| ||
Sum |
| 103 |
|
| 58 |
| 255 |
Figure 9-7. By adding the values of each dot in a column, you’ll get a unique description for any combination of dots.
86