beautypg.com

Epson S1D13705 User Manual

Page 243

background image

Epson Research and Development

Page 5

Vancouver Design Center

Windows® CE 2.x Display Drivers

S1D13705

Issue Date: 01/06/07

X27A-E-001-03

7. Edit the file x:\wince\platform\cepc\drivers\display\dirs and add S1D13705 into the

list of directories.

8. Edit the file PLATFORM.BIB (located in x:\wince\platform\cepc\files) to set the de-

fault display driver to the file EPSON.DLL (EPSON.DLL will be created during the
build in step 13).

Replace or comment out the following lines in PLATFORM.BIB:

IF CEPC_DDI_VGA2BPP

ddi.dll

$(_FLATRELEASEDIR)\ddi_vga2.dll

NK SH

ENDIF

IF CEPC_DDI_VGA8BPP

ddi.dll

$(_FLATRELEASEDIR)\ddi_vga8.dll

NK SH

ENDIF

IF CEPC_DDI_VGA2BPP !

IF CEPC_DDI_VGA8BPP !

ddi.dll

$(_FLATRELEASEDIR)\ddi_s364.dll

NK SH

ENDIF

ENDIF

with this line:

ddi.dll

$(_FLATRELEASEDIR)\EPSON.dll

NK SH

9. The file MODE0.H (located in x:\wince\platform\cepc\drivers\display\S1D13705)

contains the register values required to set the screen resolution, color depth (bpp),
display type, active display (LCD/CRT/TV), display rotation, etc.

Before building the display driver, refer to the descriptions in the file MODE0.H for
the default settings of the driver. If the default does not match the configuration you
are building for then MODE0.H will have to be regenerated with the correct informa-
tion.

Use the program 13705CFG to generate the header file. For information on how to use
13705CFG, refer to the 13705CFG Configuration Program User Manual, document
number X27A-B-001-xx, available at www.erd.epson.com

After selecting the desired configuration, export the file as a “C Header File for
S1D13705 WinCE Drivers”. Save the new configuration as MODE0.H in
x:\wince\platform\cepc\drivers\display\S1D13705, replacing the original configura-
tion file.

10. Edit the file PLATFORM.REG to match the screen resolution, color depth (bpp), ac-

tive display (LCD/CRT/TV) and rotation information in MODE.H. PLAT-
FORM.REG is
located in x:\wince\platform\cepc\files.