PropBASIC Library Examples?
davidsaunders
Posts: 1,559
Other than the VGA, and TV I am looking for some good examples of PropBASIC Libraries.
I have attempted to modularize the PropBASIC version of my 3D Printer software a few times with out any luck, and would like to be able to do this. Using one huge file is getting out of hand for the source.
I have attempted to modularize the PropBASIC version of my 3D Printer software a few times with out any luck, and would like to be able to do this. Using one huge file is getting out of hand for the source.
Comments
http://obex.parallax.com/object/709
and a RFID Library:
http://obex.parallax.com/object/680
I remember a while back, you said you prefered SPIN. Have you taken all the various IDEs for a test drive? I am wondering which one you use.
,, ,,
Jon,
Nice list.
Do you think they are worthy of an OBEX submission? I believe there is still a selection for PropBasic or maybe "Other" to submit to the OBEX. Just a zip with all files so they will be available without bother you for them in the future.
I do. It's an incredibly elegant, modern language (unlike C which annoys me to no end) that was designed for the Propeller. Everything else has to be crowbarred in.
For the moment I'm sticking with Propeller Tool. That said, I'm testing and providing feedback on PropellerIDE. Ultimately, that is where I will land.
The modules work, but I don't want to be bothered providing my application examples, nor with dealing with ObEx.
I understand Jon.
It definitely appears that way
I glanced at the PropellerIDE this morning and I suppose that is what prompted my question. Hopefully it will turn out to be a nice tool for SPIN development. Additionally, I hope Parallax keeps pushing forward to improve all the various useful IDEs. It is always nice to have options.
You don't have to hope -- it will turn out well. Steve got that project off to a great start and now Brett is continuing its development for long term use for Parallax processors. It will be the IDE of choice very soon.
That would be good to see, also given this on the latest PropellerIDE
[" This is a major step in increasing coverage of the Language definition format, the structural change that will allow PropBASIC to be supported as just another IDE language."]
Jon;
I'm quite interested in this IDE as it provides that convenient "always on" terminal for debugging, and am just wondering is there some place where we can see the comments or changes being proposed?
One of the shortcomings that I see is the lack of hex addresses when hovering the mouse over a label. In addition to the address, the hex and decimal values of any instruction line or constant would be very convenient. Of course the F8 memory dump in the PropellerTool is also a very useful feature.
Looking forward to the new-and-improved, whenever it comes out.
Cheers,
Peter (pjv)
If you are aware of any good Object Pascal compiler for modern RISC OS, that is able to compile PropBASIC I would definitely be interested. Or even a Object Pascal to C translator that produces code that can be compiled with Norcroft C (the main C Compiler for RISC OS), or even with GCC 4.7.1 (I have it on my RISC OS install).
I do thank you for the input though.
For the recent thread on the RaspPi 2 tests and screenshot see
http://forums.parallax.com/showthread.php/160718-Propeller-Chip-Raspberry-Pi-2-Interfacing-With-Free-Pascal-amp-Lazarus?highlight=Lazarus
Yes, that runs FPC (the compiler) which then builds Lazarus (the IDE & libraries) and the whole thing Lazarus/FPC then runs on a Pi2 with tolerable performance, by the reports.
That means a PropBASIC hosted on Pi2, should be (relatively) simple.
I was using Linux for the Propeller, though decided even that to be less productive than worthwhile. Now I am attempting to port OpenSpin, and the Propeller Loader to RISC OS, though that is to be a slow process.
I have the FTDI module installed in my RISC OS system, and am looking at the loader to see what I need to do on that end.
For the compiler, perhaps if I could find the very old thread that describes the spin byte code implementation I could just whip something up in BBC BASIC V (complete with a good WIMP front end). I am also thinking about possibly just whiping up a simple ARM assembly based Propeller Loader, though I am not sure about that yet, and it would require digging up another thread that describes the method that the serial protocal is abused to load the Propeller.
As stated I am targetting RISC OS, which for my use is a better OS (and not much older, though the OS itself is more uptodate than Linux ). For some people Linux fits better, do to there usage (dirrectory seperators '/' that make it easier to integrate the FS into a network enviroment, Protected memory so that you can not do anything cool with the OS, etc, etc), for me as a simple desktop user and programmer RISC OS fits a lot better.
To change up a bit:
Do you know if PropBASIC will run with HXDOS? HXDOS is a 32-BIT PE loader and HDMI for DOS that will run a large number of Win32 command line Programs in DOS, and add FastDOSBox for RISC OS to that and you have a working enviroment .