Author Topic: New HP Prime OS soon?  (Read 15935 times)

0 Members and 1 Guest are viewing this topic.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: New HP Prime OS soon?
« Reply #15 on: May 01, 2014, 05:43:00 am »
Do you have a Prime? I've been presuming you do and can look at it.
If not:
Almost every drawing command has two variations: a Cartesian and a pixel version. Pixel versions are suffixed with _P; for simplicity's sake they will be dropped as the positions do not matter here. GROBH(G) and GROBW(G) return the height and width of G. BLIT copies a GROB from one buffer to another, but with optional regions and optional alpha color: BLIT([trgtG],[dx1,dy1],[dx2,dy2],srcG,[sx1,sy1],[sx2,sy2],[c]). (Unless otherwise specified, optional GROBs default to G0.) INVERT inverts a region of a specified GROB in place: INVERT([G],[x1,y1],[x2,y2]). If the rotation was in-place, that would make calculations of position hard. I think Tim was thinking of something like that, but I'm not sure. Hence my suggestion of bitmap matrix transforms that can be sent to another GROB. There's a MSDN article on them in the context of DirectX that is pretty useful anywhere: DirectX Factor - 3D Transforms on 2D Bitmaps. It also discusses how 3D or 4D transforms can be used to do fanciness in a 2D or 3D plane if you're careful. It's awesome. It would actually be really cool if we could muck around with up to 4D matrix transforms and just specify optional values for z and w cross-sections, defaulting to 1 or 0, whichever would work better. (I'm getting sleepy and trusting my judgement here less.) Exemplī grātiā: MATTRANS([trgtG],[dx1,dy1],[dx2,dy2],srcG,[sx1,sy1],[sx2,sy2],matrix,[zPlane],[wPlane],[color]). We should be able to convert the 3D matrices from back to 2Ds with a z of 1 with some depth stuff, but the non-affines are worrying me, as they pull from values in the matrix. New idea: what if we could get and set a matrix of RGB values from and to a GROB region, such as GETMAT([G],[x1,y1],[x2,y2]) and SETMAT([G],[x1,y1],[x2,y2]) (with respective _P variants)? Then we could take a bitmap out, transform it, and...wait...array of 2D coordinates doesn't leave space for RGB values...how about returning 3D matrices with the z being the color?
/me refers back to the article
So, how about {GET,SET}MAT([G],[x1,y1],[x2,y2],[dimension]), where dimension defaults to 2 and the output/input is a q×(dimension+1) matrix (with the last part holding color) and q is the number of pixels. That should allow for the offloading of heavy transforms to the matrix functions and allow for easier custom transforms (like 3D→2D flattening).
So Tim, when you read this, something to consider. It would allow for some pretty cool stuff. :3
« Last Edit: May 01, 2014, 05:46:28 am by bb010g »
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: New HP Prime OS soon?
« Reply #16 on: May 01, 2014, 05:54:49 am »
Tl;Dr. :P Also I don't have a Prime unfortunately. :/

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: New HP Prime OS soon?
« Reply #17 on: May 01, 2014, 02:51:26 pm »
Yeah if you add a _P at the end of some drawing commands it uses pixels. I find those more handy, although cartesian can be handy as well if you manipulate window settings I guess and for 3D.


Basically, think of the HP PPL language as xLIBC-enhanced TI-BASIC on steroids. You can draw circles, rectangles (filled or not), sprites and transparent text with the color of your choice. However, it's several times faster and in addition to that, you can even scale up/down sprites/images, you have 10 graphical buffers for double, triple-buffering or more, plus you can also draw translucent polygons.

The following video showcases what you can achieve in HP PPL with no ASM/C nor any other hacks. For example,  the thing during the title that looks like Mode 7 is actually just displaying two images split into 120 chunks zoomed in at different levels. Something similar is being used for the Supersonic Ball logo:

« Last Edit: May 01, 2014, 02:55:12 pm by DJ Omnimaga »

