Partager via


Choosing LoadCEPC.exe Parameters

As part of the process of booting an OS image on a CEPC, you need to choose a display mode for the CEPC to properly display the OS image. LoadCEPC.exe takes many parameters that specify the download network interface card (NIC) configuration, the display resolution, and so on. Be sure to choose a resolution appropriate for your video card and monitor. The default display driver is the FLAT driver in %_WINCEROOT%\Public\Common\OAK\Drivers\Display\VGAFlat. The FLAT driver works with any video card that contains a VESA video BIOS, version 2.0 or later. VesaText.exe is included on the CEPC boot floppy disk. VesaTest.exe detects if your video card supports VBE 2.0 or later and video card modes.

For information on supporting the video cards that the FLAT driver supports, see How to Set up a CEPC.

To choose a display mode for a CEPC

  1. Restart the CEPC, and then wait for the MS-DOS 6.22 Startup Menu option to appear.

    The default menu option is entered after a set amount of time.

  2. To select a menu option other than the default option, on the CEPC keyboard, press the UP ARROW or DOWN ARROW key.

  3. Choose Run VesaTest program and list valid display modes.

    You can run VesaTest.exe manually if you booted to an MS–DOS prompt.

  4. Restart the CEPC.

  5. From the MS-DOS 6.22 Startup Menu, choose an appropriate option for your video card.

    – or –

    If the MS-DOS 6.22 Startup Menu does not contain an appropriate option for your video card, pass appropriate parameters to LoadCEPC.exe. Select a mode that VesaTest.exe reports for your video card. Otherwise, LoadCEPC.exe chooses the closest mode available.

    The following table shows example commands for LoadCEPC.exe.

    Command Description
    loadcepc /v /e:300:5 /l:240x320x16 eboot.bin
    Specifies a 240 x 320 screen similar to the screen on a Microsoft Pocket PC device using 16 bits per pixel (bpp). Because the physical size was not specified, LoadCEPC.exe automatically chooses the next largest physical mode that can contain a 240 x 320 display. In this case, it would likely choose 640 x 480 mode, but on some hardware it might choose 512 x 384 or a size the hardware supports.
    loadcepc /v /e:300:5 /l:1600x1200x8 eboot.bin
    Specifies a large 8-bpp mode, assuming the hardware can support it. Because physical size was not specified, LoadCEPC.exe automatically chooses the next largest physical mode that can contain a 1600 x 1200 display. In this case, it would probably also choose a 1600 x 1200 physical mode.
    loadcepc /v /e:300:5 /l:768x576x8:1024x768 eboot.bin
    Specifies a 768 x 576 display with 8-bpp color and specifies a 1024 x 768 physical display mode.
    loadcepc /v /e:300:5 /l:240x320x8:1024x768 eboot.bin
    Specifies a 240 x 320 display with 8-bpp color and specifies a 1024 x 768 physical display mode. This display mode is useful for laptops or other devices where an LCD display only supports one physical size.

    If no physical display size is specified, LoadCEPC.exe performs a two-dimensional distance calculation to locate the mode that is closest in size to DX/DY with the requested bpp value. If DX/DY exactly matches a physical mode, then that mode is chosen because the two-dimensional distance will be zero.

See Also

How to Configure a CEPC to Download an OS Image | Downloading an OS Image to a Target Device | Loadcepc.exe Boot Loader Usage

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.