C++ with propeller
sov
Posts: 17
hello, I was wondering if there are any good links for teaching people how to use C++ for their propeller chip? thank you!
Comments
Can you be a bit more specific? There is no native C++ compiler for the Propeller (and may never be) but some of the emulation projects you will find in this forum (ZiCog and Zog spring to mind) may eventually allow you execute C++ code in a virtual machine executed on the Propeller.
If instead you mean you want to interact with a Propeller from a C++ program running on a PC, then this would be fairly easy - and you may find someone has already written some C++ components you can use.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Strangely enough I have been tinkering with a system to run C++ code on the Prop using a "virtual machine" interpreter. But its not a lot of use in such small memory space. No objects instantiated on the stack. No objects instantiated in the heap. Basically static objects only, about the same functionality as Spin "objects".
As for C++ on the PC talking to your Prop that is a general C++ query. Except you will want to learn how to talk through serial ports from C++ to your Prop. You may also want to download code to the Prop which means understanding the download protocol. Me, I'd just get my C++ to run BSTL (from BradC's BST programs) to do that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
Pat
There is now a compiler. Look for "SimpleIDE"