[HP42] bounching ball
|
09-30-2024, 07:41 PM
Post: #1
|
|||
|
|||
[HP42] bounching ball
Hi all,
just to share an amusement program I've done to learn a bit of HP42 programming, in particular for the PIXEL function. It's just a 3 pixels diameter ball bounching in the screen. I've tested on Free42 and Plus42. For Plus42 the number of pixels available in Y direction should be changed from 16 to 64 to span all the display area (row 05). The number in row 02 should be changed, increased or decreased, to let the ball moving faster or slower. Bye, Davide Code:
|
|||
09-30-2024, 08:29 PM
Post: #2
|
|||
|
|||
RE: [HP42] bounching ball
A very cool demo program!
A couple of tips to the user. 1. Installing this adds 8 programs to the XEQ menu in the calculator. You want to XEQ the program named "BNG2" which will be on the second page of programs (use down-arrow to see). 2. Make sure you are in "4STK" mode. Using "NSTK" unlimited stack mode will cause items to be added to the stack indefinitely. 3. I had to change the value in step 02 to 5E4 to slow down the ball movement enough to see it when running Free42 on my PC. |
|||
10-01-2024, 04:21 PM
Post: #3
|
|||
|
|||
RE: [HP42] bounching ball
(09-30-2024 08:29 PM)Steve Simpkin Wrote: A very cool demo program! Thank you Steve for the useful tips! Actually, I did not realize the impact of unlimited stack versus standard stack, so thanks twice! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)