Page 110
Epson Research and Development
Vancouver Design Center
14.2.1 General HAL Support
This category of HAL functions provide several essential services which do not readily
group with other functions.
DWORD seGetInstalledMemorySize(void)
Description:
This function returns the size of display buffer memory in bytes.
Memory size is determined during the call to seRegisterDevice() by reading the status of
MD6 and MD7. seGetInstalledMemorySize() returns the memory size determined during
the HAL initialization.
Parameters:
None
Return Value:
The return value is the size of the video memory buffer in bytes and will be either 80000h
(512kb) or 200000h (2 MB).
DWORD seGetAvailableMemorySize(void)
Description:
This function returns an offset to the last byte memory, before the Dual Panel buffer,
accessible to an application.
An application can directly access memory from offset zero to the offset returned by this
function. On most systems the return value will be the last byte of physical display mem-
ory. On systems configured for a dual STN panel the return value will account for the pres-
ence of the Dual Panel buffer.
Parameters:
None.
Return Value:
The return value is an offset to the last byte memory directly accessible to an application.
S1D13506
X25B-G-003-03
Programming Notes and Examples
Issue Date: 01/02/06