Jump to content



Photo
- - - - -

Need help getting started with Fx9860 SDK


  • Please log in to reply
5 replies to this topic

#1 tnt84268

tnt84268

    Casio Fan

  • Members
  • PipPip
  • 32 posts
  • Gender:Male
  • Location:The Universe

  • Calculators:
    fx-9750gii (ver 2.04)

Posted 06 September 2018 - 02:47 PM

I just got the SDK and have a few questions about it. I'll just list them.

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 (*)

(*)

    Casio Addict

  • Members
  • PipPipPip
  • 51 posts
  • Gender:Not Telling

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 GodOfCows

GodOfCows

    Casio Addict

  • Members
  • PipPipPip
  • 79 posts
  • Gender:Male

  • Calculators:
    fx-9860gii, fx-9750gii, TI-92, TI-89, TI-83 Plus

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 tnt84268

tnt84268

    Casio Fan

  • Members
  • PipPip
  • 32 posts
  • Gender:Male
  • Location:The Universe

  • Calculators:
    fx-9750gii (ver 2.04)

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 (*)

(*)

    Casio Addict

  • Members
  • PipPipPip
  • 51 posts
  • Gender:Not Telling

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 TBit

TBit

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:Germany
  • Interests:C/C++, Assembly, Demoscene

  • Calculators:
    FX-9860 GII
    FX-9750 GII
    ClassPad 330 PLUS

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