Re: No, i ...


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by Android on January 18, 2002 at 00:22:28:

In Reply to: Re: No, i ... posted by Peter on January 17, 2002 at 23:34:42:

Usually you need to know electronics to be able to "reverse-engineer" your PCB (what cpu does it use, what memory, how much, how is sound implemented, etc.) and knowledge of microprocessor programming to be able to emulate it. Not rocket science (I had my students write a simple emulator as a final project), but no easy task either, just a lot of work. All emulators are simply a big loop that goes like this: fetch byte from rom; do in software whatever the microprocessor would do in hardware as instructed by that byte (usually trivial stuff like moving numbers from one place to another, jumping to fetch bytes from somewhere else, adding bytes, or'ing, nor'ing bytes and such); go get the next byte from the rom and start over.

The good news is that you don't have to start from scratch (not even Nicola Salmoria started from scratch), as there are already emulators out there for the majority of the commercial CPU's. You can use those as your template.

But I guess we are already way off topic...

--Android

: Is there a "template" or somthing to help emulate it? Or is it just going to be to hard?





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link address (start with http://):
Link Title:
Optional Image address (start with http://):


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]