PASM Beginner question regarding self-modifying code with WRLONG
Alex.Stanfield
Posts: 198
Hi there, I've been trying last night to get a block of longs written back to a SPIN DAT block with no success.
I designed the communication between SPIN and PASM through a DAT block which according to the manual should do Ok (i.e: the same DAT variable gets used by SPIN in hub ram and the copied local versi
I designed the communication between SPIN and PASM through a DAT block which according to the manual should do Ok (i.e: the same DAT variable gets used by SPIN in hub ram and the copied local versi
Comments
Solutions all involve setting cs_ptr from Spin code during initialization or passing the address of the hub ram area in the PAR register when the assembly code is started with COGNEW.
Wow! That was fast! 7 minutes from problem to solution :thumb:
I'll try it tonight. Great thing the forum is around.
Regards, Alex