From: Alan Cox Date: Wed, 8 Nov 2017 15:50:59 +0000 (+0000) Subject: z80: shave off a few bytes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e80cf9490c05786ebd077a1b66d51878aec11e45;p=FUZIX.git z80: shave off a few bytes --- diff --git a/Kernel/lowlevel-z80.s b/Kernel/lowlevel-z80.s index 44dfc142..db3cfacf 100644 --- 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