home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / msdos / programm / 2691 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.0 KB

  1. Path: sparky!uunet!bcstec!silverm
  2. From: silverm@bcstec.ca.boeing.com (Jeff Silverman)
  3. Newsgroups: alt.msdos.programmer
  4. Subject: QEMM/386
  5. Summary: What is QEMM 386 actually doing and how does it do it?
  6. Keywords: QEMM memory management 80386
  7. Message-ID: <4141@bcstec.ca.boeing.com>
  8. Date: 9 Nov 92 05:44:05 GMT
  9. Organization: Boeing Computer Services, Seattle
  10. Lines: 36
  11.  
  12.  
  13. I am a VAX/VMS guru in the process of becoming an MS-DOS guru.  If these
  14. questions sound naive, it is because I am coming at these from a strange
  15. perspective.
  16. In the VAX/VMS operating system, programs execute in their own virtual address
  17. space, which gets mapped on a page by page basis into physical memory.  2 VMS
  18. programs can be running at the same virtual address yet address different
  19. pages of physical memory, because the mapping is done on a per-process basis
  20. and the OS handles all that transparently.  The programmer sees 1, big pool
  21. of RAM.
  22.  
  23. What does QEMM/386 do, from a programmers point of view?  It appears to move
  24. things around in both physical and virtual memory.  How is this possible?
  25. If something, say, a TSR, is moved out of low memory and into either High
  26. Memory (By high memory, I mean the region between 640K and 1 Mbyte) or extended
  27. memory, how does it keep working?  All of the destinations for jump instructions
  28. would change.  Or does the 80386 have additional memory relocation?
  29. How does QuarterDeck's OPTIMIZE program work?  Please don't say it works well,
  30. I KNOW it works well, I've been playing with it, I can see that it works, but
  31. don't know what it's doing or how it does it.  Well, I do know what its doing,
  32. it's modifying CONFIG.SYS to free up more RAM in the lower 640K region.
  33. Why does DOS have a 640Kbyte limit?
  34. Why would anybody ever want to use expanded RAM if extended RAM is available?
  35. If I have a "C" program which runs properly under VMS, but needs, say, 3 Mbytes
  36. of RAM to store all its data structures, what is the best way to run it under
  37. DOS?  Under Windows?
  38.  
  39. Sincerely yours
  40.  
  41.  
  42.  
  43. Jeff Silverman, Boeing.
  44.  
  45.  
  46.  
  47.  
  48.