My platform is Windows CE 6.0.
I want to change the screen color during Windows CE boot, the default color
is black.
Is it possible to do that?

--
Regards,
Goldbach

Re: How to change the screen color? by Michel

Michel
Tue May 13 00:46:20 PDT 2008

Yes, initialize the display in your bootloader and fill the framebuffer
with the correct data for the color.

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Goldbach wrote:
> My platform is Windows CE 6.0.
> I want to change the screen color during Windows CE boot, the default color
> is black.
> Is it possible to do that?
>

Re: How to change the screen color? by Goldbach

Goldbach
Tue May 13 01:11:01 PDT 2008

Thanks for your answer~
I need more detail information since I'm a beginner.
I don't know which code I need to modify?
How can I fill the framebuffer?
Is there any document about that?
--
Regards,
Goldbach


"Michel Verhagen (eMVP)" wrote:

> Yes, initialize the display in your bootloader and fill the framebuffer
> with the correct data for the color.
>
> Good luck,
>
> Michel Verhagen, eMVP
> Check out my blog: http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
> http://GuruCE.com
> Consultancy, training and development services.
>
> Goldbach wrote:
> > My platform is Windows CE 6.0.
> > I want to change the screen color during Windows CE boot, the default color
> > is black.
> > Is it possible to do that?
> >
>

Re: How to change the screen color? by Michel

Michel
Tue May 13 04:35:04 PDT 2008

You need to get some training. A post explaining the bootloader and
display driver code would take a bit too long... If you are a beginner
in low level stuff than jumping into CE and bootloaders is going to be a
very, very, very, dare I say it again, very steep learning curve. What
is your experience?


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Goldbach wrote:
> Thanks for your answer~
> I need more detail information since I'm a beginner.
> I don't know which code I need to modify?
> How can I fill the framebuffer?
> Is there any document about that?

RE: How to change the screen color? by Pro

Pro
Tue May 13 05:03:01 PDT 2008

Serach for Screenpaint() function in LCDOpen() function in bootloader..
go thru its contents ..then u can find solution..


Else add Screenpaint() function in LCDOpen() function in bootloader..

static VOID ScreenPaint()
{
UINT16 x, y;
UINT16 color_value1;
UINT16 color_value2;
UINT16 color_value3;
UINT16 color_value4;


color_value2 = 0x001F; //BLUE
color_value3 = 0xF800; //RED
color_value4 = 0x07E0; //GREEN
color_value1 = 0xFFE0; //YELLOW



for (y = 0; y < BSP_LCD_HEIGHT/2 ; y++)
{
for (x = 0; x < BSP_LCD_WIDTH/2; x++)
{
g_pFrame[y*BSP_LCD_WIDTH+x] = color_value1;
}
for (x = BSP_LCD_WIDTH/2; x < BSP_LCD_WIDTH; x++)
{
g_pFrame[y*BSP_LCD_WIDTH+x] = color_value2;
}
}
for (y = BSP_LCD_HEIGHT/2; y < BSP_LCD_HEIGHT; y++)
{
for (x = 0; x < BSP_LCD_WIDTH/2; x++)
{
g_pFrame[y*BSP_LCD_WIDTH+x] = color_value3;
}
for (x = BSP_LCD_WIDTH/2; x < BSP_LCD_WIDTH; x++)
{
g_pFrame[y*BSP_LCD_WIDTH+x] = color_value4;
}
}
}



"Goldbach" wrote:

> My platform is Windows CE 6.0.
> I want to change the screen color during Windows CE boot, the default color
> is black.
> Is it possible to do that?
>
> --
> Regards,
> Goldbach

Re: How to change the screen color? by Bruce

Bruce
Tue May 13 05:41:18 PDT 2008

