THE GRASS CALCULATOR› --------------------›› by RON FETZER of OHAUG›› If you bought a commercial calculator› with all these features it could cost› you a considerable amount of money.› This is a great calculator. If you do› Assembly Language programming this› calculator is a must. It does Hex to› Deci and Deci to Hex conversions.›› It was called the GRASS CALCULATOR› because it was developed by the Grand› Rapids Atari System Supporters› (GRASS). The program was written by› GARY HEITZ and TIM FEENSTRA. The› '^Hex' function did not work. I› corrected it. I also clarified some› of the prompts on the screen.›› This is a 10 digit calculator with› Hex to Deci. and Deci to Hex› function. In addition the memory› contents are displayed on the› calculator unlike a commercial› calculator. With the ability to› display numbers in SCIENTIFIC› NOTATION you can get answers that can› be 20 digit long or even longer.›› SCIENTIFIC NOTATION. In this format› only the SIGNIFICANT digits are› displayed. The number of places to› move the decimal point is indicated› by a number with a + sign. For› example:›› CALCULATOR SHOWS:›› 2.334512 +12›› This means that the decimal point› must be moved 12 places to the RIGHT› from its present position. The empty› spaces get filled in with 0. Thus the› number woud be:›› 2 334512000000.› .----------->.›› 2,334,512,000,000(2 trillion etc.)›› FEATURES OF THE CALCULATOR. Repeat› the keystrokes as shown in the› examples. ^R means hold the CONTROL› KEY and press R.››› ADDITION: 25 + 25 = ANS(50)›› SUBTRACTION: 50 - 30 = ANS(20)›› MULTIPLICATION: 25 X 4 = ANS(100)›› DIVISION: 50 / 10 = ANS(5)›› PERCENT: 90 X 6 % = ANS(5.4)›› SQUARE ROOT: 64 ^R = ANS(8)›› SQUARE OF A NUMBER: 7 ^S = ANS(49)›› HEX TO DECI.: $FF ^D = ANS(255)›› DECI TO HEX: 1000 ^H ^H = ANS($3E8).› (Press ^H TWICE!)›› CHANGE SIGNS: T (TOGGLES) FROM +/-› AND -/+›› GET 2 DECIMAL PALCES: # 2.345 + 3.569› = 5.92 (ROUNDED OFF TO NEAREST› HUNDREDTH)›› PUT A NUMBER INTO MEMORY: 100 ^+›› SUBTRACT A NUMBER OUT OF MEMORY: 25› ^-›› FROM MEMORY TO MAIN DISPLAY: ^M›› CLEAR MEMORY: ^C›› CLEAR A CURRENT ENTRY: Z›› CLEAR ALL (EXCEPT MEMORY): CLEAR or› RETURN›› PRINT: P(TOGGLES ON/OFF) Printer›› QUIT PROGRAM: ^Q››› When a HEX number is put into the› memory it will automatically be› converted to a decimal number. (All› HEX numbers must be preceeded by› '$').›› If you want to disable the BREAK KEY› remove the REM in line 1910.›› You can renumber this program (TURBO› BASIC) to higher numbers such as› starting with 30000 and attach it to› another program. To do this do the› following:›› 1) Renumber the program› 2) SAVE it with LIST. Example: LIST› "D:GRASSCAL.LIS"› 3) Type in NEW›› 4) LOAD your original program into› the computer.› 5) LOAD your listed program with the› ENTER command. Example:ENTER› "D:GRASSCAL.LIS"› 6) Save your newly created program.›› You now have attached the calculator› program to your original program. You› can call the claculator program with› a GOTO 30000. To return to your› original program change line 490 in› the calculator program from 490› .....:END to 490 ....:GOTO 10. Now› every time you press ^Q(Quit) you› will be going to the begining of your› original program.›› MAKING A MASTER DISK: Format a disk› in single density. If you use TURBO› BASIC your calculator will be faster.› The new TURBO BASIC shows a prompt of› TURBO. The old shows a prompt of› READY. PUT DOS on your disk. Copy› TURBO BASIC(AUTORUN.SYS) to the disk.› From the Newsletter copy the program› GRASSCAL.ARB to your disk. If you› have the new TURBO BASIC on the disk› the program will be self booting. The› calculator program will run also› without TURBO BASIC.›› You can order a complete master disk.› It is $4.00 including shipping. Order› from Ron Fetzer. See address below.›› OL' HACKERS A.U.G. INC., C/O RON› FETZER, 22 MONACO AVE., ELMONT, NY› 11003, U.S.A.›› >>>>>>>>>>>>>>>END<<<<<<<<<<<<<<<<<<<›››