Seuls les membres ayant 30 points peuvent parler sur le chat.

Forum Casio - Projets de programmation


Index du Forum » Projets de programmation » C.Basic Projets
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

C.Basic Projets

Posté le 30/04/2017 11:08

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

Ice slider (C.Basic version 25/11/2018)
https://pm.matrix.jp/CB/CB_IceSlider.zip
(added Save/Load feature)

Clonelab (C.Basic version 25/11/2018)
https://pm.matrix.jp/CB/CB_Clonlab.zip
(added Save/Load feature)

Arkenstone (C.Basic version 25/11/2018)
https://pm.matrix.jp/CB/CB_Arkenstone.zip
(added Save/Load feature)

Aventura (C.Basic version 25/11/2018)
https://pm.matrix.jp/CB/CB_Aventura.zip
(added Save/Load feature)

Electricity (C.Basic version 10/2/2019)
https://pm.matrix.jp/CB/CB_Electric.zip
(added Save/Load feature)

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 version of C.Basic 2.40 beta for Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC240beta.zip (updated 6/12/2019)

This is the latest version of C.BasicCG 1.40 beta for Graph90+E/fx-CG10/20/50:
https://pm.matrix.jp/CB/CBASICCG140beta.zip (updated 6/12/2019)

C.Basic manuals
https://gitlab.com/sentaro21/cbasic

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


Pages : Précédente1 ... , 17, 18, 19, 20, 21, 22
RedcmdHors ligneMembrePoints: 201 Défis: 5 Message

Citer : Posté le 21/11/2019 09:23 | #


just a single character
RedCMD#4299 - Discord
Mandelbrot SNKEmini Minesweeper Sudoku
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

Citer : Posté le 21/11/2019 09:29 | #


Ok!
I was able to confirm it. Thanks!

Ajouté le 21/11/2019 à 12:11 :
Here is new updated version.

2.38 beta for for 9860G/GII series/Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC238beta.zip
-Fixed the editor bug that the screen is shifted down when pasting on the 6th line when the upper status bar is displayed in the editor.

1.38 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG138beta.zip

--Same update--
-Fixed the bug that the order of files with period characters in the name was reversed.
-Fixed the editor bug that could not be edited when the stored cursor position was after the end of the file.
-Fixed the RclPict bug that full 2KB Pict loading from storage memory.


Ajouté le 29/11/2019 à 08:43 :
Here is new updated version that fixes the remaining bugs.

2.39 beta for for 9860G/GII series/Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC239beta.zip

1.39 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG139beta.zip
-Fixed the bug that the height specification was invalidated by Locate/LocateYX command.

--Same update--
-Fixed the problem that [EXIT] does not cancel the debug mode when the Help function is enabled.
-Fixed a bug when using List as an argument in the DrawGraph command.
-The error message "Withot" has been changed to "w/o".
Je continue à développer C.Basic. (Il est compatible avec Basic Casio.)
Overclocking utilitaire Ftune/Ptune2/Ptune3 est également disponible.
Si vous avez des questions ou un rapport de bogue, n'hésitez pas à me le faire savoir.
KikoodxHors ligneMembrePoints: 1609 Défis: 9 Message

Citer : Posté le 29/11/2019 08:54 | #


Hello!
I want to point out a difference between C.Basic and Basic Casio I noticed during the day I used it.
This code work in Basic Casio but make an error occur in C.Basic (2.38 beta)
"
TEXT"→Str 1

Casio consider than the line break is a part of the string.
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

Citer : Posté le 29/11/2019 09:13 | #


Thanks!
I confirmed it.
I will try to fix it.

Ajouté le 29/11/2019 à 09:41 :
It didn't work if the string was at the beginning of the program.
So I fixed it.
Please re-download 2.39 / 1.39.

Ajouté le 30/11/2019 à 02:18 :
Newly found that there is a problem with the line break and escape in strings.
It will be fixed in the next update.
Je continue à développer C.Basic. (Il est compatible avec Basic Casio.)
Overclocking utilitaire Ftune/Ptune2/Ptune3 est également disponible.
Si vous avez des questions ou un rapport de bogue, n'hésitez pas à me le faire savoir.
CalcloverhkHors ligneMembrePoints: 5 Défis: 0 Message

