Newsgroups: comp.sys.transputer
From: andyr@wizzy.com (Andy Rabagliati)
Subject: Re: CHAN vs. PORT
Organization: W.Z.I.
Date: 9 Nov 1994 01:11:35 -0600
Message-ID: <m0r54kk-0002mQC@wizzy.com>

In article <189@autro1.UUCP>, Oyvind Teig <teig@autro1.UUCP> wrote:
>OCCAM CHAN vs. PORT
>
>Questions below concern memory mapped I/O only:
>Q1.  CHAN and PORT - What is the difference?

These are very different.

PORT is a PLACEd variable, with a different syntax.

It has the syntax of a channel, to emphasise its volatile nature.


>Q2.  Which do I use if I want to access memory mapped I/O?

PORT.

>Q3.  Which do I use if I later on want to make a simulator for the I/O?

A high priority process that is always ready to do I/O.

>Q4.  How do I access memory mapped registers on a UART?

[16]PORT OF BYTE.


Cheers,       Andy!

[ apologies if this is a repost - Sigh ]

--
What Godzilla said to God when his name                       andyr@wizzy.com
wasn't found in the Book of Life. (American Music Club)     W.Z.I. Consulting

