MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: It's called "static recompiler"
03/16/11 06:08 PM


> I'm afraid that's too vague for me to grasp the problem you are talking about. I'd
> say - it depends, but we need to be more specific in order to avoid assumptions. The
> only two kinds of "self-modifying code" I can think of are these two:
>
> a.) compressed code
>
> b.) encrypted code

Those are both correct. However, there's a third case: all of the systems that currently use DRCs run code almost exclusively from RAM, and they all use overlays to do so. And a fourth case: code that actively constructs other code based on the game state and then runs it. And a fifth where some code is copied into RAM by an external protection device.

All of these combine to mean the same RAM location could have dozens or hundreds of unique pieces of code occupying it over the lifespan of a game.

So to achive static recompilation, you need:

1) to guarantee 100% coverage of the game's code on a single interpreter run
2) some way to track all of the different code configurations that occur in RAM during that run, which can number in the hundreds on ST-V games, let alone systems with more RAM like Naomi

And after that, all you can hope for is the exact same performance improvement that a DRC already yields without having to deal with any of those problems. Therefore, there is zero reason for MAMEdev to pursue this.







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 298 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