MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Bart T.
Reged: 01/07/06
Posts: 196
Send PM
Re: It's called "static recompiler"
03/15/11 10:09 AM


> > Here is one interesting way to do a static recompiler:
> > http://www.gtoal.com/sbt/
>
>
> That's perfect, thank you.
>
>
> 1.) dynamic code (self-modifying programs)
>
> I would be surprised if any game boards use anything like this, except maybe for
> protection. Can you please be more specific?

Old games do it more than you might think for all sorts of weird reasons.

>
>
> 2.) programs that copy or load code into RAM
>
> You mean if the code is compressed or otherwise not part of the code segment but
> "hidden" somewhere in the data segment and indistinguishable from the rest of the
> data, or what R. Belmont calls - problem of "accidentally" compiling data, or is
> there more and something else?

There is no "code segment". You can think of ROMs as being system-level code (like an OS or BIOS). Often times, they copy portions of the game program around to different parts of RAM, and it's not necessarily because the code is compressed. ROM is slower than RAM.

Even if you could identify code in ROM (RB touched upon the syncing problem for processors with variable-length instructions), you don't actually know where it's going to be executed from, so you can't translate it. And we haven't even touched upon code stored on hard drives or optical discs, which also has to be loaded into RAM.

> All in all, MAME seem to be the worst place to start, I should probably find the
> simplest Z80 emulator for something like ZX Spectrum or Amstrad CPC, and that would
> also already have almost compatible assembler with x86 in case that turns out to be
> important or helpful. But again, my expertise has little to do with emulators, so I
> would like a little bit more information or point to some better place where to
> start, then I could do the rest myself, I think.
>

I think it would be harder for these old systems, except for very simple programs.

> "fan-made remake". The point I am trying to make is that these 'remakes' are actually
> legal unless being sold, since they do not violate game license or ROMs copyright,
> but rather the trademark associated with the use of characters, names and logos, or
> so it would seem. What do you think?

It would not be legal. Not only is it a derived work, being a simple transformation of the original code, it would also contain copyrighted data.


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 20 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 6165