summaryrefslogtreecommitdiffstats
path: root/share/man/man4/splash.4
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-12-12 21:12:07 +0000
committereadler <eadler@FreeBSD.org>2011-12-12 21:12:07 +0000
commit805302f0990bd298651e1bbad8237f88d86255f6 (patch)
treef7144ede60b98870e5dcd370b2e3842089891c64 /share/man/man4/splash.4
parent21f7c1b29fdf6a1f3ff0070ce7cb0baaf2786fe5 (diff)
downloadFreeBSD-src-805302f0990bd298651e1bbad8237f88d86255f6.zip
FreeBSD-src-805302f0990bd298651e1bbad8237f88d86255f6.tar.gz
- Add support for ASCII art splash screens in TheDraw format
PR: kern/143370 Submitted by: Antony Mawer <antony@mawer.org> Reviewed by: gjb (doc) Reviewed by: des (style) Approved by: ed MFC after: 1 month
Diffstat (limited to 'share/man/man4/splash.4')
-rw-r--r--share/man/man4/splash.427
1 files changed, 27 insertions, 0 deletions
diff --git a/share/man/man4/splash.4 b/share/man/man4/splash.4
index 29a9693..4b5f224 100644
--- a/share/man/man4/splash.4
+++ b/share/man/man4/splash.4
@@ -74,6 +74,14 @@ Bitmaps of other color depths will not be displayed.
ZSoft PCX decoder.
This decoder currently only supports version 5 8-bpp single-plane
images.
+.It Pa splash_txt.ko
+TheDraw binary ASCII drawing file decoder.
+Displays a text-mode 80x25 ASCII drawing, such as that produced by
+the Binary save format in TheDraw.
+This format consists of a sequence
+of two byte pairs representing the 80x25 display, where the first byte
+is the ASCII character to draw and the second byte indicates the
+colors/attributes to use when drawing the character.
.El
.Pp
The
@@ -223,6 +231,16 @@ If the VESA support is statically linked to the kernel, it is not
necessary to load the VESA module.
Just load the bitmap file and the splash decoder module as in the
first example above.
+.Pp
+To load a binary ASCII drawing and display this while booting, include the
+following into your
+.Pa /boot/loader.conf
+:
+.Bd -literal -offset indent
+splash_txt_load="YES"
+bitmap_load="YES"
+bitmap_name="/boot/splash.bin"
+.Ed
.\".Sh DIAGNOSTICS
.Sh SEE ALSO
.Xr vidcontrol 1 ,
@@ -256,6 +274,15 @@ module was written by
based on the
.Pa splash_bmp
code.
+The
+.Pa splash_txt
+module was written by
+.An Antony Mawer Aq antony@mawer.org
+based on the
+.Pa splash_bmp
+code, with some additional inspiration from the
+.Pa daemon_saver
+code.
.Sh CAVEATS
Both the splash screen and the screen saver work with
.Xr syscons 4
OpenPOWER on IntegriCloud