From: Alan Cox Date: Sun, 9 Sep 2018 23:19:42 +0000 (+0100) Subject: usermem_std-z80-thunked: Fix return codes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f0fdd1f65e7a8e9aabe70b357753ce8881260b46;p=FUZIX.git usermem_std-z80-thunked: Fix return codes With this fixed the Sam port gets as far as fork and then (not unexpectedly) suffers a terminal existence failure. --- diff --git a/Kernel/usermem_std-z80-thunked.s b/Kernel/usermem_std-z80-thunked.s index db83917c..65dd9e57 100644 --- a/Kernel/usermem_std-z80-thunked.s +++ b/Kernel/usermem_std-z80-thunked.s @@ -134,6 +134,7 @@ uget1: ; not split ldir uget_out: pop ix + ld hl,#0 jp map_kernel_low __uput: @@ -153,6 +154,7 @@ __uput: uput1: ldir pop ix + ld hl,#0 jp map_kernel_low __uzero: @@ -175,6 +177,7 @@ zeroit_1: call user_mapping call zeroit pop ix + ld hl,#0 ret zeroit: ld (hl),#0