🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DOS functions >64K?

#5027
From: Rick Vandenberg
Date: Mon, 04 Mar 1991 11:13
21 lines
1150 bytes
> vhs@britesun.radig.de writes:
> 
> 
> Could anyone point me out how to malloc() or fread() blocks
> larger than 64KB? We are doing picture processing on >80MB
> pictures here, and it is extremely painful not to be able
> to read large chunks of the picture into memory. I could not
> find any documentation on this subject in TC++- nor DOS books,
> so I tried but all I get when malloc()ing or fread()ing large
> blocks is errors. Anyone out there to know something
> definite on this subject?
> 


Try using the HUGE model, or look up halloc(). I haven't tried this, but as far
as I know, it should work.

Rick.
--
Rick Vandenberg                Rick_Vandenberg@Mindlink.UUCP
Vandenberg Systems Research    uunet!van-bc!rsoft!mindlink!Rick_Vandenberg
Technical Details
Message-ID: <4991@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a513

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a513
From: Rick_Vandenberg@mindlink.UUCP (Rick Vandenberg)
Newsgroups: comp.os.msdos.programmer
Subject: Re: DOS functions >64K?
Message-ID: <4991@mindlink.UUCP>
Date: 4 Mar 91 11:13:11 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 21