parisse wrote:

I compile on a linux box (debian 9)


Which SDK are you using? The official CASIO SDK runs on Windows, did you create your own gcc-toolchain with a gcc crosscompiler, linker script, libc, etc?

Is there any C/C++ source of KhiCAS that runs on linux?
I'd like to adapt it to a different platform (Linux/arm PDA).

Thanks
KhiCAS is a variant of xcas layered on top of giac.
What's your PDA model ?
the PDA is Linux/arm-v5, but I am going to move to arm-v6

Which SDK are you using? The official CASIO SDK runs on Windows, did you create your own gcc-toolchain with a gcc crosscompiler, linker script, libc, etc?
I'm indeed cross-compiling using gcc for sh3 in a linux box (https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/sh3eb-elf.tar.gz). If you want to port giac to a PDA, it should be much easier than on the Casio, because you have no memory constraints and probably access to a gcc-toolchain with newlib.
Just got my Casio fx-CG50 and installed Khicas but I have a question:
Where can I find samples of the correct use of all commands? The version I have (1.5.0) only has this in the help
<command>(args)
But cant figure it out the type or number of arguments. After some trial and error I found (for example) that logb has two arguments and only after a couple of tries I understood the order they had to be inputted Sad

Thanx in advance
xcas' online documentation should be your safest source of information, assuming it's up to date Smile

On the fx-CG50 platform, Bernard Parisse had to cut down significantly on features for the program to fit in the maximum executable size of 2 MB.
Lionel Debroux wrote:
xcas' online documentation should be your safest source of information, assuming it's up to date Smile

On the fx-CG50 platform, Bernard Parisse had to cut down significantly on features for the program to fit in the maximum executable size of 2 MB.


Thank you!
I asked for help through the comments on a youtube video and the channel owner gave me an answer:

"Here is some information in english : https://www-fourier.ujf-grenoble.fr/~parisse/giac.html
Reference card : https://www-fourier.ujf-grenoble.fr/~parisse/giac/troussesurvie_en.pdf"

