These are just personal notes, but they may come in handy if somebody else
wants to contine improving this simulator package.

General
-------
The simulator is divided in two large parts:
	1 - The generic simulator. This comprises the X interface (which uses
the Xaw widget set - argh!!!!), the command line parser, and some
initialization functions.
	2 - The PIC16C84 simulation engine. Practically everything is in the
files 16c84.cc and picsim.hh, but note that the files pu_* are also somewhat
PIC-specific.

The Nit-Pic 16C84 window is divided in various subwindows:
	a) Program title and copyright.
	b) Chip pinout (IC) window.
	c) Status & information window.
	d) Instruction pointer window. Shows the disassembled instructions
and highlights the actual instruction being executed.
	e) Register window. The changed registers are highlighted.

Data structures
---------------

Struct Pic: describes the state of the PIC MCU, changing every cycle.
	Pic.pc: the Program Counter. This is a separate variable from the
	two PIC registers (PCL and PCLATH) that actually determine its value.

Program structure
-----------------

ic.cc: routines to handle the IC window (shows the MCU pinout).

info.cc: routines to handle the info window.

instr.cc: routines to handle the Program Counter window.

reg.cc: routines to handle the registers window.

pu_lib.c and pu_defs.h: routines to read the PIC executable file (now reads
standard inhx8m files).

-----------------------------
Andrew D. Balsa - 14/11/98