Quote:
Originally Posted by idrougge
I wonder if the difference between mine and MickGyver's asm-only functions is that mine always end with AsmExit.
I also wonder if it's a good idea to end a function with RTS.
|
That could be it, I will try to remove the unlk command and replace RTS with AsmExit.
EDIT: Removing UNLK a4 in the beginning of the routine and replacing RTS with AsmExit is working, at least in WinUAE (don't have access to my A1200 now). I applied the changes to the code in my post above.