ScreenPaint() and LCDOpen() aren't available in most of the BSPs.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Pro" <Pro@discussions.microsoft.com> wrote in message
news:E806DA63-6080-4F45-B8AC-4F4069B36506@microsoft.com...
> Serach for Screenpaint() function in LCDOpen() function in bootloader..
> go thru its contents ..then u can find solution..
>
>
> Else add Screenpaint() function in LCDOpen() function in bootloader..
>
> static VOID ScreenPaint()
> {
> UINT16 x, y;
> UINT16 color_value1;
> UINT16 color_value2;
> UINT16 color_value3;
> UINT16 color_value4;
>
>
> color_value2 = 0x001F; //BLUE
> color_value3 = 0xF800; //RED
> color_value4 = 0x07E0; //GREEN
> color_value1 = 0xFFE0; //YELLOW
>
>
>
> for (y = 0; y < BSP_LCD_HEIGHT/2 ; y++)
> {
> for (x = 0; x < BSP_LCD_WIDTH/2; x++)
> {
> g_pFrame[y*BSP_LCD_WIDTH+x] = color_value1;
> }
> for (x = BSP_LCD_WIDTH/2; x < BSP_LCD_WIDTH; x++)
> {
> g_pFrame[y*BSP_LCD_WIDTH+x] = color_value2;
> }
> }
> for (y = BSP_LCD_HEIGHT/2; y < BSP_LCD_HEIGHT; y++)
> {
> for (x = 0; x < BSP_LCD_WIDTH/2; x++)
> {
> g_pFrame[y*BSP_LCD_WIDTH+x] = color_value3;
> }
> for (x = BSP_LCD_WIDTH/2; x < BSP_LCD_WIDTH; x++)
> {
> g_pFrame[y*BSP_LCD_WIDTH+x] = color_value4;
> }
> }
> }
>
>
>
> "Goldbach" wrote:
>
>> My platform is Windows CE 6.0.
>> I want to change the screen color during Windows CE boot, the default
>> color
>> is black.
>> Is it possible to do that?
>>
>> --
>> Regards,
>> Goldbach



Re: How to change the screen color? by Dean

Dean
Tue May 13 06:10:37 PDT 2008

You're mistaken in what is happening. Your problem isn't the default screen
color - there is no default screen color. The problem is the display
hardware isn't running and therefore there is nothing on the display. To
solve it you need to initialize the hardware and put some valid value into
the framebuffer. Not a trivial task if you don't have some experience
dealing with the hardware.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:2A9B3ED8-7443-41CD-A287-4C4412E0C9C4@microsoft.com...
> My platform is Windows CE 6.0.
> I want to change the screen color during Windows CE boot, the default
> color
> is black.
> Is it possible to do that?
>
> --
> Regards,
> Goldbach



Re: How to change the screen color? by Bruce

Bruce
Tue May 13 06:29:02 PDT 2008

I agree with Michael, but I will point you in the right direction.

1. You have some code in your BSP that is the bootloader. If not, you are
stuck.
2. Find a place in that code that you want to set the display color, and
turn the backlight on.
3. Add code to initialize your display controller. The display driver has
sample code that you can work with, if you have source.
4. Set the display buffer to the color that you want. The display buffer,
or framebugger, is just a big region of RAM.
5. Turn on the backlight.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
> Thanks for your answer~
> I need more detail information since I'm a beginner.
> I don't know which code I need to modify?
> How can I fill the framebuffer?
> Is there any document about that?
> --
> Regards,
> Goldbach
>
>
> "Michel Verhagen (eMVP)" wrote:
>
>> Yes, initialize the display in your bootloader and fill the framebuffer
>> with the correct data for the color.
>>
>> Good luck,
>>
>> Michel Verhagen, eMVP
>> Check out my blog: http://GuruCE.com/blog
>>
>> GuruCE Ltd.
>> Microsoft Embedded Partner
>> http://GuruCE.com
>> Consultancy, training and development services.
>>
>> Goldbach wrote:
>> > My platform is Windows CE 6.0.
>> > I want to change the screen color during Windows CE boot, the default
>> > color
>> > is black.
>> > Is it possible to do that?
>> >
>>



Re: How to change the screen color? by Goldbach

Goldbach
Tue May 13 23:23:01 PDT 2008

I ever wrote applications by C/VC++, built CE images, and modified CE drivers,
but never modified OS kernel code.

--
Regards,
Goldbach


