[syslinux] Comboot Menu

ganapathy murali krishnan gmurali at cs.uchicago.edu
Fri Jan 16 12:59:37 PST 2004


OK. For now, I will hard code the menu entries in a variable and worry 
about reading files for later.

The only thing I will be using from the C library is printf, that too 
only for debugging. All print statements will happen through appropriate
BIOS calls. All debugging prints will happen through printf. Once I am 
done, removing the printf statements will be trivial.

Is there any comboot program which reads files out there? Then I dont 
have to re-invent the wheel.

- Murali

PS: I think I am almost done with the simple menu interface. It accepts 
the arrow keys, Enter and ESC. Ignores all other key strokes.

H. Peter Anvin wrote:
> ganapathy murali krishnan wrote:
> 
>> Since lot of people want this thing, I will try to take a stab at it.
>> For now, I will hard code the menu in the code, and then somebody else
>> can remove that restriction. May be we can add some kind of keyword to
>> the config file which syslinux ignores and the comboot menu does 
>> something with it.
> 
> 
> Well, the sane thing would be for the menu program to take a 
> configuration file name on its command line and download that file 
> separately.
> 
>> I have one question about comboot: If I write a DOS program using C
>> (compiled using watcom -3 -mt -osx flags) and use only BIOS interrupts
>> and the DOS interrupts which comboot API supports, it should work in 
>> syslinux right?
> 
> 
> Yes, that should work.  It's extremely unlikely that you can get a 
> standard C library to be that restrictive, though... although if you 
> manage, more power to you :)
> 
>> In that case, it will be easy to debug, since what I write will be a 
>> simple DOS .COM file.
> 
> 
> Indeed.
> 
>     -hpa
> 






More information about the Syslinux mailing list