From fa7005271a0cc3b456d8f80f53468f30688d3f26 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 17 Feb 2018 22:38:14 +0000 Subject: [PATCH] pdp11: sketch out more of the needed base code --- Kernel/platform-pdp11/pdp11.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kernel/platform-pdp11/pdp11.S b/Kernel/platform-pdp11/pdp11.S index 63a4630f..5460c1e1 100644 --- a/Kernel/platform-pdp11/pdp11.S +++ b/Kernel/platform-pdp11/pdp11.S @@ -29,7 +29,7 @@ _udata: */ outchar: - bit $0x8000,0177564 /* test bit 7 of TCSR (tx ready) */ + bitb $0x80,0177564 /* test bit 7 of TCSR (tx ready) */ beq outchar mov r0,0177566 rts pc @@ -43,5 +43,7 @@ init_hardware: mov r0,_procmem /* KW11: Enable IRQ at 0100 every line frequency tick BR 6 vec 100 */ mov $0x4000,0177546 + /* Polling for now on the console */ + clr 0177560 rts pc -- 2.34.1