"Michel Verhagen (eMVP)" wrote:

> You need to get some training. A post explaining the bootloader and
> display driver code would take a bit too long... If you are a beginner
> in low level stuff than jumping into CE and bootloaders is going to be a
> very, very, very, dare I say it again, very steep learning curve. What
> is your experience?
>
>
> Good luck,
>
> Michel Verhagen, eMVP
> Check out my blog: http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
> http://GuruCE.com
> Consultancy, training and development services.
>
> Goldbach wrote:
> > Thanks for your answer~
> > I need more detail information since I'm a beginner.
> > I don't know which code I need to modify?
> > How can I fill the framebuffer?
> > Is there any document about that?
>

Re: How to change the screen color? by Goldbach

Goldbach
Tue May 13 23:43:01 PDT 2008

Thanks for your help, but I didn't describe my question very precisely.
After image extracted to ram and jumped into ram to run other step, the
screen become black before desktop appear.
I wanna change the black screen to another color.
BTW, my platform is X86.
I don't know how to modify the screen color and where to modify it.
--
Regards,
Goldbach


"Bruce Eitman [eMVP]" wrote:

> I agree with Michael, but I will point you in the right direction.
>
> 1. You have some code in your BSP that is the bootloader. If not, you are
> stuck.
> 2. Find a place in that code that you want to set the display color, and
> turn the backlight on.
> 3. Add code to initialize your display controller. The display driver has
> sample code that you can work with, if you have source.
> 4. Set the display buffer to the color that you want. The display buffer,
> or framebugger, is just a big region of RAM.
> 5. Turn on the backlight.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
> > Thanks for your answer~
> > I need more detail information since I'm a beginner.
> > I don't know which code I need to modify?
> > How can I fill the framebuffer?
> > Is there any document about that?
> > --
> > Regards,
> > Goldbach
> >
> >
> > "Michel Verhagen (eMVP)" wrote:
> >
> >> Yes, initialize the display in your bootloader and fill the framebuffer
> >> with the correct data for the color.
> >>
> >> Good luck,
> >>
> >> Michel Verhagen, eMVP
> >> Check out my blog: http://GuruCE.com/blog
> >>
> >> GuruCE Ltd.
> >> Microsoft Embedded Partner
> >> http://GuruCE.com
> >> Consultancy, training and development services.
> >>
> >> Goldbach wrote:
> >> > My platform is Windows CE 6.0.
> >> > I want to change the screen color during Windows CE boot, the default
> >> > color
> >> > is black.
> >> > Is it possible to do that?
> >> >
> >>
>
>
>

Re: How to change the screen color? by Erwin

Erwin
Wed May 14 00:42:36 PDT 2008

Actually Michel and Bruce gave the answer(s).

When jumping to RAM the kernel starts, and the display remains black til the
display driver is loaded.
You need to initialize the display driver and fill your video framebuffer.

I am not familiar with your board, cause you did not mention it, but there
are some code samples of display drivers and bootloader code for x86, but
again i do not know what your HW, and especially your display chip, is.

WINCE600\PLATFORM\CEPC\SRC\BOOTLOADER
WINCE600\PUBLIC\COMMON\OAK\DRIVERS\DISPLAY

Hope this helps,

Erwin Zwart

