Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BIOS Int 013h Extended

Status
Not open for further replies.

straiph

Programmer
Mar 4, 2002
193
GB
Hi,

Ive got a diagnostic tool that runs in real mode and uses Int 013h extended functions.

when i run it on a machine with AwardBIOS v4 it works fine and can catalogue all the drives with the correct parameters.

but when i run it on a machine with an AwardBIOS v6 it failed, so i investigated.

my results are using drive 080h

function 041h - (test for extended) extended functions available.
function 048h - (get drive parameters) returns cf set - no parameters passed to buffer.

I dont understand how this can work with AwardBIOS v4 and not AwardBIOS v6.

Got any ideas?



"There are 10 types of people in this world, those who know binary and those who don't!"
 
hmm...I don't really know why it doesn't work in AwardBIOS v6, I don't have that bios. Maybe you could try getting data directly from bios data area than by the interrupt functions (youd need to look at RBIL to find out specifics).

Just a thought - are you running the program in a Windows OS? Sometimes these interrupts will not work because they are filtered or disabled by windows.

If you get it working let me know. Adonai :)
 
this is strange - maybe some1 can shed some light...

i set DS to 0B800h to see the data buffer written to the screen memory and it worked!!

the original DS i used was 05000h

i thought physical memory from 0501h to 0A0000h was user definable?

straiph
"There are 10 types of people in this world, those who know binary and those who don't!"
 
i resolved it,

silly me i forgot to put the pre-call buffer size.

straiph
"There are 10 types of people in this world, those who know binary and those who don't!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top