trs80m1: use the printer port to dump diagnostics
authorAlan Cox <alan@linux.intel.com>
Mon, 2 Jul 2018 21:18:18 +0000 (22:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 2 Jul 2018 21:18:18 +0000 (22:18 +0100)
Kernel/platform-trs80m1/trs80.s

index d63280d..31c35ea 100644 (file)
@@ -49,7 +49,6 @@
            .globl null_handler
            .globl fd_nmi_handler
 
-
             .include "kernel.def"
             .include "../kernel.def"
 
@@ -170,7 +169,7 @@ _rom_vectors:
 ; outchar: Wait for UART TX idle, then print the char in A
 ; destroys: AF
 outchar:
-            out (0xEB), a
+            ld (0x37E8), a
             ret
 
 ;