These notes provide some details about the source code and implementation of the simulator.
The source code can be obtained in two ways:
The source package is named elliott803-src-n.n.n.zip
and
contains the full Java source for the project classes.
http://svn.code.sf.net/p/elliott803/code
The SVN repository is structured in the usual way - the latest version of
the code can be found in the "trunk" stream with previous releases
available via the "tags" streams.
The directory called Elliott803
should be checked-out of SVN as
a complete Eclipse Java project.
Using Eclipse and the SVN repository is recommended if you want to try to rebuild or modify the code. In addition to the source for the simulator classes the SVN project also contains a number of JUnit unit tests and the ANT build script used to create the project download packages.
The code is designed using an approximate Model-View-Controller type of architecture, to split the GUI View logic completely from the core emulation which combines the Model and the Controller function. The intention is that the relatively simple Swing-based UI could be fairly easily replaced with more fancy graphics if required, without needing any changes to hardware simulation.
The source code is structured into the following Java packages:
elliott803
Main.java
is the main GUI program and Run.java
is the command line version.
(The command line version is probably not very useful anymore but I did use it
to test things before I had written the GUI.)elliott803.hardware
elliott.hardware.device
elliott.machine
elliott803.machine.extension
elliott803.view
elliott803.view.component
elliott803.telecode
elliott803.utils
elliott803.icon
More details to come ... probably
If you'd like to help work on the project please contact me at the address at the bottom of the page!
Tim Baldwin August 2010 tjb803@tinymail.co.uk |
Return to index
© Tim Baldwin 2009,2010 |