home *** CD-ROM | disk | FTP | other *** search
- Brief notes on the source code for the CM half of Cellsim 2.5
- February, 1990
-
-
- The source code for the CM side of Cellsim is divided up as follows:
-
- cm_cell.c
- Main module. This contains the routines which communicate with
- the Sun, and which allocate fields on the CM and display things
- on the Frame Buffer.
-
- cm_cell.h
- General include file, used by cm_cell.c and also by the various
- neighborhood-specific modules.
-
- cm_cellvonn.c, cm_cellmoore.c, cm_cellmargolus.c, cm_celllin.c
- The various neighborhood-specific modules. Each file contains
- code which looks up the appropriate neighbors on the CM, and uses
- the lookup-table to find each cell's new value or calls the user's
- update-function.
-
- dynamic.c
- Dynamic-linking routines, used to link in user-supplied update
- functions.
-
- sock_rtns.c, sock_rtns.h
- Basic routines used to read/write with sockets, open a socket and
- wait for a client, and so on.
-
- dummy.c
- This is the file we're ashamed to admit exists. It's only here to
- force the linker to link in most of the Paris routines that exist,
- so that there won't be any unresolved externals. When we find a
- more elegant solution to the problem, this file will go away.
-
-
- /*
- *
- * Cellsim copyright 1989, 1990 by Chris Langton and Dave Hiebeler
- * (cgl@lanl.gov, hiebeler@heretic.lanl.gov)
- *
- * This package may be freely distributed, as long as you don't:
- * - remove this notice
- * - try to make money by doing so
- * - prevent others from copying it freely
- * - distribute modified versions without clearly documenting your changes
- * and notifying us
- *
- * Please contact either of the authors listed above if you have questions
- * or feel an exception to any of the above restrictions is in order.
- *
- * If you make changes to the code, or have suggestions for changes,
- * let us know! If we use your suggestion, you will receive full credit
- * of course.
- */
-
- /*****
- * Cellsim history:
- *
- * Cellsim was originally written on Apollo workstations by Chris Langton.
- *
- * Sun versions:
- *
- * - version 1.0
- * by C. Ferenbaugh and C. Langton
- * released 09/02/88
- *
- * - version 1.5
- * by Dave Hiebeler and C. Langton May - June 1989
- * released 07/03/89
- *
- * - version 2.0
- * by Dave Hiebeler and C. Langton July - August 1989
- * never officially released (unofficially released 09/08/89)
- *
- * - version 2.5
- * by Dave Hiebeler and C. Langton September '89 - February 1990
- * released 02/26/90
- *****/
-