MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Bart T.
Reged: 01/07/06
Posts: 196
Send PM
Re: Emulator: Interpreter vs. Compiler?
03/15/11 09:50 AM


> > MAME's DRC is caching, meaning the translation pass to x86/x64 binary code runs
> once
> > per instance of emulated (MIPS/PowerPC/SH-2) code and you therefore get the
> run-time
> > performance of a static recompiler without all of the problems. (And since it's
> > dynamic, it can handle the self-modifying code that occurs somewhat frequently in
> > e.g. ST-V games programmed by Success).
>
>
> That's great, you already can handle the most difficult part - the stuff that is
> 'hard to know' at compile time, and as such those platforms seem already suitable for
> a nice hybrid optimisation, or perhaps something like Java virtual machine does with
> its 'intermediate byte-code'.
>
> Possibly most of the game ROMs could be pre-processed to some intermediate
> 'byte-code', and we could leave 'uncertain branching' and 'self-modifying code' parts
> to be done by via DRC... but then, after we play the game long enough we would
> eventually have the WHOLE game traversed and statically recompiled somewhere in the
> computer memory, and then all we need is to dump it all to a file, right?

Why bother, the ROMs are already in a form of "byte code"


Bart







Entire thread
Subject Posted by Posted on
* Emulator: Interpreter vs. Compiler? safreen 03/14/11 01:17 AM
. * Re: Emulator: Interpreter vs. Compiler? R. Belmont  03/14/11 08:03 PM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/15/11 07:24 AM
. * Re: Emulator: Interpreter vs. Compiler? R. Belmont  03/15/11 03:02 PM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/15/11 06:14 PM
. * Re: Emulator: Interpreter vs. Compiler? R. Belmont  03/15/11 09:37 PM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/16/11 05:56 AM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/16/11 05:37 AM
. * Re: Emulator: Interpreter vs. Compiler? drewcifer  03/16/11 07:25 PM
. * Re: Emulator: Interpreter vs. Compiler? H@P  03/17/11 03:59 PM
. * Re: Emulator: Interpreter vs. Compiler? StilettoAdministrator  03/16/11 07:53 PM
. * Re: Emulator: Interpreter vs. Compiler? Bart T.  03/16/11 04:14 AM
. * Re: Emulator: Interpreter vs. Compiler? R. Belmont  03/16/11 05:58 PM
. * Re: Emulator: Interpreter vs. Compiler? Bart T.  03/16/11 09:34 PM
. * Re: Emulator: Interpreter vs. Compiler? etabeta  03/15/11 10:18 AM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/15/11 05:41 PM
. * Re: Emulator: Interpreter vs. Compiler? Bart T.  03/15/11 09:16 PM
. * Re: Emulator: Interpreter vs. Compiler? Matty_  03/14/11 01:35 AM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/14/11 02:03 AM
. * Re: Emulator: Interpreter vs. Compiler? BIOS-D  03/14/11 04:50 AM
. * Re: Emulator: Interpreter vs. Compiler? R. Belmont  03/14/11 03:17 PM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/15/11 07:01 AM
. * Re: Emulator: Interpreter vs. Compiler? Bart T.  03/15/11 09:50 AM
. * Re: Emulator: Interpreter vs. Compiler? safreen  03/15/11 04:23 PM
. * Re: Emulator: Interpreter vs. Compiler? Bart T.  03/15/11 09:03 PM
. * It's called "static recompiler" safreen  03/14/11 08:12 AM
. * Re: It's called "static recompiler" Bart T.  03/14/11 08:50 AM
. * Re: It's called "static recompiler" safreen  03/15/11 06:32 AM
. * Re: It's called "static recompiler" R. Belmont  03/15/11 02:59 PM
. * Re: It's called "static recompiler" safreen  03/15/11 05:47 PM
. * Re: It's called "static recompiler" Bart T.  03/15/11 09:10 PM
. * Re: It's called "static recompiler" Bart T.  03/15/11 10:09 AM
. * Re: It's called "static recompiler" safreen  03/15/11 04:34 PM
. * Re: It's called "static recompiler" R. Belmont  03/15/11 09:41 PM
. * Re: It's called "static recompiler" krick  03/18/11 05:01 AM
. * Re: It's called "static recompiler" safreen  03/16/11 05:51 AM
. * Re: It's called "static recompiler" Bart T.  03/16/11 07:48 AM
. * Re: It's called "static recompiler" Bart T.  03/15/11 09:08 PM
. * Re: It's called "static recompiler" safreen  03/16/11 05:20 AM
. * Re: It's called "static recompiler" Bart T.  03/16/11 07:51 AM
. * Re: It's called "static recompiler" safreen  03/16/11 09:23 AM
. * Re: It's called "static recompiler" R. Belmont  03/16/11 06:08 PM
. * Re: It's called "static recompiler" safreen  03/16/11 09:00 PM
. * Re: It's called "static recompiler" Anonymous  03/17/11 10:04 AM
. * Re: It's called "static recompiler" StilettoAdministrator  03/16/11 06:56 PM
. * Re: It's called "static recompiler" keshbach1  03/16/11 07:52 PM
. * Re: It's called "static recompiler" BIOS-D  03/16/11 07:04 PM
. * Re: It's called "static recompiler" Bart T.  03/16/11 09:31 PM
. * Re: It's called "static recompiler" R. Belmont  03/16/11 09:40 PM
. * Re: It's called "static recompiler" twistyAdministrator  03/16/11 10:48 PM
. * Took ya all long enough.... mogli  03/17/11 04:18 AM
. * Re: Took ya all long enough.... R. Belmont  03/17/11 02:37 PM
. * Re: Took ya all long enough.... mogli  03/18/11 04:53 AM
. * Re: It's called "static recompiler" Bart T.  03/17/11 12:03 AM
. * Re: It's called "static recompiler" drewcifer  03/15/11 09:24 PM
. * Re: It's called "static recompiler" BIOS-D  03/15/11 05:00 PM
. * Re: It's called "static recompiler" Waremonger  03/16/11 04:58 AM
. * Re: It's called "static recompiler" krick  03/15/11 07:15 AM
. * Re: It's called "static recompiler" R. Belmont  03/15/11 02:55 PM
. * Re: It's called "static recompiler" AWJ  03/15/11 12:15 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 360 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 6258