Welcome, Guest. Please login or register.

Author Topic: How do you code an emulator?  (Read 3525 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline spirantho

Re: How do you code an emulator?
« on: February 08, 2010, 04:18:27 PM »
Depends on what you want to emulate.
If you want to emulate a CPU, then at the simplest level, you just need to write an interpreter from the emulated CPU into the native CPU.
If you're emulating a simple computer like a ZX Spectrum, you also need to get the timings right, and the display chip has to be emulated.
If you're emulating something complex like a Saturn or 3DO or something then if you need to ask, don't bother. :)
--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness!