home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / advocacy / 10934 < prev    next >
Encoding:
Internet Message Format  |  1992-12-25  |  2.2 KB

  1. Xref: sparky comp.os.os2.advocacy:10934 comp.os.ms-windows.advocacy:3424
  2. Newsgroups: comp.os.os2.advocacy,comp.os.ms-windows.advocacy
  3. Path: sparky!uunet!grebyn!daily!richk
  4. From: richk@grebyn.com (Richard Krehbiel)
  5. Subject: How programs get DPMI memory (was Re: FCC (sic))
  6. In-Reply-To: linstee@dutecaj.et.tudelft.nl's message of Fri, 25 Dec 1992 18:17:32 GMT
  7. Message-ID: <1992Dec25.210652.29221@grebyn.com>
  8. Lines: 25
  9. Sender: richk@grebyn.com (Richard Krehbiel)
  10. Organization: Grebyn Timesharing
  11. References: <1992Dec24.203801.7799@donau.et.tudelft.nl>
  12.     <1992Dec24.222133.10992@tc.cornell.edu>
  13.     <1992Dec25.102400.13417@donau.et.tudelft.nl>
  14.     <1992Dec25.163338.29576@tc.cornell.edu>
  15.     <1992Dec25.181732.15997@donau.et.tudelft.nl>
  16. Date: Fri, 25 Dec 1992 21:06:52 GMT
  17.  
  18. In article <1992Dec25.181732.15997@donau.et.tudelft.nl> linstee@dutecaj.et.tudelft.nl (Erik van Linstee) writes:
  19.  
  20. >   >How about the 640k limit and how to overcome it ? Need not the 
  21. >   >programmer know about extended/expanded memory, DPMI/VCPI interfaces ?
  22. >
  23. >   The 640k limit is of no concern. When you write an app. and you
  24. >   need memory, you request it and check if you got it. You do not
  25.  
  26. Programmers must be painfully aware of the memory managers that serve
  27. them.  (Ask someone who programs Windows.)  With software standards
  28. like EMS, XMS, and DPMI, the memory the program gets comes from a
  29. place as foreign to his memory map as blocks from disk.  This means
  30. that, unless the program so instructs the memory manager, he may not
  31. be able to address that memory.  It's not automatic.
  32.  
  33. >   No, a programmer needn't know about DPMI/VCPI interfaces. If he
  34. >   wants memory, he requests it, he does not generally care where it
  35. >   comes from. The DPMI/VCPI interface should be hidden from him,
  36. >   unless of course he is writing his own memory management, but
  37. >   I can't think of a reason why an application should need that.
  38.  
  39. What DOS programming language or environment allows a program to wade
  40. about in EMS/XMS/DPMI in the same way as conventional memory, without
  41. any special knowledge or treatment?  Only high-level, interpreted
  42. languages, as far as I know.
  43. -- 
  44. Richard Krehbiel                                 richk@grebyn.com
  45. OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
  46.