This emulator was built using the EMF system, designed and implemented by Steven Goodwin, between 2011 and 2020.
First, the machine is defined with a custom description language. Each component part, along with its interactives, it's explained in a human-friendly, and machine-readable, format.
Then, this description is processed to generate an emulator, assembler, and dissembler for the machine in question. This can be in any language, but is currently targetted to JavaScript.
Finally, these files are glued into the JavaScript EMF framework, which handles the UI-specific components.
The original Megaprocessor was designed and built by James Newman.
EMF is Copyright by Steven Goodwin, 2011-2020. All rights reserved.