Re: Intermediate step for new arch for lc040 compatibility

John Klos <[email protected]> Sat, 3 May 2025 18:25:34 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
>> I've wondered about a binary patcher, or at least a patcher that patches
>> on binary load in to memory, like CyberPatcher / OxyPatcher for emulated
>> instructions on '040 / '060 Amigas...
>
> Sounds good but I dont know if its possible as data is lost when enterning the
> fline trap maybe there is a way to do it change fpu instuctions to jumps and
> insert the nop there and run the trap.  But I don't know how to go about it as
> yet.

That's how CyberPatcher works - patch with a jump, run soft-float, return. 
It's much faster than exceptions.

John