CD Rom recognition under CMOS
Posted: Wed Aug 31, 2005 11:00 pm
Hey guys,
I have got recognition for Floppy and HardDisk using CMOS codes 10h and 12h, making life simple. This means on boot of my kernel I can detect the presence of the floppies and Harddisks.
Wondered if anyone knows if there is a little cheat like this for the CD rom drive(s) ?
At this stage I am starting work on implementing filesystems and as part of my boot I just want to detect which devices I have attached. My OS will only be interested (initially) in the presence of Floppy/HD and CD/DVD drives.
Any ideas or areas you could point me at.
Googling is a nightmare to find this information....
Regards
Craig
I have got recognition for Floppy and HardDisk using CMOS codes 10h and 12h, making life simple. This means on boot of my kernel I can detect the presence of the floppies and Harddisks.
Wondered if anyone knows if there is a little cheat like this for the CD rom drive(s) ?
At this stage I am starting work on implementing filesystems and as part of my boot I just want to detect which devices I have attached. My OS will only be interested (initially) in the presence of Floppy/HD and CD/DVD drives.
Any ideas or areas you could point me at.
Googling is a nightmare to find this information....
Regards
Craig