Giter Site home page Giter Site logo

tis-100's Introduction

An emulator for a CPU that doesn't exist

This is a C implementation of an emulator for the TIS-100 computer, which doesn't exist.

Features

  • Implements the TIS-100 instruction set.
  • It runs much faster than the Unity reference implementation.

How to compile

Just run

$ make
$ ./tis

How to run programs

If you look at tis.c you'll see it opens divide.sys and divide.tis files.

divide.tis is quite similar to the save game format of the TIS-100 game. The main difference is it doesn't skip node numbers when they are not present, or are stack nodes.

divide.sys includes the information for the input nodes and output nodes. It's a format I made up. If you're interested in it, you've probably played TIS-100 and are therefore savy enough to figure it out!

Debugging

If you edit constants.h and define RICH_OUTPUT you'll get a display closer to the game allowing you to step through the code by pressing any key except q. q quits.

Author

Evil Trout (@eviltrout)

License

MIT, although the instruction set for TIS-100 might be proprietary. That is unclear!

tis-100's People

Contributors

eviltrout avatar flipcoder avatar thiagobbt avatar zydeco avatar

Watchers

 avatar

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.