Is there a way to run Windows CE 6.0 emulator with 1024 * 600 resolution?
We are creating an embedded Windows CE 6.0 application for which we do not have hardware yet. We would like to be able to run in emulation mode at 1024 * 600 for development as that is the screen resolution of the hardware we will be using.
It looks like the maximum resolution supported by Windows CE 6.0 emulator is 800 * 600.
a source to share
Unfortunately not - or at least not easy. The emulator driver does not have enough memory to run at 1024x600.
Perhaps it will be possible to change this (I can tell because I have never tried). You have a display driver for an emulator emulator driver (% WINCEROOT% \ PLATFORM \ DEVICEEMULATOR \ src \ drivers \ display \ lcd) and it looks like this: s3c2410x_lcd.cpp on line 260 sets the display size.
The question here is, does the emulator wrapper application limit the sizes you can pass here, or has some hardcoded limits? I don't know the answer to this, but you have all the tools to figure it out.
a source to share
I changed the boot arguments in my OAL to 1024x600 so that the LCD driver reads those values on the lines Chris suggested changing, but I just get a ton of exceptions when it works. I have tried increasing some buffers on the LCD and OAL, but not dice. It looks like the device emulator shell has a 1MB limit in video memory. You can see this if you try to configure it for 800x600x32.
So is this 1MB limitation valid in the device emulator or the operating system that runs on it? Does anyone have any suggestions as to how I could determine this?
An alternative solution might be to try to implement 8bpp if you don't care about color depth. There are several definitions in s3c2410x_lcd.h that offer 8bpp support, although the default OAL is 16bpp unless 16, 24 or 32 is specified. Maybe I'll give this snapshot tomorrow.
a source to share