Omnimaga

Calculator Community => HP Calculators => Topic started by: northern_snow on July 16, 2013, 04:26:00 am

Title: HP Prime Emulator!!!
Post by: northern_snow on July 16, 2013, 04:26:00 am
Here is the link:
www.eduhp.cn/News/Detailed/71
Title: Re: HP Prime Emulator!!!
Post by: Hayleia on July 16, 2013, 05:27:53 am
OMG !!
That calculator is awesome, and that emulator is too !
(http://tiplanet.org/forum/download/file.php?id=889&t=1)


In advanced graphs, you can draw Y=X², but also X=Y² !
(http://tiplanet.org/forum/download/file.php?id=890&t=1)(http://tiplanet.org/forum/download/file.php?id=891&t=1)
To move on the graph screen, you just have to move your finger (the mouse here) on the screen !
The emulator includes several skins (see the first screenshot with an ugly skin and the two other ones with a beautiful one) !

I WANT THAT CALC !
Title: Re: HP Prime Emulator!!!
Post by: northern_snow on July 16, 2013, 07:29:27 am
NOTE: The original link in that page was removed. But they don't remove the file on the cloud service.
pan.baidu.com/share/link?shareid=4034118352&uk=3842259049
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 16, 2013, 08:44:32 am
That is great! :D I wonder if it's in English?

Also do you know if it runs at the same speed as the real calc? I am also curious if the BASIC language is the same as the HP 39gII as I read before.

Also warning: slow download lol. (it took 3.5 minutes for me)
Title: Re: HP Prime Emulator!!!
Post by: Hayleia on July 16, 2013, 08:48:13 am
I wonder if it's in English?
I managed to install it in French on my computer so I guess English is also available (there is a choicebox at some point, and if French is in it, English surely is too).

Also do you know if it runs at the same speed as the real calc?
If so, I am buying one as soon as it comes out.
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 16, 2013, 08:53:02 am
Well I am asking since the HP 39gII emu ran around 10000 times faster on the computer than the calc, so games were unplayable unless you added extremely long delays in games. It also made it hard to ensure that your games will be fast enough on the real calc. However, if the calculator has an identical processor to the HP 39gII but clocked much faster (the 39gII was clocked to 66 MHz), then I bet that somebody would be able to use sprites inside games (although scrolling would be impossible) by drawing them pixel by pixel.
Title: Re: HP Prime Emulator!!!
Post by: SpiroH on July 16, 2013, 09:11:32 am
Ok, given that nobody so far is asking the about the 'dear thing', i dare to ask: Does anybody know how much it will cost? BTW, the emulator is huge! (the installer is about 48MB?). I wonder what's is inside, maybe hundred plus languages, plus what? Anyway, it looks promissing and nice but IMHO the price will be the decisive factor, as usual ;).
Title: Re: HP Prime Emulator!!!
Post by: Lionel Debroux on July 16, 2013, 09:12:33 am
Quote
Does anybody know how much it will cost?
About the same as a Nspire CX CAS.
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 16, 2013, 09:14:15 am
One French site had it listed at something similar to the TI-Nspire CAS, from what I remember. EDIT Ninja'd

Does anyone know if there is any instruction manual available out there so we can learn how to program the thing in advance? :P
Title: Re: HP Prime Emulator!!!
Post by: SpiroH on July 16, 2013, 09:52:14 am
Quote
Does anybody know how much it will cost?
About the same as a Nspire CX CAS.
Thanks, but that's still rather expensive, i gather! Maybe northern_snow will manage to get some for us at China's price. Who knows about the future? I already order some items from China every now and then  :).

Title: Re: HP Prime Emulator!!!
Post by: Stefan Bauwens on July 16, 2013, 10:06:19 am
...
Does anyone know if there is any instruction manual available out there so we can learn how to program the thing in advance? :P
Doesn't this calculator have some kind of catalog menu? :P
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 16, 2013, 10:06:36 am
Yes it does, but we still need to know the syntax for commands, which is lacking there.

And Yeah it is still overpriced as well. Of course, though, it's not as bad as TI due to the much larger specs, and especially not as bad as the ClassPad 400 which has performances that are even worse than the PRIZM and the TI-84 Plus C Silver Edition.

As for the HP 39gII speed for BASIC programs running at 66 MHz, this should give you an idea:

(http://img.ourl.ca//fillscreenbypixel.gif) (http://img.ourl.ca//randomize.gif)

(http://img.ourl.ca//squaretilemap.gif) (http://img.ourl.ca//tunnel39gII.gif)

Now imagine at 400 MHz! O.O (assuming the larger screen and its color depth isn't a signifiant bottleneck)
Title: Re: HP Prime Emulator!!!
Post by: Sorunome on July 16, 2013, 10:10:11 am
wow,  that is fast for basic O.O
Title: Re: HP Prime Emulator!!!
Post by: Streetwalrus on July 16, 2013, 10:12:18 am
Wow DJ that looks pretty fast. O.O
And yeah the 39gII is already far superior to the TI z80s hardware wise. Well optimized BASIC language makes it pretty fast.

Here are the available languages :
(http://img.ourl.ca//HP%20Prime%20emu%20languages.png)

The emulator has a nice little screenie tool :
(http://img.ourl.ca//HP%20Prime%20emu%20screenie%20thing.png)
No animated screenshot support though. :/

Also you already have access to the 39gII manual in the help menu. Looks like it'll be similar to use.
Also it looks like the calc has help dialogs. ;) It has a dedicated button for that, but the dialogs are contextual unlike the useless Nspire help.

/me wants
/me starts saving money
Title: Re: HP Prime Emulator!!!
Post by: northern_snow on July 16, 2013, 10:56:44 am
Well I am asking since the HP 39gII emu ran around 10000 times faster on the computer than the calc

Diameter did the classic N-QUEEN benchmark from hpmuseum.
www.cncalc.org/forum.php?mod=viewthread&tid=9089
0.018s VS 0.4s
About 20 times faster. Not bad.
Title: Re: HP Prime Emulator!!!
Post by: Hayleia on July 16, 2013, 02:58:21 pm
Too bad that calc is not documented yet, I am having weird errors (probably due to bad syntax).
Title: Re: HP Prime Emulator!!!
Post by: Spenceboy98 on July 16, 2013, 03:34:57 pm
Just did a test with this program:
(http://img.ourl.ca/HPPrimeSpeedTest.png)
It ran in around 0.45 seconds. :)
Title: Re: HP Prime Emulator!!!
Post by: Hayleia on July 16, 2013, 04:10:43 pm
Yeah, but we don't know if the actual calc will be as fast as its emulator.
But I agree that if the emulator was slow, the calc would have been too. So maybe the calc is not super-fast, but at least it is not super-slow.
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 16, 2013, 08:29:54 pm
Note, however, that the speed difference between the emu and the calc might be much smaller than with the previous emus, because to run a 400 MHz emulator it takes much more computer resources. :P
Title: Re: HP Prime Emulator!!!
Post by: Lionel Debroux on July 17, 2013, 01:46:47 am
In the end, if the computer software proves to be much faster than the real calculator is, then it is a mere port (recompilation of the core + different UI layer) to computer platforms, like the Nspire computer software is. That's the best thing to do for efficiency reasons on the computer side, at the expense of emulation accuracy (any benchmark on a non-emulator computer software is meaningless).
EDIT on the evening: and in fact, benchmarks on emulator computer software are nearly always meaningless as well.
Title: Re: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 17, 2013, 12:19:38 pm
Yeah and they don't worry about speed. The worst part though is that even BASIC and file types are poorly emulated in certain emulators (eg Flash Debugger), not just native code.
Title: Re: HP Prime Emulator!!!
Post by: Spenceboy98 on July 17, 2013, 02:40:18 pm
I didn't realize that there was a dark theme.  O.O

(http://img.ourl.ca/Prime_Dark.png)

When these calcs come out I want one.  :w00t:
Title: Re: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 17, 2013, 05:12:07 pm
Wow that theme looks nice. I'm glad this calc is very customizeable. Btw if that one Mandelbrot pic posted on HP Museum is real, it's possible that this calc will allow the use of the entire screen by Basic programs, like the. HP 39gII. On every TI and Casio calc that have a resolution larger than 128x64, we are stuck with the OS GUI/borders unless we use special ASM or C libs that can draw elsewhere.
Title: Re: HP Prime Emulator!!!
Post by: Spenceboy98 on July 17, 2013, 05:19:47 pm
Wow that theme looks nice. I'm glad this calc is very customizeable. Btw if that one Mandelbrot pic posted on HP Museum is real, it's possible that this calc will allow the use of the entire screen by Basic programs, like the. HP 39gII. On every TI and Casio calc that have a resolution larger than 128x64, we are stuck with the OS GUI/borders unless we use special ASM or C libs that can draw elsewhere.

You can use the whole screen for pixel stuff. I tested some graphics earlier. I might post a screenie later.
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 17, 2013, 05:57:08 pm
Wow that theme looks nice. I'm glad this calc is very customizeable. Btw if that one Mandelbrot pic posted on HP Museum is real, it's possible that this calc will allow the use of the entire screen by Basic programs, like the. HP 39gII. On every TI and Casio calc that have a resolution larger than 128x64, we are stuck with the OS GUI/borders unless we use special ASM or C libs that can draw elsewhere.

You can use the whole screen for pixel stuff. I tested some graphics earlier. I might post a screenie later.
Nice to hear. It's like if they made the on-calc language so that it mimics ASM/C capabilities but without access to memory nor its speed. Also this means that BASIC programs will be able to feature intro transitions like some 68K games. I wonder if there's a pixel test command, string vars (with sub/instring commands) and lists? Storing sprites into lists could make games incredibly large though.

Now there is at least one more question that remains: Will the calculator OS be stable? The HP 39gII is so unstable that you have to reformat it every few hour or so, like even worse than the OS 2.71MP april fools prank.
Title: Re: HP Prime Emulator!!!
Post by: Spenceboy98 on July 17, 2013, 06:27:46 pm
I don't see Pixel Test, but there is a GETPIX_P routine which probably returns the color.

Also, colors are customizable:
(http://img.ourl.ca//Prime_BackColors.png)

And here is fullscreen:
(http://img.ourl.ca/Prime_FullScreen.png)

Also, I love how there's an RGB() function. :D
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 17, 2013, 07:11:05 pm
Looks cool :)

Now hopefully there is more doc coming out in the future so we can test sprite routines and stuff :)

Also, on the HP 39gII since sprites have to be done using pxl or rectangle routines and that the latter doesn't have a signifiantly lower speed, this means that someone can easily use sprite scaling O.O

EDIT: GOOD NEWS! If you go to C:\Program Files (x86)\Hewlett-Packard\HP Prime Virtual Calculator\, you'll find the actual HP Prime user guide! (in multiple languages) Since the calc isn't out yet, I am unsure how accurate is the info (nor for how long will the emu be available for download) but that could be useful for sure.

Title: Re: HP Prime Emulator!!!
Post by: Streetwalrus on July 18, 2013, 01:23:58 am
Also, on the HP 39gII since sprites have to be done using pxl or rectangle routines and that the latter doesn't have a signifiantly lower speed, this means that someone can easily use sprite scaling O.O
The HP40G had GROBs which were custom sized sprites usable in BASIC. So it wouldn't surprise me if the Prime had these.

EDIT: GOOD NEWS! If you go to C:\Program Files (x86)\Hewlett-Packard\HP Prime Virtual Calculator\, you'll find the actual HP Prime user guide! (in multiple languages) Since the calc isn't out yet, I am unsure how accurate is the info (nor for how long will the emu be available for download) but that could be useful for sure.
You can also click Help > User Manual. :P I said it was fo the 39gII because that's the one in the French version.

Also custome skins are possible ! :D
(http://img.ourl.ca//OmniPrime.png)
Eyup. :P
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on July 18, 2013, 02:18:04 am
Oh I thought that the help was just for the emulator manual, not the calc. Also I might need help or an explanation on how to use GROBs, because I couldn't get it when I read the 39gII/Prime manual. >.<

ALso semi bad news, it seems that either the programming section isn't finished updating (besides the screenies. All they did was replacing HP 39gII with HP Prime) or we might not be able to use colors in BASIC (other than grayscale). I hope to see changes later to this >.<

Also nice skin edit lol.
Title: Re: HP Prime Emulator!!!
Post by: Hayleia on July 18, 2013, 02:49:35 am
Also custome skins are possible ! :D
Lol, I already said that on the previous page. You can also have a borderless skin by ticking the first option in "calculator" (don't know how it is called in English, in French it is "Masquer la barre de titre").

If you go to C:\Program Files (x86)\Hewlett-Packard\HP Prime Virtual Calculator\
That is only the default directory, but in fact you can freely move that directory anywhere without breaking the emulator.
Title: Re: HP Prime Emulator!!!
Post by: Streetwalrus on July 18, 2013, 10:21:43 am
Also custome skins are possible ! :D
Lol, I already said that on the previous page. You can also have a borderless skin by ticking the first option in "calculator" (don't know how it is called in English, in French it is "Masquer la barre de titre").
Well, I said that because I modified the original skin in Paint to put the Omni logo on it. :P
Title: Re: HP Prime Emulator!!!
Post by: Adriweb on August 07, 2013, 08:02:27 am
Hi all,

Today HP decided to publicly release the latest version of the HP Prime computer software.

As you will be able to see, many many bugs were fixed since the "leaked" pre-release !

You can download it here : http://tiplanet.org/forum/archives_voir.php?id=19496

Enjoy !
Title: Re: HP Prime Emulator!!!
Post by: ruler501 on August 07, 2013, 10:24:09 am
Have they announced if they plan to charge for this eventually?
Title: Re: HP Prime Emulator!!!
Post by: Adriweb on August 07, 2013, 03:09:29 pm
The version hosted on TI-Planet is the one supposed to be shipped with th calc, so if you install it and it works directly for free... yep :)

I can'treally tell myself since I've been doing upgrades over upgrades... I'm not sure if the whole install process is the same, so...
Title: Re: HP Prime Emulator!!!
Post by: DJ Omnimaga on August 07, 2013, 03:36:52 pm
Awesome! I'll try to download it.

By the way, anyone knows how to use colors with text and stuff? The HP Prime manual included with the leaked release only mentionned 4 shades of gray.
Title: Re: HP Prime Emulator!!!
Post by: bb010g on August 07, 2013, 04:22:54 pm
You can give a RGB[A] value to drawing functions. For example, you can do this for a colored hello world:
Code: [Select]
EXPORT hello_world()
BEGIN
RECT();
TEXTOUT_P("Hello World!",50,50,0,RGB(0,136,204));
FREEZE;
END;
Title: Re: HP Prime Emulator!!!
Post by: Streetwalrus on August 08, 2013, 01:21:15 pm
Seems pretty cool to me. :D
Title: Re: HP Prime Emulator!!!
Post by: Nosferatu Arucard 1983 on October 26, 2013, 10:01:53 pm
Tested and running in Linux using Wine.
One of my particular testing was the CAS capabilities of HP Prime, so far I discovery that is the very first retail calculator that use the Residue Theorem to solve some integrals, which is great.
And also the  HP Prime supports some special functions in integrals and derivatives, but so far the capabilities is still a little beyond the Maxima resources.
Title: Re: HP Prime Emulator!!!
Post by: SpiroH on October 27, 2013, 04:12:22 am
Hi Nosferatu, nice to see you've logged in after a longish absence.
One of my particular testing was the CAS capabilities of HP Prime, so far I discovery that is the very first retail calculator that use the Residue Theorem to solve some integrals, which is great.
And also the  HP Prime supports some special functions in integrals and derivatives, but so far the capabilities is still a little beyond the Maxima resources.
Actually, some time ago, i've posted a question on exactly the same topic: http://www.omnimaga.org/index.php?PHPSESSID=vljt8bofu8hncj0tvif8tv1e57&topic=15517.msg308279#msg308279
Perhaps later you could provide us with some more answers.