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
Sentaro21 Hors ligne Membre Points: 862 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.45 beta for Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC245beta20.zip (updated 21/5/2020)

This is the latest version of C.BasicCG 1.45 beta for Graph90+E/fx-CG10/20/50:
https://pm.matrix.jp/CB/CBASICCG145beta20.zip (updated 21/5/2020)

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 ··· 23, 24, 25, 26
Lephenixnoir Hors ligne Administrateur Points: 18201 Défis: 142 Message

Citer : Posté le 20/05/2020 13:01 | #


No problem, I will try and do this update. I will look at the commits on the manual first then come back to you.
Lephenixnoir Hors ligne Administrateur Points: 18201 Défis: 142 Message

Citer : Posté le 21/05/2020 09:19 | # | Fichier joint


Alright, it's done! I have diffed the English manual between the original f78d5585 where you uploaded the first translation of the French manual and the master branch, and updated the French manual to reflect all the changes. Here it is attached. I see that you have added some sections yourself; I have improved the style of these.
Sentaro21 Hors ligne Membre Points: 862 Défis: 0 Message

Citer : Posté le 21/05/2020 12:52 | #


Thank you so much!
I quickly replaced the manual.


Here is new bug fixes version.

2.45 beta build20 for for 9860G/GII series/Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC245beta20.zip
(build20) 2020.5.21
-Improved the French manual.(Many thanks to Lephenixnoir)
(build19) 2020.5.20
-Added fx-9750GIII to the model judgment in System(-1).
 0:fx-9860G(SH3)
1:fx-9860G Slim(SH3)
2:fx-9860GII(SH3)
3:fx-9860GII(SH4A)
4:Graph35+EII(SH4A)
5:fx-9860GIII(SH4A)
6:fx-9750GIII(SH4A)
-The System() command sample program created by Krtyski was updated to the version for fx-9750GIII. (System_sample folder)


1.45 beta build20 for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG145beta20.zip
(build20) 2020.5.21
-Added the Graph90+E to System(-1) command
(format) System(-1)
return to CG10/20/50
return value is 10 : CG10
return value is 20 : CG20
return value is 50 : CG50
return value is 90 : Graph90+E
-The System() command sample program created by Krtyski was updated to the version for Graph90+E. (System_sample folder)


(common update)
(build20) 2020.5.21
-Fixed the bug that the skip cache between If<False>~ElseIf did not work.
-Added new option of System() command to get OS minor version.
(format) System(-22)
(build19) 2020.5.20
-Fixed the bug that [AC]/AcBreak not work after escaping the loop with the Break command from within Try~TryEnd.
-Changed the specification of the ReadGraph/WriteGraph/DotGet/DotPut command that it works on the current VRAM.
-Added V option of the Screen command to change the drawing target VRAM to the retreat area of the text VRAM/graphics VRAM.
(Format) Screen.V
 set to the default VRAM.
(Format) Screen.VT
 Changes the retreat area of the text VRAM to a drawing.
(Format) Screen.VG
 Changes the retreat area of the graphics VRAM to a drawing.
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.
Redcmd Hors ligne Membre Points: 273 Défis: 5 Message

Citer : Posté le 01/06/2020 09:33 | #


What does 1 in PutKey(KEY_CTRL_SHIFT,1); mean?
fx_syscall.h says mode is unknown and 0 just works
RedCMD#4299 - Discord
Mandelbrot SNKEmini Minesweeper Sudoku
Lephenixnoir Hors ligne Administrateur Points: 18201 Défis: 142 Message

Citer : Posté le 01/06/2020 09:42 | #


This has to do with the key buffers. There are at least two, one containing matrix codes (which are pairs of small integers) and one containing GetKey()-compatible key codes (16-bit integers). When 0x910 puts a key code in the second buffer, it still needs to write something to the first one so that GetKeyWait(), which usually only reads the matrix code buffers, knows that something should be read in the GetKey()-compatible buffer. Depending on mode, this is either (-1,-1) or (-2,-2). I don't know the difference, however the "most natural" mode here is 1.

More detail here: https://bible.planet-casio.com/simlo/chm/v20/fx_legacy_keyboard.htm
Sentaro21 Hors ligne Membre Points: 862 Défis: 0 Message

Citer : Posté le 02/06/2020 09:44 | #


@Redcmd
In menus that wait for keystrokes, it may be useful to send the keycode to a buffer.

@Lephenixnoir
Thanks a lot for the accurate help.
It's very helpful.
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.
Redeyes Hors ligne Membre Points: 561 Défis: 7 Message

Citer : Posté le 17/06/2020 17:33 | #


Hello!
I've a question about C.Basic. Can we use a bmp picture as a background in a program?
~Raisonnance...
Massena Hors ligne Rédacteur Points: 1304 Défis: 6 Message

Citer : Posté le 17/06/2020 18:08 | #


I've an another question about bmp, what are the parameters to create a colored bmp on a computer and make it read by the 90+e (I've got a white screen and nothing more while opening the file)
Peace was never an option. - Untitled goose game, 2019
Sentaro21 Hors ligne Membre Points: 862 Défis: 0 Message

Citer : Posté le 18/06/2020 07:14 | #


@Redeyes
Sorry,You can't use BMP directly as a background,
but If you load the BMP and then save it as a Pict in StoPict,
You can use the BG-Pict command.


@Massena
It's probably 32-bit BMP, so please convert it to 16-bit BMP.
C.Basic supports 24-bit,16-bit and 1-bit BMP formats.
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.
Massena Hors ligne Rédacteur Points: 1304 Défis: 6 Message

Citer : Posté le 01/07/2020 13:00 | #


Why have we a limited number of favorites ? I use this tag to keep all of my games under construction in the same place...
Peace was never an option. - Untitled goose game, 2019
Sentaro21 Hors ligne Membre Points: 862 Défis: 0 Message

Citer : Posté le 02/07/2020 08:52 | #


I didn't think it was worth the hassle of scrolling to make it more than one page.
Please try out the search function with direct jumps using the alphabet keys.
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.
Massena Hors ligne Rédacteur Points: 1304 Défis: 6 Message

Citer : Posté le 02/07/2020 09:12 | #


Yes, I deal with it now, but I've more than 50 programs and it's a little bit confusing, for exemple I have 20 programs which starts with "TEST_XXX"
Peace was never an option. - Untitled goose game, 2019
Sentaro21 Hors ligne Membre Points: 862 Défis: 0 Message

Citer : Posté le 03/07/2020 08:39 | #


Okay.
How about renaming the file a bit or splitting it into a different folder?
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.
Massena Hors ligne Rédacteur Points: 1304 Défis: 6 Message

Citer : Posté le 03/07/2020 08:49 | #


Yes, i'm gonna make that.
Thanks !
Peace was never an option. - Untitled goose game, 2019
Captainluigi Hors ligne Membre Points: 744 Défis: 1 Message

Citer : Posté le 04/08/2020 17:27 | #


How can i change the matrix base with a command ( 0 to 1 , reciproquely ) ?
( Because my programs use different bases : bitmap editor to text editor , spoiler )
Les bons artistes copient, les grands artistes volent. Picasso
Jouez à Mario sans arrêt sur votre Casio !
Ma chaine YouTube : Tutodev
Cliquez pour découvrir
Cliquez pour recouvrir
Précédente 1, 2, 3 ··· 10 ··· 20 ··· 23, 24, 25, 26

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
Pour coloriser votre code, cliquez ici.
Sinon cliquez sur le bouton ci-dessous.
: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 v42 © créé par Neuronix et Muelsaco 2004 - 2020 | Il y a 42 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