Hacker News new | past | comments | ask | show | jobs | submit login

Looks like standard emulator coding to me. Op-codes and state changes.



Very cool. Haven't ever delved into this kind of code. Got any pointers/tips for me? :)


I would suggest you attempt to solve the "Cult of the Bound Variable" programming problem[0]. The first stage of the problem requires you to write an emulator for an "ancient" computer that has a very easy to follow instruction set.

[0]: http://www.boundvariable.org/task.shtml


Well, seeing as how it's 16-bit:

0x0000

0x0001

0x0002

...

That help?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: