Version Française English Version Planete-casio.fr
Bienvenue sur la nouvelle version de planete-casio! Laissez vos impressions sur le forum!
Top Cinema par les créateurs de Planete Casio :
Découvrez le classement des meilleurs films et séries sur Top-cinema.com !
Forums Casio - Projets de programmation

Index du Forum | Projets de programmation | Revolution-FX - Programming Library
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 24/07/2007 21:35

Revolution-FX - Programming Library:

I haven't spoken here in a while. I thought I might stop by to update you guys on the Revolution-FX project. Some of you may already know however that EPSILON no longer exists. Revolution-FX is now the open source projects based on EPSILON:
http://sourceforge.net/projects/revolution-fx

Revolution-FX is now at version 0.2.2. New features include graphics plotting, sprite drawing to buffers, extended grayscale engine, user string input, serial communications (possible allowing calc-to-calc gaming), etc.

You can download Revolution-FX for the CASIO fx-9860G/Graph85 SDK here: Revolution-FX Homepage

You can also subscribe to our RSS feeds to always receive the latest updates immediately.

Tell me what you think.

Universal CASIO Forum - http://www.casiocalc.org
smiley



Pages: 1, 2, 3, 4, 5, 6 | Suivante

Pierrotll
Hors ligne
Statut: Membre
Niveau: Confirmé
Points: 1170
Défis: 9
Email | Message
Posté le 24/07/2007 22:14 |
Why all functions of epsilon 0.1 and 0.2 aren't in revolution-fx? I think, by example, of timers functions.
Matronix
Hors ligne
Statut: Admin
Niveau: Elite
Points: 4189
Défis: 67
Email | Message
Posté le 25/07/2007 10:38 |
grayscale works ?

Have you got your .g1a to test this ?
----------------------------------
Avez-vous essayé le solveur de trinômes le plus évolué à ce jour ? Essayer c'est l'adopter !
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 25/07/2007 23:36 | Fichier joint
@Pierrotll: The timer functions were removed because no one was interested in using them.

@Matronix: Look at the file attached to this post and download it into your calculator.

For those interested, Revolution-FX also supports the GNU C Compiler (GCC). A IDE is in the works right now for the GCC SDK. So far a code editor has been written: http://sourceforge.net/dbimage.php?id=132492 If you know how to program in C++ with the Win32 API and are interested in helping out, tell me.
----------------------------------
Universal CASIO Forum - http://www.casiocalc.org
smiley
Matronix
Hors ligne
Statut: Admin
Niveau: Elite
Points: 4189
Défis: 67
Email | Message
Posté le 26/07/2007 17:12 |
ok and have you got this g1a please ?

smiley

How many greys can you have ?
----------------------------------
Avez-vous essayé le solveur de trinômes le plus évolué à ce jour ? Essayer c'est l'adopter !
Pierrotll
Hors ligne
Statut: Membre
Niveau: Confirmé
Points: 1170
Défis: 9
Email | Message
Posté le 26/07/2007 18:13 |

ok and have you got this g1a please ?

Il l'a justement mis en fichier joint

How many greys can you have ?

Sur l'image t'en vois deux, mais la version actuelle de revolution-fx n'en permet qu'un
Matronix
Hors ligne
Statut: Admin
Niveau: Elite
Points: 4189
Défis: 67
Email | Message
Posté le 26/07/2007 18:27 |
non il a pas posté le g1a de l'image
----------------------------------
Avez-vous essayé le solveur de trinômes le plus évolué à ce jour ? Essayer c'est l'adopter !
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 26/07/2007 19:31 |

How many greys can you have ?


As of Revolution-FX v0.2, you can have a dark gray or light gray. Two shades of gray, so you can have four colors max: dark gray, light gray, black and white.

Old v0.1's prototype of GrayInit:

GrayInit(int countdown);


v0.2's prototype of GrayInit:

GrayInit(int countdown, int countdown);


Thus you can specify different frequency for each buffer. For example, you can have one buffer display for 1/3 and the other 2/3.

ok and have you got this g1a please ?


