From 552186f4697c80da81e1f7b16da2977fd0a347b7 Mon Sep 17 00:00:00 2001 From: Jesus Garcia Date: Wed, 17 Nov 2021 18:44:35 -0500 Subject: [PATCH] Workaround to fix call_user() on A2560U --- src/m68k/startup_m68k.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m68k/startup_m68k.s b/src/m68k/startup_m68k.s index 030b42e..881573c 100644 --- a/src/m68k/startup_m68k.s +++ b/src/m68k/startup_m68k.s @@ -380,7 +380,7 @@ _call_user: move.l (8,a7),a1 ; Get the pointer to the process's stack move.l (12,a7),d0 ; Get the number of parameters passed move.l (16,a7),a2 ; Get the pointer to the parameters - andi #$dfff,sr ; Drop into user mode + ; andi #$dfff,sr ; Drop into user mode movea.l a1,a7 ; Set the stack move.l a2,-(a7) ; Push the parameters list