The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

New graphical game for the HP-42S - Okie Dokie!
Message #1 Posted by Erik Ehrling (Sweden) on 27 Jan 2005, 5:31 p.m.

Hi all!

This is just a short note to tell that I have just finished off a new graphical game for the HP-42S - Okie Dokie - converted from the Atari 2600. As the listing is fairly long, it is mainly suited for users of emulators that can load it as a binary.

Best regards,
Erik Ehrling (Sweden)

Edited: 28 Jan 2005, 3:52 a.m.

      
Re: New graphical game for the HP-42S - Okie Dokie!
Message #2 Posted by Bill (Smithville) on 28 Jan 2005, 1:40 p.m.,
in response to message #1 by Erik Ehrling (Sweden)

Hi Erik,

Thanks for the great game. I've already loaded it into emu42 at work and have already wasted away too much time playing with it.

I've never done any graphical programing on the 42, so I'm looking forward to looking over your code to see how it's done.

Now to transfer it to my Dell Axim PPC and then to key it into an actual 42S - probally one that can do fast speed.

Thanks again.

Bill

            
Re: New graphical game for the HP-42S - Okie Dokie!
Message #3 Posted by Erik Ehrling (Sweden) on 30 Jan 2005, 4:11 p.m.,
in response to message #2 by Bill (Smithville)

Quote:
Thanks for the great game. I've already loaded it into emu42 at work and have already wasted away too much time playing with it.
Thanks - but the credits should really go to Bob Colbert, I just happened to stumble across his game and thought that the idea might work on the HP-42S... :-)
Quote:
I've never done any graphical programing on the 42, so I'm looking forward to looking over your code to see how it's done.
The graphics capabilities are very rudimentary on the HP-42S. Essentially, all there is to know can be found in the Owner's Manual, chapter 9: Program Input ann Output, Graphics (in my version pages 135-140) and Programming Examples and Techniques, chapter 7: Graphics and Plotting, Plotting Data from a Complex Matrix (in my version pages 214-215).
Quote:
Now to transfer it to my Dell Axim PPC and then to key it into an actual 42S - probally one that can do fast speed.
I have entered it into my real HP-42S (rev A) and it is a bit slow in normal speed mode, so running it in double speed helps to make it more playable. On my Jornada 568 (I have actually ordered a Dell X50v but I'm still waiting for it to arrive!) I modified the KEYB42S.KMI so that the navigational pad maps to the keys 4,6,8,2.

Original version:
---

Scancode 38			# Up
	Map 38 41
End

Scancode 40 # Down Map 40 51 End


Modified version:
---
Scancode 38			# Up
	Map 38 43
End

Scancode 40 # Down Map 40 63 End

Scancode 37 # Left Map 37 52 End

Scancode 39 # Right Map 39 54 End

Best regards, Erik

      
Okie Dokie on Free42
Message #4 Posted by Thomas Okken on 28 Jan 2005, 8:20 p.m.,
in response to message #1 by Erik Ehrling (Sweden)

Free42 version 1.1.5 and before had a bug in STOEL that would cause Okie Dokie not to work properly, or even crash the emulator. Version 1.1.6, which has the fix for this problem, is available on my Free42 page as of right now.

- Thomas

            
Re: Okie Dokie on Free42
Message #5 Posted by Erik Ehrling (Sweden) on 29 Jan 2005, 5:23 a.m.,
in response to message #4 by Thomas Okken

Quote:
Free42 version 1.1.5 and before had a bug in STOEL that would cause Okie Dokie not to work properly, or even crash the emulator. Version 1.1.6, which has the fix for this problem, is available on my Free42 page as of right now.
Real fast updates of Free42, as always! :-)

Best regards,
Erik Ehrling (Sweden)

      
Okie Dokie reveals another Free42 bug
Message #6 Posted by Thomas Okken on 29 Jan 2005, 7:49 a.m.,
in response to message #1 by Erik Ehrling (Sweden)

When playing 8 fields in a row, Okie Dokie starts to act weird in Free42 1.1.6. There turned out to be a really dumb error in the code that handles an overflowing RTN stack. Free42 1.1.7, now playing in a theater near you, fixes this problem, so you can actually spend ALL DAY playing Okie Dokie on Free42, without having to restart it after every 7th game.
Get Free42 1.1.7 at the usual place.

- Thomas


[ Return to Index | Top of Index ]

Go back to the main exhibit hall