Got Propeller Tool working under Linux
Oldbitcollector (Jeff)
Posts: 8,091
I know, I know.. I've got BST too, but I wanted to see if I could make this work.
It does. Here's what I did to get Propeller Tool working under linux. (Linux Mint)
End result is that I have the best of both worlds working on my machine now.
OBC
It does. Here's what I did to get Propeller Tool working under linux. (Linux Mint)
- Installed Oracle VM Virtual Box with an XP image.
- Connected COM1 Port Mode: Host Device to /dev/ttyUSB0
End result is that I have the best of both worlds working on my machine now.
OBC
Comments
Got a dozen Linux VMs for testing. Want to add a Windows XP VM soon. Wish I could put MacOSX on it too.
It cannot find a serial port with wine, until you use a .reg file I found somewhere in this forum. A serial console doesn't work with Wine without this hack, too.
Still, this don't work everytime; from time to time it cannot upload a program to a Propeller.
Propeller serial console works with Wine and this .reg file even when Propeller Tools cannot find a Propeller.
Consider using Lazarus as programming tool when making new Propeller Tool for Propeller 2. It can compile the same source code for Win, Lin and Mac and even Android. Write once, compile everywhere. BST is made with it.
Getting the propeller tool to work in an xp VM with virtualbox wasn't a big deal. I couldn't get it to work under wine though. I forget the show stopping problem I ran into. If memory serves it involved getting it to recognize the prop.
Perhaps Crossover :
http://www.codeweavers.com/products/
would be an option. I have used it to run Internet Explorer on a Mac....worked well.
--tom
I agree that getting a native and supported development tool for spin and pasm that runs on Linux is important. I don't think that wine requires a windows license. I do know that end users don't need one. :-) I just wish I could get the prop tool to work with wine. I can get it to install and start but it won't communicate with the prop. :-(
Pascal is nice but the new crossplatform Propeller Tool is comming along nicely in C++ using the Qt GUI libs. Look for SpinSIDE. The future of tools for Prop I and II is looking very bright.
A new prop tool is in the works?!!???!?!???!!!?? Any idea of when it'll be available?
Consider them as just-in-time porting. There is also Winelib - http://www.winehq.org/docs/winelib-guide/winelib-introduction - for those interested in the more traditional, and controlled, porting method of recompiling with select target bindings.
Tried it and still couldn't get it to work. :-(
So I recommend you use VirtualBox and install a licensed copy of Windows in it (VirtualBox itself does not require a license). I can vouch for the effectiveness of running real Windows programs in a VirtualBox environment. However, if you can use a native Linux version of a program or something similar then give consideration to this option. That's why I use BST and many others do so also but the only problem with BST is that Brad has "disappeared" (BRAD, WHERE ARE YOU! (hope you're okay)) and there is no source code to work with to keep it up-to-date.
Hmm, found this tid-bit http://forums.parallax.com/showthread.php?104577-Proptool-on-linux-under-wine-1st-step&highlight=wine+comport but no actual details ...