"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
> Thanks for your help, but I didn't describe my question very precisely.
> After image extracted to ram and jumped into ram to run other step, the
> screen become black before desktop appear.
> I wanna change the black screen to another color.
> BTW, my platform is X86.
> I don't know how to modify the screen color and where to modify it.
> --
> Regards,
> Goldbach
>
>
> "Bruce Eitman [eMVP]" wrote:
>
>> I agree with Michael, but I will point you in the right direction.
>>
>> 1. You have some code in your BSP that is the bootloader. If not, you
>> are
>> stuck.
>> 2. Find a place in that code that you want to set the display color, and
>> turn the backlight on.
>> 3. Add code to initialize your display controller. The display driver
>> has
>> sample code that you can work with, if you have source.
>> 4. Set the display buffer to the color that you want. The display
>> buffer,
>> or framebugger, is just a big region of RAM.
>> 5. Turn on the backlight.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>> > Thanks for your answer~
>> > I need more detail information since I'm a beginner.
>> > I don't know which code I need to modify?
>> > How can I fill the framebuffer?
>> > Is there any document about that?
>> > --
>> > Regards,
>> > Goldbach
>> >
>> >
>> > "Michel Verhagen (eMVP)" wrote:
>> >
>> >> Yes, initialize the display in your bootloader and fill the
>> >> framebuffer
>> >> with the correct data for the color.
>> >>
>> >> Good luck,
>> >>
>> >> Michel Verhagen, eMVP
>> >> Check out my blog: http://GuruCE.com/blog
>> >>
>> >> GuruCE Ltd.
>> >> Microsoft Embedded Partner
>> >> http://GuruCE.com
>> >> Consultancy, training and development services.
>> >>
>> >> Goldbach wrote:
>> >> > My platform is Windows CE 6.0.
>> >> > I want to change the screen color during Windows CE boot, the
>> >> > default
>> >> > color
>> >> > is black.
>> >> > Is it possible to do that?
>> >> >
>> >>
>>
>>
>>



Re: How to change the screen color? by Bruce

Bruce
Wed May 14 12:50:52 PDT 2008

Wait a minute. You say "After image extracted to ram..." Are you
suggesting that you have some other color on the display before that? I may
be being dumb here, but I don't work with x86.

How are you booting the system? That is what do you use to extract to ram?

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
> Thanks for your help, but I didn't describe my question very precisely.
> After image extracted to ram and jumped into ram to run other step, the
> screen become black before desktop appear.
> I wanna change the black screen to another color.
> BTW, my platform is X86.
> I don't know how to modify the screen color and where to modify it.
> --
> Regards,
> Goldbach
>
>
> "Bruce Eitman [eMVP]" wrote:
>
>> I agree with Michael, but I will point you in the right direction.
>>
>> 1. You have some code in your BSP that is the bootloader. If not, you
>> are
>> stuck.
>> 2. Find a place in that code that you want to set the display color, and
>> turn the backlight on.
>> 3. Add code to initialize your display controller. The display driver
>> has
>> sample code that you can work with, if you have source.
>> 4. Set the display buffer to the color that you want. The display
>> buffer,
>> or framebugger, is just a big region of RAM.
>> 5. Turn on the backlight.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>> > Thanks for your answer~
>> > I need more detail information since I'm a beginner.
>> > I don't know which code I need to modify?
>> > How can I fill the framebuffer?
>> > Is there any document about that?
>> > --
>> > Regards,
>> > Goldbach
>> >
>> >
>> > "Michel Verhagen (eMVP)" wrote:
>> >
>> >> Yes, initialize the display in your bootloader and fill the
>> >> framebuffer
>> >> with the correct data for the color.
>> >>
>> >> Good luck,
>> >>
>> >> Michel Verhagen, eMVP
>> >> Check out my blog: http://GuruCE.com/blog
>> >>
>> >> GuruCE Ltd.
>> >> Microsoft Embedded Partner
>> >> http://GuruCE.com
>> >> Consultancy, training and development services.
>> >>
>> >> Goldbach wrote:
>> >> > My platform is Windows CE 6.0.
>> >> > I want to change the screen color during Windows CE boot, the
>> >> > default
>> >> > color
>> >> > is black.
>> >> > Is it possible to do that?
>> >> >
>> >>
>>
>>
>>



Re: How to change the screen color? by Paul

Paul
Wed May 14 13:13:34 PDT 2008

This sounds like the display driver itself is initializing the display
background color to black (which is normal, I would think; mine does that).
You can set what it does; it's your driver; presumably you have the source.

Paul T.

