Add documentation about the TheDraw splash format I committed some time ago

Approved by:	gabor
This commit is contained in:
Eitan Adler 2012-04-12 00:55:31 +00:00
parent d2f1416cce
commit dd8858faa0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38661

View file

@ -600,9 +600,10 @@ boot:</screen>
<sect4 id="boot-splash-function"> <sect4 id="boot-splash-function">
<title>Splash Screen Function</title> <title>Splash Screen Function</title>
<para>The splash screen function only supports 256-color <para>The splash screen function supports 256-color
bitmap (<filename>.bmp</filename>) or ZSoft bitmap (<filename>.bmp</filename>), ZSoft
<acronym>PCX</acronym> (<filename>.pcx</filename>) files. <acronym>PCX</acronym> (<filename>.pcx</filename>), or
TheDraw (<filename>.bin</filename>) files.
In addition, the splash image files must have a resolution In addition, the splash image files must have a resolution
of 320 by 200 pixels or less to work on standard VGA of 320 by 200 pixels or less to work on standard VGA
adapters.</para> adapters.</para>
@ -654,10 +655,11 @@ boot:</screen>
<sect4 id="boot-splash-enable"> <sect4 id="boot-splash-enable">
<title>Enabling the Splash Screen Function</title> <title>Enabling the Splash Screen Function</title>
<para>The splash screen (<filename>.bmp</filename>) or <para>The splash screen (<filename>.bmp</filename>,
(<filename>.pcx</filename>) file has to be placed on the <filename>.pcx</filename>, or <filename>.bin</filename>)
root partition, for example in the <filename file has to be placed on the root partition, for example
class="directory">/boot</filename> directory.</para> in the <filename class="directory">/boot</filename>
directory.</para>
<para>For default boot display resolution (256-color, 320 by <para>For default boot display resolution (256-color, 320 by
200 pixels, or less), edit 200 pixels, or less), edit
@ -689,13 +691,20 @@ bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting>
bitmap_load="YES" bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting> bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
<para>The file name is not restricted to <para>In version 8.3 another option is to use ascii art in
<quote>splash</quote> as shown in the above example. It <ulink url="https://en.wikipedia.org/wiki/TheDraw">TheDraw</ulink>
can be anything as long as it has type of format.</para>
<acronym>BMP</acronym> or <acronym>PCX</acronym>, such as
<programlisting>splash_txt="YES"
bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.bin</replaceable>"</programlisting>
<para>The file name is not restricted to <quote>splash</quote>
as shown in the above example. It can be anything as long
as it is one of the above types such as,
<filename><replaceable>splash_640x400</replaceable>.bmp</filename> <filename><replaceable>splash_640x400</replaceable>.bmp</filename>
or or
<filename><replaceable>blue_wave</replaceable>.pcx</filename>.</para> <filename><replaceable>bluewave</replaceable>.pcx</filename>.</para>
<para>Some other interesting <para>Some other interesting
<filename>loader.conf</filename> options:</para> <filename>loader.conf</filename> options:</para>