PNut/Spin2 Latest Version

This is PNut_v46, which is the Parallax ongoing work-in-progress Spin2/PASM2 development tool.
Share this object
<

Overview

Content

PNut_v46 has minor enhancements after v45 introduced improved data structures and pointer variables.

  • DEBUG gating is added. Constant DEBUG_MASK defines 32 bits which can be used to gate DEBUG commands via DEBUG[MaskBitNumber]{(parameters...)}
  • DEBUG disabling is added. If constant DEBUG_DISABLE is defined as non-0, all DEBUGs will be ignored in that file.
  • Automatic prepending of the clock-setter program for PASM-only programs can now be inhibited by defining _AUTOCLK as 0.
  • VAR blocks can now switch type declarations on each line: VAR BYTE a,b,c, WORD d,e,f, LONG g,h,i
  • New DEBUG command C_Z will output the states of the C and Z flags, such as "C=0 Z=1".

Note: The PNut_v46.zip file has been updated on 2024.11.21 to fix a bug in the DEBUG PC_MOUSE command that was introduced when adding the new DEBUG C_Z command.

Note: The PNut_v46.zip file has been updated again on 2024.11.24 to fix a bug in the interpreter which was introduced in v45. The interpreter would crash whenever FIELD was executed.


Downloads  
Zip archive download

Leave a Reply