public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7351d23
)
z80: shave off a few bytes
author
Alan Cox
<alan@linux.intel.com>
Wed, 8 Nov 2017 15:50:59 +0000
(15:50 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 8 Nov 2017 15:50:59 +0000
(15:50 +0000)
Kernel/lowlevel-z80.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-z80.s
b/Kernel/lowlevel-z80.s
index
44dfc14
..
db3cfac
100644
(file)
--- a/
Kernel/lowlevel-z80.s
+++ b/
Kernel/lowlevel-z80.s
@@
-339,13
+339,10
@@
illegalmsg: .ascii "[illegal]"
trap_illegal:
ld hl, #illegalmsg
+traphl:
call outstring
call _trap_monitor
-dpsmsg: .ascii "[dispsig]"
- .db 13, 10, 0
-
-
nmimsg: .ascii "[NMI]"
.db 13,10,0
@@
-355,8
+352,7
@@
nmi_handler:
.endif
call map_kernel
ld hl, #nmimsg
- call outstring
- jp _trap_monitor
+ jr traphl
;
; Interrupt handler. Not quite the same as syscalls, we need to