Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!cmcl2!nrl-cmf!ames!pasteur!ucbvax!NSS.CS.UCL.AC.UK!MALENT%finabo.earn From: MALENT%finabo.earn@NSS.CS.UCL.AC.UK Newsgroups: comp.sys.transputer Subject: Problems loading transputer networks ..... Message-ID: <8808170650.AA23442@uk.ac.ox.prg> Date: 17 Aug 88 14:50:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 37 Hello, I hope someone could help I am developing Occam programs under D700C (beta 2 release) and I have some interesting problems running my Occam programs. When I load a network of Transputers (T212 or T800) the programs run randomly and I get a lot of error-flags set. When I use the network debugger to see what went wrong, the instructionpointer is way out of bounds. This is true for every processor but the first in the network. I did a lot of work trying to figure out what was wrong with my program, and I also tried to run small simple programs but they acted the same way. Only the first processor was running ok, all others acted randomly. When I studied the program I noticed that the entry point of the program was different for the first processor, it was higher. The memory map for every processor in the network is obtained by running the Config-Info utility. That was also what it supposed to be according to "Software Tools", chapter 6 "Loading transputer networks" (minimum code load point). The I tried to include a dummy BYTE arry, so big that all processors had the same entry point. And suprise, suprise it worked. Funny (?). Now, when I fixed the bug in the program, it put me to wonder WHY. Is it the compiler, linker or loader ?????? Is there anyone who could give an answer. Thanks Tor-E Malen