Offline Anderson Costa

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
  • Sou uma pessoa bem legal e mt adorável!!! Adoro conhecer pessoas novas e que queiram se interessar por mim... Adoro tratar as pessoas com respeito às opiniões dos outros e de ter minhas opiniões respeitadas!!! Se vc ker saber mais sobre mim, eh melhor q v
    • View Profile
Re: New HP Prime OS soon?
« Reply #18 on: May 27, 2014, 03:34:32 pm »
The new firmware comes now...
HP Prime rev. 6031
Download link: ftp://ftp.hp.com/pub/calculators/Prime/
« Last Edit: May 27, 2014, 03:36:29 pm by Anderson Costa »

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: New HP Prime OS soon?
« Reply #19 on: May 27, 2014, 03:38:07 pm »
Heya and welcome here. Thanks for the link by the way. :)


I was worried last week because people on the HP Museum acted like the firmware update is fake and will never happen when in fact it was just because they thought the announcment about it last month was official, only to be revealed as non-official by one of the team members. I didn't mind any delay, though, since it meant a more polished firmware and the last update from this Winter brought in a lot of improvements.

I'll definitively give this one a try soon :)

Offline Anderson Costa

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
  • Sou uma pessoa bem legal e mt adorável!!! Adoro conhecer pessoas novas e que queiram se interessar por mim... Adoro tratar as pessoas com respeito às opiniões dos outros e de ter minhas opiniões respeitadas!!! Se vc ker saber mais sobre mim, eh melhor q v
    • View Profile
Re: New HP Prime OS soon?
« Reply #20 on: May 27, 2014, 03:50:41 pm »

Thanks...I saw this firmware 1 hour ago on HP Museum forum and installed it on my PC after this...and the first testings gave a "bug" on the new firmware on HP Prime Virtual Calculator...I see the apps doubled on Apps screen... Why does this happen??? Is it a issue???
« Last Edit: May 27, 2014, 03:53:25 pm by Anderson Costa »

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: New HP Prime OS soon?
« Reply #21 on: May 27, 2014, 04:00:01 pm »
The only issue I noticed on the emulator personally (after finally installing it successfully by manually updating) is that my Tunnel game now crashes the emulator until I open the code then close it. Afterward it now gives Syntax error.

My apps are fine, though.


Also, another issue is that on both calcs and the emu the Send button is now missing, so I can no longer use the emulator to transfer files. I hate the connectivity kit for file transfer because it's so slow to detect anything at the start (about 60 minutes to detect 600 KB of programs)

Offline Anderson Costa

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
  • Sou uma pessoa bem legal e mt adorável!!! Adoro conhecer pessoas novas e que queiram se interessar por mim... Adoro tratar as pessoas com respeito às opiniões dos outros e de ter minhas opiniões respeitadas!!! Se vc ker saber mais sobre mim, eh melhor q v
    • View Profile
Re: New HP Prime OS soon?
« Reply #22 on: May 27, 2014, 04:05:08 pm »
The Apps screen back to normal after restarting Virtual Calculator...Issue fixed.

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: New HP Prime OS soon?
« Reply #23 on: May 27, 2014, 04:06:26 pm »
Good to hear.

As for the missing Send button, I think HP just got rid of emulator transfer abilities, but I could be wrong. On the other hand, it seems that the new connectivity kit is much faster at detecting files now. It used to take 60 minutes and now it was done within less than one.

Offline Anderson Costa

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
  • Sou uma pessoa bem legal e mt adorável!!! Adoro conhecer pessoas novas e que queiram se interessar por mim... Adoro tratar as pessoas com respeito às opiniões dos outros e de ter minhas opiniões respeitadas!!! Se vc ker saber mais sobre mim, eh melhor q v
    • View Profile
Re: New HP Prime OS soon?
« Reply #24 on: May 27, 2014, 04:12:44 pm »
Tim Wessman says about some issues on earlier versions of HP Prime calculator on release notes of the new firmware...
About the Connecting Kit doesn't recognize the emulator, i am supposing the issues related to the Connect Kit in earlier firmwares...
« Last Edit: May 27, 2014, 04:15:15 pm by Anderson Costa »