A while ago, I've lost all of my work due to hard drive failure. I'll try to recreate that addin right now.
----------------------------------
Universal CASIO Forum - http://www.casiocalc.org
smiley
Matronix
Hors ligne
Statut: Admin
Niveau: Elite
Points: 4189
Défis: 67
Email | Message
Posté le 27/07/2007 12:41 |
In the future can we choose the number of grey ? with a variable for example

i think it's possible, isn't it ?
----------------------------------
Avez-vous essayé le solveur de trinômes le plus évolué à ce jour ? Essayer c'est l'adopter !
Pierrotll
Hors ligne
Statut: Membre
Niveau: Confirmé
Points: 1170
Défis: 9
Email | Message
Posté le 27/07/2007 18:31 |
Ca, ça dépend du nombre de buffers
Meithal
Hors ligne
Statut: Admin
Niveau: Aucun
Points: 3088
Défis: 7
Email | Message
Posté le 27/07/2007 19:03 |
Les buffers sont tous émulés logiciellement (c'est pas une gameboy ), donc à priori on peut augmenter le nombre de gris à l'infini mais en pratique ce n'est que dans une certaine fourchette que le matériel affiche quelque chose de stable.
----------------------------------
Calculatrice : Graph 35+
Dfiad77pro
Hors ligne
Statut: Membre
Niveau: Elite
Points: 1265
Défis: 13
Email | Message
Posté le 27/07/2007 19:09 |
oui seulement qd la base sera stable on poura commencer a bosser sur des fonction du style :
tracerLigne(x1,y1,x2,y2, Couleur);
----------------------------------
calculatrices : graph 85 SD, graph100, Graph 65, FX 92 college,TI89,Ti 83.
Pierrotll
Hors ligne
Statut: Membre
Niveau: Confirmé
Points: 1170
Défis: 9
Email | Message
Posté le 27/07/2007 22:25 |
Mais il n'y a rien de plus facile qu'une fonction comme ça, c'est tres simple a programmer avec les deux buffers.
Dfiad77pro
Hors ligne
Statut: Membre
Niveau: Elite
Points: 1265
Défis: 13
Email | Message
Posté le 27/07/2007 22:41 |
oui mais les grescales sont pas encore parfait :
j'oubliait de préciser : programmer une fonction rapide !
----------------------------------
calculatrices : graph 85 SD, graph100, Graph 65, FX 92 college,TI89,Ti 83.
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 28/07/2007 08:11 |

In the future edge we choose the number of grey? with has variable for example


It depends on two things:
* The number of buffers being used.
* The rate at which a buffer gets displayed. If you can get the timing correct, you can have 4 colors using only two buffers.

oui seulement qd la base sera stable on poura commencer a bosser sur des fonction du style : tracerLigne(x1,y1,x2,y2, Couleur);


It's not the style of function that matters. You can use the PlotPixel function in Revolution-FX to draw a line to the buffer and you'll still have the same results.

oui mais les grescales sont pas encore parfait: j'oubliait de préciser : programmer une fonction rapide !


The functions used to draw the buffers to the screen are already as fast as possible since they are written in pure assembly.

Try something like this:

GrayLinkBuffers(&buffer1, &buffer2);
GrayInit(5858, 5858);


I believe there is no flicker, but lines do appear. The ClassPad, I believe also has the same problem. That's because we can't perfectly get in sync with the LCD's refresh rate. The problems with grayscales are:
* We don't know the exact frequency of the CPU in the Graph85. Thus, we don't know how long in nanoseconds 1 cycle is.
* We also don't know the LCD's refresh rate. We do though have the datasheet for the LCD driver, but not the LCD screen itself. All that we can do, is just estimate what the rate is.
* The LCD driver is not design for grayscales in the first place.

A possible solution may be to add more buffers, but programming would then become more complex and more of the CPU power would be used to just draw the buffers.

I'm glad though that all of you are interested in grayscales, but there are also other good things in Revolution-FX that are worth checking out besides grayscales.
----------------------------------
Universal CASIO Forum - http://www.casiocalc.org
smiley
Pylaterreur
Hors ligne
Statut: Membre
Niveau: Confirmé
Points: 1483
Défis: 8
Email | Message
Posté le 31/07/2007 20:00 |
Kucalc, I can tell you that you made the good choice : open source is the best licence
Thanks
----------------------------------
Graph 85 SD

Je reprends la programmation de mon addin Finale ! (ouverture du fichier contenant la partition et analyse presque terminées )

Mon tuto sur le Site du Zéro : Le DrawStat et les cours sur Casio (ex-"coup de coeur")
Les listes en Basic Casio (futur "coup-de-coeur" ? )
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 01/08/2007 08:20 |
@Pylaterreur: Open source is Revolution-FX's standard.

Ok, I've put up most of the documentation now for the Revolution-FX library. Comes with descriptions and some have source code for each function. I'm working on some tutorials right now. The only one finished is the fading in/out tutorial. You can check it out on Revolution-FX's homepage: [ Lien ]
----------------------------------
Universal CASIO Forum - http://www.casiocalc.org
smiley
Nicocreation
Hors ligne
Statut: Membre
Niveau: Vétéran
Points: 260
Défis: 0
Email | Message
Posté le 02/08/2007 14:36 |
Hi Kucalc
Did you succed in changing the power-off logo of the fx9860?
----------------------------------
smiley
smiley
Visitez top-progcasio
Bebe-vador
Hors ligne
Statut: Membre
Niveau: Débutant
Points: 1238
Défis: 5
Email | Message
Posté le 02/08/2007 15:13 | Fichier joint
je fais petit add-in

j'ai mis le CPU en vitesse normale et j'ai utilisé GrayInit( 100, 5858);
pour avoir une assez grande différence entre les deux gris mais c'est tres moche

j'ai testé les valeurs que j'ai trouvé sur les forum mais on voyait les bandes noirs défiler.

avec vous des valeurs qui donnent le même résultat que les add-in de Kucalc ?
----------------------------------
Calculatrices : Fx 92 Collège, Graph 65, Graph 85SD, Classpad 330
http://casiocity.miniville.fr/
smiley
smiley
Kucalc
Hors ligne
Statut: Membre
Niveau: Elite
Points: 196
Défis: 0
Email | Message
Posté le 02/08/2007 19:35 |
@Nicocreation: Sorry, I haven't done so yet.

j'ai mis le CPU en vitesse normale et j'ai utilisé GrayInit( 100, 5858);
pour avoir une assez grande différence entre les deux gris mais c'est tres moche



Yes, this is because there is a problem in the grayscale engine. In v0.2.1 and lower, the first value was used twice, so your GrayInit( 100, 5858); was actually GrayInit( 100, 100);

The problem is now fixed and there is now a new and final release (v 0.2.2 for the CASIO fx-9860G SDK): [ Lien ]

The timer resolution has also been increased to give better results with grayscales. For Revolution-FX v0.2.2 the values to generate 3 colors are:

3280 & 3280 - Ex: GrayInit(3280, 3280);

I've been trying to recreate the addin which had fours colors, but it's not exactly the same: [ Lien ]
----------------------------------
Universal CASIO Forum - http://www.casiocalc.org
smiley
Bebe-vador
Hors ligne
Statut: Membre
Niveau: Débutant
Points: 1238
Défis: 5
Email | Message
Posté le 03/08/2007 01:43 |
ça marche beaucoup mieux et j'ai l'impression que c'est plus rapide aussi (peut-etre qu'une impression)

thanks Kucalc
----------------------------------
Calculatrices : Fx 92 Collège, Graph 65, Graph 85SD, Classpad 330
http://casiocity.miniville.fr/
smiley
smiley

Pages: 1, 2, 3, 4, 5, 6 | Suivante

Index du Forum | Projets de programmation | Revolution-FX - Programming Library
Pseudo :
Adresse email :
Réponse :
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :?:  :arrow:  :!:  :here:
Ajouter fichier joint :


Me prévenir par mail lorsqu'une réponse est postée



Recherche :
Publicité et partenaires

GameMasters.fr

FR Game

Cours particuliers

DynaMaths
Chat
Veuillez saisir le code affiché sur l'image
  Pseudo :   Message :

www.planete-casio.fr v3.0 © crée par Neuronix et Muelsaco 2007
Il y a 9 connectés | Nous contacter | Recherches effectuées | Liens | Forum Commun Casio