An emulator for the TIS-100 CPU
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
build
programs It's working Jun 30, 2015
src support ANY and LAST Jul 4, 2015
.gitignore Does practically nothing Jun 16, 2015
Makefile Fix various compilation warnings and errors Jun 30, 2015
README.md Added note about requiring `ncurses`. Jan 4, 2016

README.md

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

Make sure you have ncurses installed on your platform.

$ 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!