Return to index |
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 uk101-src-n.n.n.zip
and
contains the full Java source for the project classes.
http://svn.code.sf.net/p/uk101/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 UK101
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:
uk101
Main.java
is the main GUI program.uk101.hardware
uk101.hardware.bus
uk101.machine
uk101.rom
uk101.view
uk101.view.component
uk101.io
uk101.utils
uk101.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 December 2010 tjb101@tinymail.co.uk |
Return to index
© Tim Baldwin 2010,2015 |