It was fixed in july/august when Toni started working on his 680x0 cputester and commited in WinUAE 4.3.0 beta 1 :
LINK stacked value is saved before SP is decreased by 4. Only affects pointless LINK A7,#x variant. (All models except 68040)
This is (obviously) about LINK
, and not about UNLK
, which was the case in my post. But yeah, it is the same idea. In this case the An value is copied to a couple of temporary registers while performing a prefetch. And then later, the temporary registers are written to memory.
You can check this WinUAE thread for a list of all the changes that were detected using the cputester against real HW : http://eab.abime.net/showthread.php?t=98746
. So far, all those changes were merged into Hatari's devel version?
As I just commented by PM, both to Nicolas and to Toni, I believe that list is not 100% accurate. Need to verify to elaborate and be more precise.