mirror of
https://github.com/PDP-10/its.git
synced 2026-01-25 19:56:53 +00:00
Make 340D optionally use the Stanford keyboard for input.
This commit is contained in:
@@ -18,6 +18,7 @@ width=117
|
||||
height=50
|
||||
|
||||
ifndef new,new=0 ;Use new ASCII characters instead of old.
|
||||
ifndef stkp,stkp=1 ;Use Stanford keyboard.
|
||||
|
||||
a=1
|
||||
b=2
|
||||
@@ -43,6 +44,10 @@ verti==200000
|
||||
lshift==7
|
||||
lchars==<1_lshift>
|
||||
|
||||
;STK device ITS mode: meta = 200, and the control bucky bit is
|
||||
;converted to ASCII control characters.
|
||||
%its==40
|
||||
|
||||
loc 42
|
||||
tsint
|
||||
|
||||
@@ -56,7 +61,8 @@ start: move p,[-pdllen,,pdl-1]
|
||||
.lose
|
||||
.open styi,[.uii,,'STY]
|
||||
.lose
|
||||
.open ttyi,[.uii,,'TTY]
|
||||
ifn stkp,.open ttyi,[%its+.uii,,'STK] ;ITS mode.
|
||||
.else, .open ttyi,[.uii,,'TTY]
|
||||
.lose
|
||||
.call [ setz
|
||||
sixbit /cnsget/
|
||||
Reference in New Issue
Block a user