[syslinux] [RFC][PATCH] Gfxboot COMBOOT module

Gene Cumm gene.cumm at gmail.com
Sun Nov 23 19:29:55 PST 2008


2008/11/22 Sebastian Herbszt <herbszt at gmx.de>:
> So here it is. Ugly and far from acceptable shape but nonetheless it seems to
> work. Parts are borrowed from syslinux core and of course the gfxboot patch for
> syslinux 3.63.
>
> Syntax: gfxboot.com <bootlogo file>
>
> - Sebastian
>

Hmmm... gfxboot as a COMBOOT?  Sounds appealing.  Doesn't modify the
core yet allows the eye candy of gfxboot.  Seems like it should have
been this way from the beginning.

As far as the code that is borrowed (at least for I/O), what about using:
%include "../core/getc.inc"
(or something else similar/more appropriate)?  The COMBOOT module has
an extremely limited awareness of the config, which does help for code
simplicity so including the parsing code might not be appropriate.

After changing modules/Makefile to read:
BINS = pxechain.com gfxboot.com
I attempted to compile:

$ make
nasm -O9999 -f bin -o gfxboot.com -l gfxboot.lst gfxboot.asm
gfxboot.asm:479: error: symbol `gfx_media_type' undefined
gfxboot.asm:882: error: phase error detected at end of assembly.
make: *** [gfxboot.com] Error 1

Looking around, I think you may have missed one character on line 860,
gfx_media_typ instead of gfx_media_type.  Changing this it compiles.
I'll have to test this tomorrow.

-- 
"No one ever says, 'I can't read that ASCII E-mail you sent me.'"




More information about the Syslinux mailing list