Release Notes

This folder should contain:

wumpus.asm
wumpus.hex
debugwumpus.asm
debugwumpus.hex
as31.exe
j51.jar

The .asm files are the assembly code files, the .hex files
are the compiled assembler files, as31 is the compiler and
j51 is the simulator.  

NOTE:  You MUST have Java installed on your computer to
run the simulator!!!  Java is free, and can be found at
http://java.sun.com

The wumpus program is the primary program.  Debugwumpus
is the debug version, which is identical except it shows
the whole board, instead of just your position in the matrix.

Also, I would guess that all this code is property of Case
Western Reserve University since this was written for a
class.


General Notes about the game:

First, general gameplay instructions are found in help.hlp
This file is only for more obscure questions and technical
information.

To perform keyboard input, you must first click inside the 
Uart box.  Also, since screen output is essentially a write
only variable, there's no way to clear the screen after every
move.  Therefore, the screen is supposed to scroll downward.
To shoot the wumpus, you must be adjacent to it; shots only
fly one space.  

And yes, the huge wumpus that is coming to kill you can fly
and share a space with bats.


Some more technical notes:

The random numbers are generated with an 8-bit linear 
congruential random number generator.  The generator's
equation is x(n) = 221 * x(n-1) + 53.  The generator is
seeded by cycling while waiting for user input (the real
reason for the opening screen).  Since the generator is
seeded extremely often, the effect of the generator's short
period is minimized.

Register 3 is dedicated to holding the arrow count and register 6
is dedicated to random number generation.  The other registers are
used for storage at various times.