"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
> Thanks for your help, but I didn't describe my question very precisely.
> After image extracted to ram and jumped into ram to run other step, the
> screen become black before desktop appear.
> I wanna change the black screen to another color.
> BTW, my platform is X86.
> I don't know how to modify the screen color and where to modify it.
> --
> Regards,
> Goldbach
>
>
> "Bruce Eitman [eMVP]" wrote:
>
>> I agree with Michael, but I will point you in the right direction.
>>
>> 1. You have some code in your BSP that is the bootloader. If not, you
>> are
>> stuck.
>> 2. Find a place in that code that you want to set the display color, and
>> turn the backlight on.
>> 3. Add code to initialize your display controller. The display driver
>> has
>> sample code that you can work with, if you have source.
>> 4. Set the display buffer to the color that you want. The display
>> buffer,
>> or framebugger, is just a big region of RAM.
>> 5. Turn on the backlight.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>> > Thanks for your answer~
>> > I need more detail information since I'm a beginner.
>> > I don't know which code I need to modify?
>> > How can I fill the framebuffer?
>> > Is there any document about that?
>> > --
>> > Regards,
>> > Goldbach
>> >
>> >
>> > "Michel Verhagen (eMVP)" wrote:
>> >
>> >> Yes, initialize the display in your bootloader and fill the
>> >> framebuffer
>> >> with the correct data for the color.
>> >>
>> >> Good luck,
>> >>
>> >> Michel Verhagen, eMVP
>> >> Check out my blog: http://GuruCE.com/blog
>> >>
>> >> GuruCE Ltd.
>> >> Microsoft Embedded Partner
>> >> http://GuruCE.com
>> >> Consultancy, training and development services.
>> >>
>> >> Goldbach wrote:
>> >> > My platform is Windows CE 6.0.
>> >> > I want to change the screen color during Windows CE boot, the
>> >> > default
>> >> > color
>> >> > is black.
>> >> > Is it possible to do that?
>> >> >
>> >>
>>
>>
>>



Re: How to change the screen color? by Bruce

Bruce
Wed May 14 13:28:04 PDT 2008

The display driver can be changed to not do that, at least mine can be
changed to not do that anyway.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:ud0o57ftIHA.552@TK2MSFTNGP06.phx.gbl...
> This sounds like the display driver itself is initializing the display
> background color to black (which is normal, I would think; mine does
> that). You can set what it does; it's your driver; presumably you have the
> source.
>
> Paul T.
>
> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
> news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
>> Thanks for your help, but I didn't describe my question very precisely.
>> After image extracted to ram and jumped into ram to run other step, the
>> screen become black before desktop appear.
>> I wanna change the black screen to another color.
>> BTW, my platform is X86.
>> I don't know how to modify the screen color and where to modify it.
>> --
>> Regards,
>> Goldbach
>>
>>
>> "Bruce Eitman [eMVP]" wrote:
>>
>>> I agree with Michael, but I will point you in the right direction.
>>>
>>> 1. You have some code in your BSP that is the bootloader. If not, you
>>> are
>>> stuck.
>>> 2. Find a place in that code that you want to set the display color,
>>> and
>>> turn the backlight on.
>>> 3. Add code to initialize your display controller. The display driver
>>> has
>>> sample code that you can work with, if you have source.
>>> 4. Set the display buffer to the color that you want. The display
>>> buffer,
>>> or framebugger, is just a big region of RAM.
>>> 5. Turn on the backlight.
>>>
>>> --
>>> Bruce Eitman (eMVP)
>>> Senior Engineer
>>> Bruce.Eitman AT EuroTech DOT com
>>>
>>> EuroTech Inc.
>>> www.EuroTech.com
>>>
>>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>>> > Thanks for your answer~
>>> > I need more detail information since I'm a beginner.
>>> > I don't know which code I need to modify?
>>> > How can I fill the framebuffer?
>>> > Is there any document about that?
>>> > --
>>> > Regards,
>>> > Goldbach
>>> >
>>> >
>>> > "Michel Verhagen (eMVP)" wrote:
>>> >
>>> >> Yes, initialize the display in your bootloader and fill the
>>> >> framebuffer
>>> >> with the correct data for the color.
>>> >>
>>> >> Good luck,
>>> >>
>>> >> Michel Verhagen, eMVP
>>> >> Check out my blog: http://GuruCE.com/blog
>>> >>
>>> >> GuruCE Ltd.
>>> >> Microsoft Embedded Partner
>>> >> http://GuruCE.com
>>> >> Consultancy, training and development services.
>>> >>
>>> >> Goldbach wrote:
>>> >> > My platform is Windows CE 6.0.
>>> >> > I want to change the screen color during Windows CE boot, the
>>> >> > default
>>> >> > color
>>> >> > is black.
>>> >> > Is it possible to do that?
>>> >> >
>>> >>
>>>
>>>
>>>
>
>



