From: ceriel Date: Fri, 10 Jul 1987 11:57:45 +0000 (+0000) Subject: yet another bug fix: the brk systemcall destroyed d1 X-Git-Tag: release-5-5~4019 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a8e086dbc313f1bf5c4911c6a939c14b0d09cc75;p=ack.git yet another bug fix: the brk systemcall destroyed d1 --- diff --git a/mach/mantra/int/mloop9 b/mach/mantra/int/mloop9 index d92cc4b58..c0ee927c9 100644 --- a/mach/mantra/int/mloop9 +++ b/mach/mantra/int/mloop9 @@ -179,9 +179,11 @@ str_s0: move.l d6,d0 ; move.b (a3)+,d0 bcc 3f !break cmp.l tblmax,d1 ; bcs 4f 5: move.l d1,hp ; jmp (a4) -3: move.l d1,-(sp) ; add.l #1280,(sp) +3: move.l d1,-(sp) + move.l d1,-(sp) ; add.l #1280,(sp) bsr _Xbreak ; testen (sp)+ -4: bne e_heap ; bra 5b +4: bne e_heap ; + move.l (sp)+,d1 ; bra 5b !---------------------------------------------------------------------------- rck_z: mov (sp)+,d0 ; bra 0f