🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #2658

Re: Parallel output on TDS2 for the PC

#2658
From: Link_-_APO
Date: Sat, 29 Apr 1989 03:06
22 lines
1129 bytes
One way to solve your problem is to create a multiplexor. As the name implied,
the multiplexor will "ALT"ternate between two or more input screen channels 
and writes the output to the "real" screen channel one at a time. This 
prevents processes from overriding data to the screen channel.

You can write the multiplexor using the ALT construct,such as,

   SEQ
     WHILE continue
       PRI ALT
         quit ? any
           SEQ
             continue :=FALSE
         ALT i=0 FOR n
           ... process input screen channels

Or you could use the scrstream.multiplexor PROC from INMOS-TDS by including:
"#USE interf" statement in your occam program.

Ahn Nuzen
Link Flight Simulation 
link_apo@cup.portal.com
Technical Details
Message-ID: <17727@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!portal!cup.portal.com!Link_-_APO
References: <1989Apr27.120625.5348@csuchico.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!portal!cup.portal.com!Link_-_APO
From: Link_-_APO@cup.portal.com
Newsgroups: comp.sys.transputer
Subject: Re: Parallel output on TDS2 for the PC
Message-ID: <17727@cup.portal.com>
Date: 29 Apr 89 03:06:07 GMT
References: <1989Apr27.120625.5348@csuchico.uucp>
Organization: The Portal System (TM)
Lines: 22