Re: How to change the screen color? by Dean

Dean
Wed May 14 13:41:49 PDT 2008

The other option is that the display controller is being reset after the
jump out of the bootloader. Until the driver loads, you're back to whatever
happens when the display controller/backlight (if present) does when it
isn't running. Or the frame buffer gets moved or ...

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Bruce Eitman [eMVP]" <bruce.eitman.nospam@EuroTech.com.nospam> wrote in
message news:O8avCEgtIHA.6096@TK2MSFTNGP06.phx.gbl...
> The display driver can be changed to not do that, at least mine can be
> changed to not do that anyway.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> com> wrote in message news:ud0o57ftIHA.552@TK2MSFTNGP06.phx.gbl...
>> This sounds like the display driver itself is initializing the display
>> background color to black (which is normal, I would think; mine does
>> that). You can set what it does; it's your driver; presumably you have
>> the source.
>>
>> Paul T.
>>
>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
>>> Thanks for your help, but I didn't describe my question very precisely.
>>> After image extracted to ram and jumped into ram to run other step, the
>>> screen become black before desktop appear.
>>> I wanna change the black screen to another color.
>>> BTW, my platform is X86.
>>> I don't know how to modify the screen color and where to modify it.
>>> --
>>> Regards,
>>> Goldbach
>>>
>>>
>>> "Bruce Eitman [eMVP]" wrote:
>>>
>>>> I agree with Michael, but I will point you in the right direction.
>>>>
>>>> 1. You have some code in your BSP that is the bootloader. If not, you
>>>> are
>>>> stuck.
>>>> 2. Find a place in that code that you want to set the display color,
>>>> and
>>>> turn the backlight on.
>>>> 3. Add code to initialize your display controller. The display driver
>>>> has
>>>> sample code that you can work with, if you have source.
>>>> 4. Set the display buffer to the color that you want. The display
>>>> buffer,
>>>> or framebugger, is just a big region of RAM.
>>>> 5. Turn on the backlight.
>>>>
>>>> --
>>>> Bruce Eitman (eMVP)
>>>> Senior Engineer
>>>> Bruce.Eitman AT EuroTech DOT com
>>>>
>>>> EuroTech Inc.
>>>> www.EuroTech.com
>>>>
>>>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>>>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>>>> > Thanks for your answer~
>>>> > I need more detail information since I'm a beginner.
>>>> > I don't know which code I need to modify?
>>>> > How can I fill the framebuffer?
>>>> > Is there any document about that?
>>>> > --
>>>> > Regards,
>>>> > Goldbach
>>>> >
>>>> >
>>>> > "Michel Verhagen (eMVP)" wrote:
>>>> >
>>>> >> Yes, initialize the display in your bootloader and fill the
>>>> >> framebuffer
>>>> >> with the correct data for the color.
>>>> >>
>>>> >> Good luck,
>>>> >>
>>>> >> Michel Verhagen, eMVP
>>>> >> Check out my blog: http://GuruCE.com/blog
>>>> >>
>>>> >> GuruCE Ltd.
>>>> >> Microsoft Embedded Partner
>>>> >> http://GuruCE.com
>>>> >> Consultancy, training and development services.
>>>> >>
>>>> >> Goldbach wrote:
>>>> >> > My platform is Windows CE 6.0.
>>>> >> > I want to change the screen color during Windows CE boot, the
>>>> >> > default
>>>> >> > color
>>>> >> > is black.
>>>> >> > Is it possible to do that?
>>>> >> >
>>>> >>
>>>>
>>>>
>>>>
>>
>>
>
>



Re: How to change the screen color? by Goldbach

