home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol055 / sigmlog.053 < prev    next >
Encoding:
Text File  |  1985-02-10  |  11.8 KB  |  332 lines

  1. Sig/M    Volume 53    Updated SAM76
  2.  
  3.             -CATALOG.053    contents of Sig/M volume 53
  4.                     released January 2, 1982
  5.             ABSTRACT.053    SAM76 documentation
  6.  
  7. index    name        size    crc    description
  8.  
  9. 53.01    ASTRO   .FNT     8K    AC 16    Astrological signs for graphics
  10. 53.02    BONUS   .DOC     1K    BC 4B    Function documentation
  11. 53.03    BOOK    .DOC     1K    35 77    How to order SAM76 manual
  12. 53.04    CPMSETL .COM     1K    9D 9A    Part of SAM76 setup procedure
  13. 53.05    DEMO    .SAM     3K    A1 F7    Some interesting demo programs
  14. 53.06    DIRFIX  .SAM     1K    AB F3    Disk directory routines
  15. 53.07    EXTF    .ASM    19K    5E 47    Various routines, including
  16. 53.08    EXTF    .DOC     1K    CF C0    ..a clock driver.
  17. 53.09    FRIEND  .DOC     1K    3C 3D    oops!! Applies to something
  18.                     not supplied on disk: a vers
  19.                     of SAM76 that runs at 8000H
  20. 53.10    G       .SAM     2K    A4 E2    Sets up SAM for load-and-go
  21. 53.11    HOOH    .SAM     1K    3C 88    Hex to octal to hex
  22. 53.12    IDUMP   .COM     1K    D4 15    Interpreted file dump (**)
  23. 53.13    ILRAW   .COM    13K    81 B2    Raw copy of SAM76.  See
  24.                     READ-ME.DOC and S.DOC
  25. 53.14    INFO    .SAM    10K    CD BB    Creates following .DOC files
  26. 53.15    INFO1   .DOC     1K    DB 37    <<Empty>> ??
  27. 53.16    INFO2   .DOC     1K    A0 83    Misc. DOC
  28. 53.17    INFO3   .DOC     2K    73 12    Misc. DOC
  29. 53.18    INFO4   .DOC     1K    5C 62    <<Empty>> ??
  30. 53.19    INFO5   .DOC     2K    BF 1B    Misc. DOC
  31. 53.20    LABEL   .SAM     3K    1D D9    Demo prog.
  32. 53.21    LOOP    .SAM     1K    4B 5E    Demo prog.
  33. 53.22    MOVE2   .SAM     1K    37 A9    Demo prog.
  34. 53.23    MULT    .SAM     1K    DC 6D    Multiplies long decimal #'s
  35. 53.24    NEWS    .SAM     5K    EE FF    Random news story generator.
  36. 53.25    P1UR    .FNT    10K    F0 1A    Used with graphics
  37. 53.26    PLOT    .ASM    15K    72 6E    For graphics on Poly/TRS-80
  38. 53.27    PLOT    .DOC     1K    87 03    ..type board, or plotter.
  39. 53.28    PRINT   .SAM     7K    14 36    Print SAM files
  40. 53.29    READ-ME .DOC     3K    6B D4    One user's experiences.
  41. 53.30    S       .DOC     2K    89 67    Doc on creating S.COM
  42. 53.31    SIZE    .SAM     1K    4A 34    Demo
  43. 53.32    SIZLST  .SAM     1K    4A 13    Demo
  44. 53.33    SLED    .SAM     4K    9A 65    Demo
  45. 53.34    THREED  .SAM     4K    70 56    Demo
  46. 53.35    UPD051  .TXT     7K    B6 1E    ???
  47. 53.36    UPD052  .TXT     7K    36 C6    ???
  48. 53.37    VERIFY  .SAM     1K    5A D8    Demo
  49. 53.38    VOLSAM  .DOC     6K    B2 9B    Volume documentation
  50.                     ("extended abstract")
  51. 53.39    X$UTIL  .SAM     3K    C2 67    Demoè
  52. SAM7╢ wa≤ submitteΣ b∙ thσ autho≥ t∩ Sig/═ witΦ correction≤ t∩ ì
  53. CPMU╟ volumσ 34« "SAM7╢ Thσ Firs⌠ Languagσ Manualó i≤ availablσ ì
  54. from║   
  55.  
  56.           SAM76 Inc.
  57.           Box 257 RR1
  58.           Pennington, N. J., 08534
  59.  
  60. * reference PRICES.DOC file for more information
  61.  
  62. Seσá Dr«á Dobb≤á Journa∞ #2╢ (Volumσ 3¼á Issuσ 1⌐ fo≥ ßá looδá a⌠ ì
  63. SAM76¼ bu⌠ conside≥ thσ abovσ booδ a≤ thσ "realó reference.
  64.  
  65. *¬á   .SA═á file≤á arσ no⌠ printablσ duσ t∩á control-┌á a⌠á thei≥ ì
  66. start¼á s∩ IDUM╨ wa≤ includeΣ oε thi≤ disδ "fo≥ thσ curious"«á I⌠ ì
  67. i≤ aε hex-asciΘ interpreteΣ filσ dum≡ program.
  68.  
  69. Copyright (c) 1982 by Sig/M-Amateur Computer Group
  70. of New Jersey Inc., Box 97, Iselin NJ, 08830-0097 
  71.  
  72.      The SAM76 language deals mainly with the manipulation of
  73. text, which contain expressions, scripts and procedures written
  74. by the user.  They can contain both character strings and
  75. program instructions.  SAM76 is an interactive, surprisingly
  76. powerful language, which appears to be good for gaming and
  77. artificial intelligence applications.  Powerful, recursive
  78. macros or procedures may be constructed. It is a language
  79. which encourages intellectual juggling. 
  80.                 reviewed by Stan Ericson, Rockford, Il.
  81.  
  82. A 240 page text book entitled:
  83.  
  84. SAM76 The First Language Manual
  85.  
  86. is available {perhaps} from your computer store
  87. and {surely} from the publisher:
  88.  
  89. SAM76 Inc.
  90. Box 257 RR1
  91. Pennington, N. J., 08534
  92. U.S.A.
  93.  
  94. Price is $15.00 postpaid if cash with order.
  95.  
  96. Otherwise terms are:
  97.  
  98. $30.00 net 30 days (postpaid) plus
  99. $5.00 for each copy of the invoice required by
  100. the purchaser in addition to the original one which
  101. is furnished free of charge. {U. of FLA. please Note}.
  102.  
  103. Details of the language may be found in back issues
  104. of Dr. Dobbs', and Creative Computing.
  105.  
  106. Send a Self Addressed Stamped envelope for a free reference
  107. sheet which lists the commands and gives some examples.
  108.  
  109. SAM76 Inc.
  110. Box 257, R.R.1
  111. Pennington, N. J., 08534, U.S.A.
  112.  
  113. -
  114. Available materials and prices effective May 1, 1980
  115.  
  116. Printed Matter:
  117.      SAM76 Language Manual - 240 pps.               $20.00
  118.      SAM76 Beginners Tutorial booklet               $ 5.00
  119.  
  120. Machine Readable materials:
  121.      SAM76 Distribution Disk -                      $20.00
  122.        Contains object code for 8080 and Z80
  123.        Source code for graphics functions,
  124.        real time clock and some miscellaneous
  125.        other functions; variety of applications
  126.        scripts, and demonstrations as well as
  127.        miscellaneous tutorial material.
  128.        Available formats (see NOTE A,B,C,D)
  129.  
  130.      SAM76 Distribution TRS80 cassette              $20.00
  131.        Contains object code for TRS80, and
  132.        some demonstration scripts. Included
  133.        with cassette is brochure for TRS-80.
  134.  
  135.      SAM76 Adventure Game                           $25.00
  136.        Available formats are "A,B,D"
  137.  
  138.     SAM76 "Hershey" graphic incremental vector tables
  139.        I - Occidental Fonts excluding Gothic        $20.00
  140.       II - Gothic Fonts and Oriental Index          $20.00
  141.      III - Oriental Fonts                           $20.00
  142.            Set of three disks                       $50.00
  143.        Available formats are "A,B"
  144.  
  145.      SAM76 Distribution and Adventure for North
  146.        Star - Single Density system - 2 disks       $40.00
  147.  
  148. Notes:
  149.      A - 8inch single density CP/M format
  150.      B - 5 1/4 inch - Micropolis MOD II CP/M
  151.      C - 5 1/4 inch - TRS-80 CP/M or TP/M
  152.      D - 5 1/4 inch - TRS-80 standalone
  153.  
  154. For other formats contact SAM76 by phone (609) 466-1129
  155.  
  156. TERMS: All above prices are net - payment with order
  157.        cash, money order or personal check - no credit
  158.        cards. Prices include shipping postpaid fourth
  159.        class for printed matter unless disks included
  160.        in which case first class. Add $2.00 for first
  161.        class for books alone. Overseas add $7.00 for
  162.        AIR book rate.
  163.  
  164.        Net 30 prices are those quoted above multiplied
  165.        by two. One copy of invoice furnished gratis,
  166.        if additional copies are required add
  167.        $5.00 for each desired copy.
  168.  
  169. By Ward Christensen:
  170.  
  171.      Whenever you get a new piece of software, you want
  172. to see it WORK.  You don't want to have to do a lot of
  173. reading.  Trouble with that attitude, you might miss some
  174. of the more interesting things available.  SAM76 falls into
  175. that category.
  176.      I'm going to tell you enough to at least see your computer
  177. spit somethng back at you under SAM76.  Then I'm going to tell
  178. you to read "BOOK.DOC" and get the documentation.
  179.  
  180.      I found that copies of S.COM which were generated on
  181. one system were not necessarily transportable to another
  182. system.  Trying it, my disks performed some unnatural acts
  183. with the head load solenoid until I smashed reset.  So
  184. I therefore have (wrongly or rightly) deleted the S.COM
  185. file from the disk, and instead suggest you generate your own.
  186.      You generate your own copy of SAM76.COM via the following
  187. procedure (this somewhat duplicates S.DOC):
  188.  
  189. A>ILRAW            which brings in a "raw" SAM76
  190. A>CPMSETL        set up for CP/M running SAM at 100.
  191.             SAM76 comes to life at this point.
  192.  
  193. %bf,g/=            Reads in G.SAM.  If it accesses the
  194.             wrong disk (I was actually running
  195.             on B: for example, and it went to A:
  196.             to get "G.SAM") then type:
  197.     %sdu,1/=    Select disk unit 1 (B:)
  198.     %bf,g/=
  199.  
  200. %G/=            Will run G (upper case - case matters
  201.             almost everywher in SAM76 - incorrectly
  202.             specifying a name due to having the
  203.             wrong case might cause an error
  204.             message, or might just "cr/lf")
  205.  
  206. SAVE 63 S.COM        or B:S.COM
  207.  
  208. You now have a copy of SAM76 to run.  Try the demo
  209. program:
  210.  
  211. S
  212.  
  213. %bf,news/=        Bring in file "news".  If it goes
  214.             to a: and you want b:
  215.     %sdu,1/=
  216.             then try the %bf,news/= again
  217.  
  218. %lt, /=            Will list the texts in memory.  The
  219.             ' ' after the comma is the delimiter
  220.             to use when listing.
  221.  
  222. %vt,P/=            View the text of "P", which is the
  223.             mainline function of NEWS.  It calls
  224.             p1, p2, p3, and p4, then itself again.
  225.  
  226. %A/=            Runs news itself.
  227.  
  228. CP/M users might find SAM76 a little "unfriendly" in that
  229. it uses control-x for line delete instead of control-U, and
  230. that control-s to suspend output, is not implemented.
  231. But one of the ideas of this language it to experiment,
  232. dissect, see what makes a program tick.  Within 1 hour's
  233. experience with SAM76, I rewrote "P" in "NEWS" to pause
  234. for character input before re-executing itself.  Thus the
  235. lack of ^S didn't seem so serious.  
  236.      The more I see the more interesting I get.  I have decided
  237. I'm interested, so the next step will be to send in an order
  238. for the book.  
  239.      Have fun...
  240.  
  241. P.S. I was unable to generate a copy of a COM file which
  242. would successfully run "S NEWS".  It always tried to go to
  243. drive A, while SAM was on drive B:.  I diddled with "%sdu,1/="
  244. to select the B: drive, but was unsuccessful.  Mind you,
  245. I DIDN'T try very hard - just an hours diddling or so.  I'll
  246. await the book before getting more serious.  The DDJ article
  247. from volume 3, issue 1, is a start, but doesn't have
  248. everything, and I'm sure some things have changed since then.
  249.         ----------------
  250.      Now, about that book:  If you have successfully gotten
  251. this far, you must be serious, so get the book!  Here's a
  252. copy of "BOOK.DOC":
  253.  
  254. A 240 page text book entitled:
  255.  
  256. SAM76 The First Language Manual
  257.  
  258. is available {perhaps} from your computer store
  259. and {surely} from the publisher:
  260.  
  261.     SAM76 Inc.
  262.     Box 257 RR1
  263.     Pennington, N. J., 08534
  264.     U.S.A.
  265.  
  266. Price is $15.00 postpaid if cash with order.
  267.  
  268. Otherwise terms are:
  269.  
  270. $30.00 net 30 days (postpaid) plus
  271. $5.00 for each copy of the invoice required by
  272. the purchaser in addition to the original one which
  273. is furnished free of charge. {U. of FLA. please Note}.
  274.  
  275. Details of the language may be found in back issues
  276. of Dr. Dobbs', and Creative Computing.
  277.  
  278. Send a Self Addressed Stamped envelope for a free reference
  279. sheet which lists the commands and gives some examples.
  280.  
  281. The file with the "h" in its name is as the name
  282. suggests a version of the SAM76 language
  283. assembled to operate at 8000 HEX. You may chose
  284. to put this in rom or ram above a 32 K CPM
  285. system, or better yet give copies of it to your
  286. diskless impecunious friends and sucker them in
  287. to get the book and learn all about SAM76.
  288.  
  289. Don't forget to zeroize the "POA" location if your
  290. friend does not really have a disk or he
  291. will get strange things when doing the "@@f" function.
  292.  
  293. "S.COM" is an example of the use of SAM76 in autorun
  294. mode of operation. In effect "S.COM" is nothing
  295. more than (in this case ILRAW primed with CPMSETL)
  296. a version of the SAM76 interpreter which has been
  297. reloaded prior to saving with a script written to
  298. recognize a command string and act on it.
  299.  
  300. Procedure is as follows:
  301.  
  302. 1. Bring in a copy of SAM76, either through the
  303. sequence ZLRAW/ILRAW and CPMSETL/ZAPSETL or if you
  304. prefer just S.
  305.  
  306. 2. Bring the file "G.SAM" thus:
  307.  
  308. %bf,g.sam/=
  309.  
  310. 3. Examine the text "G" that has been brought in
  311. and desirably analyze it - use %vt,G/=.
  312.  
  313. 4. Execute G thus:    %G/=
  314.  
  315. 5. This will take you back to the operating system
  316. and now save the file thus:  SAVE 63 xxx.COM.
  317.  
  318. Use of xxx.COM allows you to specify a command string
  319. which is examined by "G" in the following manner:
  320.  
  321. xxx yyy drive
  322.  
  323. where xxx is the name of the file you saved,
  324. and  yyy is a file (yyy.sam) which contains the script
  325. you wish to invoke, the first of which must be named
  326. upper case "A" (at least as long as you do not change G).
  327. and drive is the drive number on which yyy.sam exists.
  328.  
  329. If you omit drive, then drive 0 is assumed, if you omit
  330. yyy then you will get SAM76 in its normal form.
  331.  
  332.