home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!utcsri!geac!zooid!ross
- From: Ross Ridge <ross@zooid.guild.org>
- Subject: Re: XMS memory manager for C/C++ needed
- Organization: ZOOiD BBS
- Date: Fri, 4 Sep 1992 06:54:29 GMT
- Message-ID: <1992Sep4.065429.25559@zooid.guild.org>
- References: <1992Sep03.051903.110369@zeus.calpoly.edu>
- Lines: 26
-
- cambler@zeus.calpoly.edu (Christopher J. Ambler, Phish) writes:
- >I'm looking for an XMS memory manager package that can make XMS available
- >to the heap via malloc() or new calls transparently. Protected mode
- >interfaces do not qualify for my application.
-
- Protected mode interfaces are really your only choice to do this
- transparently.
-
- >Most that I've seen will do this, but require malloc() calls to use
- >their custom handles, and since I cannot afford the time on the project
- >to rewrite all the calls to new in Turbo Vision, I need something transparent.
-
- The problem is that XMS memory isn't in the 8086's addressing space,
- so you can't access it directly in real mode, only through handles and
- XMS service requests. It is in theory possible to write a compiler
- that could hide all this for you, and I believe MAC compilers do
- something like this, but I can't see anyone doing it for MS-DOS and
- XMS because of the huge overhead involved.
-
- Ross Ridge
-
- --
- Ross Ridge - The Great HTMU l/ //
- [OO][oo]
- ross@zooid.guild.org /()\/()/
- uunet.ca!zooid!ross db //
-