Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - webmasterpdx

Pages: [1]
1
HP Prime / Re: HP Prime Relative Speed Testing- What is REALLY faster?
« on: September 03, 2017, 08:06:26 pm »
On a forum at the museum of hp calculators, one of the HP engineers explained to me how programs are interpreted. Whenever you exit a program after editing, there is a compilation step that is done. Some optimization is done as the source code is converted to a form of P-code internally. Note that this is why comments do not affect speed, as these don't exist in the P-Code. I just thought you should be aware of this, as it's not really the source that you are looking at that is executed, but whatever it's converted into in the compilation step.

2
I wrote a program that gets it from the graphical representation on the screen in 25% increments. Here is the source code...

Code: [Select]
EXPORT BATVAL() // Battery test
BEGIN
LOCAL x:=315,d:=#D6DEDEh;
CASE
IF GETPIX_P(x,14)==d THEN RETURN 0; END;
IF GETPIX_P(x,11)==d THEN RETURN 25; END;
IF GETPIX_P(x,8)==d THEN RETURN 50; END;
IF GETPIX_P(x,6)==d THEN RETURN 75; END;
DEFAULT RETURN 100;
END; // CASE...
END; // BEGIN

3
HP Prime / Re: HP Prime Emulator
« on: September 03, 2017, 07:16:21 pm »
Ah, OK, because in an earlier post, it was stated that it wasn't going to be a hardware emulator, but a syscall level emulator. That makes more sense. Emulating the hardware allows the system rom file to be used.....makes much more sense...
Thks
-D

4
HP Prime / Re: HP Prime Emulator
« on: September 03, 2017, 03:07:33 am »
You can't emulate this at the system level without the various system call API.....where are you going to get that? I doubt if HP is just going to give it to you....
just curious...
Thx

Pages: [1]