totalspectrum / spin2cpp

Tool to convert Parallax Propeller Spin code to PASM, C++ or C
Other
46 stars 17 forks source link

Add support for interactive debug (untested) #413

Closed Wuerfel21 closed 1 year ago

Wuerfel21 commented 1 year ago

Seems to have not broken regular debug prints and spews out some nonsense when running into a brk #0.

Also, we were missing the COGBRK instruction, which has the same opcode as GETBRK but without WC/WZ. Inexplicably, we seem to be missing errors for encoding impossible instructions, will open an issue for that.

Wuerfel21 commented 1 year ago

Have you tested it a bit more? There may be some usage conflict with the RX pin like there was with TX. I carried forward the TX fix, but the new version also FLTLs the RX pin there. Not sure if that's all ok.