On QNX4.25E, how can I display a bitmap (company logo) on the text
console?
I want my sysinit to clear the screen and display some sort of a
bitmap, splash screen, logo etc before the graphical environment
(X11) starts up. Obviously this is possible, as the BIOS does it.
Is there a BIOS function to load a bitmap that I could call from a
program run from sysinit? Or some other way?
Thanks in advance
William Morris
wrm@innovation-tk.com
“William Morris” <wrm@innovation-tk.com> wrote in message
news:9sb4ej$i0s$1@inn.qnx.com…
On QNX4.25E, how can I display a bitmap (company logo) on the text
console?
I want my sysinit to clear the screen and display some sort of a
bitmap, splash screen, logo etc before the graphical environment
(X11) starts up. Obviously this is possible, as the BIOS does it.
The BIOS knows about the hardware, and runs in a completely different
environment.
Is there a BIOS function to load a bitmap that I could call from a
program run from sysinit? Or some other way?
BIOS can’t be called from QNX4. With ealier version there was
a program call int10 (which as been deprecated) that allow graphic
program to call into the BIOS. With older version of watcom there
was a graphic library available, but this as been deprecated as well.
Even if it was possible by the time this program would have time to
switch into graphic mode to display the bitmap, X11 would probably
start within a few secs anyway.
However I might be possible to get a fairly good image with graphic
characters. This is how the QNX logo is display at startup.
Thanks in advance
William Morris
wrm@innovation-tk.com
I have my QNX4 machine set up in a way that I can do something similar to
this. One of the first things the sysinit does is get Photon started
(starts a few drivers first). After Photon is loaded, I have another
program that allows me to display a bmp image to the screen, so during
bootup I’ll toss an image to the screen. When pwm starts, the image goes
away.
I’m not sure if you can adapt this to your environment, but it’s a way to
toss a nice graphical image up.
“William Morris” <wrm@innovation-tk.com> wrote in message
news:9sb4ej$i0s$1@inn.qnx.com…
On QNX4.25E, how can I display a bitmap (company logo) on the text
console?
I want my sysinit to clear the screen and display some sort of a
bitmap, splash screen, logo etc before the graphical environment
(X11) starts up. Obviously this is possible, as the BIOS does it.
Is there a BIOS function to load a bitmap that I could call from a
program run from sysinit? Or some other way?
Thanks in advance
William Morris
wrm@innovation-tk.com
Another idea would be to write a program that turns off the
video at the hardware level. This should be quite easy. Now
run this program either as one of the first programs in your
/.boot file, or at the begining of your sys.init. When
photon starts it will override this, so you will get a blank
screen for a few seconds followed by Photon. One down side
to this is that it makes it almost impossible to see what’s
going on if there’s a problem at startup. You can redirect
the sysinit output to perhaps /dev/ser1, which could help
with this problem.
Mitchell Schoenbrun --------- maschoen@pobox.com