home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9353 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.7 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!sbsvax!coli-gate.coli.uni-sb.de!sbustd!chbl
  2. From: chbl@sbustd.rz.uni-sb.de (Christian Blum)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: using expanded memory
  5. Message-ID: <1992Sep14.173510.21630@coli.uni-sb.de>
  6. Date: 14 Sep 92 17:35:10 GMT
  7. References: <110860002@acf3.NYU.EDU>
  8. Sender: news@coli.uni-sb.de (Usenet news system)
  9. Organization: Studenten-Mail, Rechenzentrum Universitaet des Saarlandes
  10. Lines: 26
  11.  
  12. reznick@acf3.NYU.EDU (Daniel Reznick) writes:
  13. > I am interested in utilizing XMS and EMS memory in programs being
  14. > developed with BC++ 3.1, written in assembly and C (the plain vanilla
  15. > version).  If any one can give me and pointers to good references,
  16. > otimally with code examples, I would be most appreciative.  Either
  17. > assember or C would be fine.  Also, does the memory model begin used
  18. > affect this at all? (im sure it does somewhat..) thanks.
  19.  
  20. Best source of information is Ralf Brown's famous interrupt list.
  21. It is available from several BBSs.
  22.  
  23. XMS is accessed by a FAR call to an address that is given to you
  24. by an INT 21h call (dunno which, look it up). There are several
  25. functions to allocate XMS memory and copy data from lower 1meg
  26. address space to XMS and vice versa.
  27.  
  28. EMS can be accessed via several calls to INT 67h (hope that's correct...)
  29. and normal read/write operations to a 64k window in lower 1meg address
  30. space.
  31.  
  32. --
  33. ---------------------------------------------------------------------
  34. Christian Blum                   Universitaet des Saarlandes, Germany
  35. Friedrich-Ebert-Str. 50          chbl@stud.uni-sb.de
  36. W-6685 Heiligenwald              chbl@sbustd.rz.uni-sb.de
  37. Germany                          Tel (+49) (0) 6821 67476
  38.