Posté le 30/04/2017 11:08
Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 252 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
Citer : Posté le 10/11/2019 14:39 | #
@CaptainLuigi: Tu veux avoir plus de possibilités et quitter les restrictions du Basic en gardant une certaine simplicité de programmation ? Apprends le python
En gardant à l'esprit que le Python de Casio est plus lent que C.Basic, et qu'on peut pas dire qu'il soit optimal pour faire des jeux.
Citer : Posté le 10/11/2019 14:39 | #
Oui c'est sur, mais je fonde de nombreux espoirs sur l'arrivée du module graphique de Casio sur python
-Planétarium 2
Citer : Posté le 10/11/2019 16:09 | #
@Sentaro21 , is there any commands that list files ?
Synthwave/Musique électro 80s sur ma chaine Youtube
Jouez à Mario sans arrêt sur votre Casio !
Piano Casio
Micro GIMP
Citer : Posté le 10/11/2019 16:32 | #
38 times faster on CG-50!!!
Citer : Posté le 10/11/2019 17:52 | #
Maybe i'm going to create a new game with C.Basic (Maybe Evocalc ????).
That's really seem useful, i will make some test
Citer : Posté le 10/11/2019 17:53 | #
Ooooh did I just read Evocalc ? :o
Citer : Posté le 10/11/2019 17:53 | #
Tu as teasé Evocalc Massena, c'est trop tard pour reculer maintenant.
Citer : Posté le 10/11/2019 18:07 | #
Holy shit.
Citer : Posté le 11/11/2019 02:32 | #
Thank you everyone!
@Captainluigi
Wildcard "*" can be used as an argument for IsExist command.
The result is returned to Mat Ans.
IsExist("*.g1m")
Mat Ans->Mat A
For 1->I To RowSize(A)
Disp $Mat A[I]
Next
How to display character string in [SHIFT]+[F2] matrix display.
After selecting the matrix, press [VARS] to change to the character string display.
[OPTN] changes to the simple graphic editor.
@Disperseur
@Kikoodx
CASIO's official Python is for educational purposes, but C.Basic does not have that limitation.
However adding the graphics module for Python is interesting.
I hope that it won't be a very slow implementation like Basic Casio.
@Massena
In C.Basic, the memory capacity is increased and more faster while maintaining compatibility with Basic Casio.
I expect your new C.Basic application.
@Palpatine_78
Using C.Basic specific features will make it even faster.
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.
Citer : Posté le 11/11/2019 07:08 | #
Dear Sentaro, the Casio forum seems to have a problem so I answer here.
I tried the new version with the improved editing. It does not work fully.
If I change something, exit the program and edit it again, the cursor position is restored.
If I exit the editor and run EXE the cursor position is lost and I get the first line first position.
If I stop a running (and perhaps erroneous program), I enter the debugger first. Here I get the position where I stopped the program (which is correct). When I exit the debugger I expect to come to the cursor position where I left the editor last. This is the last place I changed something and the most probable place to change further.
~
I hope it is acceptable that I write in English here. My French is very rusty.
Citer : Posté le 11/11/2019 07:38 | #
Sorry, maybe I misinterpreted the specification.
The current specification is that the cursor position returns to the beginning after program execution.
It means that it is better to return to the previous place always?
I will fix it.
Ajouté le 11/11/2019 à 08:50 :
Fix completed.
Even after the program is executed, the cursor returns to the previous position.
2.34 beta for Graph 35+USB/35+EII/75/85/95 (SD)
https://pm.matrix.jp/CB/CBASIC234beta.zip (re-uploaded)
1.34 beta for CG10/20/50/Graph90+E.
https://pm.matrix.jp/CB/CBASICCG134beta.zip (re-uploaded)
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.
Citer : Posté le 11/11/2019 09:25 | #
Yes, sure. The help and fun are for everyone!
Citer : Posté le 11/11/2019 09:31 | #
That was fast!
Much better now, thank you.
Citer : Posté le 11/11/2019 09:33 | #
@Captainluigi
Wildcard "*" can be used as an argument for IsExist command.
The result is returned to Mat Ans.
' listing file list
IsExist("*.g1m")
Mat Ans->Mat A
For 1->I To RowSize(A)
Disp $Mat A
Next
How to display character string in [SHIFT]+[F2] matrix display.
After selecting the matrix, press [VARS] to change to the character string display.
[OPTN] changes to the simple graphic editor.
Thanks a lot
Synthwave/Musique électro 80s sur ma chaine Youtube
Jouez à Mario sans arrêt sur votre Casio !
Piano Casio
Micro GIMP
Citer : Posté le 11/11/2019 09:48 | #
I don't understand very well...
The _BMP() function can have in input a .bmp file or it must have in input a matrix ?
Citer : Posté le 11/11/2019 10:39 | #
@Massena
The _Bmp command provides the same functionality as ML_bmp of MonochromeLib.
https://wiki.planet-casio.com/fr/MonochromeLib
[[60,126,251,253,253,255,126,60]]->Mat B.B
Screen.G
_ClrVram
_Rectangle 1,11,12,42,0,(-)1,1
_Bmp8 &Mat B,3,13,O
_Bmp8 &Mat B,3,23,A
_Bmp8 &Mat B,3,33,X
_Bmp8 &Mat B,15,13,O,C
_Bmp8 &Mat B,15,23,A,C
_Bmp8 &Mat B,15,33,X,C
PutDispDD
If you use a BMP file, load it into the matrix with the BmpLoad command.
Please refer to sample program of C.Basic_sample\BMP in zip.
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.
Citer : Posté le 11/11/2019 10:41 | #
Ok, thanks !
Ajouté le 11/11/2019 à 10:54 :
Can I make a suggestion ?
I think a function to import List from the main storage may be very useful, because sometimes we can't initialize List directly in the app (Like with Picross, because data is stocked in List transmitted with the programm)
Citer : Posté le 11/11/2019 11:56 | # |
Fichier joint
Thanks for your suggestion.
List data can be initialized by a program.
What Basic Casio was unable to do due to program size limitations,
C.Basic is possible because of the large storage.
{3,4,5,6,7}->List 2
Or it is a method with another data.
I tried to work Picross in C.Basic.
Converted List data to CSV file by 35+EII.
LLOADA.g1m is a program that inputs it to the C.Basic List.
[Fichier joint] PicrossCB.zip
After transferring the entire folder to storage memory,
After running LLOADA.g1m, Run -PICROSS.g1m.
ClrList
ClrMat
'#_Str __<r>_,5,1000
For 1->F To 6
ClrMat <r>
"FILE"+ToStr(F)+".CSV"->Str 1
Locate 1,1,Str 1+" "
If IsExist(Str 1)
File F
Load(Str 1)->Str 2
StrLen(Str 2)->L
1->S
1->N
1->P
Do
'_Locate _11,1,N
StrSrc(Str 2,StrChar(13),P)->S
StrMid(Str 2,P,S-P)+","->Str 3
1->Q
For 1->I To 6
StrSrc(Str 3,",",Q)->T
If T>Q
StrMid(Str 3,Q,T-Q)->Str 4
Exp(Str 4)->List I[N]
Else
IfEnd
T+1->Q
Next
S+1->P
N+1->N
LpWhile S<L
IfEnd
Next
"Done"
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.
Citer : Posté le 11/11/2019 12:49 | #
Thanks
I'm going to look at the programm.
Citer : Posté le 11/11/2019 13:51 | #
@Sentaro21 , i am one big user of file commands, and i found one very creepy bug that corrupt a bit the files ( I have one 1-week old version of C.basic , I don't think that's why I have this bug
So if I save any file loaded or created with C.Basic , the save add one byte at the end of the file , and I can't open this saved file in : for example : Edit , CasioPython , it says that's one binary file.
Any fix to this ?
( Because it corrupts all copied file with my Unix Calbian port ( mv , cp , touch commands )
Synthwave/Musique électro 80s sur ma chaine Youtube
Jouez à Mario sans arrêt sur votre Casio !
Piano Casio
Micro GIMP
Citer : Posté le 11/11/2019 13:52 | #
It is well-known that Bfile_WriteFile() must never be called with an odd number of bytes as parameter. This could be an instance of this problem.