Article ID: 189139
Article Last Modified on 7/17/2001
Redmond Cable
15331 NE 90th Street
Redmond, WA 98052
Telephone: (425) 882-2009, Fax: (425) 883-1430
WINCE.BAT x86 i486 CE DEMO7 CEPC
set CEPC_DDI_VGA8BPP=1
PPSH -p CEPC NK.BIN
LOADCEPC -g NK.BIN
device=HIMEM.SYS
LOADCEPC /D:2
IF IMGMORERAM
NK 80200000 00500000 RAMIMAGE
RAM 80700000 00800000 RAM
ENDIF
IF IMGMORERAM !
NK 80200000 00800000 RAMIMAGE
RAM 80A00000 00500000 RAM
ENDIF
The NK entry corresponds to the ROM size used for Nk.bin. The RAM entry
corresponds to the memory available for storage and applications. The OS
needs 2 MB of memory. The DEMO7 sample, therefore, has 8 MB for Nk.bin,
5 MB for the applications, and 3 MB remaining for the OS, in a 16 MB
system. Because Nk.bin is about 5 MB for DEMO7, you can get more memory
for your applications (8 MB) if you set IMGMORERAM in the DEMO7.bat file
as shown below and build again.
set IMGMORERAM=1
Because the OS only needs 2 MB, you can increase your application's
memory to 9 MB if you change the RAM entry as shown below.
RAM 80700000 00900000 RAM
Note that if your system has 20 MB or more memory, you can't build DEMO7
or any sample to use more than 16 MB total (ROM+RAM+OS) memory. Also,
DEMO7 does not fit in 8 MB. Your system might reboot after running
LOADCEPC if you try to run DEMO7 in an 8 MB system. If you have only 8
MB in your system, and your Nk.bin file size is small, you can build and
run the kernel. For example, if your Nk.bin size is 2 MB and in an 8 MB
system, you may use the following entries in the MEMORY section of the
Config.bib file, leaving 2 MB for the OS; applications get 4 MB.
NK 80200000 00200000 RAMIMAGE
RAM 80400000 00400000 RAM
The amount of memory assigned for storage and program use can be viewed
and adjusted in the "System" applet in Control Panel.
Additional query words: kbDSupport kbvc500 kbwince300
Keywords: kbinfo KB189139