The following implementation of the W Machine simulator, in addition to running under Windows, allows for optional integration of the application into the RaspberryPi microcomputer using the Mono runtime environment.
The simulator offers the possibility of defining own instructions. Project includes predefined instruction sets, including Stack, Interruptions and Input/Output sets, allowing extensive use of the available architecture components.
In addition, based on the IO instruction set, the solution allows communication with interactive external devices, available via the SenseHat extension module for RaspberryPi - implementing the new PI Machine architecture.
Implemetation supports polish and english version of control signals in instruction sets, however the user interface was created only in english.
- Article "W Machine - How to design a simple instruction" in the journal Minut of the Silesian University of Technology (Polish version).
Following GIFs demonstrates example loop program execution.
- Performed instruction by instruction:
- Simulator executing single iteration of loop, cycle by cycle:

