HP Forums
BLIT / BLIT_P question (FW 10077) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: BLIT / BLIT_P question (FW 10077) (/thread-6194.html)



BLIT / BLIT_P question (FW 10077) - komame - 05-02-2016 09:50 AM

Hello,

The on-calc help says that BLIT has syntax:
BLIT([trgtG], [dx1, dy1], [dx2, dy2], srcG, [sx1, sy1], [sx2, sy2], [c], [alpha])
but I can't compile it when all arguments are defined.

For example:
Code:
BLIT(G0,1,1,20,20,G1,0,0,15,15,0,128);

I get syntax error.

The syntax in help differs for BLIT and BLIT_P, because in BLIT_P the alpha argument is not present, but the problem occurs in both cases.


RE: BLIT / BLIT_P question (FW 10077) - cyrille de brébisson - 05-02-2016 03:38 PM

Hello,

Looks like an issue, we will add it to the list.

Cyrille


RE: BLIT / BLIT_P question (FW 10077) - Tim Wessman - 05-02-2016 04:26 PM

Specifically, having "12" arguments is the problem. If you are always going to be using G0 as your first argument, just leave that first G0 out and it will work for you right now (I believe)


RE: BLIT / BLIT_P question (FW 10077) - informach - 05-02-2016 08:57 PM

Hi!:

It's the question's ... http://en.hpprime.club/docs/reference?search=BLIT#BLIT_P


RE: BLIT / BLIT_P question (FW 10077) - StephenG1CMZ - 05-15-2016 10:58 PM

It has also been reported that BLIT_P is not working in 10077 in my accessibility program - with 10 parameters. I don't have 10077 to test that here.


RE: BLIT / BLIT_P question (FW 10077) - informach - 05-16-2016 12:09 AM

Hi!, StephenG1CMZ:

See, this example program, with ... http://en.hpprime.club/apps/games/pong

Kind Regards.
informach.


RE: BLIT / BLIT_P question (FW 10077) - StephenG1CMZ - 05-16-2016 07:53 AM

(05-16-2016 12:09 AM)informach Wrote:  Hi!, StephenG1CMZ:

See, this example program, with ... http://en.hpprime.club/apps/games/pong

Kind Regards.
informach.

PONG works fine on Android (except I need an easier-than beginner mode, or more practice Smile )
The BLIT syntax seems about the same as mine - can you try my program in 10077?
The original report didn't make clear what happens and I don't have 10077 here.


RE: BLIT / BLIT_P question (FW 10077) - informach - 05-16-2016 11:27 AM

Hi!, StephenG1CMZ:

I refered only, the program, with this function.
This games ,run OK, in my HP Slate 21 k-100, Android 4.4.2; too in my HP Slate 7 2800, Android 4.1.1, in my calculator HP PRIME and in the Virtual Emulator, Software version 10077, used in HP Omni PC120 1026la, i3, 1Tb.

Kind Regards.
informach.