SimuS is a simulator focused on computer architecture teaching, emulating the architecture of the Sapiens processor. Sapiens is an 8-bit processor archtecture of relative simplicity and its operation is easy to understand. All this simplicity meets the main goal of enabling the student to understand the low level functioning of a computer.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
SimuS is supported on Windows, linux and RaspberryPi. For each platform, there will be instructions below. FPC 3.0.4 and Lazarus 1.8 or greater is needed.
Windows:
- Access Lazarus Download
- Download and Install Lazarus IDE
- Clone this repository or download as zip
- Extract files
- Open the simus.lpi file with Lazarus
- Compile and run!
Linux:
- Download fpc_src, fpc and lazarus for your distro and arch
- After downloading, install them in the following order:
- fpc_src
- fpc
- lazarus-project
- With the IDE installed, just clone this repository or download the zip.
- Open the simus.lpi on lazarus
- Compile and run!
RaspberryPi:
- Download the installation script
- Rename the script to setup.sh
- Open terminal
- Give Permission, then run the script
chmod +x setup.sh
curl -L http://www.getlazarus.org/download/?platform=linux -o setup.sh
./setup.sh
- The script will verify dependencies
- If any of them is not found, you need to install them manually.
- After script finishes successfully, clone or download zip from this repository
- Open simus.lpi with lazarus
- Compile and run!
Binaries are available on Releases Section.
- Download the one that matches your platform.
- Setup install or unzip the file
- SimuS is ready for use!
- Lazarus - IDE used for coding and debugging
- Free Pascal - Open source compiler for Pascal and Object Pascal
- Firmata - Communication protocol used to code messages to IoT devices
- Firmata Pascal - Implementation of Firmata for Pascal
- LazSerial - Serial Library used to communicate with IoT devices
- Gabriel P. Silva
- José Antonio Borges
- Alonso Matos do Amparo Neto
This project is licensed under the MIT License - see the LICENSE.md file for details