another question about int 13h

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
Stefan

another question about int 13h

Post by Stefan »

How can I detect all drives with int 13h, I mean floppyes, hard disks ... ?
Can I detect with int 13h also CDROMs?

Thank you!
Chris Giese

RE:another question about int 13h

Post by Chris Giese »

>On 2002-02-25 03:52:49, Stefan wrote:
>How can I detect all drives with int 13h, I mean floppyes, hard disks ... ?

I think INT 13h AH=08h DL=0 will put the number of
floppy drives in DL; and INT 13h AH=08h DL=80h
will put the number of hard drives in DL.

>Can I detect with int 13h also CDROMs?

IIRC, the INT 13h services for CD-ROMs only work
if you _boot_ from the CD-ROM. Otherwise, they
are disabled.
Stefan

RE:another question about int 13h

Post by Stefan »

thank you
Post Reply