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