Citer : Posté le 30/11/2019 23:17 | #


Hi all C.Basic ethusiasts

Thanks to everyone's support, the C.Basic Chinese Help Center are opened up for chatting and updates.
https://www.cncalc.org/thread-24320-1-1.html/
Which means Guide_CN is planned to be included in C.Basic ZIP package.

Cheers
CalcLoverHK
Casio Basic/C.Basic activist.
Started active in calculator programming forums since 9 June 2019 (first in UCF).
A Hong Kong member (student) who have fx-50FHII only but investigated some functions of the high-end Casio calculators. :P
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

Citer : Posté le 01/12/2019 03:59 | #


Thanks @Calcloverhk
I hope it will be used in China.

Here is new fixes & re-updated.
Thanks to @Lephenixnoir for finding the ViewWindow initialization bug.

1.39 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG139beta.zip (re-uploaded)
-Fixed the bug that ViewWindow was not initialized at initial startup.




Je continue à développer C.Basic. (Il est compatible avec Basic Casio.)
Overclocking utilitaire Ftune/Ptune2/Ptune3 est également disponible.
Si vous avez des questions ou un rapport de bogue, n'hésitez pas à me le faire savoir.
LephenixnoirHors ligneAdministrateurPoints: 16421 Défis: 140 Message

Citer : Posté le 01/12/2019 09:53 | #


Ha ha, you really are able to find bug reports at unexpected places. Good to know I have been of some use!

Also Palpatine_78, I hope you update your C.Basic regularly
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

Citer : Posté le 01/12/2019 11:29 | #


The ViewWindow bug was fatal because it would cause an error on initial startup.
That was a really big help.

I'ill continue to look for signs of errors everywhere.
And keep updating.
Je continue à développer C.Basic. (Il est compatible avec Basic Casio.)
Overclocking utilitaire Ftune/Ptune2/Ptune3 est également disponible.
Si vous avez des questions ou un rapport de bogue, n'hésitez pas à me le faire savoir.
LightmareHors ligneMembre de CreativeCalcPoints: 530 Défis: 0 Message

Citer : Posté le 01/12/2019 12:45 | #


hello ! i'm working with the fxCG version of C.Basic, and i don't understand how to precisely use the Transp-Color command. I don't know how to get the 16 bit color ID on a bmp sprite.
42
Sentaro21Hors ligneMembrePoints: 641 Défis: 0 Message

Citer : Posté le 01/12/2019 13:13 | #


After displaying BMP on the screen, you can get the color code by _PixelTest().
Or you can get directly from the bitmap data transferred to Mat.

Related Links
https://www.planet-casio.com/Fr/forums/topic14738-6-c-basic-projets.html#162484


Ajouté le 03/12/2019 à 12:55 :
I'm sorry. Due to the 1.39 update, saving the cursor position in the editor did not work.
Please re-download.
1.39 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG139beta.zip (re-uploaded)

Ajouté le 06/12/2019 à 09:42 :
Here is new updated version.

2.40 beta for for 9860G/GII series/Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC240beta.zip
-Change the specification of editor that the maximam number of stored cursor position has been increased from 7 to 16.

1.40 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG140beta.zip
-Change the specification of editor that the maximam number of stored cursor position has been increased from 16 to 32.

--Same update--
-Changed the specification that the timing of reading a subprogram is not when the program starts but when the Prog command is executed.
As a result, the Prog command with a string variable as an argument is executed without restriction..
-Fixed the bug when escape characters "\" and line break "CR" are included in the string.
-Added specification that "\n" can be used as line break.
-Improved error messages.

-Added the argument of Beep command that List can be used.
(Format) Beep List 1(Hz), List 2(Length)
(Example) {1000,2000,3000}-> List 5
{250,500,250}-? List 7
Beep List 5, List 7

Je continue à développer C.Basic. (Il est compatible avec Basic Casio.)
Overclocking utilitaire Ftune/Ptune2/Ptune3 est également disponible.
Si vous avez des questions ou un rapport de bogue, n'hésitez pas à me le faire savoir.
Pages : Précédente1 ... , 17, 18, 19, 20, 21, 22

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

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd