Author Topic: HP Prime Emulator!!!  (Read 29423 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: HP Prime Emulator!!!
« Reply #15 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).
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: HP Prime Emulator!!!
« Reply #16 on: July 16, 2013, 03:34:57 pm »
Just did a test with this program:

It ran in around 0.45 seconds. :)
I like milk.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: HP Prime Emulator!!!
« Reply #17 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.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: HP Prime Emulator!!!
« Reply #18 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

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: HP Prime Emulator!!!
« Reply #19 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.
« Last Edit: July 17, 2013, 03:00:42 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: HP Prime Emulator!!!
« Reply #20 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.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: HP Prime Emulator!!!
« Reply #21 on: July 17, 2013, 02:40:18 pm »
I didn't realize that there was a dark theme.  O.O



When these calcs come out I want one.  :w00t:
I like milk.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: HP Prime Emulator!!!
« Reply #22 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.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: HP Prime Emulator!!!
« Reply #23 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.
I like milk.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: HP Prime Emulator!!!
« Reply #24 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.
« Last Edit: July 17, 2013, 05:59:19 pm by DJ Omnimaga »

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: HP Prime Emulator!!!
« Reply #25 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:


And here is fullscreen:


Also, I love how there's an RGB() function. :D
« Last Edit: July 17, 2013, 06:28:16 pm by Spenceboy98 »
I like milk.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: HP Prime Emulator!!!
« Reply #26 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.

« Last Edit: July 18, 2013, 01:09:24 am by DJ Omnimaga »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: HP Prime Emulator!!!
« Reply #27 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

Eyup. :P
« Last Edit: July 18, 2013, 01:45:07 am by Streetwalker »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: HP Prime Emulator!!!
« Reply #28 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.
« Last Edit: July 18, 2013, 02:18:32 am by DJ Omnimaga »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: HP Prime Emulator!!!
« Reply #29 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.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s