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