trs80: NMI masking fix
authorAlan Cox <alan@linux.intel.com>
Mon, 25 Jun 2018 21:10:23 +0000 (22:10 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 25 Jun 2018 21:10:23 +0000 (22:10 +0100)
Kernel/platform-trs80m1/trs80.s

index e95b6f9..d63280d 100644 (file)
@@ -91,8 +91,8 @@ init_early:
            ld (_trs80_model),a
            ld a,#0x74
            out (0xE0),a        ; Mask iobus, cassette
-           xor a
-           out (0xE4),a        ; and NMI sources
+           ld a,#0x40
+           out (0xE4),a        ; and NMI sources except motor off
            jr not_vg
 not_m3:
            ; Detect machine type (Model 1 or LNW80 or VideoGenie ?)