News for hackers. Stuff that matters.
Re:How do emulators work and how are they written? by anthonyb on Saturday May 15, 2010 @11:24PM (#1351265)
I found http://openbookproject.net/py4fun/ a while back. It has quite a few projects, one of which is a "toy computer" emulator written in Python. It goes from the raw emulator, through to writing a simple language and compiler for it.

It is a toy example (hence the name, I guess), but a picture is worth a thousand words, if you're wondering about the nitty gritty of it all.

There are no comments on this comment yet.