
8. CRT CHARACTER DISPLAY
B–61863E–1/06
PMC LIBRARY
218
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
pl_dspstr
[Description]
Displays character strings in the standard size. This function is used
to display alphanumeric and other characters, each of which occupies
the area of a standard-sized character.
[Format]
ret = pl_dspstr(P1,P2,P3) ;
short ret ;
short P1 ;
char *P2 ;
unsigned short P3 ;
[Input]
P1 Data number 17H : Standard-size character blinking display
18H : Standard-size character steady display
*P2 Display character string
A maximum of 100 characters can be displayed. Up to the display
character size or up to the NULL code (=0) is displayed.
’X’
’X’
’X’
NULL
P3 Display character size
[Output]
______
[Returns]
ret Complete code (–1, 0, 5)
[Remarks]
Refer to the section “Complete Code Types” for the returned value.
8.7
DISPLAYING
ALPHANUMERIC
AND OTHER
CHARACTERS ON
THE CRT SCREEN
0
1
2
3
N–1
N
P2
(maximum N=101)