Epson Research and Development
Page 53
Vancouver Design Center
Programming Notes and Examples
S1D13704
Issue Date: 01/02/12
X26A-G-002-03
int seSplitInit(int DevID, WORD Scrn1Addr, WORD Scrn2Addr)
Description: This function prepares the system for split screen operation. In order for split screen
to function the starting address in display buffer for the upper portion(screen 1) and
the lower portion (screen 2) must be specified. Screen 1 is always displayed above
screen 2 on the display regardless of the location of their start addresses.
Parameters: DevID
-
registered
device
ID
Scrn1Addr
- offset, in bytes, to the start of screen 1
Scrn2Addr
- offset, in bytes, to the start of screen 2
Return Value: ERR_OK - operation completed with no problems
Note
It is assumed that the system has been properly initialized prior to calling seSplitInit().
int seSplitScreen(int DevID, int Screen, int VisibleScanlines)
Description: Changes the relevant registers to adjust the split screen according to the number of
visible lines requested. 'WhichScreen' determines which screen, 1 or 2, to base the
changes on.
The smallest surface screen 1 can display is one line. This is due to the way the
S1D13704 operates. Setting Screen 1 Vertical Size to zero results in one line of
screen 1 being displayed. The remainder of the display will be screen 2 image.
Parameters: DevID
-
registered
device
ID
Screen
- must be set to 1 or 2 (or use the constants SCREEN1 or SCREEN2)
VisibleScanlines- number of lines to display for the selected screen
Return Value: ERR_OK
- operation completed with no problems
ERR_HAL_BAD_ARG- argument VisibleScanlines is negative or is greater than
vertical panel size or WhichScreen is not SCREEN1 or SCREEN 2.
Note
seSplitInit() must be called before calling seSplitScreen()
*