Goldbach
Wed May 14 22:29:00 PDT 2008

This image's display driver is IEGD driver, so I don't have source code.
I want to use the flat flame buffer to modify screen color, is it possible?
--
Regards,
Goldbach


"Dean Ramsier" wrote:

> The other option is that the display controller is being reset after the
> jump out of the bootloader. Until the driver loads, you're back to whatever
> happens when the display controller/backlight (if present) does when it
> isn't running. Or the frame buffer gets moved or ...
>
> --
> Dean Ramsier - eMVP
> BSQUARE Corporation
>
>
> "Bruce Eitman [eMVP]" <bruce.eitman.nospam@EuroTech.com.nospam> wrote in
> message news:O8avCEgtIHA.6096@TK2MSFTNGP06.phx.gbl...
> > The display driver can be changed to not do that, at least mine can be
> > changed to not do that anyway.
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > Bruce.Eitman AT EuroTech DOT com
> >
> > EuroTech Inc.
> > www.EuroTech.com
> >
> > "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> > com> wrote in message news:ud0o57ftIHA.552@TK2MSFTNGP06.phx.gbl...
> >> This sounds like the display driver itself is initializing the display
> >> background color to black (which is normal, I would think; mine does
> >> that). You can set what it does; it's your driver; presumably you have
> >> the source.
> >>
> >> Paul T.
> >>
> >> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
> >> news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
> >>> Thanks for your help, but I didn't describe my question very precisely.
> >>> After image extracted to ram and jumped into ram to run other step, the
> >>> screen become black before desktop appear.
> >>> I wanna change the black screen to another color.
> >>> BTW, my platform is X86.
> >>> I don't know how to modify the screen color and where to modify it.
> >>> --
> >>> Regards,
> >>> Goldbach
> >>>
> >>>
> >>> "Bruce Eitman [eMVP]" wrote:
> >>>
> >>>> I agree with Michael, but I will point you in the right direction.
> >>>>
> >>>> 1. You have some code in your BSP that is the bootloader. If not, you
> >>>> are
> >>>> stuck.
> >>>> 2. Find a place in that code that you want to set the display color,
> >>>> and
> >>>> turn the backlight on.
> >>>> 3. Add code to initialize your display controller. The display driver
> >>>> has
> >>>> sample code that you can work with, if you have source.
> >>>> 4. Set the display buffer to the color that you want. The display
> >>>> buffer,
> >>>> or framebugger, is just a big region of RAM.
> >>>> 5. Turn on the backlight.
> >>>>
> >>>> --
> >>>> Bruce Eitman (eMVP)
> >>>> Senior Engineer
> >>>> Bruce.Eitman AT EuroTech DOT com
> >>>>
> >>>> EuroTech Inc.
> >>>> www.EuroTech.com
> >>>>
> >>>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
> >>>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
> >>>> > Thanks for your answer~
> >>>> > I need more detail information since I'm a beginner.
> >>>> > I don't know which code I need to modify?
> >>>> > How can I fill the framebuffer?
> >>>> > Is there any document about that?
> >>>> > --
> >>>> > Regards,
> >>>> > Goldbach
> >>>> >
> >>>> >
> >>>> > "Michel Verhagen (eMVP)" wrote:
> >>>> >
> >>>> >> Yes, initialize the display in your bootloader and fill the
> >>>> >> framebuffer
> >>>> >> with the correct data for the color.
> >>>> >>
> >>>> >> Good luck,
> >>>> >>
> >>>> >> Michel Verhagen, eMVP
> >>>> >> Check out my blog: http://GuruCE.com/blog
> >>>> >>
> >>>> >> GuruCE Ltd.
> >>>> >> Microsoft Embedded Partner
> >>>> >> http://GuruCE.com
> >>>> >> Consultancy, training and development services.
> >>>> >>
> >>>> >> Goldbach wrote:
> >>>> >> > My platform is Windows CE 6.0.
> >>>> >> > I want to change the screen color during Windows CE boot, the
> >>>> >> > default
> >>>> >> > color
> >>>> >> > is black.
> >>>> >> > Is it possible to do that?
> >>>> >> >
> >>>> >>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >
> >
>
>
>

