Post Reply 
4K HP 67 Games rom attached for testing
11-21-2016, 08:53 PM (This post was last modified: 11-21-2016 10:10 PM by Dieter.)
Post: #157
RE: 4K HP 67 Games rom attached for testing
(11-19-2016 07:14 PM)Dieter Wrote:  (ST program)
I cannot say anything for sure, but the attached version (less than 30 minutes old) seems to run OK. It even does some things right that the original 67 program (and its documentation) did not.

I just saw that one of the data registers can be saved since R07 only holds the constant 25, which is the sensor range. This value is used only once, and another time half of this to define the phaser reach (so that's 12,5 here).

So I replaced R11 with R07 and inserted the two constants directly into the code: the sensor range still is 25 (line 53), the max. allowed Klingon distance for a phaser attack was rounded up to 15 (line 162, saves two bytes compared to 12,5 ;-)).

If you want to update the ST program – although it is not strictly required –, here is version 3a.

Edit: There is also an improved version of the SD program. Requires 96 bytes and needs two registers less than the original version. Also the output looks cleaner now since I added the one or other CF 29. ;-)


Attached File(s)
.zip (Size: 1.83 KB / Downloads: 4)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
HP-67 AOS program to debug - Gene - 10-30-2016, 02:11 AM
RE: 4K HP 67 Games rom attached for testing - Dieter - 11-21-2016 08:53 PM

User(s) browsing this thread: 1 Guest(s)