
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
105/226
DRAW.NO.
3.8.16
Display Characters
(ASCII, Kanji and Hiragana)
[Name]
pl_dspchar
[Syntax]
#include <pmclib.h>
short pl_dspchar(short * cntl);
[Arguments]
Input
*cntl: Control information
cntl[0] Data size (N)
cntl[1] Attribute (A)
cntl[2] Character type (S)
cntl[3] Column (X) 0 to
cntl[4] Line (Y) 0 to
cntl[5] XX XX Character
to
cntl[n] XX XX
cntl[0]: Set the number of bytes in the character area cntl[5] and up.
cntl[1]: Set a color and display attribute.
Normal: Color code + 0x00
Blink: Color code + 0x08
Reverse: Color code + 0x10
Color code: Black:0x00, Red:0x20, Green:0x40, Yellow:0x60,
Blue:0x80, Magenta:0xA0, Cyan:0xC0, White:0xE0
cntl[2]: Set a character type.
1: One-byte characters such as ASCII characters
2: Two-byte characters in the JIS code
3: Triple height and double width size characters
4: Mixture of one-byte characters and two-byte characters in the
shift JIS code
5: Graphic characters (character codes 0x85 to 0x8F)
cntl[3]: Set a display start column position (0 and up).
cntl[4]: Set a display start line position (0 and up).
cntl[5]-cntl[n]: Set characters.
At the end of a character string, set a NULL character ('\0").
The argument cntl represents a pointer to data of short type.