[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Coldfire patches



This idea might be totally unworkable but it just occurred
to me so I thought I would share. It might be a non-issue.

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.

Regards,

Peter