home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / msdos / programm / 3144 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.7 KB  |  38 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!lambda.msfc.nasa.gov!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!comet.enet.dec.com!cascio
  3. From: cascio@comet.enet.dec.com (Pete Cascio)
  4. Subject: Re: Help: Addressing Extended Memory
  5. Message-ID: <1993Jan12.230412.23724@nntpd2.cxo.dec.com>
  6. Sender: usenet@nntpd2.cxo.dec.com (USENET News System)
  7. Organization: Digital Equipment Corp. Consulting Services, Colorado Springs
  8. References:   <1ivbu5INN9jc@dayub.dayton.saic.com>
  9. Date: Tue, 12 Jan 1993 22:16:25 GMT
  10. Lines: 26
  11.  
  12.  
  13. In article <1ivbu5INN9jc@dayub.dayton.saic.com>, nitewind@repoman.dayton.saic.com (SAIC - Research Park) writes...
  14. >I have a 386SX running MS-DOS 5.0, 4 megs of RAM, and a Microsoft 
  15. >C 6.0 compiler. I have an application where I have to allocate a large
  16. >number of data structs, and seem to be stopped by the 640K limit.  
  17. >Is there any method for extending the program addressing space beyond 
  18. >640K?
  19.  
  20. You have a choice of:
  21.  
  22. 1) Expanded memory (via EMS driver) which is available to all generations of
  23.    PC.
  24.  
  25. 2) Extended memory (via XMS driver) is available from HIMEM.SYS, 386max, QEMM
  26.    running on 286's and above.
  27.  
  28. 3) A DOS Extender (286 or 386) such as Phar Lap's which runs your program in
  29.    protected mode on an AT-class machine.  I.E. your program will be running in
  30.    the approx. 3 meg or extended RAM, using it thru standard *alloc's.
  31.  
  32. All three choices have trade-offs in having to modify your source.  The first
  33. two require the most changes but are (almost) free.  The last choice is
  34. expensive but can be most transparent to your code (unless you're calling
  35. DOS or using low memory -- that complicates things in protected mode).
  36.