zx128: on a panic halt and spin
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Dec 2014 12:11:55 +0000 (12:11 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 11 Dec 2014 12:11:55 +0000 (12:11 +0000)
This makes it much easier to debug in FUSE

Kernel/platform-zx128/zx128.s

index 20e1215..1699fd1 100644 (file)
@@ -49,6 +49,9 @@
             .area _COMMONMEM
 
 _trap_monitor:
+       di
+       halt
+
         ld a, #128
         ; out (29), a ; TODO: go where? BASIC48?
 platform_interrupt_all: