A couple of questions on Open Spin, and Fonts.
davidsaunders
Posts: 1,559
Ok I have been away from programming for the Prop for a while, and thus away from these forums. This is do to the fact that when I switched to the Raspberry Pi for my desktop computers, there was no software available to assemble PASM, or load the propeller.
Now that OpenSpin is available there is a good option. I do have few questions. These have likely been covered before, so sorry about that.
How do you load the final object to the Propeller, when using OpenSpin as a compiler?
Are there any syntax diferences from the Propeller Tool that I should be aware of (it has been long enough that only the Propeller Tool, and BST were good for combined Spin and PASM at the time I switched)?
Is there an easy way to use the RPi version of SimpleIDE with SPIN+PASM? Every time I try to save a spin file from there it says can not find 'simple project'. Why it needs a preexisting SPIN project to save a new one I do not know.
And all of this is running on a Raspberry Pi Model B under Raspbian.
Heater helped point me to SimpleIDE and OpenSpin over on the Raspberry Pi forums. So thank you Heater.
Now that OpenSpin is available there is a good option. I do have few questions. These have likely been covered before, so sorry about that.
How do you load the final object to the Propeller, when using OpenSpin as a compiler?
Are there any syntax diferences from the Propeller Tool that I should be aware of (it has been long enough that only the Propeller Tool, and BST were good for combined Spin and PASM at the time I switched)?
Is there an easy way to use the RPi version of SimpleIDE with SPIN+PASM? Every time I try to save a spin file from there it says can not find 'simple project'. Why it needs a preexisting SPIN project to save a new one I do not know.
And all of this is running on a Raspberry Pi Model B under Raspbian.
Heater helped point me to SimpleIDE and OpenSpin over on the Raspberry Pi forums. So thank you Heater.
Comments
Also where to get the Propeller font for Linux, and how to install it for use in a text editor.
I believe there's an RPi version of PropellerIDE which is a Spin / PASM compiler that works much like the Propeller Tool without a .side file.
Though I already tried that, when attempting to create a new project, even if the .spin file already exists it says something like missing simple side project. So I have yet to figure out how to successfully create a SPIN/PASM project in simpleIDE. It will create a C or C++ project with no trouble at all, though not a SPIN project (and yes I make sure to select SPIN as the language).
PropellerIDE will not run on Raspbian with out adding qt5, I have PropellerIDE installed on my RPi, and I have no intention of adding qt5-dev and all of its dependencies to get it to work.
I can always use a different text editor and use the command line tools. Hence the question about OpenSpin syntax and what tool to use to load the Propeller using a standard FTDI USB serial interface (like the Prop Plug or the on board FTDI on the Propeller Proto Board USB).
I am still learning the command line on OpenSpin (this is the first day I have had it).
Though what command line tool is installed with SimpleIDE for loading the Prop after compiling with OpenSpin?
I think I heard that OpenSpin recently got some preprocessor support "#define" etc like BST.
Thank you very much. Now I guess I will have to make a symlink in the /usr/bin directory to allow for execution with out the path to the executable.
Thank you for that.
I am glad to know that there is a good open source Spin and PASM compiler that is sure to be 100% compatible with the Prop Tool.
I don't normally set sym links. Rather just add /opt/parallax/bin to your PATH. Then all the programs in there are available.
So where can I find the font, and how do I install it into my Raspbian system?
Else a site:parallax.com google search will probably find it.
Personally I find other fonts less ugly on my machines.
Though when it comes to longer commands I do set symlinks, because it saves typing and fits more on the 80 column screen. Like I made that symlink named proploader, and openspin is symlinked to ospinc.
You can put these into your logon script, and can move it from machine to machine easily.
Symlinks into your path won't always work properly due to things changing / updating. In the case of something like gcc, you may also find you need a lot of links for the other programs, and or a path to insure it can see data it needs to.
Path additions can go into your logon script too. If you use more than one user account, adding them somewhere else may make sense.
Between those two, you can largely ignore the work done behind the scenes. This makes adding new software and dependencies much easier as the OS and maintainer will preserve the basics, to which you then add on for your personal preferences / needs.
Depending on how you are getting to your terminal, you might want more than 80 columns!
http://elinux.org/RPi_Defining_Default_Terminal_Size
Get a nice, clear, 10 point monospace font, widen up that terminal, whittle down your commands to little nubs with aliases, and you may find it a much improved, lower hassle experience.:)
If I could port everything to RISC OS with out issue I would, though much of it has so many dependencies that it is impractical.
And if I use a Unix like system (like Linux, or BSD), I do not rely on a known shell, not all shells are compatible, thus breaking compatibility of scripts (including the login script, that some Unixons do not even support).
I do thank you for your input though. Thank you.