RE: Bootlogo

Jeff O (jdorr@redshift.com)
Sun, 17 May 1998 12:26:03 -0700


This is a multi-part message in MIME format.
--------------0616E335E778F20CB407AD2A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

here is the bootlogo it patches cleanly against 2.0.33

--

-----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP for Personal Privacy 5.0

mQGiBDVBe7ERBAD/UYfH7/7DF2DtYma39hU7g/TMwGE1Nld+Fes165HvWciDHxxZ s46Lppc9tC0we9TeVBiGsVc/o5y7Ok2JPAZ76lC1KfQvYgOdPKTRkN84foxlcD1d SzzSPa1K+2UrEoTMLrgXpQz3vIYnTEFh/9wOv11BsRjX06PO/OuCObsSkQCg/4Gc v5fYJS84ZsRZMjs4ujDCwbcD+wWEnCGZGRrZFrTHJNuFi82Za1Fpy5bq79wSYCyL tYrwnITChPsQvuiaX+RPRfbRL36RraTonfgTKyBHkOODepQC0ayqvFEiqFE10EwR XpNcQx1nD3rtpaDfV3uf3yBaGWoeppaGCaXisZxxyi46qUFqz1lEB5OrB5tTU2g5 xoWJA/4vOnq22EJFDdMiStK8f5ixtuBvpYWrkirLVIytyRHZxvOQqmXS0b/kqGg/ ylQy+zZh7j/MNKpjBDvwuuqsxEziWVb4ydfLwfXBVcoK8uIi/kv+d/x4nk+150ea CvkkmkYw4s6tmu/JHGFMMjakg3Qo0bSKzyIz1H8M2qrN51d+XbQdSmVmZiBPcnIg PGpkb3JyQHJlZHNoaWZ0LmNvbT6JAEsEEBECAAsFAjVBe7EECwMBAgAKCRCxv8Uv lUBHbKU/AKCBaPFER+4DlIAU+U1UKU2zRjVjqwCeIyzFkDqNrcK6ahDb3XyAUAsk /wGJAD8DBRA1S4OU6XSoOCKQ8IMRAtsbAJ9accoD66qeAcHGI/jN/PeVK5MazQCe MC7n+M+NGdglkYyi89iZTobEAcC5Ag0ENUF7shAIAPZCV7cIfwgXcqK61qlC8wXo +VMROU+28W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D4 9Vlf3HZSTz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNb no2gpXI61Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbz ySPAQ/ClWxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLW hsQDGcgHKXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsA AgIH/1jvxIuoVPMqiTQcuJ1Z12b4O6c6ApYe5OuT09oZUVvvVtUHPRHnc5REzT5w RSRExW4bebhCP2bf5G2YqKnzShZCzanXv8JKEd932E/ChEeCuskPrTSGL9Q1YW0P KnIvmL8czrtKLJi/f0cIn4K1pRcC3gD3drCho4V/8qMwl6MEg4Dp8uOuGDGd1r82 oNYEMIG3hq6KXNlmZcLZVSXXTU7XSuxWjCokfrXh2D3m1vLkcARh0+zxr6F1e0tT LGlT3DniKidh1rT1Siqj0lNPLtxqgpPSqZLtSuXWUj8007qWrs00aEUmjn7w9K1J aKcG3YAw2TJQyUM9YNO6aOonwdOJAD8DBRg1QXuysb/FL5VAR2wRAiLIAKDPdbe1 UdWIKpXkePlw/n7OQZ3TxQCePV6C44Qc+wrCEPYqYc8mP8FGjtU= =alSU -----END PGP PUBLIC KEY BLOCK-----

--------------0616E335E778F20CB407AD2A Content-Type: text/plain; charset=iso-8859-1; name="logo-2.0.30-2.diff" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="logo-2.0.30-2.diff"

diff -u linux/arch/i386/boot/logofont.asm-2.0.30 linux/arch/i386/boot/logofont.asm

--- linux/arch/i386/boot/logofont.asm-2.0.30 Mon Jul 7 23:51:46 1997

+++ linux/arch/i386/boot/logofont.asm Thu Jul 10 09:58:31 1997

@@ -0,0 +1,33 @@

+logofont:

+ db 0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x03,0x07,0x07,0x07,0x07,0x06,0x06,0x06,0x07

+ db 0x03,0x1f,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x1f,0x4f,0xef,0xef,0xe1,0x40

+ db 0xc0,0xf8,0xfe,0xff,0xf3,0xf1,0xff,0xff,0xff,0xff,0x83,0x31,0x79,0x79,0x79,0x39

+ db 0x00,0x00,0x00,0x80,0xc0,0xc0,0xe0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf8

+ db 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01

+ db 0x03,0x03,0x02,0x03,0x03,0x03,0x03,0x06,0x0e,0x1c,0x3c,0x38,0x78,0xf8,0xf8,0x70

