Epson S1D13506 Technical Manual page 500

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 6
S1D13506
X25B-E-006-01
ddi.dll $(_FLATRELEASEDIR)\ddi_flat.dll
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
11. Modify MODE0.H.
The file MODE0.H (located in x:\wince300\platform\cepc\drivers\display\S1D13506)
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 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
information.
Use the program 13506CFG to generate the header file. For information on how to use
13506CFG, refer to the 13506CFG Configuration Program User Manual, document
number X25B-B-001-xx, available at www.erd.epson.com
After selecting the desired configuration, export the file as a "C Header File for
S1D13506 WinCE Drivers". Save the new configuration as MODE0.H in the
\wince300\platform\cepc\drivers\display, replacing the original configuration file.
12. From the Platform window, click on ParameterView Tab. Show the tree for MY-
PLATFORM Parameters by clicking on the '+' sign at the root of the tree. Expand the
the WINCE300 tree and click on "Hardware Specific Files", then double click on
"PLATFORM.REG". Edit the file PLATFORM.REG to match the screen resolution,
color depth, and rotation information in MODE.H.
For example, the display driver section of PLATFORM.REG should be as follows
when using a 640x480 LCD panel with a color depth of 8 bpp and a SwivelView
mode of 0° (landscape):
; Default for EPSON Display Driver
; 640x480 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\S1D13506]
"Width"=dword:280
"Height"=dword:1E0
"Bpp"=dword:8
Epson Research and Development
Vancouver Design Center
NK SH
;Insert this line
Windows® CE 3.x Display Drivers
Issue Date: 01/05/18

Advertisement

Table of Contents
loading

Table of Contents