Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectRe: Some 68k questions Reply to this message
Posted byJan_Klaassen
Posted on08/03/04 02:13 PM

> I'm trying to write an 68k emulator and I'm wondering about a few things.
> * Is there any reference available where I can find how many cycles the
> instructions take? I couldn't find it in the motorola programmer's reference.
> Can I cheat here a bit?

There is documentation, a document (available as .pdf file) named M68000 (fill in the rest of the series too) 8/16/32bit Microprocessor User's Manual. It has all the timing info, have fun with the multiply instructions (as soon as you see the description for those, you will start to cheat a bit). ;)

> * Since I want to use it primarily for arcade emulation, are there some things
> in the 68k which are almost never used (so I can make life a bit easier at first
> :-) ?

Yes, you can avoid dealing esoteric details like the way multiple memory spaces are supported without any adverse consequences for arcade emulation (or 99.99% of any emulation). You can also neglect the prefetch on the 68K (though you'll need it for e.g. Amiga or Atari ST emulation). You can avoid other (fairly) esoteric stuff like trace mode or alignment exceptions as well.

> * What is a good arcade game to start with, so a simple to emulate yet fun
> machine? So that I won't have to torture myself trying to get Galaxy Force to
> show anything, you know... :-)

I wouldn't know a good example, though there definately are some. Maybe Biomechanical Toy?

Entire Thread
Subject  Posted byPosted On
*Some 68k questions  erikduijs08/03/04 10:55 AM
.*Re: Some 68k questions  finaldave08/04/04 05:42 AM
..*Here's another link that might be helpful  erikduijs08/13/04 07:31 PM
..*Re: Link to user manual with timing info  Jan_Klaassen08/04/04 12:21 PM
...*Re: Link to user manual with timing info  finaldave08/05/04 05:32 AM
.*oh my gawd...  erikduijs08/04/04 03:29 AM
..*Re: oh my gawd...  Bart T.08/04/04 10:44 AM
...*Re: oh my gawd...  erikduijs08/04/04 06:00 PM
....*Re: oh my gawd...  R. Belmont08/05/04 11:09 PM
.....*Re: oh my gawd...  erikduijs08/08/04 05:57 PM
..Re: Some 68k questions  Jan_Klaassen08/03/04 02:13 PM
..*Re: Some 68k questions  Bart T.08/03/04 02:23 PM
...*Re: Some 68k questions  R. Belmont08/03/04 07:35 PM
....*Re: Some 68k questions  Riff08/04/04 03:16 PM
.....*Re: Some 68k questions  finaldave08/05/04 05:43 AM
....*Re: Some 68k questions  ElSemi08/04/04 05:11 AM
.....*Re: Some 68k questions  R. Belmont08/04/04 06:42 PM
.....*Re: Some 68k questions  erikduijs08/04/04 05:48 AM
....*Re: Some 68k questions  erikduijs08/04/04 03:05 AM