Drive Number for CD
-
- Member
- Posts: 40
- Joined: Tue Nov 13, 2012 2:54 pm
Drive Number for CD
What is the drive number for a CD? I would like my bootsector and bootloader to load sectors via int13 extended read.
Code: Select all
var myCat="marshmallow"
Re: Drive Number for CD
Hi,
If you booted from anything else (including "hard disk emulation" El Torito), then the drive number for the CD may not exist, and if it does exist then it could be anything (but 0xC0 or 0xE0 are more likely possibilities than other numbers if any number exists).
[EDIT:] Also note that it may or may not be possible to use "IBM/MS INT 13 Extensions - GET DRIVE PARAMETERS" to check each drive number to determine if it's a CD or not.[/EDIT]
Cheers,
Brendan
If you booted from CD via. "no emulation" El Torito, then the drive number for the CD you booted from is whatever the BIOS left in DL.gabemaiberger wrote:What is the drive number for a CD? I would like my bootsector and bootloader to load sectors via int13 extended read.
If you booted from anything else (including "hard disk emulation" El Torito), then the drive number for the CD may not exist, and if it does exist then it could be anything (but 0xC0 or 0xE0 are more likely possibilities than other numbers if any number exists).
[EDIT:] Also note that it may or may not be possible to use "IBM/MS INT 13 Extensions - GET DRIVE PARAMETERS" to check each drive number to determine if it's a CD or not.[/EDIT]
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.