Once more MSDOS & Extended Memory Access

Posted on 1998-09-18
Last Modified: 2010-04-15
Please don't discuss about the "WHY?" !
I'm a student and I'm also looking for an extended memory manager to use memory larger than 640k. There was a previous question and an answer with a link to a commercial website and commercial program. So, can anybody tell me, where to get a freeware/shareware tool ??? Or perhaps a "low cost" Memory Manager to use for Borland or other compilers???
Question by:olingk

Expert Comment

ID: 1252867
If you use Borland Pascal 7.0, you don't need a memory manager - you can build your project as protected mode executable and it will utilize all available memory.
There are several C/C++ compilers that produce 32-bit DOS executables (Watcom, Gnu, CodeBuilder, and may be more) - all they can use the extended memory.


Expert Comment

ID: 1252868
If you plan to use your programs under Windows 95/NT, you can use MSVC++ 5.0/6.0 (and other compilers) to build Windows 95/NT Console applications.


Author Comment

ID: 1252869
Dear Bonev,
I'm sorry, I think my question wasn't clear enough. I have no experience with DOS-Extenders and so I'll try to explain my thoughts:
There was a question to the same problem and the answer was a link to a commercial website ( At this website, there was an offer for a program (don't know if one should call it tool or library perhaps) that could be used with an e.g. Borland C/C++ compiler. 'cause I can call such a compiler my own, I would be interested in information about a "tool" to use with it.
I would be very pleased if you can give me some websites or perhaps ftp-addresses for more information (also where to get the gnu).
Thank you
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Expert Comment

ID: 1252870
If you are just writing text based programs which
need access to 640k+ memory, you can use DJGPP, which is gnu c++ for DOS based
computers. Links below: /.8/TeX/CTAN/systems/pdftex/bin/DJGPP

DJGPP manages upper memory access automatically - malloc(300000) is valid.

Expert Comment

ID: 1252871
About 5 years ago I also wanted to use the extended memory from Borland C++ 3.10 (MS-DOS version) and I succeeded to make it work with the Borland Pascal's DOS Extender. I don't remember details about that, but my programs used the all available memory. If you are interested in that, I'll try to find my source codes. I don't promise that I'll find them, though, it was a long time ago.

Accepted Solution

peter_vc earned 330 total points
ID: 1252872

Author Comment

ID: 1252873
Dear peter_vc, Bonev, snoegler,
I'd like to thank you all for your tips!
I think, I now have enough material to check out for the next weeks and to wonder about.
At last, you could tell me the easiest way to give some points to Bonev and snoegler.

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tutorial is posted by Aaron Wojnowski, administrator at  To view more iPhone tutorials, visit This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question