From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d2a100b5deab7d49,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,d2a100b5deab7d49,start X-Google-Attributes: gid1164f8,public From: carter@pci.unizh.ch (Rob Carter) Subject: DEC Unix and memory mapped IO Date: 1997/12/17 Message-ID: <678cg0$b9v@rzunews.unizh.ch>#1/1 X-Deja-AN: 298993385 Organization: University of Zurich, Switzerland Newsgroups: comp.unix.osf.osf1,comp.sys.dec Hello All, I have a question concerning memory mapped IO and DEC Unix. I have done some programming under VMS with D/A, A/D cards and parallel interfaces and have used memory mapping using the SYS$CRMPSC system service to create a global mapped section into IO address space and then reading and writing into the registers on the cards. I have done this on VAXen with QBus and also on an Alpha Station 200 running OpenVMS on the ISA bus. Now comes the question. We also have an Alpha Station 200 running Digital Unix. Is it also possible to use the same techniques to access card registers? We have the full DEC OSF/1 documentation set and I have had a look through the Device Driver manuals, but I have not found any examples of how to do this. I have found the documentation on the mmap() function but am not sure if this is the way to proceed. If anyone has done this succesfully I would appreciate any hints they could give. Thanks in advance Rob Carter -- Rob Carter Physical Chemistry Institute Tel: +41-1-63-54486 University of Zuerich E-mail: carter@pci.unizh.ch Switzerland. Reply hazy; come back later.