Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Projets de programmation


Index du Forum » Projets de programmation » C.Basic Projets
Sentaro21 Hors ligne Membre Points: 880 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

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

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.47 beta for Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC247beta02.zip (updated 11/12/2023)

This is the latest version of C.BasicCG 1.47 beta for Graph90+E/fx-CG10/20/50:
https://pm.matrix.jp/CB/CBASICCG147beta02.zip (updated 11/12/2023)

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

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


Précédente 1, 2, 3 ··· 10 ··· 20 ··· 30, 31, 32, 33
Sabercat Hors ligne Membre Points: 120 Défis: 0 Message

Citer : Posté le 17/01/2025 22:31 | #


bonjour, est ce que qqn sait ou trouver un tuto complet de cbasic svp
adepte du chat (en binaire)
Dimartino Hors ligne Maître du Puzzle Points: 336 Défis: 2 Message

Citer : Posté le 18/01/2025 19:51 | #


Pour apprendre à coder en C.Basic, il faut déjà commencer par coder en Basic. En soi, C.Basic ne fait "que" rajouter des fonctionnalités au Basic de base. Si tu es assez à l'aise en Basic, tu peux te référer à la documentation officielle pour voir ces fonctionnalités.

Tutoriel Basic Casio : https://www.planet-casio.com/Fr/programmation


Otherwise, any news from the bug ?
Mon projet du moment : Memen'Casio
Sentaro21 Hors ligne Membre Points: 880 Défis: 0 Message

Citer : Posté le 19/01/2025 13:57 | #


Dimartino a écrit :

Create a bmp file that can be displayed using C.Basic. For example I have an A.bmp file.
Then create a program (I called it BUG)
BmpLoad("A.bmp")
PutdispDD
Prog "BUG"



Sorry for the inconvenience caused by the bug.
That program does recursive calls, so that is probably the cause.
Recursive calls are possible in C.Basic, but the error checking was not very good.

For now, please avoid the bug by not doing recursive calls.
or,
Please be careful not to deepen the nesting level of sub-programs.
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.
Sentaro21 Hors ligne Membre Points: 880 Défis: 0 Message

Citer : Posté le 19/01/2025 14:31 | #


@Redcmd

Thanks for the bug report.
We will fix it in the next version.
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.
Dimartino Hors ligne Maître du Puzzle Points: 336 Défis: 2 Message

Citer : Posté le 19/01/2025 14:51 | #


Okay thanks, I'll try to find a way to avoid it !
Mon projet du moment : Memen'Casio
Sabercat Hors ligne Membre Points: 120 Défis: 0 Message

Citer : Posté le 19/01/2025 23:30 | #


qqn pourrait me dire comment utiliser le bmp load car j'ai reussi avec le save svp
adepte du chat (en binaire)
Tuper4 Hors ligne Membre Points: 939 Défis: 19 Message

Citer : Posté le 20/01/2025 12:52 | #


tu pourras trouver l'information que tu veux dans la doc officielle de C.Basic, mais sinon, ca s'emploie comme ca:
BmpLoad("nom_de_image.bmp")→Mat R
ceci va loader l'image dans la matrice R, puis , entre cette ligne:
DrawMat R,x,y,x2,y2
, ceci va dessiner l'image quie se situe dans la matrice R dans les coordonnées x,y (pour x2 et y2, je ne me rappele plus a quoi ca sert). il te manquera plus que rajouter _DispVram pour afficher tout a l'écran. j'espere que ca aidera
When the doorbell rings at three in the morning, it’s never good news. -Anthony Horowitz
Sabercat Hors ligne Membre Points: 120 Défis: 0 Message

Citer : Posté le 20/01/2025 16:57 | #


merci bcp
adepte du chat (en binaire)
Calcloverhk Hors ligne Membre Points: 359 Défis: 10 Message

Citer : Posté le 21/01/2025 19:48 | #


@Redcmd

Thanks for your bug reports! They have been added to the bug tracker

https://git.planet-casio.com/CalcLoverHK/C.Basic/issues/24
https://git.planet-casio.com/CalcLoverHK/C.Basic/issues/25
https://git.planet-casio.com/CalcLoverHK/C.Basic/issues/26

@Dimartino

For some reasons I could not reproduce the system error using your minimal test case on 3 of my mono calculators (fx-9860G Slim, fx-9860GII SD SH3 & SH4A), as all of them raised Stack ERROR when entering the next recursion in the 8th level. The bitmap I used was the sample font file of C.Basic.

Interestingly, I tried it in fx-9860G SDK emulator as well and it raised Stack ERROR in the 16th level. Somehow your calculator can go up to 20 levels. What calculator and C.Basic version are you using right now?
C.Basic Wiki Project progress as of 2024/2/12
   30%


Dimartino Hors ligne Maître du Puzzle Points: 336 Défis: 2 Message

Citer : Posté le 22/01/2025 15:34 | #


The first time I discovered it I was using an old version of C.Basic, I'm sorry, but I can't remeber which. But I also tried on the latest version, and on my calculator, it raised the System Error (v 2.47). I'm using an Casio Graph 35+E II with OS version : 03.50.2250.
Mon projet du moment : Memen'Casio
Précédente 1, 2, 3 ··· 10 ··· 20 ··· 30, 31, 32, 33

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2025 | Il y a 75 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