|
|
| 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.
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
| 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
|
|
|
|
|
|
|
| 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
|
|
|
|
|
|
|
| Posté le 27/07/2007 18:31 |
|
| Ca, ça dépend du nombre de buffers
|
|
|
|
| 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+
|
|
|
|
| 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.
|
|
|
|
| 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.
|
|
|
|
| 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.
|
|
|
|
| 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
|
|
|
|
|
|
|
| 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
|
|
|
|
| Posté le 02/08/2007 14:36 |
|
Hi Kucalc
Did you succed in changing the power-off logo of the fx9860?
|
----------------------------------

Visitez top-progcasio
|
|
|
|
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/

|
|
|
|
| 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
|
|
|
|
| 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/

|
|