Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread*Show in Threaded Mode


SubjectPoint in right direction new Reply to this message
Posted bynibble
Posted on02/06/04 04:59 PM



Was thinking of writing an emulator in assembly. Can anyone point me to a tutorial on where to get started? Thanks




SubjectRe: Point in right direction Reply to this message
Posted byR. Belmont
Posted on02/10/04 05:14 PM



I think the advice most people would give you about that would be "don't". Premature optimization is the root of all evil, and few things are more premature than writing an entire emulator in assembly.




SubjectRe: Point in right direction new Reply to this message
Posted byRiff
Posted on02/10/04 05:48 PM



I wouldnt write an emulator purely in assembly unless you absolutely have to. I'd only write the instruction handlers in assembly and use a higher level language for everything else. Once you understand the basic concept of writing an emulator, you might as well consider diving into the realm of dynamic compiliation which has the advantages of being more efficient than straight interpretation and that the compiler can be written completely in a higher level language yet the possible code optimizations meet and/or exceed those possible with an assembly based interpreter.

> anyone point me to a tutorial on where to get started? Thanks




Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode