Re: show logo at boot as Win9x/2000/XP
From: Valter Minute (vminute_at_REMOVEMEinwind.it)
Date: 02/26/04
- Next message: Paul G. Tobey [eMVP]: "Re: Static DLLs in Project"
- Previous message: Paul G. Tobey [eMVP]: "Re: show logo at boot as Win9x/2000/XP"
- In reply to: Oscar: "Re: show logo at boot as Win9x/2000/XP"
- Next in thread: Steve Maillet \(eMVP\): "Re: show logo at boot as Win9x/2000/XP"
- Reply: Steve Maillet \(eMVP\): "Re: show logo at boot as Win9x/2000/XP"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 08:13:51 -0800
"Oscar" <oguallar@betaprint.com> wrote in
news:#eg9EXH$DHA.2664@TK2MSFTNGP09.phx.gbl:
> ...thanks, I will try this and I tell you something...
> Another question: How display a loading progress bar until
> the explorer appear ?
>
There are 2 ways to implement it:
- build a simple graphics library that allows you to draw rectangles
(and progress bars) on the screen and use it (inside bootloader, inside
OAL initialization and inside drivers startup) to update the screen.
The routines to draw and update the progress bar should be very simple,
but calculating the progress in a correct way and calling the update
function from different layers of the OS could be complicated and could
require many changes to your BSP and BL.
- build a fake progress bar (like the one displayed by windows XP) made
by changing the palette of your display controller (if your display
controller has a palette) or by drawing the animation frames on the
display using a system timer. In this way you'll tell the user that the
system is working (something is moving on the screen...), but you don't
need to provide exact information about the time remaining to complete
the boot phase.
You should still write some graphics routines and use them in different
layers, but that should be simpler than building progress update
reporting inside the BL, the OAL and the drivers initialization code.
The timer handling could be different on different layers of the
system. On the ARM, for example, you may handle use one of the hardware
timers and control it directly inside the BL (using FIQ or IRQ
handlers) and use the ISR inside the OAL.
You could still use the progress bar if your system has a pretictable
boot time. In this case you need to set the timer rate and the progress
update rate in the right way and your progress will reach 100% just
before explorer startup.
-- Valter Minute vminute@inwind.it (the reply address of this message is invalid)
- Next message: Paul G. Tobey [eMVP]: "Re: Static DLLs in Project"
- Previous message: Paul G. Tobey [eMVP]: "Re: show logo at boot as Win9x/2000/XP"
- In reply to: Oscar: "Re: show logo at boot as Win9x/2000/XP"
- Next in thread: Steve Maillet \(eMVP\): "Re: show logo at boot as Win9x/2000/XP"
- Reply: Steve Maillet \(eMVP\): "Re: show logo at boot as Win9x/2000/XP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|