Page 7.40
Video Graphics Programming
Custom Character Creation
Normally when in graphics mode, characters called from the computer's ROM
are the first 128 characters of the character font
In addition to these standard characters, you may create your own 128 custom
character set using the following procedure.
First allocate a I kilobyte section of user RAM to hold your characters. Eight
bytes will be needed for each character you create.
Next design each character using an 8 x 8 m atrix as shown in the example
of Figure 7.7.
COLUMN
YALUE
7
6
5
4
3
2
1
0
128 6 4
3 2 16 8
4
2
1
X
O
40
O K 3
2
BYTE 1 19 6 10 C4
BYTE 2
3 8 1 p
=26 1 6
BYTE 3
2 5 1 0
= 19 1 6
BYTE 4 5 7 1 0 3 9 16
B YTE 5
=141 0
E 16
B YTE 6
= 10 1 0 = A 1 6
B YT E 7
=
1 0 1 0
=
A16
BYTE 8
2 0 1 0
=1
16
0
4
Figure 7.7. Character Design Matrix
Place a dot or fill in each location in the matrix which will be a solid part of
your character. Then add up the binary weights of the spaces used in each row
of the character grid. Note that the very first space is the MSB of each row. When
you have values for all eight rows, you have all the data needed for the first
character in your set This data will be loaded into the first 8 bytes of the memory
you have allocated for your character set
Summary of Contents for Z-100 Series
Page 1: ...P rogramm e r s Reference Manual I I data systems...
Page 2: ...P rogramm e r s Reference Manual Z 100 PC Series Computers fAPIFH data systems...
Page 11: ......
Page 13: ......
Page 17: ......
Page 39: ......
Page 57: ......
Page 70: ...Page5 13 Keyboard...
Page 71: ...page5 14 Keyboard 0 a o o o 4 z 0 P 44 9p o o 5 x D x C x C O C C C 0 x CD C j a...
Page 72: ...Page 5 15 Keyboard...
Page 81: ...Page 6 4 System Memoly mi gg im mm MEMORY CARD Figure 6 1 Memory Canl Select Jumper locations...
Page 110: ...Page 7 21 Video Graphics Programming...
Page 111: ...page 7 22 Video Graphics Programming...
Page 133: ......
Page 145: ......
Page 157: ......