mirror of
https://github.com/PDP-10/its.git
synced 2026-02-15 12:26:27 +00:00
Improve SUPARD handling of CR and LF.
This commit is contained in:
3
src/dcp/sgincl.14 → src/dcp/sgincl.15
Executable file → Normal file
3
src/dcp/sgincl.14 → src/dcp/sgincl.15
Executable file → Normal file
@@ -26,6 +26,7 @@
|
||||
(defvar sg-current-x 0) (defvar sg-current-y 0) (defvar sg-xor-ior 'ior)
|
||||
|
||||
(defconst %TDGRF #o231) (defconst %TDNOP #o210) (defconst %TDRST #o230)
|
||||
(defconst %TDCRL #o207)
|
||||
|
||||
(defconst tv:alu-ior 0) (defconst tv:alu-andcam #o40) (defconst tv:alu-xor -1)
|
||||
(defconst %goMVR #o001) (defconst %goMVA #o021)
|
||||
@@ -159,6 +160,8 @@
|
||||
((ior) (sg-out %goIOR) (setq sg-xor-ior 'ior))
|
||||
)))
|
||||
|
||||
(defun sg-return ()
|
||||
(+tyo %TDCRL sgos))
|
||||
|
||||
(defun sg-set-point (x y)
|
||||
(sg-move-absolute x y))
|
||||
@@ -48,7 +48,11 @@
|
||||
(sg-out 0)
|
||||
(sg-set-point 0 0)
|
||||
n)
|
||||
(sg-out n)))
|
||||
(caseq n
|
||||
((0 3) nil)
|
||||
((12) nil)
|
||||
((15) (sg-return))
|
||||
(t (sg-out n)))))
|
||||
|
||||
(defun enter-set-point-mode ()
|
||||
(do ((i 0)
|
||||
Reference in New Issue
Block a user