Page 8

Epson Research and Development

 

Vancouver Design Center

 

 

ddi.dll $(_FLATRELEASEDIR)\ddi_s364.dll NK SH

ENDIF

ENDIF

ENDIF

ENDIF

Insert this line

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.

For example, the display driver section of PLATFORM.REG should be as follows when using a 320x240 LCD panel with a color depth of 8 bpp in SwivelView 0° (landscape) mode:

;Default for EPSON Display Driver

;320x240 at 8 bits/pixel, LCD display, no rotation

;Useful Hex Values

;1024=0x400, 768=0x300 640=0x280 480=0x1E0 320=140 240=0xF0

[HKEY_LOCAL_MACHINE\Drivers\Display\S1D13705]

"Width"=dword:140

"Height"=dword:F0

"Bpp"=dword:8

“ActiveDisp”=dword:1

“Rotation”=dword:0

11. Delete all the files in \wince\release directory and delete x:\wince\platform\cepc\*.bif

S1D13705

Windows® CE 2.x Display Drivers

X27A-E-001-03

Issue Date: 01/06/07

Page 246
Image 246
Epson S1D13705 technical manual Ddi.dll $FLATRELEASEDIR\ddis364.dll NK SH, Endif