From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,66f49942fe4ebfe8 X-Google-Attributes: gid1164f8,public From: Dan.Pop@mail.cern.ch (Dan Pop) Subject: Re: Equivalent of MS C's 'inp' Date: 1995/08/14 Message-ID: #1/1 X-Deja-AN: 108138280 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: ues5.cern.ch references: <40muee$a1n@holodeck.iss.nus.sg> organization: CERN European Lab for Particle Physics newsgroups: comp.sys.dec In <40muee$a1n@holodeck.iss.nus.sg> jitleng@iss.nus.sg (Jit Leng - PSA) writes: >I have a DT2859 card which could be plugged on a ISA bus of a PC. >The 'Channel Select Register' is the only register on the board. I >could use Microsoft C function 'inp( channel, 0x2e3);' running under >to write on the register. You misspelled "outp". >Now I want to use this card on the AlphaStation and plugging it on the >ISA slot. > >My question is what is the equivalent of the above MS C >function in DEC Digital UNIX? Do I have to go into writing device >driver stuff? Yes. On a multiuser system, you don't want Joe User to reprogram the 'Channel Select Register' anytime he wants, do you? Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland