🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4805

Re: huge-far pointer and Turbo C++ V1

#4805
From: Stephen R. van den Berg
Date: Tue, 19 Feb 1991 12:03
13 lines
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!berg
References: <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