From be7133dd60b34ef95e88c4825a9d14902c44caca Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 30 Jan 2015 21:59:03 +0000 Subject: [PATCH] socz80: next step of fixing tty problems --- Kernel/platform-socz80/socz80.s | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Kernel/platform-socz80/socz80.s b/Kernel/platform-socz80/socz80.s index 4c73c67b..6d094fe4 100644 --- a/Kernel/platform-socz80/socz80.s +++ b/Kernel/platform-socz80/socz80.s @@ -144,17 +144,17 @@ init_hardware: res 7, a ; clear any outstanding interrupt out (TIMER_STATUS), a -; ; program UART0 for interrupts on RX (not TX ... yet) -; in a, (UART0_STATUS) -; and #0xF0 ; clear bottom four bits only -; or #0x0c ; enable TX & RX ints -; out (UART0_STATUS), a + ; program UART0 for interrupts on RX (not TX ... yet) + in a, (UART0_STATUS) + and #0xF0 ; clear bottom four bits only + or #0x08 ; enable RX // TX & RX ints was 0xc + out (UART0_STATUS), a ; program UART1 similarly -; in a, (UART1_STATUS) -; and #0xF0 ; clear bottom four bits only -; or #0x0c ; enable TX & RX ints -; out (UART1_STATUS), a + in a, (UART1_STATUS) + and #0xF0 ; clear bottom four bits only + or #0x0c ; enable TX & RX ints + out (UART1_STATUS), a ; set up interrupt vectors for the kernel (also sets up common memory in page 0x000F which is unused) ld hl, #0 -- 2.34.1