From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,f42d47763b0f37bf X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager Newsgroups: comp.sys.dec Subject: Re: troubleshoot vs4000/90 Date: 28 Oct 2010 08:27:58 GMT Message-ID: <8isqgeFi4jU3@mid.individual.net> References: <4cc722f3$0$14473$6bda1f65@news.fne.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net lbjZu8WM6XyBrD9UMMjjSAGnxFjaKlwrfmTl1NLwPmJ0FbvQez Cancel-Lock: sha1:kvPergbAHVoj/EnLO6Z/PAUYZzk= User-Agent: Pan/0.133 (House of Butterflies) Xref: g2news1.google.com comp.sys.dec:2170 On Wed, 27 Oct 2010 21:43:10 -0500, Roger Ivie wrote: > On 2010-10-28, JohnF wrote: >> >> I'm not sure if a C program with something like unsigned char >> *imageaddr = 12345; >> would point to an absolute address or just get relocated at link/run >> time. > > It would point to an absolute address; the problem is that V stands for > virtual. You need to either run on the bare hardware (with the MMU off) > or arrange for a mapping to cover the physical address space you want to > talk to. For VMS, that involves creating a PFN mapping. I'm not sure how > to do it in NetBSD. Not sure of the precise device name, probably /dev/mem . Open it, seek to offset 12345, read. That gets you real memory. -- Use the BIG mirror service in the UK: http://www.mirrorservice.org *lightning protection* - a w_tom conductor