title: Is there any emulator programming tutorial or guide?
body: <p>Possible duplicate of <a href="https://stackoverflow.com/questions/448673/how-do-emulators-work-and-how-are-they-written">How do Emulators Work and How are they Written?</a></p>
  
  <p>I want to program an emulator ( may be NES or C64, I haven't decided yet ), I know there are lots of them so many may ask why would someone want to make one from scratch, but I want to include some specific characteristics in it, and also for the sake of building it myself.<br>
  I'd like to read a guide from someone who has built one and can transmit the experience, it doesn't have to be platform-specific ( better if it's not ) since I know how to program, what I don't is how to emulate.</p>