Article View: comp.os.msdos.programmer
Article #4805Re: huge-far pointer and Turbo C++ V1
From: Stephen R. van den Berg
Date: Tue, 19 Feb 1991 12:03
Date: Tue, 19 Feb 1991 12:03
13 lines
974 bytes
974 bytes
Stephen Johnson writes:
>This program allocates a very large array of memory
>and addresses using the "far" key word. Unfortunately, the
>address calculations rap around at 64k.
> ULONG far *zbuf;
I suggest you use the 'huge' keyword instead of 'far'.
--
Sincerely, berg@marvin.e17.physik.tu-muenchen.de
Stephen R. van den Berg.
"I code it in 5 min, optimize it in 90 min, because it's so well optimized:
it runs in only 5 min. Actually, most of the time I optimize programs."
Technical Details
Message-ID:
<4004@rwthinf.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!rwthinf!marvin.e17.physik.tu-muenchen.de!bergReferences:
<8138@exodus.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!rwthinf!marvin.e17.physik.tu-muenchen.de!berg From: berg@marvin.e17.physik.tu-muenchen.de (Stephen R. van den Berg) Newsgroups: comp.os.msdos.programmer Subject: Re: huge-far pointer and Turbo C++ V1 Message-ID: <4004@rwthinf.UUCP> Date: 19 Feb 91 12:03:38 GMT References: <8138@exodus.Eng.Sun.COM> Sender: news@rwthinf.UUCP Lines: 13