From owner-freebsd-current Sun Jan 10 20:57:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA02653 for freebsd-current-outgoing; Sun, 10 Jan 1999 20:57:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from jumping-spider.aracnet.com (jumping-spider.aracnet.com [205.159.88.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA02643 for ; Sun, 10 Jan 1999 20:57:06 -0800 (PST) (envelope-from ctapang@easystreet.com) Received: from apex (216-99-199-226.cust.aracnet.com [216.99.199.226]) by jumping-spider.aracnet.com (8.9.1/8.9.0) with SMTP id UAA00241; Sun, 10 Jan 1999 20:56:34 -0800 Message-ID: <01ab01be3d1e$e3a44760$0d787880@apex.tapang> From: "Carlos C. Tapang" To: , "Kazutaka YOKOTA" Cc: Subject: Re: Splash screen for 3.0-CURRENT! Date: Sun, 10 Jan 1999 20:57:28 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is great. I will use this. I'll look into doing the work to make the resolution more flexible. It may not be that hard. Carlos C. Tapang http://www.genericwindows.com >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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message