HP Forums

Full Version: Prime still varying in speed (last firmware)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ...
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.
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.
(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.
Reference URL's