The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: HP Prime OS 10077 calc bricking & ICON command to be discontinued soon?

Started by DJ Omnimaga, April 26, 2016, 06:00:29 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

Oh right, I meant milliseconds, my bad. I'll fix my post to avoid scaring people O.O

alexgt


DJ Omnimaga

Yeah, I mean the Prime is known for being fast, but since three color calcs came out almost at the same time in 2013 and included an abysmally slow model (the Casio ClassPad II) people could get the wrong perception that the Prime is the slow one :P


Anyway I hope that the next HP Prime firmware fixes the issues that the 10077 one has. I checked the MoHPC forum and there still seems to be issues with the connectivity kit (crashes) and some new features on the PC side that are not 100% functional. It would be nice if they could at least fix most issues this Summer and do a marketing push.

alexgt

Yeah, it does seem inconsistent though because I have had no trouble in any updates... I guess I am lucky :P.

Well I have had crashes with some data loss but that was stuff that I just edited in a program so not that big of a deal.

I just tested the time it takes to draw:
G1 320x240 no zoom: 3-13 milliseconds
G1 320x240 2x zoom: 29-36 milliseconds
G1 320x240 8x zoom: 29-38 milliseconds
G1 320x240 64x zoom: 29-52 milliseconds

so it seems that zoom matters but it usually is not more than 30 when zoomed.

DJ Omnimaga


alexgt

Yep, I just have to upload some pictures since I don't have any with alpha.

DJ Omnimaga

Oh, I thought alpha blending just involved displaying the entire picture at lower opacity. D: That would have ruled.

alexgt

Well, I just looked at the help screen for BLIT_P() and it says you can make the picture more or less opaque, also if you define a color it will make that color a transparent pixel. O.O so it looks like we will have some more features. I will work on the different values and all ;)

I will make a topic for HP PPL Statistics so we can share stuff like this :)

DJ Omnimaga

That is nice. And yeah I think the transparent color was already available for ages, but with opacity changes this will be nice. I just hope the speed drop over opaque sprites isn't too severe.

And yeah a benchmark topic would be nice for that :)


That said, if zoom speed is an issue for people, what they can do is create a large empty GROB, then pre-render multiple zooms of the sprites he needs. And for 2D games he just has to use a smaller GROB, draw everything at normal size then once finished he pastes the result, zoomed in to fit the screen, and bingo.

alexgt

Quote from: DJ Omnimaga on May 07, 2016, 01:18:45 am
That is nice. And yeah I think the transparent color was already available for ages, but with opacity changes this will be nice. I just hope the speed drop over opaque sprites isn't too severe.

And yeah a benchmark topic would be nice for that :)


That said, if zoom speed is an issue for people, what they can do is create a large empty GROB, then pre-render multiple zooms of the sprites he needs. And for 2D games he just has to use a smaller GROB, draw everything at normal size then once finished he pastes the result, zoomed in to fit the screen, and bingo.

I have the topic all written out I just need to input the data :P.

You could do that with the zoom but it would be really hard to manage and eventually you would have space problems, unless I am not understanding you correctly

DJ Omnimaga

Awesome! Hopefully this can be handy in the future.

And yeah you probably didn't understand exactly what I meant. For example, the HP Prime is 320x240 but you can use GROB's of any size. So if for example you use G1 at 160x120 to paste 8x8 sprites in there, you can later copy it on G0 at 320x240 resolution, so it will be scaled up in a way that each pixel are 2x2, like with xLIBC games.

This is much faster than using a 320x240 GROB and displaying each 8x8 sprite scaled up to be 16x16, one by one.

alexgt

Ohh, I see now. Yeah, that would work but only if you want 8x8 sprites :P

DJ Omnimaga

Trust me, I would rather have 8x8 sprites, because it would make it much easier to port xLIBC/xLIBCE games and monochrome games. :P

alexgt

True but I don't think you could necessarily port MinePrime without a re write :P

DJ Omnimaga

I know, but what I meant is porting CE games to the Prime, not the other way around. Some people might not just be willing to redo all their sprites from scratch, especially if they have many.

Powered by EzPortal