Article View: comp.os.msdos.programmer
Article #266Re: data structures >64Kb
From: Walter Bright
Date: Thu, 06 Aug 1992 06:56
Date: Thu, 06 Aug 1992 06:56
17 lines
1432 bytes
1432 bytes
In article <1992Aug4.131054.232@hou.amoco.com> jim@n5ial.chi.il.us writes: />jim@n5ial.chi.il.us (Jim Graham) writes: />: I finally ended up with a simple process where the filesize is determined, />: a buffer large enough to hold the file is malloc'ed (in smaller chunks to />: avoid one block of data > 64k...geez, you'd think the people writing C />: compilers could handle that in the background and make a more correctly />: behaved C compiler). /I don't really care about dos's limitations (well, ok, I have to care.... /but I don't want to have to care). my point is, you'd think that a /commercial C compiler like tc++ would SILENTLY organize things so that /you could (as far as you're concerned, anyways) malloc a data structure /larger than 64k. Zortech is a commercial C/C++ compiler, that with the X memory model, lets you build true 32 bit DOS apps. You can malloc data structures as large as you have memory in your machine, all without far or kludge pointers.
Technical Details
Message-ID:
<885@nazgul.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!nwnexus!ole!rwing!fnx!nazgul!brightReferences:
<1992Aug3.124703.15770@hou.amoco.com> <BsFG1G.EG8@fc.sde.hp.com> <1992Aug4.131054.232@hou.amoco.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!nwnexus!ole!rwing!fnx!nazgul!bright From: bright@nazgul.UUCP (Walter Bright) Newsgroups: comp.os.msdos.programmer Subject: Re: data structures >64Kb Message-ID: <885@nazgul.UUCP> Date: 6 Aug 92 06:56:21 GMT References: <1992Aug3.124703.15770@hou.amoco.com> <BsFG1G.EG8@fc.sde.hp.com> <1992Aug4.131054.232@hou.amoco.com> Reply-To: bright@nazgul.UUCP (Walter Bright) Organization: Zortech, Seattle Lines: 17