Page 4 Epson Research and Development
Vancouver Design Center
S1D13504 Windows® CE Display Drivers
X19A-E-001-04 Issue Date: 01/02/01
g. Rename the icon SH3 DEMO1 on the desktop to SH3 DEMO7 by right clicking on
the icon and choosing rename.
h. Right click on the icon SH3 DEMO7 and click on Properties to bring up the
SH3 DEMO7 Properties window.
i. Replace the string DEMO1 under the entry Target with DEMO7.
j. Click on OK to finish.
5. Create a sub-directory named S1D13504 under \wince\platform\odo\drivers\display.
6. Copy the source code to the S1D13504 subdirectory.
7. Add an entry for the S1D13504 in the file \wince\platform\odo\drivers\display\dir s.
8. Modify the file PLATFORM.BIB (using any text editor such as NOTEPAD) to set the default
display driver to the file S1D13504.DLL. S1D13504.DLL will be created during the build.
Note that PLATFORM.BIB is located in X:\wince\platform\odo\files (where X: is the drive
letter).
You may replace the following lines in PLATFORM.BIB:
IF ODO_NODISPLAY !
IF ODO_DISPLAY_CITIZEN_8BPP
ddi.dll $(_FLATRELEASEDIR)\citizen.dll NK SH
ENDIF
IF ODO_DISPLAY_CITIZEN_2BPP
ddi.dll $(_FLATRELEASEDIR)\citizen.dll NK SH
ENDIF
IF ODO_DISPLAY_CITIZEN_8BPP !
IF ODO_DISPLAY_CITIZEN_2BPP !
ddi.dll $(_FLATRELEASEDIR)\odo2bpp.dll NK SH
ENDIF
ENDIF
ENDIF
with this line:
ddi.dll $(_FLATRELEASEDIR)\S1D13504.dll NK SH
9. Edit the file MODE.H (located in X:\wince\platform\odo\drivers\display\S1D13504) to set the
desired screen resolution, color depth (bpp) and panel type. The sample code defaults to a
640x480 color dual passive 16-bit LCD panel. To support one of the other listed panels,
change the #define statement.