Epson Research and Development

Page 5

Vancouver Design Center

 

 

 

10.Edit the file PLATFORM.REG to set the same screen resolution and color depth (bpp) as in MODE.H. PLATFORM.REG is located in X:\wince\platform\odo\files. The display driver section of PLATFORM.REG should be:

;Default for EPSON Display Driver

;640x480 at 8bits/pixel

;Useful Hex Values (for the lazy developer types)

;1024=0x400, 768=0x300 640=0x280 480=0x1E0 320=140 240=0xF0 [HKEY_LOCAL_MACHINE\Drivers\Display\S1D13504] "CxScreen"=dword:280

"CyScreen"=dword:1E0

"Bpp"=dword:8

11.Generate the proper building environment by double-clicking on the sample project icon (i.e., SH3 DEMO7).

12.Type BLDDEMO <ENTER> at the DOS prompt of the SH3 DEMO7 window to generate a Windows CE image file (NK.BIN).

Build For CEPC (X86)

To build a Windows CE v2.0 display driver for the CEPC (X86) platform using a S5U13504B00C evaluation board, follow the instructions below:

1.Install Microsoft Windows NT v4.0.

2.Install Microsoft Visual C/C++ v5.0.

3.Install the Microsoft Windows CE Embedded Toolkit (ETK) by running SETUP.EXE from the ETK compact disc #1.

4.Create a new project by following the procedure documented in “Creating a New Project Directory” from the Windows CE ETK v2.0. Alternately, use the current “DEMO7” project in- cluded with the ETK v2.0. Follow the steps below to create a “X86 DEMO7” shortcut on the Windows NT v4.0 desktop which uses the current “DEMO7” project:

a.Right click on the “Start” menu on the taskbar.

b.Click on the item “Open All Users” and the “Start Menu” window will come up.

c.Click on the icon “Programs”.

d.Click on the icon “Windows CE Embedded Development Kit”.

e.Drag the icon “X86 DEMO1” onto the desktop using the right mouse button.

f.Click on “Copy Here”.

g.Rename the icon “X86 DEMO1” on the desktop to “X86 DEMO7” by right clicking on the icon and choosing “rename”.

h.Right click on the icon “X86 DEMO7” and click on “Properties” to bring up the

“X86 DEMO7 Properties” window.

i. Replace the string “DEMO1” under the entry “Target” with “DEMO7”.

j. Click on “OK” to finish.

Windows® CE Display Drivers

S1D13504

Issue Date: 01/02/01

X19A-E-001-04

Page 289
Image 289
Epson S1D13504 manual Build For Cepc