home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / ROPE.ZIP / README.TXT < prev    next >
Text File  |  1992-04-06  |  3KB  |  41 lines

  1.        The Apraphul Rope Computer Simulator is based on an article by A. K.
  2.   Dewdney (Mathematical Recreations, Scientific American, April 1988, v. 258
  3.   No. 4, Pp. 118-121). He describes a mythical computer build out of ropes and
  4.   springs. This program simulates such a computer.
  5.        The basic unit of the computer is a box. Each box can have an output
  6.   value of either 0 or 1. There are four kinds of box. NULL boxes have one
  7.   input, the output equals the input. INVERT boxes have one input, the output
  8.   is the opposite of the input. AND boxes have two inputs, the output is 1
  9.   only if both inputs are 1. OR boxes have two inputs, the output is 1 if
  10.   either input is 1.
  11.        The program implements an 8x8 array of these boxes. Each box can take
  12.   input from the column to the left and give output to the column on the
  13.   right. The leftmost column takes input from the rightmost. Each box can take
  14.   input or give output to the box in the same row, the box in the row above,
  15.   or the box in the row below (the top row of boxes is connected to the bottom
  16.   row).
  17.        Programming the computer consists of specifying (1) what type of box
  18.   each of the 64 boxes are, (2) which boxes are connected to which boxes, and
  19.   (3) what inputs each box has initially.
  20.        To specify these things use the arrow keys to move around from box to
  21.   box. Type A (AND), I (INVERT), N (NULL), or O (OR) to change the box to this
  22.   type.  Type 0 (both inputs false), 1 (top input true or only input true for
  23.   NULL and INVERT boxes), 2 (bottom input true, not used for NULL or INVERT
  24.   boxes), or 3 (both inputs true, not used for NULL or INVERT boxes). Then
  25.   type U (reverse the up connection) or D (reverse the down connection).
  26.        After programming the computer you can use C to Compute. This will
  27.   recalculated each box in turn and write a number at the top of each column.
  28.   The number is the output value of the column considered as a binary number
  29.   (but expressed as a decimal number). M will also compute but will play a
  30.   tune, the top three bits set the length of the note (0 for whole note, 1 for
  31.   half, 2 for quarter, and so on). The bottom five bits set the note, 0 is E
  32.   natural in the octave below middle C and each number represents the number
  33.   of half-steps (black or white keys on a piano) above this.
  34.        Here are some other useful keys. SPACE starts the program from the
  35.   initial or help screen. H gets help from the program. E exits the program. F
  36.   saves the current program to a file, L loads from a file. S computes one box
  37.   only. R redraws the screen with no computation. Using any of these keys from
  38.   the help screen gives an explanation.
  39.        There are 4x10^107 different programs that can be written on this
  40.   computer. With some cleverness you can play a simple tune or compute the
  41.   first 12 digits of Pi.