如何在WinCE 6.0 R3设备启动时显示启动画面? [英] How to display splash screen at boot-up on WinCE 6.0 R3 device?

查看:76
本文介绍了如何在WinCE 6.0 R3设备启动时显示启动画面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

       我的WinCE 6.0 booloader目前硬编码为480x272显示模式。现在我想在LCD屏幕上显示800x600模式。我完全经历了Wince 6.0,代码是由GIMP工具开发的,我已经给出了
代码供您参考,

        My WinCE 6.0 booloader is currently hard-coded to 480x272 display mode. Now I would like to display a 800x600 mode on LCD Screen. I gone through Wince 6.0 fully,code was developed by GIMP tool and i have given code for your reference below,

// GIMP标题图像文件格式

//GIMP header image file format

static unsigned int width = 480; // 800

static unsigned int width = 480; //800

static unsigned int height = 272; // 600

static unsigned int height = 272; //600

/ *重复调用此宏。每次使用后,可以提取像素数据* /

/* Call this macro repeatedly. After each use, the pixel data can be extracted */

#define HEADER_PIXEL(数据,像素){\

#define HEADER_PIXEL(data,pixel) {\

pixel [0] = header_data_cmap [(unsigned char)data [0]] [0]; \

pixel[0] = header_data_cmap[(unsigned char)data[0]][0]; \

pixel [1] = header_data_cmap [(unsigned char)data [0]] [1]; \

pixel[1] = header_data_cmap[(unsigned char)data[0]][1]; \

pixel [2] = header_data_cmap [(unsigned char)data [0]] [2]; \

pixel[2] = header_data_cmap[(unsigned char)data[0]][2]; \

data ++; }

data ++; }

static const char header_data_cmap [256] [3] = {,,, ..}

static const char header_data_cmap[256][3] = {,,,..}

static const char header_data [] = {,,, ..}

static const char header_data[] = {,,,..}

         "我正在为AT9SAM9G45控制器使用ATMEL BSP"

         "I am using ATMEL BSP for AT9SAM9G45 controller"

        有人请给我一些从.BMP到GIMP头文件格式的提示或转换工具,以便在Wince 6.0启动时在800x600模式下显示启动画面吗?

         Would anyone please give me some tips or conversion tool from .BMP to GIMP header file format for display a splash screen on 800x600 mode at boot-up on Wince 6.0?

谢谢

Saravanan.A

Saravanan.A

 

推荐答案

你好Sarvanan,

Hi Sarvanan,

 

无论文件格式如何显示子系统总是需要RGB图像到显示在液晶显示屏上。

Irrespective of the file format display sub system always needs RGB image to display on to the LCD screen.

 

您需要查看显示子系统并将其配置为SVGA(800 * 600)。

You need to look into the display subsystem and configure it for SVGA (800*600).

将图像的RGB数据(解压缩后)写入帧缓冲区进行显示。

Write the RGB data (after extracting it ) of the image to frame buffer for display.

 

Misbah

 

 


这篇关于如何在WinCE 6.0 R3设备启动时显示启动画面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