a Program completely in PASM.
bteddy
Posts: 65
in Propeller 1
Hello,
Is it possible to write a program completely in PASM, all code, variables, data, directives in the DAT section, nothing in CON, PUB, or PRIZ?
Or, Is some spin required.
Thank you
Is it possible to write a program completely in PASM, all code, variables, data, directives in the DAT section, nothing in CON, PUB, or PRIZ?
Or, Is some spin required.
Thank you
Comments
The bytecode interpreter in the P1's ROM gets started and expects a Spin program' bytecode. This may consist of only starting a PASM cog, but at least this action has to be done in Spin.
This assumes that you only need one cog hence are not passing a "mailbox" address in the third parameter. If that doesn't work you could always try:
I think you need a little spin progam to initialization variables for each PASM cog but after that you can have all eight cogs running PASM code. Use the coginit method to start each cog and remember to start cog 0 last or the code you're running to start the cogs will be clobbered. I have tested this technique and it works.
Sandy