[syslinux] Gfxboot COMBOOT module

Sebastian Herbszt herbszt at gmx.de
Wed Oct 15 16:16:53 PDT 2008


Steffen Winterfeldt wrote:
> On Tue, 14 Oct 2008, Sebastian Herbszt wrote:
>
>> H. Peter Anvin wrote:
>> > Sebastian Herbszt wrote:
>> >>
>> >> Short update:
>> >> gfxboot module is now working with syslinux, extlinux and isolinux.
>> >> getcwd, chdir and readsector callbacks have been somewhat implemented.
>> >> Most hard coded values have been replaced by runtime calculated ones.
>> >> Config file parser is still missing. I intent to implement something
>> >> simple
>> >> just understanding LABEL and TIMEOUT.
>> >> Current syntax is "gfxboot.com <bootlogo>".
>> >>
>> >
>> > Why not use the existing readconfig.c parser (used by the menu system)?
>> >  It's likely it will be used by the CLI in a future version, too.
>>
>> I think readconfig.c from com32/menu is usable by COM32 modules (32-bit
>> protected mode). gfxboot is a COMBOOT module (16-bit real mode, pure
>> assembler code). I don't see how i could use it. What am i missing here?
>
> Uhm, why's that? gfxboot is written in 32 bit code and runs in pm; why do
> you
> want to turn it into a 16 bit module?

Maybe i didn't properly describe the purpose of the module. It does not
replace or reimplement bincode.asm. The intent is to replace the gfxboot
related parts of the syslinux-3.63.diff, especially gfxboot.inc. Since
gfxboot.inc like syslinux is real mode assembler code, i decided to
implement it as a COMBOOT module. The advantage is i can reuse code
from gfxboot.inc and there are no changes needed in bincode.asm. The
result is similar to the current situation: real mode code does load
"bootlogo" and prepares for calls into bincode.asm.

- Sebastian




More information about the Syslinux mailing list