Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!gec-rl-hrc.co.UK!denis
From: denis@gec-rl-hrc.co.UK (denis)
Newsgroups: comp.sys.transputer
Subject: Block move to/from single location
Message-ID: <8807051431.aa11371@lemon.gec-rl-hrc.co.uk>
Date: 5 Jul 88 13:48:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 23

Is it possible to use the T800 block move to transfer several
words/bytes to/from a single location (which is actually a peripheral
register) using a block move with a destination stride of 0? I want to
copy a block of 32' words from RAM to a 32' register in some external
hardware. Can I do a move2dinit, move2dall with the following
parameters?

	source address		= address of block in RAM
	destination address	= address of hardware register
	width in bytes of row	= 4
	number of rows		= number of words to write
	source stride		= 4
	destination stride	= 0

I would also like to be able to read the register several times and
store the results in a block in RAM. How can I do these things from
occam? The MOVE2D routine in the occam implementation manual seems to
use the strides of its argument arrays. Do I have to use GUY code
inserts?
========================================================================
Denis Howe                              uunet!mcvax!ukc!gec-rl-hrc!denis
G15  GEC Hirst Research Centre          denis@uk.co.gec-rl-hrc
East La. Wembley  MDDX  HA9 7PP  UK     +44 (1) 908 9220
=======================================================================