From owner-freebsd-stable@FreeBSD.ORG Thu Jun 30 02:53:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E933D106566B for ; Thu, 30 Jun 2011 02:53:57 +0000 (UTC) (envelope-from lists@mawer.org) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7EBCC8FC13 for ; Thu, 30 Jun 2011 02:53:57 +0000 (UTC) Received: by bwa20 with SMTP id 20so2166293bwa.13 for ; Wed, 29 Jun 2011 19:53:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.136.217 with SMTP id s25mr1412153bkt.13.1309402436215; Wed, 29 Jun 2011 19:53:56 -0700 (PDT) Received: by 10.204.63.71 with HTTP; Wed, 29 Jun 2011 19:53:56 -0700 (PDT) In-Reply-To: <20110629190431.e03ac76f.torfinn.ingolfsen@broadpark.no> References: <20110629190431.e03ac76f.torfinn.ingolfsen@broadpark.no> Date: Thu, 30 Jun 2011 12:53:56 +1000 Message-ID: From: Antony Mawer To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: kern/143370: splash_txt ASCII splash screen module X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2011 02:53:58 -0000 On Thu, Jun 30, 2011 at 3:04 AM, Torfinn Ingolfsen wrote: > On Wed, 29 Jun 2011 22:50:15 +1000 > Antony Mawer wrote: >> Not sure if this is the right place to post it -- about 6 years ago I >> put together a module which displays an ASCII splash screen on boot >> (rather than the graphical splash_pcx and splash_bmp modules). We have >> been running it in production since that time without issue. > > So, the difference between this and loader.conf's loader_logo construct is that > a) this is a proper splash screen module > b) you can / must design your splash screen with a separate program (compared to write / modify Forth code) > > Is my understanding correct? Not quite. The loader_logo is only displayed at the boot screen, and disappears as soon as the kernel begins booting. The splash module effectively creates an "overlay" display which is placed on-screen while the kernel probes devices and starts up, replacing the standard startup messages. Think more along the lines of your OS boot screen on Windows/Mac/Linux. In our case, this provides a clean boot screen instead of confusing probe messages (or silence if they're hidden) while the system starts, which can be reassuring to a non-tech audience, and does so without reliance on VESA support which doesn't always work on the systems we work with. The choice of file format was simply that it was an easy to use format supported by ASCII drawing software that I was familiar with (TheDraw, DuhDraw). There is nothing to stop someone adding support for a different format of encoding if they wanted -- the same as someone could write a splash_jpg or splash_gif module if they really wanted to. -- Antony