[comp.sys.transputer] Block move to/from single location

denis@gec-rl-hrc.co.UK (denis) (07/05/88)

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
=======================================================================