home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / cellsim / v2_5 / cm2 / source.doc < prev   
Encoding:
Text File  |  1990-02-26  |  2.4 KB  |  80 lines

  1.     Brief notes on the source code for the CM half of Cellsim 2.5
  2.                 February, 1990
  3.  
  4.  
  5.   The source code for the CM side of Cellsim is divided up as follows:
  6.  
  7.   cm_cell.c
  8.     Main module.  This contains the routines which communicate with
  9.     the Sun, and which allocate fields on the CM and display things
  10.     on the Frame Buffer.
  11.  
  12.   cm_cell.h
  13.     General include file, used by cm_cell.c and also by the various
  14.     neighborhood-specific modules.
  15.  
  16.   cm_cellvonn.c, cm_cellmoore.c, cm_cellmargolus.c, cm_celllin.c
  17.     The various neighborhood-specific modules.  Each file contains
  18.     code which looks up the appropriate neighbors on the CM, and uses
  19.     the lookup-table to find each cell's new value or calls the user's
  20.     update-function.
  21.  
  22.   dynamic.c
  23.     Dynamic-linking routines, used to link in user-supplied update
  24.     functions.
  25.  
  26.   sock_rtns.c, sock_rtns.h
  27.     Basic routines used to read/write with sockets, open a socket and
  28.     wait for a client, and so on.
  29.  
  30.   dummy.c
  31.     This is the file we're ashamed to admit exists.  It's only here to
  32.     force the linker to link in most of the Paris routines that exist,
  33.     so that there won't be any unresolved externals.  When we find a
  34.     more elegant solution to the problem, this file will go away.
  35.  
  36.  
  37. /*
  38.  *
  39.  * Cellsim copyright 1989, 1990 by Chris Langton and Dave Hiebeler
  40.  * (cgl@lanl.gov, hiebeler@heretic.lanl.gov)
  41.  *
  42.  * This package may be freely distributed, as long as you don't:
  43.  * - remove this notice
  44.  * - try to make money by doing so
  45.  * - prevent others from copying it freely
  46.  * - distribute modified versions without clearly documenting your changes
  47.  *   and notifying us
  48.  *
  49.  * Please contact either of the authors listed above if you have questions
  50.  * or feel an exception to any of the above restrictions is in order.
  51.  *
  52.  * If you make changes to the code, or have suggestions for changes,
  53.  * let us know!  If we use your suggestion, you will receive full credit
  54.  * of course.
  55.  */
  56.  
  57. /*****
  58.  * Cellsim history:
  59.  *
  60.  * Cellsim was originally written on Apollo workstations by Chris Langton.
  61.  *
  62.  * Sun versions:
  63.  *
  64.  * - version 1.0
  65.  *   by C. Ferenbaugh and C. Langton
  66.  *   released 09/02/88
  67.  *
  68.  * - version 1.5
  69.  *   by Dave Hiebeler and C. Langton  May - June 1989
  70.  *   released 07/03/89
  71.  *
  72.  * - version 2.0
  73.  *   by Dave Hiebeler and C. Langton  July - August 1989
  74.  *   never officially released (unofficially released 09/08/89)
  75.  *
  76.  * - version 2.5
  77.  *   by Dave Hiebeler and C. Langton  September '89 - February 1990
  78.  *   released 02/26/90
  79.  *****/
  80.