public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
790b8fb
)
z80pack32: update to avoid ld a,i
author
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 12:43:14 +0000
(13:43 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 12:43:14 +0000
(13:43 +0100)
Kernel/platform-z80pack32/z80pack.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-z80pack32/z80pack.s
b/Kernel/platform-z80pack32/z80pack.s
index
edc3179
..
57f7ae4
100644
(file)
--- a/
Kernel/platform-z80pack32/z80pack.s
+++ b/
Kernel/platform-z80pack32/z80pack.s
@@
-74,7
+74,7
@@
_fd_bankcmd:pop de ; return
push hl
push bc
push de ; fix stack
- ld a,
i
+ ld a,
(_int_disabled)
di
push af ; save DI state
call map_process ; HL alread holds our bank
@@
-82,7
+82,8
@@
_fd_bankcmd:pop de ; return
out (13), a ;
call map_kernel ; return to kernel mapping
pop af
- ret po
+ or a
+ ret nz
ei
ret