[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configurer question



Hi all,

I am just getting some real occam programming running, both on Gavin Crate’s Transputer Emulator and on a real B008 with four TRAMs. Here’s a question for anyone who used (or helped create) occonf back in the day:

The single Transputer mode (/T for icollect) requires that a free memory buffer be declared, e.g. as in

PROC simple (CHAN OF SP fs, ts, []INT memory)
  . . .
:

See 12.3.1 in the toolset manual part 1. But I cannot find any way to declare a free memory buffer in the configurer (Chapter 5 of toolset manual part 1) software section.

Are these completely incompatible? It would be nice to have the host Transputer (the one with lots of memory) be able to use its extra memory especially when communicating with the host PC. On the other hand, I know there is a problem due to the fact that the configurer allows more than one virtual processor on a real processor, and they cannot all grab for the free memory. Still, it does not seem like that big a deal to impose such a restriction at configuration time, if only one virtual processor accesses the free memory, since the total memsize is given in the network description.

I hunted through the examples in the toolset, and could not find one that both used a configuration file and used free memory.

Larry Dickson