Skip to content

Safyrus/Computer-simulation

Repository files navigation

Computer-simulation

Trying to make a computer emulator of my own CPU architecture.

Note: This is a personal project and, as I'm not the most organized person, there may be bugs and other.


Compile

On Linux

Just run make in a terminal in the c++ folder, and it will create an executable file in c++/bin.

The compilation won't work if there is no bin folder.

On Windows

If you have MinGW, it is the same thing as Linux instead of make you need to run the equivalent of MinGW (mingw32-make for example).

You will also need [https://github.com/meganz/mingw-std-threads].


Dependencies

You will need SFML to run this program [https://www.sfml-dev.org/download.php].

To install SFML on Linux: [https://www.sfml-dev.org/tutorials/2.5/start-linux.php].

To Compile SFML on any OS: [https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php].

How to Use

As of today, you will need to run the program by command line to choose between different modes. You can run the program with prog_name help to get information about what argument to use.

To learn about the custom architecture of the S257 CPU go into the note folder and read architecture_info.

Resource used

TODO

  • Correct any grammar or spelling mistake in CHANGELOG and other files.
  • Add comments.
  • Optimize cycles.
  • Add a help window.
  • Add a window for some devices.
  • Be able to change the computer configuration.

About

Trying to make a computer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages