[syslinux] SYSLINUX 2.09, 2.10-pre1 released
Gebhardt Thomas
gebhardt at HRZ.Uni-Marburg.DE
Tue May 11 06:28:00 PDT 2004
Hi,
On Wednesday 05 May 2004 19:41, you wrote:
> * What your new mymenu.c should do
>
> print "Press any key within 5 seconds.. to active menu..."
> clear keyboard buffer
> wait for 5 seconds
> if keyboard buffer is not empty
> run "localboot" / "chain.c32 hd0 0"
> else
> initialise menu...
> loop:
> runmenu....
> if valid choice
> execute it
> endif
> goto loop
> endif
>
> Clearing and checking the kbd buffer can be done through BIOS interrupts.
> ...
thank you very much! Since I have not written assembler code since the days of
Z80, it took me some time to get the work done (and I still have implemented
the timeout by a simple delay loop and not by a BIOS call). But now I have a
nice interface and cannot escape from the menu.
Cheers, Thomas
More information about the Syslinux
mailing list