Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > int0x13 utility...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 14 Topic 487 of 494
Post > Topic >>

int0x13 utility for MS-DOS ;o)

by Alex Buell <alex.buell@[EMAIL PROTECTED] > Mar 23, 2008 at 08:38 AM

I recently bought a SATA controller for my old Pentium III box, and
plugged it in. Hooked up a 120GB SATA hard disk, booted up with MSDOS
6.22. Imagine my surprise when MSDOS FDISK refused to create a
partition larger than 503MB even though it was specifically told it
could use the large disk feature. Upgrading the SATA controller BIOS
made no different, it was still a maximum of 503MB. 

MSDOS boots just fine, it just can't use partitions larger than 503MB
with that SATA disk and controller. 

I have MSDOS correctly installed in a 2GB partition on a PATA disk
connected to the motherboard, so I know the problem isn't with the
motherboard's BIOS. 

So, I wrote a tiny utility program in NASM to get the disk parameters
via the int 0x13 / AH = 8. The parameters it reporte are correct for
the hard disks connected to my PC's motherboard, but when it queried
the BIOS for the parameters of its SATA hard disk, it reported: 16
heads, 1022 cylinders and 63 sectors. Ah! That's why MSDOS couldn't
create partitions larger than 503MB!

I've told the manufacturers of the SATA that they need to fix their
BIOS - hopefully they might release an updated BIOS for the SIL3114
controller - fingers crossed. If they won't... I might have to fix it
myself, and that is NOT an easy job!

This utility also checks for the extended Int 0x13 / AH = 0x48 service
but I haven't written the code to print out the values yet - that'll
come as soon as I can find a PC that supports that. 

You may find the utility along with its source code at
http://www.munted.org.uk/programming/int0x13.zip

-- 
http://www.munted.org.uk

Fearsome grindings.




 14 Posts in Topic:
int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-23 08:38:48 
Re: int0x13 utility for MS-DOS ;o)
ak621@[EMAIL PROTECTED]   2008-03-24 12:55:25 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-24 13:59:11 
Re: int0x13 utility for MS-DOS ;o)
ak621@[EMAIL PROTECTED]   2008-03-25 14:42:29 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-26 19:16:18 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-27 07:36:57 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-27 10:45:23 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-27 10:14:12 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-28 09:28:38 
Re: int0x13 utility for MS-DOS ;o)
"Eric P." <E  2008-03-28 20:57:27 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-28 20:56:46 
Re: int0x13 utility for MS-DOS ;o)
"Eric P." <E  2008-03-28 22:19:03 
Re: int0x13 utility for MS-DOS ;o)
Alex Buell <alex.buell  2008-03-28 22:17:43 
Re: int0x13 utility for MS-DOS ;o)
"Eric P." <E  2008-03-29 09:33:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 6:01:49 CDT 2008.