From: Alan Cox Date: Thu, 23 Nov 2017 02:27:01 +0000 (+0000) Subject: v65c816: ensure the failing trap handler sets a8/i8 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=664dbf8bd3d0ee133c6518de0d6172332abbdb85;p=FUZIX.git v65c816: ensure the failing trap handler sets a8/i8 --- diff --git a/Kernel/platform-v65c816/v65.s b/Kernel/platform-v65c816/v65.s index b800525a..2d415d3f 100644 --- a/Kernel/platform-v65c816/v65.s +++ b/Kernel/platform-v65c816/v65.s @@ -46,6 +46,9 @@ _trap_monitor: jmp _trap_monitor _trap_reboot: + sep #$30 + .a8 + .i8 lda #$A5 sta $FE40 ; Off jmp _trap_reboot ; FIXME: original ROM map and jmp