trs80: serial debug
authorAlan Cox <alan@linux.intel.com>
Sat, 20 Dec 2014 00:26:58 +0000 (00:26 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 20 Dec 2014 00:26:58 +0000 (00:26 +0000)
This makes the serial debug work in the emulator. It's not sufficient for
doing serial debug on a real TRS80

Kernel/platform-trs80/trs80.s

index 64bb545..df8217a 100644 (file)
@@ -256,7 +256,7 @@ map_restore:
 ; outchar: Wait for UART TX idle, then print the char in A
 ; destroys: AF
 outchar:
-;            out (0x01), a
+            out (0xEB), a
             ret
 
 ;