home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.advocacy:10968 comp.os.ms-windows.advocacy:3443
- Path: sparky!uunet!ogicse!sequent!muncher.sequent.com!furballs
- From: furballs@sequent.com (Paul Penrod)
- Newsgroups: comp.os.os2.advocacy,comp.os.ms-windows.advocacy
- Subject: Re: How programs get DPMI memory (was Re: FCC (sic))
- Message-ID: <1992Dec27.044609.9716@sequent.com>
- Date: 27 Dec 92 04:46:09 GMT
- Article-I.D.: sequent.1992Dec27.044609.9716
- References: <1992Dec25.163338.29576@tc.cornell.edu> <1992Dec25.181732.15997@donau.et.tudelft.nl> <1992Dec25.210652.29221@grebyn.com>
- Sender: usenet@sequent.com (usenet )
- Organization: Sequent Computer Systems, Inc.
- Lines: 43
- Nntp-Posting-Host: crg8.sequent.com
-
- In article <1992Dec25.210652.29221@grebyn.com> richk@grebyn.com (Richard Krehbiel) writes:
- >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.
- >
-
- That's very true, but products like VMData from PocketSoft, and
- HeapStore, plus Borland's VROOMM overlay manager tend to take the
- bite out of the 640k limit and the learning curve needed to manage
- it.
-
- >> 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.
- >--
- There are at least 2 C libraries I know of, (see above), and there
- may be others out there that allow this non-sense to go on. It's
- not completely transparent, but it does address the issue.
-
-
- --
- --------------------------------------------------------------------
- Bureaucracy: noun, plural - Bureaucracies.
- The process of turning energy into solid waste.
- ---------------------------------------------------------------------
-