Forum Casio - Projets de programmation


Index du Forum » Projets de programmation » C.Basic Projets
Sentaro21Hors ligneMembrePoints: 411 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 beta version of C.Basic 1.99.3beta for Graph 35+USB/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC199beta.zip (updated 18/5/2019)

This is the latest alpha version of C.Basic for Graph90+E/fx-CG10/20/50:
https://pm.matrix.jp/CB/CBASICCG085.zip (updated 19/5/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 ... , 7, 8, 9, 10, 11, 12
Shadow15510Hors ligneAdministrateurPoints: 3106 Défis: 15 Message

Citer : Posté le 12/05/2019 09:52 | #


For the polygon, I don't understand, I would like to draw a green polygon, not a transparency polygon…
"Ce n'est pas parce que les chose sont dures que nous ne les faisons pas, c'est parce que nous ne les faisons pas qu'elles sont dures." Sénèque

Moral
   95%
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 12/05/2019 10:13 | # | Fichier joint


@Shadow15510
Oh,sorry!
It is simple if there is no rotation.
Green _FillPolygon &Mat X,&Mat Y,vertices

Matrices can also be LIST.
Green _FillPolygon &List 1,&List 2,vertices


This is _FillPolygon sample program using one colors.
[Fichier joint]ML_Poly1.g3m

_FillPolygn seems to have a bug in the ML library.
It is not good at drawing polygons with many vertices.
It works well if it is less than the square.

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.
Shadow15510Hors ligneAdministrateurPoints: 3106 Défis: 15 Message

Citer : Posté le 12/05/2019 10:17 | #


I use ML my polygon is a trapezium with 4 vertices

Thank you very much !
"Ce n'est pas parce que les chose sont dures que nous ne les faisons pas, c'est parce que nous ne les faisons pas qu'elles sont dures." Sénèque

Moral
   95%
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 12/05/2019 10:23 | #


Ahhhh,very sorry!
Fixed _FillPolygon enbug.
Please download again.
https://pm.matrix.jp/CB/CBASICCG084.zip

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.
Shadow15510Hors ligneAdministrateurPoints: 3106 Défis: 15 Message

Citer : Posté le 12/05/2019 10:25 | #


Yeah ! Thanks a lot !! You save my game !!
"Ce n'est pas parce que les chose sont dures que nous ne les faisons pas, c'est parce que nous ne les faisons pas qu'elles sont dures." Sénèque

Moral
   95%
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 14/05/2019 15:14 | #


Here is new updated version.

for Graph 35+USB/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC199beta.zip
-Fixed the bug that clear display after the Mat and List were paused.

-Changed specification of text conversion of "Disps" command to add [CR][LF] code.
(Previous = compatible with CG series) Disps
(New specification) Disps+[CR]+[LF]

-Added the key combination that easy to move between storage memory and main memory (Main Memory).
[SHIFT]-[F5] to change Strage/SD <-> main memory(Main Memory).
-Added the specification that up to 7 favorite files can be registered separately for storage memory and SD ans main memory (Main Memory).

-Fixed the bug that debug mode is not canceled when break and then edited. (bugs remaining.)

-Added Rotate&Zoom option of _Rectangle/_Polygon command.
(format)_Rectangle x1,y1,x2,y2, border_width, border_color, fill_color[,chance/brend%][,angle][,center_X][,center_Y][,zoom%]
(format)_Polygon *ary_x, *ary_y, vertices, color[,chance/brend%][,angle][,center_X][,center_Y][,zoom%]

If [center_X][center_Y] are omitted, The center of the drawn image is specified.

(example ) see "C.Basic_sample/ML_sample" folder.

-Changed "MCS" notation to "Main Memory".


for Graph90+E/fx-CG10/20/50
https://pm.matrix.jp/CB/CBASICCG085.zip
-Fixed the bug that clear display after the Mat and List were paused.

-Added the specification that up to 7 favorite files can be registered separately for storage memory and Main Memory.

-Changed specification of text conversion of "Disps" command to add [CR][LF] code.
(Previous = compatible with CG series) Disps
(New specification) Disps+[CR]+[LF]

-Fixed the bug that debug mode is not canceled when break and then edited. (bugs remaining.)

-Changed "MCS" notation to "Main Memory".

-Added the key combination that easy to move between storage memory and Main Memory.
[SHIFT]-[F5] to change Strage <-> Main Memory).

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.
DisperseurHors ligneMembrePoints: 1447 Défis: 0 Message

Citer : Posté le 14/05/2019 20:46 | #


@Sentaro: What is the key association that allows you to enter the pressed key number ?
Planetarium

√(2+2-2+2-2+2+2-2-2-2) = 0
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 15/05/2019 13:03 | #


Is that about this?
[SHIFT]-[3]
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.
DisperseurHors ligneMembrePoints: 1447 Défis: 0 Message

Citer : Posté le 15/05/2019 17:47 | #


Yes It's that. Thanks
Planetarium

√(2+2-2+2-2+2+2-2-2-2) = 0
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 16/05/2019 06:31 | #


I'm sorry every time. A bug was found.
This is a fixed update.

1.99.3beta for Graph 35+USB/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC199beta.zip (18/5/2019 updaed)
-Fixed the bug that debug mode is not canceled when break and then edited with Help On.
-Fixed the bug that exiting without go to editor when [AC]break stopping sub-program and press [EXIT](enbug in 1.98)
-Fixed the bug that was unable to switch favorites list when Max Mem Mode was ON.
-Changed specification that the favorites list display from the bottom when move Storage/SD from Main Memory.
-Fixed the bug that variable display after the Mat and List were paused.(enbug in 1.99)

0.85alpha for Graph90+E/fx-CG10/20/50
https://pm.matrix.jp/CB/CBASICCG085.zip (19/5/2019 updaed)
-Fixed the bug that debug mode is not canceled when break and then edited with Help On.
-Fixed the bug that exiting without go to editor when [AC]break stopping sub-program and press [EXIT](enbug in 0.82)
-Fixed the bug that caused a system error due to lack of stack in pop-up display.
-Changed specification that the favorites list display from the bottom when move Storage/SD from Main Memory.
-Fixed the bug that variable display after the Mat and List were paused.(enbug in 0.85)

Ajouté le 19/05/2019 à 02:46 :
Since the bugs still remained, I 'm fixing it.
Please download again.
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.
DisperseurHors ligneMembrePoints: 1447 Défis: 0 Message

Citer : Posté le 19/05/2019 08:48 | #


I'll do that
Planetarium

√(2+2-2+2-2+2+2-2-2-2) = 0
Sentaro21Hors ligneMembrePoints: 411 Défis: 0 Message

Citer : Posté le 19/05/2019 14:24 | #


Thanks
There may still be bugs.
Please report if you find a bug.
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 ... , 7, 8, 9, 10, 11, 12

Planète Casio v42 © créé par Neuronix et Muelsaco 2004 - 2019 | Il y a 39 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