lkml.org 
[lkml]   [1996]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSimple, effective boot graphic (fwd)


---------- Forwarded message ----------
Date: Wed, 19 Jun 1996 19:17:40 -0400 (EDT)
From: root <root@hax.earthlink.net>
To: Linux-Kernel <linux-kernel@mci.com>
Subject: Simple, effective boot graphic

I've been reading over the discussion(s) of how to display a startup
image, and would like to throw in my implimentation suggestions (though
it may not be worth the full $0.02 )

The bootup image must not interfere with the boot messages.

The code must be small and effecient.

It must work with ANY display.

Here's my simple crude solution:

(Correct me if i'm wrong here, 'cause i'm not familiar with the kernel
code yet) at some point the compressed kernel image must be loaded into
memory.. therefore why not attatch the compressed kernel file to the end
of a pcx file

( Probably another file format could be used, but pcx's are encoded in a
VERY simple manner which would make the code to display them VERY
simple... also the pallet at the end would allow for a very simple fade out)

the pcx section of the joined file would be loaded 1'st, and then a quick
check for MGA/VGA/SVGA/compatible card.. if none is detected, the kernel
section of the joined file would be loaded over top of the pcx file and
the kernel would load just as it does now.

If a suitable card IS detected, it would save the current vid. mode, quickly
set the pallet and display the image then wait for a key to be hit or for a
timer (or even a delay loop.. ick) to time out.. then it would do a quick and
simple fade out, return to the previous video mode, load the kernel
section of the joined file over the pcx file and load just as the current
system does.

This entire hack could be written in about 200 bytes of assembly code,
maybe less...


Maybe this couldn't be done, as i said, i'm not familiar with the kernel
source yet so maybe it couldn't be done nearly this simply....



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.126 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site