News for hackers. Stuff that matters.
Re:I made an NES emulator – What I learned about the origina... by happycube on Thursday April 02, 2015 @09:37PM (#9314105)
I can top that :) (although it hasn't been used in a production emulator)

I wrote this a few years ago - it's ~500 lines taking advantage of the logic behind the instruction set (instead of a jump table) and it can run Apple I BASIC at least.

https://github.com/happycube/chadslab/tree/master/m6502

Re:I made an NES emulator – What I learned about the origina... by Cyph0n on Wednesday April 08, 2015 @01:38PM (#9342463)
Looks really clean. Nicely done.

That is similar to my approach to emulating the Gameboy Color's Z80-like CPU. Not yet completed - probably never will be :(

Re:I made an NES emulator – What I learned about the origina... by anewhnaccount on Friday April 03, 2015 @05:22AM (#9315020)
Yeah, imo trying to actually do some instruction decoding rather than just a massive switch case is a lot nicer.