Post Reply 
Cyber Tennis Game for HP-41C
09-03-2017, 05:25 PM (This post was last modified: 09-03-2017 08:46 PM by Dieter.)
Post: #2
RE: Cyber Tennis Game for HP-41C
(09-02-2017 08:01 PM)Namir Wrote:  Note: You can set flag 00 to skip the "SEED?" prompt.

If this is the intended behaviour the FC? 00 test has to move down one step between "SEED?" and PROMPT.
The comment at LBL 02 says that a negative number is displayed. That's not correct, all output is positive.
LBL 01 generates a random integer between 0 and 99. This score is never displayed, so the routine can be completely removed and all calls replaced by XEQ E. This way also all references to R04 are obsolete. Since the probability of a tie then is near zero that part of the code can be removed as well. ;-)
The program does not set the display mode. At least a FIX 0 and preferably also a CF 29 in the initialization routine is recommended.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cyber Tennis Game for HP-41C - Namir - 09-02-2017, 08:01 PM
RE: Cyber Tennis Game for HP-41C - Dieter - 09-03-2017 05:25 PM
RE: Cyber Tennis Game for HP-41C - Namir - 09-05-2017, 02:59 PM
RE: Cyber Tennis Game for HP-41C - Namir - 09-05-2017, 11:41 PM
RE: Cyber Tennis Game for HP-41C - Dieter - 09-06-2017, 11:26 AM
RE: Cyber Tennis Game for HP-41C - Dieter - 09-05-2017, 08:32 PM



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