Here is the link to the video if anyone is interested. He shows how to solve a bunch of problems with the Casio fg-CG50 and khiCAS (it's in french but you can use subtitles + autotranslate)
https://www.youtube.com/watch?v=wykeOAVYMFI&t=131s
KhiCAS killed my FX-9750GIII. I tried to calculate integral(ln(x),x). It took a really long time, so I took out the batteries to stop the calculation (I had done this before and it worked perfectly fine). This time it killed my calculator and it will not turn on. Otherwise really great software.
maxbear1234 wrote:
KhiCAS killed my FX-9750GIII.
0x5 it isn't bricked. Sounds like the program just crashed. Have you tried using the reset button on the back of the calculator?
TheLastMillennial wrote:
maxbear1234 wrote:
KhiCAS killed my FX-9750GIII.
0x5 it isn't bricked. Sounds like the program just crashed. Have you tried using the reset button on the back of the calculator?


My calculator won't turn on, even if I do the reset button, replace the batteries with new ones, or do the RESET+F2+4+AC for 4 seconds followed by F2+4+AC for 4 seconds, followed by 9 for a second, and finally multiply for a second. It worked fine until immediately after the incident originally described. It's my fault though, I should have just waited for it to error out, instead of removing the batteries. But I would recommend that no one else use reset or take out the batteries during a long computation that you would like to cancel.
A beta version of a major revision of KhiCAS for the FXCG50 is available for download.

Main features changes:
* includes a 3d rendering engine that supports 3d geometry objects (point, lines, planes, spheres, polyhedrons) and 2 variable functions. (Not limited to 3 objects)
* includes a MicroPython interpreter. More modules than Casio implementation: arit (integer arithmetic), cas (caseval command), linalg/numpy (linear algebra), graphic (pixel graphic module with point, line, polygons, circle/arc, including filled polygons and filled circle). Improved script editing: middle size font, parenthese match, syntax highlighting, including in the shell
* CAS: 2d and 3d analytic geometry commands now included
* CAS: upgrade most components from giac-1.5 to giac-1.7. Adds for example inequation plot support

Main technical changes:
* the new addin is now in two parts, and therefore not limited to 2M of code. Current code is about 4M.
* the RAM available for computation has been raised from about 128K to about 800K.
These improvements have a drawback: the binaries for the emulator are not the same as for the calculator.

Since I do not own a FXCG50, I do not know if it works really (I just checked on a Graph 90), let me know.
Calculator links: https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/khicas50.g3a and https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/khicas50.ac2
Emulator links: https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/emucas50.g3a and https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/khicas50.882
Thank you - I was over optimistic perhaps and tested on fx-cg20 and it did crash after confirmation about lower than expected OS version. I will try to test on fx-cg50 by Tuesday. Thanks again
Runs without any problems so far on fx-cg50. Thank you very much
I had been using KhiCASen for the last couple of months and it is just amazing how stable it is. I think the last release (31.1.) is so stable (I didn't noticed any major bugs) that you should upload it onto the Download section of this site, so more peolpe will find it (and use it).
I wrote a guide for my classmates how to add CAS (khicasen) functionality to the fx-CG 50. I recommended there also the installation of Eigenmath, because sometimes Eigenmath is more easy to use (for students), because it doesn't have all that functions that khicas have. I found two versions of Eigenmath for the fx-CG 50:
https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/eigenmath_memmgr.g3a
https://tiplanet.org/forum/archives_voir.php?id=1559596
In my guide, I chose the first link. My question is to @parisse, is there any difference between these two versions? And could you please also add it into the Download section as Eigenmath for fx-CG 50, because the original version doesn't work and it confused me a lot in my first attempt to run Eigenmath. Also an icon that matches more with the fx-CG 50's Menu design (like that on khicas) would be also pretty nice, because that black icon looks pretty alien on a white menu.
I have updated Eigenmath colors, it should be better but it's not nice because I'm not familiar with gimp. If you want better colors, please edit the following files
https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/selected.png
https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/unselected.png
and I'll update again.
Hmm, I am also not very experienced with GIMP. I just found a template to create an icon easily, but I am still struggeling with the task to get the Eigenmath icon transparent. :-/
I used https://github.com/gbl08ma/eigenmath/blob/master/unselected.bmp .
The template is there: https://www.planet-casio.com/storage/forums/fxcg50-icon-templates-183801.zip
Is there anyone that have the experience to do that easily (and probably better than me)?

@parisse What I also miss, is an Interface for Eigenmath like that on khicas. I saw a port of Eigenmath by nemhardy for a earlier calculator model. If you are able to do something similar to that, I think Eigenmath would be even more great. Or you put Eigenmath as an "Application" into your new khicas50 version, I tested it and it works well, but the 3D-Graph plotter is a bit slow. But I really appreciate it, that you develop this tool further to be even more greater than the "classic" khicas. Wink
On the Casio fx-CG50 AU, the storage space is only 4.5MB, so it is quite hard to fit a 4MB addin along with everything else.
Would you have the latest stable version before it was split into 2 parts available for download?
@dr-carlos: I keep a 2M version of KhiCAS for those who do not have enough storage or have incompatible calculators, like the fxcg10 and 20. The latest release includes some bugfixes and one main enhancement: there is more memory available thanks to the gint memory allocator by Lephenixnoir. The 2M addin will not change much, I'll make only important bug fixes if they fit in the remaining room.
Link is unchanged https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/khicasen.g3a

@thebetterClassPad: I don't plan to improve myself Eigenmath's UI, sorry, it's not my CAS and it's already hard to maintain all UI of Giac/Xcas/KhiCAS. Moreover debugging on the Casio is much harder than on Numworks, TI Nspire CX or HP Prime.
I do not plan to include Eigenmath inside KhiCAS UI like I did for MicroPython, if one can access a full-featured CAS, why use a limited CAS? For me the main interest of Eigenmath is that it does not require much ressources, and it runs on old monochrome Casio that do not have enough ressources to run KhiCAS.
If you think the menu of KhiCAS has too many options for beginners, it would perhaps be a better idea to have a beginner menu and add a beginner/normal user choice in the setup.
The 3d plotter is indeed slow, the processor of the Casio is clearly slower than on the Numworks, the Nspire CX II or HP Prime. Maybe Casio will improve the speed in future models! I really hope they will, because currently the Casio are the best calculators for open development.
parisse wrote:
@dr-carlos: I keep a 2M version of KhiCAS for those who do not have enough storage or have incompatible calculators, like the fxcg10 and 20. The latest release includes some bugfixes and one main enhancement: there is more memory available thanks to the gint memory allocator by Lephenixnoir. The 2M addin will not change much, I'll make only important bug fixes if they fit in the remaining room.
Link is unchanged https://www-fourier.univ-grenoble-alpes.fr/~parisse/casio/khicasen.g3a

Thank you!
@parisse, I uploaded a 1st try of an icon for eigenmath on google drive.

https://drive.google.com/drive/folders/1jBpEynKheaA-D6USEIG72agG4rIsUpnh?usp=sharing

Let me now what you think about it.

I think, I will do later a better icon and propably also one for Khicas, but this will take some time because I am not experienced in Gimp at all.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 3 of 4
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement