public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a1d63
)
usermem_std-z80-thunked: Fix return codes
author
Alan Cox
<alan@linux.intel.com>
Sun, 9 Sep 2018 23:19:42 +0000
(
00:19
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 9 Sep 2018 23:19:42 +0000
(
00:19
+0100)
With this fixed the Sam port gets as far as fork and then (not unexpectedly)
suffers a terminal existence failure.
Kernel/usermem_std-z80-thunked.s
patch
|
blob
|
history
diff --git
a/Kernel/usermem_std-z80-thunked.s
b/Kernel/usermem_std-z80-thunked.s
index
db83917
..
65dd9e5
100644
(file)
--- 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