Code Monkey home page Code Monkey logo

tomeraberbach / mano-simulator Goto Github PK

View Code? Open in Web Editor NEW
35.0 3.0 16.0 1.29 MB

🖥️ An assembler and hardware simulator for the Mano Basic Computer, a 16 bit computer.

License: MIT License

Java 100.00%
mano hardware-simulator assembler mano-simulator mano-machine computer-architecture java java-8 java8 simulator javafx javafx-8 javafx-application java-application editor text-editor hardware-simulation 16bit architecture instruction-set-architecture

mano-simulator's Introduction

Mano Simulator

An assembler and hardware simulator for the Mano Basic Computer, a 16 bit computer.

This is a JavaFX application that compiles assembly code for and runs a simulation of Mano's Computer as detailed in:

Computer System Architecture, 3rd edition by M. Morris Mano Published by Prentice-Hall, c 1993 Chapter 5, pp 123-172.

Usage

  1. Download the latest jar from releases

  2. Install a Java version compatible with the downloaded jar's Java version

  3. For jars supporting Java versions lower than 11, install JavaFX

  4. Assuming mano-simulator.jar is in the current working directory, run the following command:

    $ java -jar mano-simulator.jar

    If the java command is not found, then ensure java is in your PATH.

Development

  1. Install Git

  2. Run the following command to clone the repository:

    $ git clone [email protected]:TomerAberbach/mano-simulator.git
  3. Install Maven

  4. Assuming the current working directory is the cloned repository, run the following command to package the application:

    $ mvn package

    An executable jar should appear at target/mano-simulator-VERSION.jar, where VERSION matches the version in pom.xml. Replace VERSION in and run the following command to run the application:

    $ java -jar target/mano-simulator-VERSION.jar

Examples

See example programs.

License

MIT © Tomer Aberbach

mano-simulator's People

Contributors

abdurrahmanekr avatar tomeraberbach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mano-simulator's Issues

Syntax highlighting

What's an IDE without syntax highlighting? Lol.

Assigning myself to implement syntax highlighting using SyntaxTextAreaFX.

Want to contribute in this Simulator

Hello ,I am student and currently studying Bachelor of Information Management at Tribhuvan University. As I have the "Computer Organization" Subject in 3rd semester.

Text book: - M. Morris Mano, Computer System Architecture 3rd Edition

I found that the simulator only show the outputs value in Hex and I found it annoying every time. So I decided to work on your simulator
I clone the project and did the some changes.
Successfully, I made the project what i was seeking a lot. The simulator now show the outputs in different tabs: Hexa-Decimal, Decimal, Binary.

And experimented all the programs listed in Text Book. Its working fine.
Please reference from here:

https://github.com/TECHPRASANT/co-simulator

If you want to merge that code .. please reply...

Could not find or load main class com.tomeraberbach.mano.application.Main

fail to launch the application
this is the output:
~/Public/HelpFaceBookFriends2020/ManoSimulator$ java -jar mano-simulator.jar
Error: Could not find or load main class com.tomeraberbach.mano.application.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
~/Public/HelpFaceBookFriends2020/ManoSimulator$

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu219.10)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu219.10, mixed mode, sharing)

installed JDK and FX from synaptic (Ubuntu19.10)

how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.