+ db 0x80,0x00,0x00,0x80,0xc1,0xde,0x61,0x7f,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0x36,0x36,0x36,0x36,0x36,0x37,0x30,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0x00,0x00,0x00,0x00,0x00,0x3f,0x30,0x37,0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36

+ db 0x0f,0x01,0x0d,0x31,0xcb,0x33,0xc1,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0xf8,0xf8,0xf8,0xf8,0x9c,0xce,0xfe,0xff,0xff,0x7f,0x7f,0x3f,0x3f,0x3f,0x1f,0x0f

+ db 0x36,0x36,0x36,0x36,0x36,0x37,0x30,0x37,0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36

+ db 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0x36,0x36,0x36,0x36,0x36,0xf7,0x00,0xf7,0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36

+ db 0x18,0x18,0x18,0x18,0x18,0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

+ db 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xc0,0xe0,0xf0,0xf8,0x7c,0x7c

+ db 0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18

+ db 0x03,0x03,0x07,0x07,0x0f,0x0f,0x1b,0x1b,0x3b,0x7b,0x7f,0x7d,0x6e,0x83,0x81,0x80

+ db 0x70,0xe0,0xc0,0xc0,0xc0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0xc0,0xe0

+ db 0x07,0x07,0x07,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x01,0x03,0x0f,0x1b,0x11

+ db 0xbe,0xbf,0xbf,0xdf,0xdf,0xdf,0xdf,0xdf,0xdf,0xdf,0x1f,0xe7,0xff,0xff,0xff,0xfe

+ db 0x00,0x00,0x00,0x00,0x80,0x80,0x80,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0x80,0x60,0x20

+ db 0x01,0x3f,0x40,0x40,0x40,0x40,0x40,0x60,0x60,0x60,0xc0,0x60,0x1f,0x01,0x00,0x00

+ db 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x0f,0x01

+ db 0x78,0x7c,0x3e,0x1f,0x0f,0x0f,0x07,0x02,0x01,0x01,0x00,0x00,0x01,0x01,0x87,0xfe

+ db 0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x60,0xb0,0xbf,0xff,0xff,0xf8,0x80,0x00

+ db 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x3f,0xff,0xff,0xff,0x00,0x00,0x00

+ db 0x10,0x10,0x10,0x10,0x10,0x10,0x58,0xd8,0xd0,0xd0,0xf0,0xb0,0xf8,0xf8,0x3c,0x1f

+ db 0xfc,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x0c,0x78,0xf0

+ db 0x20,0x20,0x20,0x30,0x1c,0x06,0x01,0x01,0x03,0x0c,0x70,0xc0,0x00,0x00,0x00,0x00

+ db 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

diff -u linux/arch/i386/boot/video.S-2.0.30 linux/arch/i386/boot/video.S

--- linux/arch/i386/boot/video.S-2.0.30 Sat May 18 10:15:10 1996

+++ linux/arch/i386/boot/video.S Thu Jul 10 10:06:38 1997

@@ -98,6 +98,7 @@

#ifdef CONFIG_VIDEO_RETAIN

call restore_screen ! Restore screen contents

#endif

+ call penguin ! display logo

call mode_params ! Store mode parameters

pop ds ! Restore original DS

ret

@@ -1738,6 +1739,52 @@

pop ax

ret

+! -----------------------------------------------------------------

+! nice penguin for intel boxes too :-)

+!

+! load penguin logo font

+!

+

+penguin:

+ incb [PARAM_HAVE_VGA] ! make sure we have a vga...

+ decb [PARAM_HAVE_VGA]

+ jz logo_skip

+

+ seg gs ! get Font size ...

+ mov ax,[0x485]

+ cmp ax,#16 ! ... and make sure the video mode uses

+ jnz logo_skip ! 16-line fonts

+

+ mov ax,#0x1100 ! load the font piece using bios functions

+ mov bx,#0x1000

+ mov cx,#32

+ mov dx,#0x00c0

+ lea bp,logofont

+ int 0x10

+

+ lea si,penguin_msg ! print the string with the logo

+ call prtstr

+

+logo_skip:

+ ret

+

+! logo string

+penguin_msg:

+ .ascii " "

+ db 0x0d,0x0a

+ .ascii " Linux "

+ .ascii UTS_RELEASE

+ db 0x0d,0x0a

+ .ascii " "

+ db 0x0d,0x0a

+ .ascii " "

+ db 0x0d,0x0a,0

+

+! font data

+#include "logofont.asm"

+

+! -----------------------------------------------------------------

+

! Variables:

adapter: .byte 0 ! Video adapter: 0=CGA/MDA/HGA,1=EGA,2=VGA

--------------0616E335E778F20CB407AD2A--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu