Hi I've tried to use pPropellerSim and it sort of works but I don't know how to use it.
I have written my two line C-code and two line .spin/pasm code and compiled it with SimpleIDE (so gcc AFAIU).
In pPropellerSim I use "Open Propeller Tool Binary..." command and the code loads (at least I think it does) into the HUB memory.
I hit RUN or single step and COG 0 starts to spin (pun intended) but I never see my code C code launching anything to COG 1.
As I understand it Propeller launches a spin interpreter in COG 0 when it boots and that is supposed to run the spin code from hub which then launches or runs the compile C code (details not clear yet) and something in this chain is not working for me.
Any help would be highly appreciated.
Here is my code in blink.c:
extern int binary_blinkasm_dat_start;
and in blinkasm.spin:
huuhaa long $deadbeef