Overview
- Object ID : 4926 (2024-11-24 10:23:23)
- Author : Chip Gracey
- Content : Code
- Microcontroller : Propeller 2
- Languages : PASM2, SPIN2
- Category : Tool
- Licence : MIT
- Tags : p2, Parallax, Pasm2
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.