Skip to content

Comment on TIS-100: An emulator for a CPU that doesn't exist

Comments

it's only a matter of time before someone runs linux on it.

Doubtful. Having only one usable register (plus another non-addressable "backup" register) places a (IMO) insurmountable constraint on running any multiuser unix-like kernel.

Well, the trick to the game is that you have multiple cores, each with their own register and a pipeline between them. This effectively gives you six registers, since you can bounce values back from the core on an edge register.

There are also "stack" cores, which store an arbitrary number of values and allow you to pop them back off.

If you were able to expand the system to have N cores of any type, I could easily imagine someone being able to compile C down to it.

That's a great point. Using other cores' registers is required to pass many scenarios in the game, and I'm embarrassed I forgot about the technique after being away for only a few days :) Thank you!

So Transputers again

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.