🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #749

Accessing Extended Memory from Turbo C2.0 easily

#749
From: craig.engelhorn
Date: Thu, 14 Jun 1990 18:13
13 lines
987 bytes
I have a 386 machine with 1MB of memory.  I have some UNIX code that
processes 24-bit images and uses large chunks of memory.
In the process of porting the code to DOS, I ran into the 640K barrier.

The code I'm porting malloc()'s space as necessary, until it hits the 640K
wall.  I'm purchasing 4MB of Extended memory, and
I would like to just malloc() space out of Extended memory, can someone
point me to information -- or existing C libraries -- that will help me out?

I'm using TC 2.0 by the way.

Craig Engelhorn
cae@att.com
Technical Details
Message-ID: <1990Jun14.181338.10115@cbnewsd.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!pacbell.com!pacbell!att!cbnewsd!krod

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!pacbell.com!pacbell!att!cbnewsd!krod
From: krod@cbnewsd.att.com (craig.engelhorn)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Accessing Extended Memory from Turbo C2.0 easily
Keywords: xms
Message-ID: <1990Jun14.181338.10115@cbnewsd.att.com>
Date: 14 Jun 90 18:13:38 GMT
Distribution: usa
Organization: AT&T Bell Laboratories
Lines: 13