Need help getting started with Fx9860 SDK
#1
Posted 06 September 2018 - 02:47 PM
Can you program in c++ instead of c? I already know a fair amount of c++. I'd prefer using c++ but c is fine too. From my understanding c is just c++ without OOP. Correct? And what are the benefits of using c instead of c++ for calculator programming?
Are there any other libraries besides fxlib.h that I should know about? Where can I find the docs/references for these libraries? Are there other c/c++ libraries I can use like time.h?
#2
Posted 06 September 2018 - 04:21 PM
I can tell you one thing, unless you're really burning on doing it, don't.
The IDE is pretty horrible and a friend of mine had some bad experiences with it.
But if you do want to go through it, then I can tell you, I think it's C only, and yeah, C is pretty much C++ without OOP as far as I know.
I can't tell you anything about the libraries however :/
#3
Posted 06 September 2018 - 07:19 PM
You can program in Renesas SuperH assembly (http://www.shared-pt...m/sh_insns.html), c and c++.
Only library that I can think of right now is the MonochromeLib, and the Basics for C links covers that
Here is a good site, just use google translate on chrome:
Basics for C: https://www.planet-c...et.php?id=14992
C++: https://www.planet-c...SDK-et-C .html
Assembly: https://www.planet-c...eur-SuperH.html
Edited by GodOfCows, 06 September 2018 - 07:20 PM.
#4
Posted 06 September 2018 - 10:44 PM
I can tell you one thing, unless you're really burning on doing it, don't.
The IDE is pretty horrible and a friend of mine had some bad experiences with it.
But if you do want to go through it, then I can tell you, I think it's C only, and yeah, C is pretty much C++ without OOP as far as I know.
I can't tell you anything about the libraries however :/
Emex, what ide should I use instead of the SDK? I assume you can use any since you are just coding, but how would I test the code without uploading to my calculator every time?
#5
Posted 08 September 2018 - 07:38 PM
Don't think I can provide you a solution for that, and I also don't think that there is an easy to find solution :/
I'd call programming for this calc pretty much dead. Barely anyone is interested in it, at least as far as I know.
#6
Posted 10 September 2018 - 12:35 PM
My ideal solution would be to use binutils, compiled for sh3-elf target. I provided a link to my compiled version for windows here: https://drive.google...cd6?usp=sharing. To compile C++ programs, you will have to compile gcc for yourself though (I have no time to do that right now).
I would also recommend using it with https://sourceforge..../revolution-fx/, which contains both a tool for adding the .G1A header to your binaries and a great library for hardware functions.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users