🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1797

How to access physical memory addresses

#1797
From: Mike Thompson
Date: Mon, 09 Nov 1992 16:50
15 lines
1209 bytes
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.
Technical Details
Message-ID: <1992Nov9.165015.24602@msc.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!caen!batcomputer!lynx@msc.cornell.edu!tommy

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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