Author Topic: Bugs and Requested Features with the HP Prime and Related Software  (Read 62531 times)

0 Members and 1 Guest are viewing this topic.

Offline MacBernick

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +3/-0
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #90 on: December 06, 2013, 07:56:11 pm »
Just a quick remark, it took me a while to understand why my program was crashing randomly with no apparent reason. I realized that PPL doesn't like a RETURN statement inside a loop (at least a while loop). It's not obvious at all, since it worked for a couple of iterations, then the program kept crashing on a random instruction.
« Last Edit: December 06, 2013, 07:56:43 pm by MacBernick »

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #91 on: December 06, 2013, 08:02:43 pm »
Yeah, some error messages are still kinda cryptic.

Also bug report on my side:

-The calc rebooted after letting my polygon program loop for a very long while (several minutes) before interrupting it. Not sure what caused it, though.
-My pseudo 3D-effect program from last month still doesn't work properly once you connect the calc to the computer. It can be annoying to test on calc when charging. I suspect that it has something to do with the TICKS command, because the frame rate counter I made is totally messed up too when this happens (shows 100-900 FPS instead of 21-23).
-The emulator crashes then restarts when running into an INT command.
-In the original Tetris program posted on HP Museum a while ago (not the updated one), keypresses don't do anything in the emulator.
-In the FILLPOLY_P help, the syntax for the example is wrong and doesn't work. Or maybe it should work but a bug causes it to not to? I had to replace everything with brackets to get it to work.

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #92 on: December 06, 2013, 08:08:56 pm »
back to the units

how bout this

3/2=3/2
ans=3/2/2

happens a lot on my 3.1 nspire cas cx

Offline Han

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +7/-0
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #93 on: December 07, 2013, 12:36:09 pm »
-The calc rebooted after letting my polygon program loop for a very long while (several minutes) before interrupting it. Not sure what caused it, though.
-The emulator crashes then restarts when running into an INT command.

The first issue is likely due to a memory leak. As for the second issue, are you using INT for integration? Or did you use it to find integer values of a decimal? The former is how it's implemented on the HP Prime (that is not to say, however, that INT does not have any bugs). For integer values, use IP.

Based on my own experiences with the calculator, the error handling on the calculator is likely the cause of MANY issues inside programs -- and even worse in apps. It would not surprise me to find out that crashes are the result of mishandled errors.

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #94 on: December 08, 2013, 01:18:30 pm »
Nah INT wasn't used there. I stopped using INT entirely because it crashes in the emulator whenever used (it says The application has crashed and will be restarted.), plus it's incredibly slow. Other crashes that happens in the emulator are when you try to display stuff from outside the top of a GROB when using scaling. On calc it displays garbage, but on the emulator it crashes. Although I guess it's normal, it can be annoying during debugging, since on the emulator this means losing all progress on the program (since it's only saved once shutting down the emulator rather than closing the program).

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #95 on: December 16, 2013, 02:29:11 pm »
Some minor issues:

-If you press Shift then ON during program execution, it turns the calc off before even exiting it. Turning it back on exits the program. In one occasion it wouldn't turn back on and I had to do the ON+Symb combo.
-And of course the backlight dims even inside a program if you don't press any key for a while
-A major slowdown occurs when pressing keys in a program, unless these keys are used by it (via the getkey commands, for example)
-The calc reboots when plugging it to the computer sometimes.

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #96 on: December 18, 2013, 07:44:35 pm »
Emulator (or connectivity kit) bug: Sometimes, when the connectivity kit is open, if you try to connect the calc to the HP Prime emulator, the emulator becomes sentient... O.O

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #97 on: December 19, 2013, 06:53:36 am »
Terminator prototype? Or GLaDOS?

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #98 on: December 19, 2013, 09:30:07 am »
I don't know which one, but it literally takes control of the Prime emu keypad/touchscreen and likes the apps section a lot.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #99 on: December 19, 2013, 09:34:19 am »
..., the emulator becomes sentient... O.O
Wat ya mean, crashes? Come on, no euphemisms please! :P

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #100 on: December 19, 2013, 10:54:33 am »
Dors it connect to the emu as it would with a normal calc?

Offline Han

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +7/-0
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #101 on: December 19, 2013, 12:42:32 pm »
Yes, you can transfer directly between emulator and the actual calculator, bypassing the connectivity kit altogether.

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #102 on: December 21, 2013, 11:10:47 am »
Another bug, this time with BLIT_P

If you try to scroll a BLIT around using, for example, BLIT_P(G1,0,0,320,240,G1,0,1,320,241);, it just displays something messed up rather than scrolling it as it's supposed to do.

Offline Han

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +7/-0
    • View Profile
Re: Bugs and Requested Features with the HP Prime and Related Software
« Reply #103 on: December 22, 2013, 12:06:47 pm »
That's not scrolling as you are using G1 as both the input and the output of the BLIT. So as the BLIT command carries out the copying, the bits in G1 are changing! Assuming G1 is a larger graphic, then you should blit to G0 different sections of G1.

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: Bugs and Requested Features with the HP Prime and Related Software
« Reply #104 on: December 22, 2013, 12:59:17 pm »
Ah ok, I thought that it would be supposed to temporarily copy G1 into another memory area while it's being updated before putting it back into G1. What would be the fastest method for shifting G1 content around?