home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG048.ARK / ABSTRACT.048 < prev    next >
Text File  |  1984-04-29  |  5KB  |  123 lines

  1. National CP/M Users Group disk 48 abstracts.
  2.  
  3. Leor Zolman's BDS-C is rapidly becoming one of the most popular
  4. non-BASIC high-level languages under CP/M, for both the
  5. hobbyist and the professional.  A nice structured language at
  6. a reasonable cost, with good documentation, and good execution
  7. speed.  ...AND totally integrated into CP/M.
  8.  
  9. "C" itself it a highly structured language, implementing the
  10. "classic" requirements for structured programming: It can
  11. either directly or indirectly perform DO WHILE, REPEAT UNTIL,
  12. DO CASE, as well as a rich "FOR"-type capability.
  13.  
  14. With a few exceptions, BDS-C implements "C" as covered in the
  15. Kernighan and Ritchie "The C Programming Language" book, which
  16. comes with BDS-C.  I quote the Lifeboat Ad:
  17.  
  18.     Supports structures, unions, 2 dimensional
  19.     arrays, pointers, recursion and overlays.
  20.     Features optimized code generator, variable    
  21.     sized buffers for file I/O, and capability
  22.     to produce ROMable code.  Includes macro
  23.     package to enable user to produce linkable
  24.     modules with MAC.  Floating point functions,
  25.     full run-time package and machine code
  26.     library sources provided.  Linker, library
  27.     manager, and textbook provided.  Compiler
  28.     lacks initializers, statics, floats, and longs.
  29.  
  30. For the convenience of "experienced" C programmers, BDS-C
  31. allows, for example, "register specification" for a variable,
  32. which, while not implemented, is syntactically accepted.  The
  33. most obvious thing missing is a data type of "float", but a
  34. floating point subroutine package is included, and a modified
  35. "printf" to support it.
  36.         ----------------
  37. Due to the more recent versions having very complete source
  38. code for run-time packages and the system libraries, many
  39. excellent programs have been "squeezed" off of the single
  40. density distribution disk.
  41.  
  42. This volume, in part, represents a source for these very good
  43. source programs, while offering several interesting .COM files
  44. for those who do not have the BDS-C compiler. 
  45.  
  46. The Users Group solicits additional BDS-C programs, and hopes
  47. to regularly come out with disks containing BDS-C programs.
  48.  
  49. The programs on the disk are primarily intelligent game pro-
  50. grams, with some H19/H89 programs which take advantage of this
  51. CRT's capabilities, such as graphics.  A good utility, TABIFY,
  52. is also included.  See Leor's own "VOLUME48.DOC" on the disk,
  53. for comments.
  54.         ----------------
  55. Here's some additional comments about the programs on the disk:
  56.  
  57. LIFE.COM: Nice implementation.  Enjoyable code to read,
  58. as are most of the programs.  An interesting touch when
  59. you decide the configuration is no longer interesting - 
  60. press your "del" key, and if you don't smile, you're made
  61. of stone.
  62.  
  63. MM.COM: So you want to play a simple game of letter guessing,
  64. eh?  Try this one.  But watch your ego: it can be deflated.
  65. MasterMind is a "simple" game, that makes you think.  The
  66. computer generates a random "word" consisting of 4 letters
  67. from A-F.  You simply "guess" 4 letters at a time, and MM tells
  68. you how many are "hits" i.e. the right letter in the right
  69. spot, and how many are misses.  Thus you deduce the missing
  70. pattern.  The game goes a bit slow, however (at least at 2MHz).
  71. Why?  MM is computing how many possible words exist based
  72. on the clues it has given you.  When this number reaches "1",
  73. it says: 
  74.     "You should have it by now".
  75. It becomes a real challenge to see how few times you can keep
  76. that message from coming out, and is a "real thrill" to "beat
  77. it" - especially a couple times in a row.  However, having it
  78. "know" YOU should "know", but you "missed" catching on for, say
  79. 5 turns, makes you feel like a real dummy.  I finally made a MM
  80. "worksheet" to try to be more efficient.  It looks like:
  81.  
  82.         AB | AB | AB | AB
  83.         CD | CD | CD | CD
  84.         EF | EF | EF | EF
  85.  
  86. Thus I guess:    A    B      C    D
  87. and hear:                0 hits, 2 misses.
  88.  
  89. I cross off A in the first column, B in the second, etc.  You
  90. can ONLY do this if there were 0 hits. Still you'll be amused.
  91.  
  92. OTHELLO.COM: Have you the patience to beat this one? 
  93.  
  94. PPONG.COM: fun H19/H89 game.  Deflect the ball with "/" and
  95. "\".  I was amazed how fast it was on a 9600 baud terminal!
  96.  
  97. PRESSUP.COM: A challenging game, not quite as bad as Othello.
  98.  
  99. RALLY: This sounds so interesting I almost bought an H19.  If
  100. I had actually seen it in operation, I bet I might.  Randy
  101. Suess ran it and said it was excellent, except that the screen
  102. flickered a bit due to lots of reverse video "...but I have an
  103. older H19 and the new ones may be better".
  104.  
  105. STONE.COM: You get to specify how "hard" the computer works to
  106. beat you, and if you let it work a while, it's nearly un-
  107. beatable.
  108.  
  109. TABIFY.COM: A nice utility to delete spaces from a file, in-
  110. serting tabs where appropriate, based on the CP/M convention.
  111.  
  112. TTT.COM:  Hmmm, what could be new in a Tic Tac Toe game?  Well,
  113. brains, and wit for two things.  Ex: it puts its "X", you put
  114. your "o", it thinks a while, and says "I've got ya".  If it
  115. thinks for a while, and after several pieces are on the board,
  116. doesn't say "I've got ya", then you MAY be on your way to a
  117. rare win, or more likely a "cat" game.  Play it and see.
  118.  
  119. VOLUME48.DOC: Leor's own comments.
  120.  
  121.                 Abstracts by
  122.                 Ward Christensen
  123.