Overview
- Object ID : 4926 (2025-01-04 20:04:21)
- Author : Chip Gracey
- Content : Code
- Microcontroller : Propeller 2
- Languages : PASM2, SPIN2
- Category : Tool
- Licence : MIT
- Tags : p2, Parallax, Pasm2
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:
https://github.com/parallaxinc/P2_PNut_Public
PNut_v47 adds cooperative multitasking to Spin2.
- TASKSPIN(task,method({parameters}),stack_address)
- TASKNEXT()
- TASKSTOP(task)
- TASKHALT(task)
- TASKCONT(task)
- TASKCHK(task)
- TASKID()
Note: The PNut_v47.zip file has been updated on 2024.12.08 to fix a bug in the TASKHALT/TASKCONT instruction that was causing a stack overflow.
Note: The PNut_v47.zip file has been updated on 2024.12.09 to add binary file loading.
Note: The PNut_v47.zip file has been updated on 2025.01.03 to fix a bug that caused one long below a task's stack to be overwritten when that task returned.
Note: The PNut_v47.zip file has been updated on 2025.01.04 to fix a bug that caused TASKSPIN to not return a value when used as an expression term.