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
contains the full Java source for the project classes.
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:
Main.javais the main GUI program and
Run.javais 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.)
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!
|Return to index
© Tim Baldwin 2009,2010