Epson Research and Development Page 15
Vancouver Design Center
Windows® CE 3.x Display Drivers S1D13505
Issue Date: 01/05/17 X23A-E-006-01
c. PORepaint=2
This mode tells WinCE to not save the main display data on suspend, and
causes WinCE to REPAINT the main display on resume.
This mode is used if display memory power i s going to be turned off when the
system is suspended, and there is not enough system memory to save the im-
age.
Any off-screen data in display memory is LOS T, and since there is insuffi-
cient system memory to save display data, off-screen memory usage MUST
be disabled.
When the system is resumed, WinCE instructs all running applications to re-
paint themselves. This is the SLOWEST of the three modes.
Simple Display Driver Configuration
The following display driver configuration should work with most platforms running
Windows CE. This configuration disables the use of off-screen display memory and forces
the system to redraw the main display upon power-on.
1. This step disables the use of off-screen display memory.
Edit the file x:\wince300\platform\cepc\drivers\display\S1D13505\sources and
change the line
CDEFINES=$(CDEFINES) -DEnablePreferVmem
to
#CDEFINES=$(CDEFINES) -DEnablePreferVmem
2. This step causes the system to redraw the main display upon power-on. This step is
only required if display memory loses power when Windows CE is shut down. If dis-
play memory is kept powered up (set the S1D13505 in powersave mode), then the dis-
play data will be maintained and this step can be skipped.
Search for the file PROJECT.REG in your Windows CE directories, and inside
PROJECT.REG find the key PORepaint. Change PORepaint as follows:
PORepaint=dword:2