public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7e6cab
)
z80fixedbank: Enable Tormod's UDATA optimisation
author
Alan Cox
<alan@linux.intel.com>
Sun, 31 May 2015 15:59:39 +0000
(16:59 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 31 May 2015 15:59:39 +0000
(16:59 +0100)
Kernel/lib/z80fixedbank.s
patch
|
blob
|
history
diff --git
a/Kernel/lib/z80fixedbank.s
b/Kernel/lib/z80fixedbank.s
index
78ad933
..
864f09e
100644
(file)
--- a/
Kernel/lib/z80fixedbank.s
+++ b/
Kernel/lib/z80fixedbank.s
@@
-117,10
+117,10
@@
_switchin:
pop hl
ld a, (hl)
not_swapped:
-
;
ld hl, (U_DATA__U_PTAB)
-
;
or a
-
;
sbc hl, de
-
;
jr z, skip_copyback ; Tormod's optimisation: don't copy the
+
ld hl, (U_DATA__U_PTAB)
+
or a
+
sbc hl, de
+
jr z, skip_copyback ; Tormod's optimisation: don't copy the
; the stash back if we are the task who
; last owned the real udata
; Pages please !