home *** CD-ROM | disk | FTP | other *** search
/ Old Hackers Atari User Group Newsletter / Old_Hackers_Atari_User_Group_Newsletter_OHMJ94B.atr / dcalcula.txt < prev    next >
Text File  |  2023-02-26  |  2KB  |  1 lines

  1.                 +=**=+¢             CALCULATOR¢                BY Robert E. Preston¢¢ EVERYONE NEEDS ONE!¢      This Program is a  simple  pocket¢ calculator  on  screen.  It is written¢ using OSS MAC/65. I wish to thank Karl¢ E.  Wiegers  for  his Boot Camp #43 in¢ Analog Computing  for  its  assistance¢ with  Atari  floating  point routines.¢ There now that that is over here comes¢ the description of the program.¢¢ THE MOTHER OF INVENTION IS NEED!¢      This  program  is  simply  an  on¢ screen  calculator.  There  have  been¢ many  times  that  I needed to do some¢ simple math when down by my system. It¢ seems   that   a   simple   calculator¢ function is not built into the Atari's¢ so I wrote one. It started out to just¢ be an exercise in the  use  of  MAC/65¢ that  got  out of hand. So I offer the¢ program to you.¢¢ HOW TO:¢      The use of the program  is  quite¢ simple just load the program from DOS.¢ It functions like a pocket  calculator¢ just enter the numbers and an operator¢ to get the results. The math functions¢ supported    are     addition     (+),¢ subtraction  (-),  multiplication (*),¢ division (/), powers of a number  (^),¢ and  roots of a number (|). CAVEAT: BE¢ CAREFUL WITH THE LAST TWO  OPERATIONS.¢ It  seems  that when using logarithms,¢ it causes rounding errors that I  have¢ yet to correct properly.¢¢ TRICKS ANYONE?¢      A  couple  of  neat tricks to the¢ program is that the  result  from  the¢ previous  calculation  is available to¢ the next as either the first or second¢ entry.  To  use  the  old  result just¢ enter a "M" for the number and the old¢ result  will  be  used.  To  exit  the¢ program  enter "E" when it asks you to¢ hit return to continue the screen will¢ be  blanked  and  operation  will   be¢ returned to DOS.¢¢ PASS IT ALONG!¢      If  you  like  this  program feel¢ free to pass it on  (as  long  as  you¢ include  this  document). If you would¢ like a copy of the source listing send¢ me  a  donation  (shows  how  to   use¢ floating  point and screen positioning¢ routines). ¢¢ ABOUT ME:¢ My address is¢      Robert E. Preston¢      3681 Kipling¢      Berkely, Mich. 48072¢ If   you   have  any  suggestions  for¢ improvement or other comments I can be¢ contacted on CIS, DELPHI, or GEnie.¢      CIS 72637,1134¢      DELPHI MENTAT¢      GEnie R.E.PRESTON¢¢      I hope you enjoy this routine and¢ find it useful.¢           Robert E. Preston¢           Presware Enterprises¢                -=-=-¢¢