• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Direct memory access

How do you access memory address $c100 directly using D3?
I could do it with D1 thus...
myselector:=allocselector(DSEG);
setselectorbase(myselector,$c1000);
setselctorlimit(myselector,$ffff);

I could then read/write as...

mydata:= mem[myselector:offset]

0
timwilliams
Asked:
timwilliams
  • 2
1 Solution
 
timwilliamsAuthor Commented:
Edited text of question
0
 
timwilliamsAuthor Commented:
Thanks everyone!
0
 
ronit051397Commented:
see answer on:
http://developers.href.com/ARTICLE::waArticle.114348

"...You cannot directly access physical memory in Win95/WinNT 32bit mode. You
                   will need a device driver that will access the memory for you and provide
                   the hook through the Windows API to gain acess. For an example of this,
                   check out http://www.bluewater.com..."

the correct address is:
http://www.bluewatersystems.com
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now