home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6296 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!caen!batcomputer!lynx@msc.cornell.edu!tommy
  3. From: tommy@msc.cornell.edu (Mike Thompson)
  4. Subject: How to access physical memory addresses
  5. Message-ID: <1992Nov9.165015.24602@msc.cornell.edu>
  6. Sender: news@msc.cornell.edu
  7. Organization: Cornell-Materials-Science-Center
  8. Date: Mon, 9 Nov 1992 16:50:15 GMT
  9. Lines: 15
  10.  
  11. I unfortunately bought a digitial I/O board which memory maps the chips rather
  12. than mapping them to I/O ports.  Consequently, I need to create a pointer to
  13. a specific physical memory address.
  14.  
  15. Need:     Create a pointer to physical memory location 0x0CD400.
  16. Compiler: MSC 6.1 (also curious how to do with IBM CSET/2)
  17.  
  18. Does anyone know how to create a pointer to a physical address in MSC 6.1.
  19. There is the MAKEP(seg,adr) function, but do I suspect the seg is a logical
  20. segment rather than a physical segment.  Also, how do I tell the operating
  21. system to let me bash away at low memory from my protected mode program.  Is
  22. there an equivalent of config.sys command and .def specification for port
  23. access?
  24.  
  25. Thanks.  e-mail replies to tommy@msc.cornell.edu or post to this group.
  26.