
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
107/226
DRAW.NO.
3.8.17
Save the Character Screen
[Name]
pl_dspsave
[Syntax]
#include <pmclib.h>
short pl_dspsave(short id, short * cntl, unsigned char * buf);
[Arguments]
Input
id: Specify a screen save mode.
0: Saves the entire screen.
1: Saves a part (up to 80 characters) of the screen to area 1.
2: Saves a part (up to 80 characters) of the screen to area 2.
3: Saves a part (up to 80 characters) of the screen to area 3.
4: Saves a part (up to 80 characters) of the screen to area 4.
5: Saves a part (up to 80 characters) of the screen to area 5.
*cntl: Control information
Set this argument when a value from 1 to 5 is set in "id".
Set a NULL pointer when 0 is set in "id".
cntl[0] Column (X) 0 to
cntl[1] Line (Y) 0 to
cntl[2] Number of columns
(C)
1 to 80
Output
*buf: Save area
Set a pointer to an array variable for saving the screen. The size
required to save the screen is 4 bytes per column. So, when the
entire screen is to be saved ("id" = 0), the size of a required save
area is: 80 columns × 30 lines × 4 bytes = 9600 bytes.
[Return]
0: Normal completion.
3: The "id" is invalid.
5: The "cntl[0]", "cntl[1]" or "cntl[2]" is invalid.
[Description]
This function saves a part of the character screen or the entire character
screen to the memory. This function is used with pl_dspresave() to