Page 1 of 1

A Question

Posted: Sun Mar 06, 2011 12:53 pm
by digo_rp
Guys I´m trying to create a atapi driver for my cdrom, but now is a question.

How can I now where do I boot from.

example: did I came from floppy disk 0? floppy disk 1? ide master, slave channel ?

how can I do that ?












/

Re: A Question

Posted: Sun Mar 06, 2011 3:47 pm
by Tosi
It is passed in dl in the bootloader (I think). Other than that, you can get it from the BIOS data area, by calling the BIOS directly, or through the information passed by a multiboot-compliant bootloader if you're using that.

Re: A Question

Posted: Sun Mar 06, 2011 4:05 pm
by digo_rp
tnx Tosi,

:-D

Re: A Question

Posted: Mon Mar 07, 2011 1:09 am
by Chandra
Please use appropriate title so that replies are attracted. And of course, please do make best efforts to use proper grammar.

Re: A Question

Posted: Mon Mar 07, 2011 9:51 am
by digo_rp
I´m so sorry for that.

Re: A Question

Posted: Mon Mar 07, 2011 10:21 am
by Combuster
digo_rp wrote:I´m so sorry for that.
Apologies alone do not fix the problem... :roll: