1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-21 02:08:50 +00:00

Remove obsolete mode bit when opening TTY.

@larsbrinkhoff spotted that TS3TTY has a comment listing TTY input open
mode bits which includes:

;3.5 => CONVERT LOWER TO UPPER CASE

This mode bit isn't documented in the similar lists in BITS or CALLS
(they skip from 3.4 to 3.6), and doesn't appear to be implemented
anywhere. However, ITS 785 (circa 1973) has a test for this bit in
TTYO4:

	TRNE D,10	;SKIP ON OLD MODE OFF
	IOR J,[000400,,0]	;OLD MODE INPUT -> CONVERT LOWER CASE TO UPPER

So it looks like when WUMPUS was first written, this bit was how it
handled lower-case input; at some point, ITS stopped supporting this
bit, and WUMPUS was binary-patched to handle lower-case input explicitly
instead.
This commit is contained in:
Adam Sampson 2018-03-26 22:59:46 +01:00 committed by Adam Sampson
parent 0c4bc45cda
commit 15fc94ec81

View File

@ -89,7 +89,7 @@ INSTEAD OF A ROOM NUMBER.
GOOD LUCK HUNTING!!
î/
BEG: ;The beginning
GO: .OPEN TTYI,[20+.UAI,,'TTY] ;[FIXME why 20?]
GO: .OPEN TTYI,[.UAI,,'TTY]
.VALUE 0
.OPEN TTYO,[.UAO,,'TTY]
.VALUE 0