public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435bd10
)
z80: correct banked banking dofork
author
Alan Cox
<alan@linux.intel.com>
Sat, 2 Jun 2018 19:16:32 +0000
(20:16 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 2 Jun 2018 19:16:32 +0000
(20:16 +0100)
With this fixed we now fork correctly on TRS80 model 1
Kernel/lib/z80fixedbank-banked.s
patch
|
blob
|
history
diff --git
a/Kernel/lib/z80fixedbank-banked.s
b/Kernel/lib/z80fixedbank-banked.s
index
aa2eca0
..
78ceb1a
100644
(file)
--- a/
Kernel/lib/z80fixedbank-banked.s
+++ b/
Kernel/lib/z80fixedbank-banked.s
@@
-219,10
+219,12
@@
_dofork:
; FIXME: we should no longer need interrupts off for most of a
; fork() call.
;
+ pop bc ; bank
pop de ; return address
pop hl ; new process p_tab*
push hl
push de
+ push bc
ld (fork_proc_ptr), hl