PNut/Spin2 Latest Version (v50.1)

This is PNut_v50, which is the Parallax ongoing work-in-progress Spin2/PASM2 development tool.

Share this object
<

Overview

Content

Latest PNut Documentation:
https://docs.google.com/document/d/16qVkmA6Co5fUNKJHF6pBfGfDupuRwDtf-wyieh_fbqw/edit

Propeller 2 Silicon Documentation:
https://docs.google.com/document/d/1gn6oaT5Ib7CytvlZHacmrSbVBJsD9t_-kmvjd7nUR6o/edit?usp=sharing

Propeller 2 Assembly Language Instructions:
https://docs.google.com/spreadsheets/d/1_vJk-Ad569UMwgXTKTdfJkHYHpc1rZwxB-DcIiAZNdk/edit?usp=sharing

General Propeller 2 Documentation:
https://www.parallax.com/propeller-2/documentation/

PNut GitHub Repository (not yet updated):
https://github.com/parallaxinc/P2_PNut_Public

PNut_v50 has several new features and fixes a bug introduced in PNut_v49 that caused structure sizes to be wrong. Here's what's new in v50:

  • New DEBUG PLOT commands allowing up to 8 bitmap layers that you can selectively copy into the PLOT window. This is useful for doing photo-realistic displays, where pre-drawn images are copied into the plot window to show, say, a toggle switch being in an ON or OFF position.

  • New DITTO directive for DAT blocks and inline PASM sections, which can iteratively generate code.

  • ORGH is now available for inline PASM code in PUB/PRI methods. ORGH has the same usage syntax as ORG, but executes PASM code in-place from hub memory, without loading it into register space.

  • New @(backslash)"string" method is like @"string", but allows escape characters like (backslash)n (new line, 10) and (backslash)xFF (hexadecimal values).

  • Predefined registers, like PR0, DIRA, OUTA, and INA, can now be used in CON block expressions.

  • PASM DEBUG instructions can now be expressed with a conditional prefix, like 'IF_C DEBUG'. This is accomplished by placing an opposite-condition 'SKIP #1' before the DEBUG (BRK) instruction.

New PNut_v50p1 allows structure longs to act as method pointers. Also, when specifying the number of return parameters for a method pointer, the colon can be followed by a either a CON-STRUCT name for size or a constant (as has been the case).


Downloads  
Zip archive download

Leave a Reply