Vous êtes sur la page 1sur 2

Autor

E-mail
Software
Version
Type
Library
Size
Checksum
Tested on

:
:
:
:
:
:
:
:
:

Peter Geelhoed
P.F.Geelhoed@student.TN.TUDelft.NL
Darts
2.0
Utility, Darts scratch pad
1206 #B46h
646.5 bytes
# E7FDh
HP48G(X) rev R
Darts
or
The quest for Bytes

1. Disclaimer
If I get a lot of E-mail telling me how great I am, I might develop
this program further.
Although this program has been tested thoroughly the author cannot
accept any responsibility for data lost due to any crash caused by Darts.
2. Terminology
Score
Value

Number of points you throw


( E.G. 43, 77 )
Number of points you have left to throw
( E.G. 501, 367 )

3. Introduction
Darts is a darts scratchpad it displays the two players and their last
four values. It starts at 501 (like the World Embassy) and calculates
the next value after a score is entered.
Darts was originally written in USER-RPL but this was bulky and slow.
I began thinking of writing it in SYS-RPL when someone (sorry I forgot
your name) at COMP.SYS.HP48 asked about a dart-scoring program. I sent
the USER-RPL version to him. Recently I go into darts again and started
the SYS-RPL version.
4. The quest for Bytes
My main goal was to get it as small as I could. One way to do this, I
thought, was to use the inputline command. Imagine my surprise when I
discovered I could write an inputlike subroutine that was only 190 bytes
(160 for numbers only) this also had going for it that the editor could
be in the same screen as the scratchpad. This speeds up the program and
cuts its size by about 300 bytes so the net gain was about 100 bytes.
5. Installation
This is just another library so store it in any port

6. Commands
DARTS

Darts requires two strings. These will be used for the


names of the players. The strings will be trunkated to
seven characters.

7. Screen
The screen at startup shows the two names at the top. At the bottom
there will be two "501" 's and an arrow pointing at the player whose
turn it is.
8. Input
You enter the score by typing the number keys and the digits will
appear in the lower left corner. (NO CURSOR just type)
After you finish you press enter and the new value will be calculated
If you TYPE in a wrong digit you press backspace
If you ENTER a wrong number you can press enter to change players
again and then enter a number and press (NEG) and then ENTER. The
number will be added to the value.
To quit press CANCEL
(HELL! you know this stuff)
9. Credits
Peter Geelhoed
Made with Jazz

Author

P.F.Geelhoed@student.TN.TUDelft.nl
Mail me if you have any comments or can minimize the code

Vous aimerez peut-être aussi