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 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. ;-) Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)