Trailing-Edge
-
PDP-10 Archives
-
decuslib20-04
-
decus/20-0135/comp/vista.sim
There are 6 other files named vista.sim in the archive. Click here to see a list.
00030 COMMENT* package for control of display terminals*; OPTIONS(/l/e);
00060 COMMENT* Copyright (c) Swedish National Defense Research Institute*;
00090 COMMENT%IFNOT MACRO;
00120 COMMENT COMMENT%IF SIMULATION marks places to be modified to put
00150 vista as a subclass to simulation;
00180 COMMENT COMMENT%IF MVISTA marks places to give simplified
00210 minivista for use by VIDED package;
00240 COMMENT COMMENT%IF MACRO generates MACRO-10 program code defining
00270 global variables only;
00300 COMMENT COMMENT%IF CALLMAC generates SIMULA code calling MACRO
00330 versions of some procedures;
00360
00390 COMMENT%IF MACRO
00420 UNIVERSAL VTMVDA
00450 .DIRECTIVE .NOBIN
00480 SALL
00510 ;! No sorting of parameters, simple def of WRD macro
00540 DEFINE WRD(X,T,L)<
00570 C$==<X==C$>+1>
00600 DEFINE WORD(X)<WRD(X,A,1)>
00630 DEFINE REF(X)<WRD(X,R,1)>
00660 DEFINE TEXT(X)<WRD(X,T,2)>
00690 SYN WORD,INTEGER
00720 SYN WORD,BOOLEAN
00750 SYN WORD,CHARACTER
00780 SYN REF,ARRAY
00810
00840 C$==2 ;! Initial offset (no prefix)
00870 COMMENT%IFNOT MACRO;
00900
00930 COMMENT%IF MVISTA
00960 EXTERNAL CHARACTER PROCEDURE getch;
00990 EXTERNAL TEXT PROCEDURE maketext;
01020 COMMENT%IFNOT MVISTA;
01050 EXTERNAL CHARACTER PROCEDURE insinglechar;
01080 COMMENT%IFEND MVISTA;
01110 EXTERNAL CHARACTER PROCEDURE fetchar;
01140 EXTERNAL PROCEDURE depchar, outstring, forceout;
01170 EXTERNAL PROCEDURE echo, abort, outchr;
01200 EXTERNAL INTEGER PROCEDURE trmop, gettab, checkint;
01230 EXTERNAL BOOLEAN PROCEDURE meny;
01260 EXTERNAL TEXT PROCEDURE storbokstav, scanto;
01290 EXTERNAL CLASS termty;
01320 COMMENT%IF CALLMAC
01350 EXTERNAL PROCEDURE vtmcur, vtsynk, vtisng;
01380 EXTERNAL PROCEDURE outche; EXTERNAL INTEGER PROCEDURE iondx;
01410 COMMENT%IFNOT MVISTA;
01440 EXTERNAL BOOLEAN PROCEDURE tmpout;
01470 EXTERNAL TEXT PROCEDURE tmpin;
01500 EXTERNAL INTEGER PROCEDURE checkreal;
01530
01560 COMMENT%IFNOT SIMULATION;
01590 CLASS vista
01620 COMMENT%IF MVISTA
01650 COMMENT%IF CALLMAC
01680 CLASS mmista;
01710 COMMENT%IFNOT CALLMAC
01740 COMMENT%IFNOT SIMSET
01770 CLASS mvista;
01800 COMMENT%IF SIMSET
01830 CLASS msista;
01860 COMMENT%IFEND SIMSET
01890 COMMENT%IFEND CALLMAC
01920 COMMENT%IF MVISTA
01950 BEGIN
01980 COMMENT%IF SIMSET
02010 simset CLASS mvistax
02040 COMMENT%IFNOT SIMSET
02070 CLASS mvistax
02100 COMMENT%IFEND SIMSET
02130 COMMENT%IFEND MVISTA
02160 COMMENT%IF SIMULATION
02190 Simulation CLASS vistas
02220 COMMENT%IFEND SIMULATION;
02250 (width, height, terminalin, terminalout, q_echoenabled,
02280 terminaltype
02310 COMMENT%IFNOT MVISTA;
02340 , extraterminal, extraparameters);
02370 COMMENT%IFNOT MVISTA;
02400 VALUE extraterminal;
02430 COMMENT%IFNOT MACRO;
02460 COMMENT%IF MVISTA
02490 ,trmspeed);
02520 COMMENT%IFEND MVISTA;
02550 COMMENT%IFEND MACRO;
02580 INTEGER width; ! Screen width or less;
02610 INTEGER height; ! Screen height or less;
02640 COMMENT%IFNOT MACRO;
02670 REF (infile) terminalin; ! From the terminal, usually sysin;
02700 REF (printfile) terminalout; ! To the terminal, usually sysout;
02730 BOOLEAN q_echoenabled; ! TRUE = monitor echo, FALSE = program echo;
02760 COMMENT%IF MACRO
02790 REF termin
02820 REF termout
02850 BOOLEAN qechoenabled
02880 COMMENT%IFNOT MACRO;
02910 INTEGER terminaltype; ! Number of terminal type, 0 for not given;
02940 COMMENT%IF MACRO
02970 INTEGER trmtyp
03000 COMMENT%IFEND MACRO;
03030 COMMENT%IF MVISTA
03060 INTEGER trmspeed;
03090 COMMENT%IFNOT MVISTA;
03120 TEXT extraterminal; ! Text name of additional terminal type;
03150 TEXT extraparameters; ! Cursor control codes for this terminal type;
03180 COMMENT%IFEND MVISTA;