Re: show logo at boot as Win9x/2000/XP

From: Valter Minute (vminute_at_REMOVEMEinwind.it)
Date: 02/26/04


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)


Relevant Pages

  • timer/progress bar on splash screen
    ... When my app starts, it reads in a few text files. ... would like to display a progress bar. ... Do I need a timer? ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Progress bar on composite control
    ... do postback to do some server-side processing which may take some time. ... such progress bar displaying should be done through ... My suggestion is you display the progress bar before your control ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Threading and the Progress Bar
    ... I'm going to try it without the timer. ... As for setting the thread priorities, I also generally avoid them like the ... As for updating the progress bar, why are you using a timer to indicate ... On one of these controls, ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Using Progress Bar
    ... The idea is to increment the progress bar in the timer control while your ... private void btnProcess_Click(object sender, System.EventArgs e) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Executing a program while displaying a model window
    ... I display the form with ShowDialogand is inside this form where I create ... time a file is copied the progress bar is updated with the name of the file ... public delegate void ProcessedFileHandler(); // I use this delegate to send ... > progress bar window until the scanning is complete or the user clicks ...
    (microsoft.public.dotnet.languages.csharp)