Hi everyone,
I'm creating my own OS from scratch, and I'm first producing an installation CD so that I can easily install my kernel on a hard drive.
So far, I've written a CD-based bootstrap loader in NASM that finds a program within the
root directory of the CD, loads it into a known area in memory, and executes it (this uses the ISO-9660 specification). I'll more-than-likely just remain in 16-bit mode to run my installer, and switch to an installer that runs within the kernel once I get far enough (i.e. once I actually have a kernel!).
Now, my plan is to make the CD work like a Windows installation CD; I want it to display a "Press any key to boot from the CD..." prompt, and 'skip' to the next boot device if a key isn't pressed within a certain time limit. The only thing is, I'm not sure what I need to do to skip to the next boot device?
Thanks in advance!
P.S. Please could any example code be written in NASM or pseudo-code? :-)