Page 1 of 1

dl, at booting...

Posted: Sat Aug 24, 2002 6:17 am
by frank
What number does dl contain if you boot from an scsi disk?

ide contains 0x80 'till 0x83, and the floppydisk contains 0x0,0x01
does scsi contain the same number as ide or not?

Re:dl, at booting...

Posted: Sat Aug 24, 2002 7:25 am
by Tim
Assuming your SCSI BIOS is set up to give the BIOS access to SCSI drives, you'll see "some other number" in DL. SCSI drives are handled by the BIOS in the same way as IDE drives, so they don't need to be treated differently when using int 13h.

Re:dl, at booting...

Posted: Mon Aug 26, 2002 11:15 pm
by Warmaster199
I am pretty sure that if there is a hard disk(any type/interface) being booted from, bit 7 of dl is set. Meaning that for any interface(IDE or SCSI), dl=0x80 or greater, depending on the number of drives(0x80, 0x81, 0x82, etc...).

Basically, dl is the same for IDE drives and for SCSI drives...