Re: How to change the screen color? by Dean

Dean
Thu May 15 10:59:58 PDT 2008

Only if you know how to a) set up the display driver hardware and b) know
where the framebuffer is. If you know a) you'll know b).

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
news:A065964E-5AF9-4F1A-8753-37CB70EE4377@microsoft.com...
> This image's display driver is IEGD driver, so I don't have source code.
> I want to use the flat flame buffer to modify screen color, is it
> possible?
> --
> Regards,
> Goldbach
>
>
> "Dean Ramsier" wrote:
>
>> The other option is that the display controller is being reset after the
>> jump out of the bootloader. Until the driver loads, you're back to
>> whatever
>> happens when the display controller/backlight (if present) does when it
>> isn't running. Or the frame buffer gets moved or ...
>>
>> --
>> Dean Ramsier - eMVP
>> BSQUARE Corporation
>>
>>
>> "Bruce Eitman [eMVP]" <bruce.eitman.nospam@EuroTech.com.nospam> wrote in
>> message news:O8avCEgtIHA.6096@TK2MSFTNGP06.phx.gbl...
>> > The display driver can be changed to not do that, at least mine can be
>> > changed to not do that anyway.
>> >
>> > --
>> > Bruce Eitman (eMVP)
>> > Senior Engineer
>> > Bruce.Eitman AT EuroTech DOT com
>> >
>> > EuroTech Inc.
>> > www.EuroTech.com
>> >
>> > "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
>> > DOT
>> > com> wrote in message news:ud0o57ftIHA.552@TK2MSFTNGP06.phx.gbl...
>> >> This sounds like the display driver itself is initializing the display
>> >> background color to black (which is normal, I would think; mine does
>> >> that). You can set what it does; it's your driver; presumably you have
>> >> the source.
>> >>
>> >> Paul T.
>> >>
>> >> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> >> news:7F39DD00-D232-4A4B-9BDC-4C347A0975A8@microsoft.com...
>> >>> Thanks for your help, but I didn't describe my question very
>> >>> precisely.
>> >>> After image extracted to ram and jumped into ram to run other step,
>> >>> the
>> >>> screen become black before desktop appear.
>> >>> I wanna change the black screen to another color.
>> >>> BTW, my platform is X86.
>> >>> I don't know how to modify the screen color and where to modify it.
>> >>> --
>> >>> Regards,
>> >>> Goldbach
>> >>>
>> >>>
>> >>> "Bruce Eitman [eMVP]" wrote:
>> >>>
>> >>>> I agree with Michael, but I will point you in the right direction.
>> >>>>
>> >>>> 1. You have some code in your BSP that is the bootloader. If not,
>> >>>> you
>> >>>> are
>> >>>> stuck.
>> >>>> 2. Find a place in that code that you want to set the display
>> >>>> color,
>> >>>> and
>> >>>> turn the backlight on.
>> >>>> 3. Add code to initialize your display controller. The display
>> >>>> driver
>> >>>> has
>> >>>> sample code that you can work with, if you have source.
>> >>>> 4. Set the display buffer to the color that you want. The display
>> >>>> buffer,
>> >>>> or framebugger, is just a big region of RAM.
>> >>>> 5. Turn on the backlight.
>> >>>>
>> >>>> --
>> >>>> Bruce Eitman (eMVP)
>> >>>> Senior Engineer
>> >>>> Bruce.Eitman AT EuroTech DOT com
>> >>>>
>> >>>> EuroTech Inc.
>> >>>> www.EuroTech.com
>> >>>>
>> >>>> "Goldbach" <Goldbach@discussions.microsoft.com> wrote in message
>> >>>> news:CABF0AC1-3839-45A4-B274-2ED0B88A90DA@microsoft.com...
>> >>>> > Thanks for your answer~
>> >>>> > I need more detail information since I'm a beginner.
>> >>>> > I don't know which code I need to modify?
>> >>>> > How can I fill the framebuffer?
>> >>>> > Is there any document about that?
>> >>>>