
B–61863E–1/06
8. CRT CHARACTER DISPLAYPMC LIBRARY
227
N : Display character data size
(a) For single-size character display (S=1), the number of
characters is set (up to 100 characters, 100 bytes).
(b) For double-size character display (S=2), the number of
characters x 2 is set (up to 100 characters, 200 byte).
(c) For triple-size character display (S=3), the number of
characters is set (up to 100 characters, 100 bytes).
(d) For the combination code (S=4), the data byte count is set
(up to 200 bytes).
(e) For graph characters (S=5), the number of characters is set
(up to 100 characters, 100 bytes).
NOTE
To obtain the maximum byte count, the ASCII code or graph
character is calculated as two bytes.
A : Character display attributes
D Reverse video display: Display code +10H
D Blinking display : Display code +08H
D Blinking and reverse video display (compound) :
Display code +18H
Display
code
Display color
Reverse
video
Blinking
Reverse video
and blinking
00H
20H
40H
60H
80H
A0H
C0H
E0H
Black (no display)
Red
Green
Yellow
Blue
Pink
Sky Blue
White
30H
50H
70H
90H
B0H
D0H
F0H
28H
48H
68H
88H
A8H
C8H
E8H
38H
58H
78H
98H
B8H
D8H
F8H
X,Y: Character display position
STRING: Displays the display character size or null code.
(a) For S=1, 3, or 5, the character code (ASCII code) or graph
character code is set with char type data (one-byte data).
(b) For S=2, the character code is set with short type data
(two-byte data). In this case, the Kanji and Hiragana codes
are JIS codes.
(c) For S=4, the character code is set with both char type
(one-byte data) and short type (two-byte data) data.
Char type data is used to set the ASCII code and short type
data is used to set the shift JIS code.
[Output]
______
[Returns]
ret Completion code : –1, 0, 2, or 5