The Museum of HP Calculators

HP Forum Archive 18

[ Return to Index | Top of Index ]

HP67 Moon Rocket Lander.
Message #1 Posted by Mike T. on 3 Apr 2008, 6:44 a.m.

Can anyone provide me with a listing of the original 'Moon Rocket Lander' program for the HP97/67 along with a sample program run.

I need a test program and I can't think of a better place to start (well I probably can, but it wouldn't be nearly as nostalgic or as much fun!)

Thanks

Mike T.

      
Re: HP67 Moon Rocket Lander.
Message #2 Posted by Steve Perkins on 3 Apr 2008, 1:15 p.m.,
in response to message #1 by Mike T.

http://www.hpmuseum.org/software/41td/land67.htm

This should be a faithful listing, though presented as a program that can be run on a HP-41 with a card reader. Apparently it came from a genuine HP-67 Moon Lander game program card.

The compatible instructions such as:

7DSP4 or 7DSP0 are just 
DSP 4 and DSP 0 on the 67
Some constants will take up more than one line, especially "50-" which ends up being:
5
0
CHS
Hopefully you can figure out any other oddities.
            
Re: HP67 Moon Rocket Lander.
Message #3 Posted by Trent Moseley on 3 Apr 2008, 2:52 p.m.,
in response to message #2 by Steve Perkins

The "Standard Pac" program-guide lists 95 steps for the "Moon Rocket Lander".

tm

                  
Re: HP67 Moon Rocket Lander.
Message #4 Posted by Mike T. on 5 Apr 2008, 6:18 p.m.,
in response to message #3 by Trent Moseley

Following the guidance above I get the following program which encouragingly is 95 steps long. However if I just let it run to completion on my HP67 simulator without entering anything it halts with an Error 4 message, could anyone confirm that I have converted all the steps correctly?

001 31 25 11 
002 05 
003 00 
004 00 
005 33 06 
006 05 
007 00 
008 42 
009 33 07 
010 06 
011 00 
012 33 08 
013 31 25 09 
014 34 06 
015 23 04 
016 43 
017 04 
018 81 
019 34 07 
020 35 61 02 
021 31 71 
022 35 51 02 
023 35 64 
024 61 
025 35 71 02 
026 42 
027 35 72 
028 35 72 
029 23 00 
030 34 08 
031 35 72 
032 03 
033 35 72 
034 02 
035 35 72 
036 01 
037 35 72 
038 00 
039 35 72 
040 31 25 05 
041 34 08 
042 35 52 
043 32 81 
044 22 02 
045 33 51 08 
046 02 
047 71 
048 05 
049 51 
050 33 09 
051 02 
052 81 
053 34 06 
054 61 
055 34 07 
056 61 
057 34 09 
058 33 61 07 
059 35 53 
060 33 06 
061 31 83 
062 31 81 
063 22 09 
064 31 25 03 
065 23 00 
066 34 07 
067 34 04 
068 35 72 
069 22 04 
070 31 25 02 
071 34 08 
072 02 
073 83 
074 05 
075 51 
076 33 61 06 
077 02 
078 71 
079 33 61 07 
080 34 06 
081 01 
082 00 
083 71 
084 34 07 
085 32 54 
086 61 
087 31 54 
088 42 
089 22 04 
090 31 25 12 
091 05 
092 33 51 08 
093 00 
094 22 05 
095 84 

Many Thanks

Mike T.
                        
Re: HP67 Moon Rocket Lander.
Message #5 Posted by Bob Frazee on 5 Apr 2008, 8:29 p.m.,
in response to message #4 by Mike T.

Mike
Line 067 should be 31 25 04 (f lbl 4), instead of 34 04.  I ran the program like you described, on a real 67 and your emulator gets the same numbers as the real 67.  I also entered 2, 20 unit burns and the velocity an altitude numbers matched, although to get the burns entered, I had to enter the first digit, which stopped the program, then entered the burn again, then hit r/s.  The real calculator takes the burn that was entered during the "0" pause, and keeps on going, no r/s is needed to keep the program running.  Hope this helps.
Bob Frazee
                              
Re: HP67 Moon Rocket Lander.
Message #6 Posted by Bob Frazee on 5 Apr 2008, 8:50 p.m.,
in response to message #5 by Bob Frazee

Well, lets try this again.

Mike
Line 067 should be 31 25 04 (f lbl 4), instead of 34 04. I ran the program like you described, on a real 67 and your emulator gets the same numbers as the real 67. I also entered 2, 20 unit burns and the velocity and altitude numbers matched, although to get the burns entered, I had to enter the first digit, which stopped the program, then entered the burn again, then hit r/s. The real calculator takes the burn that was entered during the "0" pause, and keeps on going, no r/s is needed to keep the program running. Hope this helps.
Bob Frazee

                                    
Re: HP67 Moon Rocket Lander.
Message #7 Posted by Trent Moseley on 5 Apr 2008, 10:49 p.m.,
in response to message #6 by Bob Frazee

I ran it through on my 67, and as Bob points out the only error from the original listing is in Line 067 (isn't that a coincidence!): Correct is 31 25 04.

tm

                                          
Re: HP67 Moon Rocket Lander.
Message #8 Posted by Mike T. on 7 Apr 2008, 5:36 a.m.,
in response to message #7 by Trent Moseley

Many thanks to you both. Now to fix the problem with digit entry during pause...

Mike T.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall