pdp11: sketch out more of the needed base code
authorAlan Cox <alan@linux.intel.com>
Sat, 17 Feb 2018 22:38:14 +0000 (22:38 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 17 Feb 2018 22:38:14 +0000 (22:38 +0000)
Kernel/platform-pdp11/pdp11.S

index 63a4630..5460c1e 100644 (file)
@@ -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