home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp48 / 6860 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  3.1 KB

  1. Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!uwm.edu!ogicse!cs.uoregon.edu!news.uoregon.edu!nntp.uoregon.edu!stevev
  2. From: stevev@miser.uoregon.edu (Steve VanDevender)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: Newbie Programming Question: Help!
  5. Message-ID: <STEVEV.93Jan10182435@miser.uoregon.edu>
  6. Date: 11 Jan 93 02:24:35 GMT
  7. Article-I.D.: miser.STEVEV.93Jan10182435
  8. References: <10JAN199316445615@scsuc.ctstateu.edu>
  9. Organization: University of Oregon Chemistry Stores
  10. Lines: 52
  11. NNTP-Posting-Host: miser.uoregon.edu
  12. In-reply-to: makovsky@scsuc.ctstateu.edu's message of 10 Jan 93 21:44:00 GMT
  13.  
  14. In article <10JAN199316445615@scsuc.ctstateu.edu>
  15. makovsky@scsuc.ctstateu.edu (MAKOFSKY,STEVEN) writes:
  16.  
  17.    Hello All.... Just picked up my HP48sx 2 days ago, and, wow,
  18.    what a machine. Anyways, I was wondering, what do I need to
  19.    start programming for it. Ive seen several compilers.. So,
  20.    what do I need to get me off and running?  Thanks!
  21.  
  22. You have all you need to start programming it right now.  The HP
  23. 48 includes a powerful, useful programming language called RPL.
  24. Your manuals should cover it in enough detail to get you started.
  25.  
  26. Once you have mastered RPL (often also called "user RPL") then
  27. you may want to learn the more advanced discipline of system RPL.
  28. User RPL is designed to be very robust so that programming
  29. mistakes are not likely to result in data loss.  System RPL is
  30. the language that most user RPL words have been written in.
  31. System RPL is much faster but also much less forgiving; system
  32. RPL words generally assume that you are giving them the right
  33. arguments and not satisfying those requirements may result in
  34. severe crashes.  However, many programmers find system RPL to be
  35. excellent for developing more sophisticated applications where
  36. speed and precise control of the HP 48 are important.
  37.  
  38. Finally, there is Saturn machine language.  The Saturn is a
  39. unique processor with some very nice features and some
  40. interesting quirks.
  41.  
  42. As I said before, you can program the HP 48 in user RPL right out
  43. of the box; all the necessary software is built-in (a simple
  44. program editor and a debugger).
  45.  
  46. There are two main options for programming in system RPL -- the
  47. HP Tools kit, which runs on MS-DOS machines and includes a system
  48. RPL compiler and Saturn assembler; or Detlef Mueller's <-RPL->
  49. library, which runs on the HP 48 itself.  <-RPL-> is my favorite,
  50. although you will need a memory expansion card to use it since
  51. the table of system RPL words requires about 22K.  The HP Tools
  52. RPLCOMP is apparently similar to the development system used to
  53. write the HP 48 system software, and may be a better choice for
  54. very large applications.
  55.  
  56. The two most popular Saturn assemblers are the SASM assembler in
  57. the HP 48 Tools kit and Jan Brittenson's STAR assembler.  My
  58. personal preference is STAR since it uses an alternative Saturn
  59. mnemonic set that is much more similar to standard assembly
  60. languages; SASM has many devotees as well.
  61. --
  62. Steve VanDevender     stevev@greylady.uoregon.edu
  63. "Bipedalism--an unrecognized disease affecting over 99% of the population.
  64. Symptoms include lack of traffic sense, slow rate of travel, and the
  65. classic, easily recognized behavior known as walking."
  66.