Forums Casio - Projets de programmation

Index du Forum > Projets de programmation > C.Basic Projets
Sentaro21
Hors ligne
Membre
Points: 129
Défis: 0
Message
Posté le 30/04/2017 11:08

C.Basic Projets :

Hello, everyone.

I am Sentaro21, and I am developing C.Basic, a Basic interpreter that allows high-speed execution of Basic programs while maintaining compatibility with genuine Casio Basic.

Here is an English site, by Krtyski, about the C.Basic project (I helped him with the translation, but it's still unfinished) :
https://egadget2.web.fc2.com/CBasic/Interpreter/CBasic_interpreter.html

The articles and various programs from this site served as a reference to evaluate the compatibility level of C.Basic. Results were not good every time I tested them, but compatibility increased over time.

These programs have been ported experimentally. Many thanks to their authors.

Block Tower (C.Basic version)
https://pm.matrix.jp/CB/CB_BlockTower.zip

Sudoku (C.Basic version)
https://pm.matrix.jp/CB/CB_Sudoku.zip

Maze Generator (C.Basic version)
https://pm.matrix.jp/CB/CB_Mazegene.zip

Graph 3D (C.Basic version)
https://pm.matrix.jp/CB/CB_Graph3D.zip

Tokitori (C.Basic version 3/6/2017)
https://pm.matrix.jp/CB/CB_Tokitori.zip

Here are examples of programs that reach near-C performance :

BallGame (C.Basic version)
https://pm.matrix.jp/CB/CB_BallGame.zip

Asprin (C.Basic version)
https://pm.matrix.jp/CB/CB_Aspirin.zip


The C.Basic project is still yet to be completed, thus I would like to get your feedback.

This is the latest beta version of C.Basic 1.84beta for Graph 35+USB/75/85/95 (SD) : https://pm.matrix.jp/CB/CBASIC184beta.zip (updated 21/10/2018)

This is the latest alpha version of C.Basic for Graph90+E/fx-CG10/20/50:
https://pm.matrix.jp/CB/CBASICCG058.zip (updated 21/10/2018)

Currently C.Basic exists thanks to this site.
Thank you very much.



Sentaro21
Hors ligne
Membre
Points: 129
Défis: 0
Message
Dernier message de la page précédente :Posté le 04/10/2018 08:26 |
It is an error by Serial_ReadOneByte of SysCall.
but its detail is not well known.
It may be a bit error on the cables, but my program may be wrong.
I'm not familiar with the serial communication.
If there is a solution, I want to know it.
Is there any information regarding this?



Pages: Précédente | 1, 2, 3, 4

Lephenixnoir
En ligne
Administrateur
Points: 12532
Défis: 136
Message
Citer : Posté le 04/10/2018 15:53 | #
I don't know of any bug about the serial syscalls, maybe @Dark Storm is more familiar?

Given that his transfer utility can handle files as large as the storage memory, he may have seen this issue.

Also, you may be able to silently resend the message or restart the communication in case of error.
----------------------------------
Rise.
Sentaro21
Hors ligne
Membre
Points: 129
Défis: 0
Message
Citer : Posté le 05/10/2018 10:23 | #
Thanks

I changed serial command routine that cleared a serial buffer by the end of executed command.
As a result, the error seemed to disappear.

new updated version 1.83beta
https://pm.matrix.jp/CB/CBASIC183beta.zip

The CG version supported serial command, too.
https://pm.matrix.jp/CB/CBASICCG057.zip
Lephenixnoir
En ligne
Administrateur
Points: 12532
Défis: 136
Message
Citer : Posté le 05/10/2018 19:07 | #
Amazing, good job! Did you try this out, @Lightmare?
----------------------------------
Rise.
Redeyes
Hors ligne
Membre
Points: 220
Défis: 1
Message
Citer : Posté le 06/10/2018 12:45 | #
Hi Sentaro21!
I'm really surprised by the efficiency of C.Basic, and I would like to congratulate you very much for the work that you've done!
I regret not knowing enough about it, but I want to support you and encourage you for the next of the project. Really, that's amazing!!

I hope to have the opportunity to use it in my projects, I feel that I will not regret it!
----------------------------------
Be perseverant in all that you undertake, and get stronger everytime... Shining hope
Sentaro21
Hors ligne
Membre
Points: 129
Défis: 0
Message
Citer : Posté le 07/10/2018 08:24 | #
Hi Lephenixnoir
The error was not given for the moment,
but I can't feel safe yet.
Thanks.


Hi Redeyes
Thanks very much for your supporting.
Time passes after the beginning of development of C.Basic,
but I'm sorry that the information of how to use C.Basic is insufficient.

I will be glad if you use it.
Feel free to contact me with any questions.

Ajouté le 10/10/2018 à 10:29 :
Some new bug was found thanks to the triconcours.
Here is new updated version.
https://pm.matrix.jp/CB/CBASIC184beta.zip
-Reduced check of [AC] key in the executing loop.
As a result, Break On and Break Off became the about the same speed.
(SH3 ) about 10% faster than previous version.
(SH4A) about 2~3% faster than previous version.

-Fixed automatic guaranteed of List[].
-Fixed the expression of Y(grapf)/fn with argument.
(false) "X+5"->fn1
return value of fn1(7) is (X+5)*7.
(true) "X+5"->fn1
return value of fn1(7) is (7+5).


for fx-CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG058.zip

Ajouté le 11/10/2018 à 08:43 :
for fx-CG10/20/50/Graph90+E.
-Fixed Screen.OT bug that transfer error bottom of 2 line.

Ajouté le 16/10/2018 à 14:22 :
A enbug was found in BmpSave,
I updated 0.58 again.

-Fixed jump bug of editor that might not jump at the bottom end.
-Fixed BmpSave bug that enbug in 0.57.
-Optimized _Hscroll/_Vscroll (50% up)

Ajouté le 21/10/2018 à 12:26 :
Here is newly supported fx-9860G Slim now.
C.Basic was able to support all 9860G series.
https://pm.matrix.jp/CB/CBASIC185beta.zip

Pages: Précédente | 1, 2, 3, 4

Index du Forum > Projets de programmation > C.Basic Projets

Planète Casio v42 © créé par Neuronix et Muelsaco 2004 - 2018 | Il y a 39 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire indépendant, géré bénévolement et n'est donc pas affilié à Casio | Toute reproduction de Planète Casio, même partielle, est interdite
Les fichiers, programmes et autres publications présents sur Planète Casio restent la propriété de leurs auteurs respectifs et peuvent être soumis à des licences ou des copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd