Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 7
Vancouver Design Center
Windows® CE 3.x Display Drivers S1D13708
Issue Date: 01/11/14 X39A-E-006-01
11. Modify MODE0.H.
The file MODE0.H (located in x:\wince300\platform\cepc\drivers\display\S1D13708)
contains the register values required to set the screen resolution, color depth (bpp),
display type, display rotation, etc.
Before building the display driver, refer to the descriptions in the file MODE0.H for
the default settings of the console driver. If the default does not match the configura-
tion you are building for then mode0.h will have to be regenerated with the correct in-
formation.
Use the program 13708CFG to generate the header file. For information on how to use
13708CFG, refer to the 13708CFG Configuration Program User Manual, document
number X39A-B-001-xx, available at www.erd.epson.com
After selecting the desired configuration, choose “File->Export” and select the “C
Header File for S1D13708 WinCE Driver” option. Save the new configuration as
mode0.h in the \wince300\platform\cepc\drivers\display, replacing the original con-
figuration file.
12. From the Platform window, click the ParameterView Tab. Show the tree for MY-
PLATFORM Parameters by clicking the ‘+’ sign at the root of the tree. Expand the
WINCE300 tree and click “Hardware Specific Files”, then double click “PLAT-
FORM.REG”. Edit the file platform.reg to match the screen resolution, color depth,
and rotation information in mode0.h.
For example, the display driver section of platform.reg should be as follows when us-
ing a 320x240 LCD panel with a color depth of 8 bpp and a SwivelView mode of 0°
(landscape):
; Default for EPSON Display Driver
; 320x240 at 8 bits/pixel, LCD display, no rotation
; Useful Hex Values
; 640=0x280 480=0x1E0 320=140 240=0xF0
[HKEY_LOCAL_MACHINE\Drivers\Display\S1D13708]
“Width”=dword:140
“Height”=dword:F0
“Bpp”=dword:8
“Rotation”=dword:0
13. From the Build menu, select “Rebuild Platform” to generate a Windows CE image file
(NK.BIN) in the project directory x:\myproject\myplatform\reldir\x86_release\nk.bin.