Date: Mon, 11 Jan 1999 12:48:31 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: current@FreeBSD.ORG Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Splash screen for 3.0-CURRENT! Message-ID: <199901110348.MAA17998@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | raw e-mail | index | archive | help
A splash screen module has been added to 3.0-CURRENT. >yokota 1999/01/10 19:34:56 PST > > Modified files: > sys/modules Makefile > Added files: > sys/modules/splash Makefile Makefile.inc > sys/modules/splash/bmp Makefile splash_bmp.c > Log: [...] This version has rather limited capabilities, but should be a good start... Well, sort of. It can handle W*ndows 256 color BMP file. (Other color depth probably won't work.) The size of the image must be 320x200 or less. Too restricted? Yes :-) (Is anyone interested in enhancing this, or writing new modules to load other image file formats?) In order to see splash image when your kernel loads, do the following: Make sure the following line is added to your kernel configuration file and rebuild a new kernel. pseudo-device splash Copy your favorite W*ndows BMP file to somewhere the boot loader can see. I used "Powered by FreeBSD" logo by Brian Tao for testing :-) When the boot loader starts, load kernel, splash image file and the splash image decoder module as follows. load kernel load -t splash_image_data _your_BMP_file_ load splash_bmp boot ("-t splash_image_data" is extremely important as the the decoder will look for this tag for the bitmap data.) Then you should see the image on your screen as soon as the kernel loads. Note that if you specify -c or -v options to the boot command, the splash image won't appear. (But is loaded and can be used as a screen saver later; see below.) Note also that the splash screen won't be available if you use pcvt driver. You must be using syscons. Sorry. The splash screen will go away if you hit any key (this may not work immediately if the kernel is still probing devices), or you load a screen saver. If you load the splash image decoder module but don't load a screen saver, you can continue using the splash module as a screen saver. Specify timeout value by running vidcontrol. vidcontrol -t timeout Then, the splash screen image will come back after the specified time. (You cannot use the regular screen saver as a splash screen, though.) Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901110348.MAA17998>