CDROMs don't exceed 2G so I'm not sure what
you're getting at. I've
never seen anything that provides volumes larger than 2G to DOS, in any
form or format. Not even the older VCOM and Golden Bow stuff.
As I said, CDROMs are about 2/3 G. But, at the time that they came out,
DOS was limited to 32M.
In order to get around that limitation, MSCDEX presented the CDROM to DOS,
NOT as a drive, but as a network device. That technique can also get
around the 32bit (2G/4G) limit.
There is a little information about it in "Undocumented DOS", and there
was another similar book at the same time (whose title I don't recall)
that had more thorough coverage.
I don't know all of the details, so check with Chuck.
On Wed, 28 Jun 2006, Chuck Guzis wrote:
Funny thing about that--NT can support FAT16
partitions up to 4G, but if
you have such a partition, stock DOS barfs on it.
I believe that the reason for the 2G limit was the use of a 32 bit long
integer in the code. If they had respected Moore's law, then they would
at least have used an UNSIGNED long integer, which would have made the
limit 4G (and given them another 18 months :-).
Do we really need support for NEGATIVE file and drive sizes??
Did Gordon Letwin fix that in OS/2?
Or did it persist until Dave Cutler did NT?
I once saw a copy of DOS that had been modified to fix that!
I don't have a copy, and I don't know whether it, (or the patches)
were ever available. It never had a retail release.
It would be a trivial fix with a recompile of the source code, or a
very tedious task patching the object code; how many JL,JNL,JG,JNG
instructions would need to be changed to JB,JNB,JA,JNA?
However, Fred's right--you can use the network
interface to implement
whatever size filesystem you desire. You may have to "bracket" return
values for total and free sizes when you report them back to DOS, but
basically, DOS doesn't care what you've got out there for a filesystem.
Unless MS has broken the interface, you can still access another (NT)
system using NTFS for a filesystem using DOS 5 running real-mode Microsoft
networking--or even WFWG. However, individual file sizes can be 2G at
most--but I think DOS 7 can handle 4G files (i.e. MS fixed enough of the
code)..
Some programs that attempt to get below DOS, such as CHKDSK and Norton
fUtilitie, can still have some serious problems.
If you run Win3.1x (WFWG) on DOS 7.10, can you then access >4G drives?
It is interesting to run Int21h Fn30h and see what versions different MS
OS's claim to be! My copy of PCDOS 4.01 claimed to be 4.00; OS/2
claimed to be 10.00; NTx claims to be 5.00; WIN9x claims to be 7.xx, etc.
--
Grumpy Ol' Fred cisin at
xenosoft.com