Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

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

SubjectRe: Creating GBA Emulator Reply to this message
Posted byRiff
Posted on08/13/04 04:02 PM

> I don't know StarScream, but I could imagine it maybe doesn't lend itself very
> well to wrap it up in a class? Other than that, I wouldn't know why you wouldn't
> be able to run 2 megadrives at once using OO if the rest of the megadrive
> emulator is OO too...

I'm not sure what the incentive would be to attempt to emulate the system emulation state of two megadrives using the same process when you can just run an emulator executable twice. Emulating multiple processors is a completely different story. There is no reason that an object oriented implementation of a processor core should be particularly inefficient. I use a class for my Nuon processor core and have four of them running at the same time. The indirect-pointer overhead is negligable compared to overhead associated with interpretation and multi-processor synchronization. When you emit native code, all of this overhead can go away if you use a separate code buffer for each processor.

Entire Thread
Subject  Posted byPosted On
*Creating GBA Emulator  cubexrock08/05/04 08:41 PM
.*Re: Creating GBA Emulator  finaldave08/06/04 06:16 AM
..*Re: Creating GBA Emulator  Raiden1608/09/04 03:06 PM
...*Re: Creating GBA Emulator  Bart T.08/09/04 09:43 PM
....*Re: Creating GBA Emulator  Raiden1608/10/04 01:21 AM
.....*Re: Creating GBA Emulator  finaldave08/11/04 07:03 AM
......*Re: Creating GBA Emulator  erikduijs08/13/04 02:42 PM
........Re: Creating GBA Emulator  Riff08/13/04 04:02 PM
........*Re: Creating GBA Emulator  erikduijs08/13/04 07:22 PM
.........*Re: Creating GBA Emulator  Riff08/13/04 09:07 PM
..........*Re: Creating GBA Emulator  erikduijs08/14/04 06:31 AM
...........*Re: Creating GBA Emulator  Riff08/14/04 03:48 PM
......*Re: Creating GBA Emulator  Raiden1608/12/04 02:42 PM
.*Re: Creating GBA Emulator  Bart T.08/05/04 09:33 PM