I think I am going to like RCU. I was envious that you guys were playing with it so I used the docs and the 0s20 folder's traphandler example of RCU build to mod my standard compile to generate RCU format. I saw that all the info for entry point and staticlink are in the 0x48 byte header so I built a little code to prefix to load the static link and entry point as needed. 

Results in zip are the compile bat, the map of the code I generated, the rom.rcu generated and the rom.bin that is rom_head.bin+rom.rcu. You should be able to move the rom.bin to anywhere in RAM and execute by calling to the first byte in my header code. Should be able to do multiple entry points with a little more thought in the prefix header code.

oh, the entry point is the 'main' routine in the code, for the example here I moved main to the end of the code to show that the header info is enough to locate that as the entry point.

This would be a good format to use for puff--eliminates the need for the dummy call, especially if those mods that disaster showed us for the way to build call to puff are good. 
Attached Files 

		

	COMPILE_rcu1.zip (6.7 KB, 4 views)	
jvvh mar.25.2008 .2:00pm