Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Equivalent of MS C's 'inp'
@ 1995-08-14  4:00 Jit Leng - PSA
  1995-08-14  4:00 ` Dan Pop
  0 siblings, 1 reply; 2+ messages in thread
From: Jit Leng - PSA @ 1995-08-14  4:00 UTC (permalink / raw)


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.

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?  

Thank you for any help.


Goh Jit Leng
email : jitleng@iss.nus.sg




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Equivalent of MS C's 'inp'
  1995-08-14  4:00 Equivalent of MS C's 'inp' Jit Leng - PSA
@ 1995-08-14  4:00 ` Dan Pop
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Pop @ 1995-08-14  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-08-14  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-14  4:00 Equivalent of MS C's 'inp' Jit Leng - PSA
1995-08-14  4:00 ` Dan Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox