Post Reply 
Prime still varying in speed (last firmware)
01-25-2020, 03:01 PM (This post was last modified: 01-25-2020 03:02 PM by Oulan.)
Post: #1
Prime still varying in speed (last firmware)
With the last firmware (and a factory reset) with the following prog
Code:
#pragma mode( separator(.,;) integer(h32) )
EXPORT Fourmi()
 BEGIN
 LOCAL DX:=[0,1,0,−1];
 LOCAL DY:=[1,0,−1,0];
 LOCAL ST:=TICKS;
 RECT();  // Clear screen
 160▶X;120▶Y;1▶D;0▶N;
 REPEAT
  IF GETPIX_P(X,Y) THEN
   (D MOD 4)+1▶D;
   PIXON_P(X,Y,#000000);
  ELSE
   ((D+2) MOD 4)+1▶D;
   PIXON_P(X,Y,#FFFFFF);
  END;
  (X+DX(D)) MOD 320▶X;
  (Y+DY(D)) MOD 240▶Y;
  N+1▶N;
 UNTIL GETKEY=41;  // shift key
 //FREEZE;
 RETURN 1000*N/(TICKS-ST);
END;

The speed still can be as slow as 293 it/sec and faster up to 11297 it/sec
This is quite strange ...
Find all posts by this user
Quote this message in a reply
01-25-2020, 05:38 PM
Post: #2
RE: Prime still varying in speed (last firmware)
Bonjour

j'ai remarqué également des ralentissement à l'exécution de programmes sur ma G2
bien que je sois encore en version 2.1.14284 béta.
J'ai même un programme dans lequel des petites balles se balladent à l'écran
qui semble être plus rapide sur la G1 ?
Je vais faire les mise à jour demain et verrai si le problème persiste.

Hello

I also noticed slower program execution on my G2.
although I'm still in version 2.1.14284 beta.
I even have a program in which little balls are wandering around on the screen
that seems to be faster on the G1?
I'll do the updates tomorrow and see if the problem persists.

Sorry for my english
Find all posts by this user
Quote this message in a reply
01-27-2020, 05:50 AM (This post was last modified: 01-27-2020 05:52 AM by Tyann.)
Post: #3
RE: Prime still varying in speed (last firmware)
Bonjour

Je viens de voir un post :ici
dans lequel un utilisateur remarque lui aussi qu'un même programme va plus vite sur G1
que sur G2.

Hello

I just saw a post: here
in which a user also notices that the same program goes faster on G1.
than on G2.

Sorry for my english
Find all posts by this user
Quote this message in a reply
01-27-2020, 08:29 PM
Post: #4
RE: Prime still varying in speed (last firmware)
(01-25-2020 03:01 PM)Oulan Wrote:  With the last firmware (and a factory reset) with the following prog
Code:
#pragma mode( separator(.,;) integer(h32) )
EXPORT Fourmi()
 BEGIN
 LOCAL DX:=[0,1,0,−1];
 LOCAL DY:=[1,0,−1,0];
 LOCAL ST:=TICKS;
 RECT();  // Clear screen
 160▶X;120▶Y;1▶D;0▶N;
 REPEAT
  IF GETPIX_P(X,Y) THEN
   (D MOD 4)+1▶D;
   PIXON_P(X,Y,#000000);
  ELSE
   ((D+2) MOD 4)+1▶D;
   PIXON_P(X,Y,#FFFFFF);
  END;
  (X+DX(D)) MOD 320▶X;
  (Y+DY(D)) MOD 240▶Y;
  N+1▶N;
 UNTIL GETKEY=41;  // shift key
 //FREEZE;
 RETURN 1000*N/(TICKS-ST);
END;

The speed still can be as slow as 293 it/sec and faster up to 11297 it/sec
This is quite strange ...

Same results. It seems to run between 288 and 11390 in my G2, randomly as far as I can tell.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)