TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

80 pointsby EvilTroutalmost 10 years ago

12 comments

vanderZwanalmost 10 years ago
The game itself I love. But I have some issues with it&#x27;s implementation.<p>To be specific, it maxes out the CPU even when it&#x27;s not doing anything. Given that it&#x27;s supposed to emulate low-level hardware, at very slow speeds, and does not have any demanding graphics, I fail to see why it should do that.<p>(It&#x27;s something I&#x27;ve seen happening in more games as of late, actually. For example, Desktop Dungeons - a very fun game which has no business demanding <i>anything</i> from my computer since it&#x27;s turn-based, uses sprites, and barely animated. And yet my laptop heats up as soon as I open the game.)<p>In fact, it&#x27;s a bit ironic, given that the whole theme of the game is squeezing out performance out of bare metal hardware, and I admit that I&#x27;m more annoyed by it for that somewhat irrational reason.
评论 #9805407 未加载
评论 #9805339 未加载
评论 #9804844 未加载
tehbeardalmost 10 years ago
To be fair the TIS-100 runs slower in the game to improve the visuals. To let you see (albeit in a blur at higher speeds) your code run rather than a click button, instant &quot;level complete&quot; popup. (note: I don&#x27;t own TIS-100 yet, but it&#x27;s fairly similar to their other game spacechem)
hthhalmost 10 years ago
I too wrote a TIS-100 simulator in C ( <a href="https:&#x2F;&#x2F;github.com&#x2F;hthh&#x2F;tis100sim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hthh&#x2F;tis100sim</a> ) - it&#x27;s interesting to compare styles.<p>(I get a bunch of errors on OS X unless I change &quot;CC=gcc&quot; to &quot;CC=clang&quot;, btw)
评论 #9804440 未加载
评论 #9804331 未加载
评论 #9805129 未加载
kyberiasalmost 10 years ago
Remember that notch&#x27;s silly space game with a simulated processor and the huge influx of emulators and whatnot after the announcement?
评论 #9804158 未加载
chetanahujaalmost 10 years ago
I&#x27;ve been looking for a simple computer&#x2F;CPU simulator for kids to play on. Something like this <a href="http:&#x2F;&#x2F;thlorenz.com&#x2F;visulator&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thlorenz.com&#x2F;visulator&#x2F;</a> is almost there but it&#x27;s a bit too complex for elementary&#x2F;middle school level kids to start on. A game would be even better but the one we&#x27;re discussing here (TIS-100) is basically designed to confuse and challenge rather than illuminate. Suggestions and pointers are extremely welcome.
FreeFullalmost 10 years ago
<a href="http:&#x2F;&#x2F;retroforth.org&#x2F;docs&#x2F;The_Ngaro_Virtual_Machine.html" rel="nofollow">http:&#x2F;&#x2F;retroforth.org&#x2F;docs&#x2F;The_Ngaro_Virtual_Machine.html</a> This virtual machine has been implemented many times in various programming languages. The retro forth download includes most of the implementations.
bashinatoralmost 10 years ago
Zachtronics makes amazing games. This is the same guy who wrote SpaceChem and Infiniminer (the inspiration for Minecraft)<p><a href="http:&#x2F;&#x2F;www.zachtronics.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.zachtronics.com&#x2F;</a>
cmdrfredalmost 10 years ago
Is this a good way to get started with assembly?
评论 #9805716 未加载
DanWaterworthalmost 10 years ago
It would be interesting to implement the emulator using the PyPy toolchain.
LoSboccaccalmost 10 years ago
oh this brings up memories of corewars and redcode
SIGALARMalmost 10 years ago
it&#x27;s only a matter of time before someone runs linux on it.
评论 #9804668 未加载
static_noisealmost 10 years ago
MMIX