Trailing-Edge
-
PDP-10 Archives
-
decuslib10-05
-
43,50337/23/vista.sim
There are 6 other files named vista.sim in the archive. Click here to see a list.
00040 COMMENT* package for control of display terminals*; OPTIONS(/l/e);
00080 COMMENT%IFNOT MACRO;
00120 COMMENT COMMENT%IF SIMULATION marks places to be modified to put
00160 vista as a subclass to simulation;
00200 COMMENT COMMENT%IF MVISTA marks places to give simplified
00240 minivista for use by VIDED package;
00280 COMMENT COMMENT%IF MACRO generates MACRO-10 program code defining
00285 global variables only;
00288 COMMENT COMMENT%IF CALLMAC generates SIMULA code calling MACRO
00289 versions of some procedures;
00290
00295 COMMENT%IF MACRO
00299 UNIVERSAL MVID
00303 .DIRECTIVE .NOBIN
00307 SALL
00311
00315 DEFINE WORD(X)<
00319 X==LOC
00323 LOC==LOC+1>
00327 SYN WORD,INTEGER
00331 SYN WORD,BOOLEAN
00335 SYN WORD,CHARACTER
00339 SYN WORD,REF
00343 SYN WORD,ARRAY
00347 DEFINE TEXT(X)<
00351 X==LOC
00355 LOC==LOC+2>
00359
00363 LOC==2
00367 COMMENT%IFNOT MACRO;
00374
00387 EXTERNAL CHARACTER PROCEDURE getch, fetchar;
00400 EXTERNAL PROCEDURE depchar, outstring, forceout;
00440 EXTERNAL PROCEDURE echo, abort, outchr;
00480 EXTERNAL INTEGER PROCEDURE trmop, gettab, checkint;
00520 EXTERNAL BOOLEAN PROCEDURE meny;
00560 EXTERNAL TEXT PROCEDURE storbokstav, scanto;
00600 EXTERNAL CLASS termty;
00601 COMMENT%IF CALLMAC
00602 EXTERNAL PROCEDURE movcur;
00603 COMMENT%IFEND CALLMAC;
00640 COMMENT%IFNOT MVISTA;
00680 EXTERNAL BOOLEAN PROCEDURE tmpout;
00720 EXTERNAL TEXT PROCEDURE tmpin;
00760 EXTERNAL INTEGER PROCEDURE checkreal;
01320
01360 COMMENT%IFNOT SIMULATION;
01400 CLASS vista
01440 COMMENT%IF MVISTA
01454 COMMENT%IF CALLMAC
01467 CLASS mmista;
01474 COMMENT%IFNOT CALLMAC
01480 CLASS mvista;
01500 COMMENT%IFEND CALLMAC
01520 COMMENT%IF MVISTA
01560 BEGIN
01600 CLASS mvistax
01640 COMMENT%IFEND MVISTA
01680 COMMENT%IF SIMULATION
01720 Simulation CLASS vistas
01760 COMMENT%IFEND SIMULATION;
01800 (width, height, terminalin, terminalout, q_echoenabled,
01840 terminaltype
01880 COMMENT%IFNOT MVISTA;
01920 , extraterminal, extraparameters);
01940 COMMENT%IFNOT MVISTA;
01960 VALUE extraterminal;
02000 COMMENT%IFNOT MACRO;
02040 COMMENT%IF MVISTA
02080 );
02120 COMMENT%IFEND MVISTA;
02140 COMMENT%IFEND MACRO;
02160 INTEGER width; ! Screen width or less;
02180 INTEGER height; ! Screen height or less;
02190 COMMENT%IFNOT MACRO;
02200 REF (infile) terminalin; ! From the terminal, usually sysin;
02240 REF (printfile) terminalout; ! To the terminal, usually sysout;
02320 BOOLEAN q_echoenabled; ! TRUE = monitor echo, FALSE = program echo;
02360 COMMENT%IF MACRO
02374 REF termin
02387 REF termout
02400 BOOLEAN qechoenabled
02420 COMMENT%IFNOT MACRO;
02440 INTEGER terminaltype; ! Number of terminal type, 0 for not given;
02454 COMMENT%IF MACRO
02467 INTEGER trmtyp
02474 COMMENT%IFEND MACRO;
02480 COMMENT%IFNOT MVISTA;
02520 TEXT extraterminal; ! Text name of additional terminal type;
02560 TEXT extraparameters; ! Cursor control codes for this terminal type;
02600 COMMENT%IFEND MVISTA;