Specifications
Appendix E— Using Direct Graphics Mode
246 IPL Programmer’s Reference Manual
Hex Data Commands in Example
Data Command Description
1B 67 30 <ESC>g0 Enter Direct Graphics mode
21 80 43 C2 0x21
80
43 C2
Change origin
80 - 80 (LO) = 0x00 -> X0
43 - 40 (HI) = 0x03
C2 - 80 (LO) = 0x42
(0x03 ∗ 0x80) + 0x42 = 1C2 -> Y450
27 90 A8 D5 90 22 0x27
90
A8
D5
90
0x22
Raw bitmap data follows, starts at Y0
90 - 80 (LO) = 0x10 -> 1 dot at Y4
A8 - 80 (LO) = 0x28 -> 2 dots at Y10 and Y12
D5 - 80 (LO) = 0x45 -> 3 dots at Y14, Y17, and Y20
90 - 80 (LO) = 0x10 -> 1 dot at Y25
End of line
26 84 96 22 0x26
84
96
0x22
Transition white
84 - 80 (LO) = 4 white
96 - 80 (LO) = 22 black
End of line
22 0x22 End of line
26 8C 84 22 0x26
8D
84
0x22
Transition white
8D - 80 (LO) = 13 white
84 - 80 (LO) = 4 black
End of line
24 82 0x24
82
Repeat last line
82 - 80 (LO) = 2 times
25 88 22 0x25
88
0x22
Transition black
89 - 80 (LO) = 9 black
End of line
21 93 43 C2 0x21
93
43 C2
Change origin
93 - 80 (LO) = 0x13 -> X19
43 - 40 (HI) = 0x03
C2 - 80 (LO) = 0x42
(0x03 ∗ 0x80) + 0x42 = 1C2 -> Y450
25 43 C2 0x25
43 C2
Transition black
43 - 40 (HI) = 0x03
C2 - 80 (LO) = 0x42
(0x03 ∗ 0x80) + 0x42 = 1C2 -> Y450
28 0x28 End of bitmap