[syslinux] Comboot API

Murali Krishnan Ganapathy gmurali at cs.uchicago.edu
Tue Jan 27 17:08:41 PST 2004


Agreed. It can easily be implemented in C. Another comboot API related 
question.
The "DOS interrupts" which are implemented (a.k.a. the int 21h 
interrupts). It looks like they do not respect display pages.
For example, if I switch the display page (using BIOS int 10h), and then 
use Int 21h to display a string, then under isolinux, it goes to the 
wrong display page, but under DOS (actually DOS box under windows) it 
goes to the right one.

Was this intended?

For the comboot menu, I switch the display page, and display my menu, so 
that once I am done, I can switch the page back and the user will see 
the usual text page. BTW, the code works fine under DOS and running 
under isolinux does not result in any "bad interrupt"!

- Murali

H. Peter Anvin wrote:

>ganapathy murali krishnan wrote:
>  
>
>>There is no API to input an entire string from the console. So the only
>>solution is to write it oneself reading one key at a time. Since the
>>code is already there in syslinux, could this be added to the API?
>>
>>I am mainly looking for the simple editing capabilities (backspace and
>>stuff).
>>
>>    
>>
>
>Actually, it's not -- the command-line input in syslinux is highly
>specific to entering the syslinux command line, and wouldn't be easily
>changeable to make it do anything else.  You could say it's too smart
>for its own good.
>
>It doesn't seem like a good idea to add another routine just to make it
>an API function, when it's a pretty trivial C routine.
>
>	-hpa
>  
>





More information about the Syslinux mailing list