COMPILATION LISTING OF SEGMENT apl_dim_select_table_ Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 11/29/83 1601.1 mst Tue Options: optimize map 1 /* ****************************************************** 2* * * 3* * * 4* * Copyright (c) 1972 by Massachusetts Institute of * 5* * Technology and Honeywell Information Systems, Inc. * 6* * * 7* * * 8* ****************************************************** */ 9 10 /* format: style3 */ 11 apl_dim_select_table_: 12 procedure (P_terminal_type, P_table_ptr, P_default_table_used); 13 14 /* parameters */ 15 16 declare ( 17 P_terminal_type char (*), 18 P_table_ptr ptr, 19 P_default_table_used 20 bit (1) aligned 21 ) parameter; 22 23 /* automatic */ 24 25 declare table_ptr ptr, 26 terminal_type char (32); 27 28 /* builtins */ 29 30 declare addr builtin; 31 32 /* external static */ 33 34 declare ( 35 apl_dim_tables_$apl_2741, 36 apl_dim_tables_$apl_correspondence_2741, 37 apl_dim_tables_$apl_1030, 38 apl_dim_tables_$apl_4013, 39 apl_dim_tables_$apl_teletype, 40 apl_dim_tables_$apl_ascii, 41 apl_dim_tables_$apl_tn300, 42 apl_dim_tables_$apl_ascii_display, 43 apl_dim_tables_$apl_typepaired, 44 apl_dim_tables_$apl_bitpaired, 45 apl_dim_tables_$apl_teleray11, 46 apl_dim_tables_$apl_la36, 47 apl_dim_tables_$apl_sara, 48 apl_dim_tables_$apl_aj510, 49 apl_dim_tables_$apl_aj830 50 ) external static; 51 52 /* program */ 53 54 terminal_type = P_terminal_type; 55 P_default_table_used = "0"b; 56 57 if terminal_type = "1050" | terminal_type = "2741" 58 then table_ptr = addr (apl_dim_tables_$apl_2741); 59 else if terminal_type = "TTY33" | terminal_type = "TTY37" | terminal_type = "TTY38" 60 then table_ptr = addr (apl_dim_tables_$apl_teletype); 61 else if terminal_type = "ARDS" 62 then table_ptr = addr (apl_dim_tables_$apl_ascii_display); 63 else if terminal_type = "TN300" 64 then table_ptr = addr (apl_dim_tables_$apl_tn300); 65 else if terminal_type = "TEK4013" | terminal_type = "TEK4015" 66 then table_ptr = addr (apl_dim_tables_$apl_4013); 67 else if terminal_type = "CORR2741" 68 then table_ptr = addr (apl_dim_tables_$apl_correspondence_2741); 69 else if terminal_type = "1030" 70 then table_ptr = addr (apl_dim_tables_$apl_1030); 71 else if terminal_type = "TYPEPAIRED" 72 then table_ptr = addr (apl_dim_tables_$apl_typepaired); 73 else if terminal_type = "BITPAIRED" 74 then table_ptr = addr (apl_dim_tables_$apl_bitpaired); 75 else if terminal_type = "ASCII" 76 then table_ptr = addr (apl_dim_tables_$apl_ascii); 77 else if terminal_type = "TELERAY11" 78 then table_ptr = addr (apl_dim_tables_$apl_teleray11); 79 else if terminal_type = "LA36" 80 then table_ptr = addr (apl_dim_tables_$apl_la36); 81 else if terminal_type = "SARA" 82 then table_ptr = addr (apl_dim_tables_$apl_sara); 83 else if terminal_type = "AJ510" 84 then table_ptr = addr (apl_dim_tables_$apl_aj510); 85 else if (terminal_type = "AJ830") | (terminal_type = "AJ832") 86 then table_ptr = addr (apl_dim_tables_$apl_aj830); 87 else do; 88 P_default_table_used = "1"b; 89 table_ptr = addr (apl_dim_tables_$apl_ascii); 90 end; 91 92 P_table_ptr = table_ptr; 93 return; 94 95 end apl_dim_select_table_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/29/83 1346.2 apl_dim_select_table_.pl1 >special_ldd>on>apl.1129>apl_dim_select_table_.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. P_default_table_used parameter bit(1) dcl 16 set ref 11 55* 88* P_table_ptr parameter pointer dcl 16 set ref 11 92* P_terminal_type parameter char unaligned dcl 16 ref 11 54 addr builtin function dcl 30 ref 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 89 apl_dim_tables_$apl_1030 000014 external static fixed bin(17,0) dcl 34 set ref 69 apl_dim_tables_$apl_2741 000010 external static fixed bin(17,0) dcl 34 set ref 57 apl_dim_tables_$apl_4013 000016 external static fixed bin(17,0) dcl 34 set ref 65 apl_dim_tables_$apl_aj510 000042 external static fixed bin(17,0) dcl 34 set ref 83 apl_dim_tables_$apl_aj830 000044 external static fixed bin(17,0) dcl 34 set ref 85 apl_dim_tables_$apl_ascii 000022 external static fixed bin(17,0) dcl 34 set ref 75 89 apl_dim_tables_$apl_ascii_display 000026 external static fixed bin(17,0) dcl 34 set ref 61 apl_dim_tables_$apl_bitpaired 000032 external static fixed bin(17,0) dcl 34 set ref 73 apl_dim_tables_$apl_correspondence_2741 000012 external static fixed bin(17,0) dcl 34 set ref 67 apl_dim_tables_$apl_la36 000036 external static fixed bin(17,0) dcl 34 set ref 79 apl_dim_tables_$apl_sara 000040 external static fixed bin(17,0) dcl 34 set ref 81 apl_dim_tables_$apl_teleray11 000034 external static fixed bin(17,0) dcl 34 set ref 77 apl_dim_tables_$apl_teletype 000020 external static fixed bin(17,0) dcl 34 set ref 59 apl_dim_tables_$apl_tn300 000024 external static fixed bin(17,0) dcl 34 set ref 63 apl_dim_tables_$apl_typepaired 000030 external static fixed bin(17,0) dcl 34 set ref 71 table_ptr 000100 automatic pointer dcl 25 set ref 57* 59* 61* 63* 65* 67* 69* 71* 73* 75* 77* 79* 81* 83* 85* 89* 92 terminal_type 000102 automatic char(32) unaligned dcl 25 set ref 54* 57 57 59 59 59 61 63 65 65 67 69 71 73 75 77 79 81 83 85 85 NAME DECLARED BY EXPLICIT CONTEXT. apl_dim_select_table_ 000055 constant entry external dcl 11 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 500 546 301 510 Length 744 301 46 162 176 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME apl_dim_select_table_ 75 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME apl_dim_select_table_ 000100 table_ptr apl_dim_select_table_ 000102 terminal_type apl_dim_select_table_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. return ext_entry_desc NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. apl_dim_tables_$apl_1030 apl_dim_tables_$apl_2741 apl_dim_tables_$apl_4013 apl_dim_tables_$apl_aj510 apl_dim_tables_$apl_aj830 apl_dim_tables_$apl_ascii apl_dim_tables_$apl_ascii_display apl_dim_tables_$apl_bitpaired apl_dim_tables_$apl_correspondence_2741 apl_dim_tables_$apl_la36 apl_dim_tables_$apl_sara apl_dim_tables_$apl_teleray11 apl_dim_tables_$apl_teletype apl_dim_tables_$apl_tn300 apl_dim_tables_$apl_typepaired LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 11 000051 54 000070 55 000075 57 000076 59 000111 61 000130 63 000137 65 000146 67 000161 69 000170 71 000177 73 000206 75 000215 77 000224 79 000233 81 000242 83 000251 85 000260 88 000273 89 000275 92 000277 93 000300 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved