[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Coldfire patches
On Sun, 2011-07-31 at 14:00 +0000, Peter Slegg wrote:
> Self-extracting archives used to be used to squeeze apps onto a floppy.
> Could a similar idea be used to create self-patching apps that run
> on 680x0 and Coldfire ?
>
> I am mostly thinking about those op codes that can't be trapped.
> The app would be wrapped in the patcher that knows which bits to
> patch for Coldfire.
>
> When the app is launched, the wrapper checks the cpu and if it is
> Coldfire, patches the app before running. For 680x0 it just runs.
>
> This might make it easier to distribute one app for both m68 and Coldfire.
It might work, but you don't need it. AHCC can create binaries that runs
on both Coldfire and 68020-060.
Jo Even