Hello, I was wondering, will the BIOS ever give values other than 80h & 81h for hard drives, what will it do if you have, lets say, six hard drives?
And if it won't, then how do you use INT 13h to access other hard drives?
Thanks,
Trevor
BIOS INT 13h with more than two HDD
BIOS INT 13h with more than two HDD
Programming is like fishing, you must be very patient if you want to succeed.
-
- Member
- Posts: 5513
- Joined: Mon Mar 25, 2013 7:01 pm
Re: BIOS INT 13h with more than two HDD
Hard drives are numbered sequentially, starting with 0x80. If there are six hard drives and the BIOS supports accessing all of them through int 0x13, you will see 0x80 through 0x85.
Modern operating systems don't use the BIOS like this, so you may come across systems where some drives can't be accessed using int 0x13.
Modern operating systems don't use the BIOS like this, so you may come across systems where some drives can't be accessed using int 0x13.
Re: BIOS INT 13h with more than two HDD
OK, thank you. I am just writing a small program that looks at the different drives attached to the system during boot.
Programming is like fishing, you must be very patient if you want to succeed.