Calculator Community > HP Calculators

HP 39gII BASIC(?) speed testing

<< < (2/4) > >>

DJ Omnimaga:
Yeah I think the screen supports 4 levels grayscale, and yes even the language lets you use it. It was released in 2012 if I remember, but only in China (probably the reason why they didn't do much effort fixing bugs and why the calc design looks like an old printer). Then in 2013 it was quietly released in Europe.


Also I just made this small program that fills the screen with squares (that has a white border and a different color):


--- Code: ---EXPORT Tunnel()
BEGIN
0►X;
0►Y;
0►Z;
WHILE 1 DO
Y-ISKEYDOWN(9)+ISKEYDOWN(15)►Y;
X-ISKEYDOWN(14)+ISKEYDOWN(10)►X;
FOR A FROM 0 TO 4 DO
FOR B FROM 0 TO 8 DO
RECT_P(X+(32*B),Y+(32*A),X+32+(32*B),Y+32+(32*A),3,Z);

IF X>0 THEN
−31►X
ELSE
IF X<−31 THEN
0►X
END;
END;
IF Y>0 THEN
−31►Y
ELSE
IF Y<−31 THEN
0►Y
END;
END;
Z+1►Z;
IF Z>3 THEN
0►Z;
END;
END;
END;
END;
END;
--- End code ---

This displays 45 flashing squares on the screen that you can move around. When they reach a certain location their position resets so it looks like a loop. In a bit more than a single second I can scroll an entire square in. If the LCD wasn't capped around 10 FPS I would get about 25-30.

I tried the same program earlier but with 16x16 squares instead of 32x32 (meaning 153 squares displayed per frame) and got around 4 FPS.

TIfanx1999:
Very cool! ^^

flyingfisch:
This is not a color calc, correct?

Also, is the great speed a direct benefit of having the CPU built specifically for the calculator? I find that pretty cool about HP calcs. :)

Juju:
Yup, it's a grayscale LCD (so not color, but not black and white either).

I had the chance to take a look at this calc yesterday, it kinda looks like the 68k line of TI calcs in terms of functionality (you can call programs as functions on the homescreen and stuff like that), but it's also pretty glitchy due to the LCD not being able to keep up with the processor.

flyingfisch:

--- Quote from: Juju on March 19, 2013, 08:19:22 pm ---Yup, it's a grayscale LCD (so not color, but not black and white either).

--- End quote ---

Interesting note is that HP calc screens have been capable of grayscale (not faked at all) for quite some time. ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version