Lua On Fx-9860
Posted 12 May 2010 - 01:08 PM
I'm a french programmer on Algebra FX 2.00.
I'm programming a lua interpretor on Algebra FX 2.00, and it works very fine:
-it is faster than MLC
-each fonction that MLC has, lua has.
-we use floatting point and can calc sqrt, pow, exp,... (we use float)
-it can be as fast than C
-lua is very easy to learn
Some people on the Fx-9860's community would like this interpretor to be programming for Fx-9860.
But it needs a good level in programming, and no Fx-9860's french programmer hve time to do it.
Would someone like to programm this interpretor on Fx-9860 ? (So Fx-9860 and algebra would have a common interpretor and Fx-9860's programms would work on algebra)
I could help the one who would programm it and give my source code.
In lua for Algebra fx2, we can use greys, or whiteandblack, many things.....
- Viliami likes this
Posted 15 July 2010 - 10:21 AM
Now, the Lua on AFX s fast finished. It is 2 time faster than MLC. (and is better than MLC)
A French version is here: http://www.planet-ca...casio.php?cat=3
When I would finished it, I would translate the documentation in english.
I'm making with an other programmer a mario in Lua, and it is fast like the one I maked in C.
Does Nobody want to make it on Fx-9860 ?
Posted 19 July 2010 - 01:46 PM
How big is the platform dependent part of the code ?
Does Nobody want to make it on Fx-9860 ?
Posted 19 July 2010 - 05:54 PM
Some file are changed (the precompiler, the opcodes)
In french (I will soon traduct in english), I explain which files need to be taken from my sources.
And You have to rewrite the functions for the calculator: read a key, draw a sprite, ....
Posted 21 July 2010 - 09:20 AM
I miss some structure of the sources - some directory with shared sources (of LUA) then header file(s) with platform independent interface for platform dependent routines. Then extra directory for each supported platform ( sources with implementation of platform specific functions ).
Then it would be easy to take one platform as a template and implement 9860 support.
Posted 22 July 2010 - 07:57 AM
Thus I include exactly my directory for someone who would like to compile Lua on Algebra fx2
For the fx-9860's programmer, these directories have no interrest.
I made for the fx-9860's programmer this directory "\AuxdÃ©vellopeurs\interpreteur-g85\" which contain the files that this programmer need for his project (but I missed 3 other files which don't need to be modified, but need to be taken)
The official Lua source is platform independent, the fx-9860's programmer should start from it and take some of the files I modified (I added opcodes to speed up Lua)
I can't nowadays traduct in english the directory "\AuxdÃ©vellopeurs\interpreteur-g85" but In few days I will do it
Posted 28 July 2010 - 06:26 PM
Posted 23 August 2010 - 09:12 PM
I'm a new member.
I have a fx-9860g and I make scripts for it. I've noticed that the applications have the extension .G1A:
How can I create a file with this extension? I'm interested on applications programming because I want to create a CAS with Diferentiation, Integration and Limits Calculation. I'm sure that it's too difficult, but I want to know the basics topics to do it.
Posted 30 August 2010 - 06:54 AM
The comment is in French and English.
Posted 30 August 2010 - 09:31 AM
From what I can read (I can speak French as well), it will be a pretty straightforward porting to 9860-series calculator.
I'm currently occupied with my own FormsFX SDK development. I'll give it a try later this week as soon as my first beta release of FormsFX SDK is finished.
Posted 31 August 2010 - 07:08 AM
Maybe a programmer could do these functions:
Scrolling in grey mode (you'll need learn asm for fx-9860)
Print grey sprites bytes per bytes instead of bit per bit (it is faster to draw a bytes per bytes sprites)
Posted 12 April 2011 - 05:39 PM
Posted 15 April 2011 - 12:39 PM
Edited by mfischer, 15 April 2011 - 02:14 PM.
Posted 29 May 2011 - 10:30 AM
The result will be entirely compatible with the one on algebra fx2.
If you want to help, you can help writing some functions like the scrolling functions in grey mode.
Posted 30 May 2011 - 10:51 PM
I can do lua (kind of, i used it for web design), and i can probably get better at it if it is made for something portable(like a calc). thank you for starting this, veb!
BTW: do you have an estimated BETA release date?
Edited by mfischer, 31 May 2011 - 02:17 AM.
Posted 31 May 2011 - 03:35 PM
First I must make the two lua core the same ( the two calc don't have the same architecture). That's done, but I want to test a new core patch before saying this part is finished.
When the two core will be finalized ( it could be in a week or a month) , we'll begin to code the librairy for fx9860 (and exept for the scrollings functions, I think this part will not be difficult)
So the first beta release should be in one or two months. Be patient!
We'll have also to make an english documentation, because the one who had to traduce it didn't do it.
Posted 31 May 2011 - 03:56 PM
Posted 02 June 2011 - 01:33 PM
Posted 08 June 2011 - 04:21 PM
Posted 09 June 2011 - 12:04 AM
Posted 29 June 2011 - 08:48 AM
Most monochrome functions have been coded and most non-graphics functions are done.
We can execute a lua file from the SD card or the storage memory.
The execution speed has been normalised to been globaly like on AFX, but this part will require some work more.
The core isn't totally finished, but it is functional.
Posted 29 June 2011 - 12:47 PM
I hope my bombarding you with ideas isn't annoying, but I thought that it would be nice if you could somehow let us access the internal clock on the calculator (for timing things)--if you're were not already going to do that anyway, of course.
Posted 30 June 2011 - 02:56 PM
But it could be possible to give the hour, the seconds, ...
Posted 30 June 2011 - 03:37 PM
You know, something like gettime.
Also, will it support sprites?
And what exactly are scrolling grayscales?
I know I must sound like a total newb...
Posted 06 July 2011 - 07:22 AM
Veb, me and Eiyeron are programming the Lua.
As veb as said, we are trying to find the bugs with the gray, that comes maybe from SDK's emulator.
You can find the official topics ( in french ) here.
We actually use the gray motor, that you can find here.
If you want to contact me: louloux.
PS: I don't go so often on this english site
Edited by louloux, 06 July 2011 - 08:02 AM.
Posted 06 July 2011 - 11:28 AM
Posted 07 July 2011 - 05:26 PM
However the international version is not so good...
But if you speak a bit french, you can go immediately !
Posted 10 July 2011 - 04:16 PM
Posted 18 July 2011 - 11:01 AM
I'm Eiyeron. I'm from too PlanÃ¨te-Casio!
I support the LuAFX/LuaFX project since his begins. I'm the fisrt Lua for calc programmer, and I do my best to help the Lua developpment. Here is a video (like outdated!) of the first original LuAFX Game: 4-power [Here]
The project is in beta. But to get synchonous speed on fx-9860/AFX, i must benchmarking.
But, we can now launch many games!
The LuaFX project (for fx-9860) will be the same lua port as LuAFX (AFX). That means LuaFX will support sprites, 5-grayscale mode as his dark blue twin.
I've tried to port MonochomeLib (a VERY good graphic library for PierrotLL) to support the Lua's gray system, but i dunno if tha works... :/
Possessing a G35+ modded to a G75, i've found many bugs, like gray timers, that must be different, contrast bug (darkiest possible :/), and unsupport of the SD menu... So i'm making some function who detects the calculator model.
I must work! Do you want to help makin' benchmarks?
(pardon my english)
Posted 20 July 2011 - 12:54 PM
Posted 24 August 2011 - 02:23 PM
Also, you mentioned "5-scale gray mode". would this include transperency?
Posted 26 August 2011 - 05:17 PM
Only the Algebra fx has a true dark gray, the others have instead a succession of middle gray and black pixels.
I have some issues with the gray, because the sdk seems to bug. Sometimes it works, and sometimes not (and for a week it doesn't work now)
You'll be able to use images and sprites in gray mode.
If someone wants to help, what I currently need is a function that return a pointer on the begining of a file in ram (where you can begin to write). I know it is possible, because a program on this website, a password reader, can acceed and change the password of such a file.
That will allow to port the latest librairy to fx-9860, the one that allow to read and write from files in ram (to store data, save, ... very fast)
Posted 26 August 2011 - 05:52 PM
Posted 30 August 2011 - 02:01 PM
Posted 02 September 2011 - 05:23 PM
Edited by louloux, 02 September 2011 - 05:24 PM.
Posted 03 September 2011 - 12:26 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users