HP-67 FUN rom documentation thread
|
12-02-2016, 09:16 PM
Post: #23
|
|||
|
|||
RE: HP-67 FUN rom documentation thread
(12-02-2016 05:19 PM)Gene Wrote: 2) ART (Artillery): Needs labels and registers updated. I also would like someone to verify the example game I put in. Did I do this correctly or is there a mistake in the program somewhere? The program seems to run correctly. I changed the RNG to the method and seed of the original HP67 version, and the results exactly matched the example. However, the program's output seems a bit ...counterintuitive as far its interpretation is concerned. But it works. Here is an example for the ROM version. For a quick success the target speed was set to 0, i.e. it doesn't move after a shot. ;-) Code: XEQ "ART" Regarding registers and labels: R05: shot counter, doesn't seem to get used R06: shell's rounded distance from target R07: shell's rounded direction from target LBL 01: adjust target position by a random amount LBL 03: generate hh.DDDD output LBL 05: doesn't seem to be a jump target LBL 07: check if target has approached to less than 500 m. If yes... LBL 08: ...display "close" message and "*gotcha*" => game over LBL 09: change exact bearing/distance slightly by a random amount (12-02-2016 05:19 PM)Gene Wrote: Everything else is done. I have done some document formatting. Perhaps a table of contents will be added. I may put the page number into the XROM table at the start. Gene, I think the most important part here are page breaks. Each program should start on a new page, and I think this should also apply to every listing. I also think that the a) b) c) ... thing at the labels/register section is a bit confusing and should be omitted. Just my 2 cents. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)