Talk About Network

Google


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 > Assembly x86 > Re: int 0x13 ut...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 57 Topic 4584 of 4729
Post > Topic >>

Re: int 0x13 utility

by =?UTF-8?B?Sm/Do28gSmVyw7NuaW1v?= <spamtrap@[EMAIL PROTECTED] > Mar 25, 2008 at 01:57 PM

Alex Buell wrote:
> So, I wrote a tiny utility program in NASM to get the disk parameters
> via the int 0x13 / AH = 8. The parameters it re****te 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 re****ted: 16
> heads, 1022 cylinders and 63 sectors. Ah! That's why MSDOS couldn't
> create partitions larger than 503MB!

If you access a HD using BIOS w/CHS, you'll never access past 8GB. If the
BIOS' (or driver's) routines don't sup****t the more recent CHS feature
that
allows it to map "big" disks to a virtual CHS geometry, you'll be even
more
limited.

As someone pointed already, it's pretty likely that MS-DOS 6.22 does not
sup****t LBA routines, so it'll use CHS (which implies a maximum of 8GB).
If
the SATA BIOS does not sup****t the virtual mapping I mentioned above in
it's CHS-based routines, then you'll be even more limited (I think it's
the
case).

Try FreeDOS, or write a wrapper that hooks int0x13 CHS routines and maps
virtual CHS addresses to LBA. You'll still be limited to 8GB, though...

JJ
 




 57 Posts in Topic:
int 0x13 utility
Alex Buell <spamtrap@  2008-03-22 15:30:31 
Re: int 0x13 utility
dave <spamtrap@[EMAIL   2008-03-22 16:27:30 
Re: int 0x13 utility
Rugxulo <spamtrap@[EM  2008-03-23 08:45:10 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-23 08:37:22 
Re: int 0x13 utility
Hendrik van der Heijden   2008-03-24 14:50:21 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-24 21:15:00 
Re: int 0x13 utility
Rugxulo <spamtrap@[EM  2008-03-25 01:11:15 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-25 13:57:36 
Re: int 0x13 utility
"H. Peter Anvin"  2008-03-28 15:59:06 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-03-28 20:07:11 
Re: int 0x13 utility
"Rod Pemberton"  2008-03-29 23:04:27 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-03-30 00:47:36 
Re: int 0x13 utility
"Rod Pemberton"  2008-03-30 15:45:39 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-03-30 17:31:05 
Re: int 0x13 utility
"Rod Pemberton"  2008-03-31 15:17:38 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-03-31 19:18:36 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-29 15:13:27 
Re: int 0x13 utility
"Wolfgang Kern"  2008-03-31 03:32:05 
Re: int 0x13 utility
Red Rooster <spamtrap  2008-04-01 17:03:34 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-05 08:02:22 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-05 18:52:10 
Re: int 0x13 utility
"Rod Pemberton"  2008-04-05 20:13:01 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-06 10:19:57 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-25 17:11:21 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-25 17:15:08 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-26 02:38:35 
Re: int 0x13 utility
"Wolfgang Kern"  2008-03-26 13:53:39 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-26 23:39:22 
Re: int 0x13 utility
Dirk Wolfgang Glomp <  2008-03-27 07:41:53 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-29 14:36:11 
Re: int 0x13 utility
Dirk Wolfgang Glomp <  2008-03-29 21:05:34 
Re: int 0x13 utility
NoSpam@[EMAIL PROTECTED]   2008-03-30 13:25:19 
Re: int 0x13 utility
"Wolfgang Kern"  2008-03-27 09:00:59 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-29 15:07:31 
Re: int 0x13 utility
"Wolfgang Kern"  2008-03-30 13:53:33 
Re: int 0x13 utility
NoSpam@[EMAIL PROTECTED]   2008-03-31 13:06:51 
Re: int 0x13 utility
Tim Roberts <spamtrap  2008-04-01 03:21:14 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-25 17:22:43 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-26 07:57:12 
Re: int 0x13 utility
=?UTF-8?B?Sm/Do28gSmVyw7N  2008-03-26 23:36:04 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-27 10:15:49 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-31 00:23:24 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-03-31 09:22:44 
Re: int 0x13 utility
"Rod Pemberton"  2008-03-31 15:17:48 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-01 08:31:58 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-04-01 04:00:41 
Re: int 0x13 utility
ArarghMail803NOSPAM <s  2008-04-01 04:07:45 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-02 08:57:03 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-02 20:03:49 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-03 22:11:23 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-03 23:11:29 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-04 08:33:51 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-04 12:58:10 
Re: int 0x13 utility
Spiro Trikaliotis <sp  2008-04-06 11:34:12 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-06 18:02:51 
Re: int 0x13 utility
Alex Buell <spamtrap@  2008-04-04 21:04:11 
Re: int 0x13 utility
ArarghMail804NOSPAM <s  2008-04-04 21:31:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Jul 24 15:01:25 CDT 2008.