dl, at booting...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
frank

dl, at booting...

Post 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?
Tim

Re:dl, at booting...

Post 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.
Warmaster199

Re:dl, at booting...

Post 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...
Post Reply