st 81 src/dps8/dps8_absi.c static t_stat absi_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 100 src/dps8/dps8_absi.c static t_stat absi_show_device_name (UNUSED FILE * st, UNIT * uptr, st 84 src/dps8/dps8_console.c static t_stat opc_show_nunits (FILE *st, UNIT *uptr, int val, st 90 src/dps8/dps8_console.c static t_stat opc_autoinput_show (FILE *st, UNIT *uptr, int val, st 94 src/dps8/dps8_console.c static t_stat opc_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 98 src/dps8/dps8_console.c static t_stat opc_show_console_port (UNUSED FILE * st, UNIT * uptr, st 102 src/dps8/dps8_console.c static t_stat opc_show_console_address (UNUSED FILE * st, UNIT * uptr, st 106 src/dps8/dps8_console.c static t_stat opc_show_console_pw (UNUSED FILE * st, UNIT * uptr, st 110 src/dps8/dps8_console.c static t_stat opc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 561 src/dps8/dps8_console.c static int opc_autoinput_show (UNUSED FILE * st, UNIT * uptr, st 1653 src/dps8/dps8_console.c static t_stat opc_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1754 src/dps8/dps8_console.c static t_stat opc_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 1766 src/dps8/dps8_console.c static t_stat opc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1813 src/dps8/dps8_console.c static t_stat opc_show_console_port (UNUSED FILE * st, UNIT * uptr, st 1861 src/dps8/dps8_console.c static t_stat opc_show_console_address (UNUSED FILE * st, UNIT * uptr, st 1900 src/dps8/dps8_console.c static t_stat opc_show_console_pw (UNUSED FILE * st, UNIT * uptr, st 140 src/dps8/dps8_cpu.c static t_stat cpu_show_config (UNUSED FILE * st, UNIT * uptr, st 714 src/dps8/dps8_cpu.c static t_stat cpu_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 733 src/dps8/dps8_cpu.c static t_stat cpu_show_kips (UNUSED FILE * st, UNUSED UNIT * uptr, st 757 src/dps8/dps8_cpu.c static t_stat cpu_show_stall (UNUSED FILE * st, UNUSED UNIT * uptr, st 66 src/dps8/dps8_crdpun.c static t_stat pun_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 68 src/dps8/dps8_crdpun.c static t_stat pun_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 70 src/dps8/dps8_crdpun.c static t_stat pun_show_path (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 76 src/dps8/dps8_crdpun.c static t_stat pun_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1250 src/dps8/dps8_crdpun.c static t_stat pun_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1269 src/dps8/dps8_crdpun.c static t_stat pun_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1320 src/dps8/dps8_crdpun.c static t_stat pun_show_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 1370 src/dps8/dps8_crdpun.c static t_stat pun_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 69 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 71 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 73 src/dps8/dps8_crdrdr.c static t_stat rdr_show_path (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 1018 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1037 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1090 src/dps8/dps8_crdrdr.c static t_stat rdr_show_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 125 src/dps8/dps8_dia.c static t_stat show_config (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 145 src/dps8/dps8_dia.c static t_stat show_status (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 164 src/dps8/dps8_dia.c static t_stat show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 343 src/dps8/dps8_disk.c static t_stat disk_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 360 src/dps8/dps8_disk.c static t_stat disk_show_type (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 410 src/dps8/dps8_disk.c static t_stat dsk_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1659 src/dps8/dps8_disk.c static t_stat ipc_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1678 src/dps8/dps8_disk.c static t_stat ipc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1801 src/dps8/dps8_disk.c static t_stat msp_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1820 src/dps8/dps8_disk.c static t_stat msp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 126 src/dps8/dps8_fnp2.c static t_stat fnpShowConfig (FILE *st, UNIT *uptr, int val, const void *desc); st 128 src/dps8/dps8_fnp2.c static t_stat fnpShowStatus (FILE *st, UNIT *uptr, int val, const void *desc); st 129 src/dps8/dps8_fnp2.c static t_stat fnpShowNUnits (FILE *st, UNIT *uptr, int val, const void *desc); st 131 src/dps8/dps8_fnp2.c static t_stat fnpShowIPCname (FILE *st, UNIT *uptr, int val, const void *desc); st 133 src/dps8/dps8_fnp2.c static t_stat fnpShowService (FILE *st, UNIT *uptr, int val, const void *desc); st 135 src/dps8/dps8_fnp2.c static t_stat fnpShowFW (FILE *st, UNIT *uptr, int val, const void *desc); st 137 src/dps8/dps8_fnp2.c static t_stat fnp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1758 src/dps8/dps8_fnp2.c static t_stat fnpShowNUnits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1778 src/dps8/dps8_fnp2.c static t_stat fnpShowIPCname (UNUSED FILE * st, UNIT * uptr, st 1804 src/dps8/dps8_fnp2.c static t_stat fnpShowService (UNUSED FILE * st, UNIT * uptr, st 1816 src/dps8/dps8_fnp2.c enum service_types st = fnpData.fnpUnitData[devnum].MState.line[linenum].service; st 1817 src/dps8/dps8_fnp2.c switch (st) st 1832 src/dps8/dps8_fnp2.c sim_printf("%d.%03d: ERR (%u)", (char)('a' + (int) devnum), linenum, st); st 1886 src/dps8/dps8_fnp2.c static t_stat fnpShowConfig (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2119 src/dps8/dps8_fnp2.c static t_stat fnpShowFW (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2139 src/dps8/dps8_fnp2.c static t_stat fnpShowStatus (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2193 src/dps8/dps8_fnp2.c static t_stat fnp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 921 src/dps8/dps8_iom.c static t_stat iom_show_mbx (UNUSED FILE * st, st 928 src/dps8/dps8_iom.c static t_stat iom_show_units (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 948 src/dps8/dps8_iom.c static t_stat iom_show_config (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 157 src/dps8/dps8_mgp.c mgp_show_nunits(UNUSED FILE *st, UNUSED UNIT *uptr, UNUSED int val, st 186 src/dps8/dps8_mgp.c mgp_show_device_name(UNUSED FILE *st, UNIT *uptr, UNUSED int val, st 154 src/dps8/dps8_mt.c static t_stat mtp_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 174 src/dps8/dps8_mt.c static t_stat mtp_show_boot_drive (UNUSED FILE * st, UNIT * uptr, st 231 src/dps8/dps8_mt.c static t_stat mtp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 407 src/dps8/dps8_mt.c static t_stat mt_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 426 src/dps8/dps8_mt.c static t_stat mt_show_device_name (UNUSED FILE * st, UNIT * uptr, st 455 src/dps8/dps8_mt.c static t_stat mt_show_tape_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 635 src/dps8/dps8_mt.c static t_stat mt_show_tape_search_paths(UNUSED FILE * st, UNUSED UNIT * uptr, st 86 src/dps8/dps8_prt.c static t_stat prt_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 88 src/dps8/dps8_prt.c static t_stat prt_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 92 src/dps8/dps8_prt.c static t_stat prt_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 94 src/dps8/dps8_prt.c static t_stat prt_show_path (UNUSED FILE * st, UNIT * uptr, st 102 src/dps8/dps8_prt.c static t_stat prt_show_device_model (FILE *st, UNIT *uptr, int val, const void *desc); st 1759 src/dps8/dps8_prt.c static t_stat prt_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1778 src/dps8/dps8_prt.c static t_stat prt_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1811 src/dps8/dps8_prt.c static t_stat prt_show_device_model (UNUSED FILE * st, UNIT * uptr, st 1839 src/dps8/dps8_prt.c static t_stat prt_show_path (UNUSED FILE * st, UNUSED UNUSED UNIT * uptr, st 2025 src/dps8/dps8_prt.c static t_stat prt_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 608 src/dps8/dps8_scu.c static t_stat scu_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 627 src/dps8/dps8_scu.c static t_stat scu_show_state (UNUSED FILE * st, UNIT *uptr, UNUSED int val, st 688 src/dps8/dps8_scu.c static t_stat scu_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 90 src/dps8/dps8_socket_dev.c static t_stat sk_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 109 src/dps8/dps8_socket_dev.c static t_stat skc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 4903 src/dps8/dps8_sys.c static t_stat sys_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 4926 src/dps8/dps8_sys.c static t_stat sys_show_break (UNUSED FILE * st, UNUSED UNIT * uptr, st 94 src/dps8/dps8_urp.c static t_stat urpShowUnits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 111 src/dps8/dps8_urp.c static t_stat urpShowDeviceName (UNUSED FILE * st, UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 204 src/simh/scp.c void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr) = NULL; st 208 src/simh/scp.c t_bool (*sim_vm_fprint_stopped) (FILE *st, t_stat reason) = NULL; st 218 src/simh/scp.c t_stat ssh_break (FILE *st, const char *cptr, int32 flg); st 220 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 221 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 222 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 223 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 224 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 225 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 226 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 227 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 228 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 229 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 230 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 231 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 232 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cprr); st 233 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 234 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 235 src/simh/scp.c t_stat show_default (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 236 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 237 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 238 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 239 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 240 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag); st 241 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag); st 242 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flg, int32 *toks); st 243 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag); st 253 src/simh/scp.c t_stat sim_brk_show (FILE *st, t_addr loc, int32 sw); st 254 src/simh/scp.c t_stat sim_brk_showall (FILE *st, int32 sw); st 272 src/simh/scp.c void fprint_help (FILE *st); st 273 src/simh/scp.c void fprint_stopped (FILE *st, t_stat r); st 274 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr); st 275 src/simh/scp.c void fprint_sep (FILE *st, int32 *tokens); st 290 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr); st 309 src/simh/scp.c t_stat sim_show_asynch (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 2022 src/simh/scp.c void fprint_help (FILE *st) st 2079 src/simh/scp.c fprintf (st, "HELP is available for the following commands:\n\n "); st 2084 src/simh/scp.c fputs (hlp_cmdp[i]->name, st); st 2088 src/simh/scp.c fprintf (st, "\n "); st 2091 src/simh/scp.c fprintf (st, "%*s", (int)(max_cmdname_size + 5 - strlen (hlp_cmdp[i]->name)), ""); st 2094 src/simh/scp.c fprintf (st, "\n"); st 2098 src/simh/scp.c static void fprint_header (FILE *st, t_bool *pdone, char *context) st 2101 src/simh/scp.c fprintf (st, "%s", context); st 2105 src/simh/scp.c void fprint_reg_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2133 src/simh/scp.c fprintf (st, "No register HELP available for the %s device\n", dptr->name); st 2149 src/simh/scp.c fprintf (st, "\nThe %s device implements these registers:\n\n", dptr->name); st 2160 src/simh/scp.c fprintf (st, " %s %4d %s\n", namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2165 src/simh/scp.c fprintf (st, " %s %s %4d %s\n", dptr->name, namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2167 src/simh/scp.c fprintf (st, " %*s %s %4d %s\n", (int)strlen(dptr->name), "", namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2173 src/simh/scp.c void fprint_reg_help (FILE *st, DEVICE *dptr) st 2175 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2178 src/simh/scp.c void fprint_attach_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2181 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2182 src/simh/scp.c dptr->attach_help (st, dptr, NULL, 0, NULL); st 2186 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2187 src/simh/scp.c sim_disk_attach_help (st, dptr, NULL, 0, NULL); st 2191 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2192 src/simh/scp.c sim_tape_attach_help (st, dptr, NULL, 0, NULL); st 2196 src/simh/scp.c fprintf (st, "No ATTACH help is available for the %s device\n", dptr->name); st 2198 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2202 src/simh/scp.c void fprint_set_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2222 src/simh/scp.c fprint_header (st, &found, header); st 2225 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2227 src/simh/scp.c fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); st 2232 src/simh/scp.c fprint_header (st, &found, header); st 2234 src/simh/scp.c fprintf (st, "%-30s\tEnables device %s\n", buf, sim_dname (dptr)); st 2236 src/simh/scp.c fprintf (st, "%-30s\tDisables device %s\n", buf, sim_dname (dptr)); st 2239 src/simh/scp.c fprint_header (st, &found, header); st 2241 src/simh/scp.c fprintf (st, "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr)); st 2243 src/simh/scp.c fprintf (st, "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr)); st 2247 src/simh/scp.c fprintf (st, "SET %s DEBUG=", sim_dname (dptr)); st 2249 src/simh/scp.c fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2252 src/simh/scp.c fprintf (st, "\n"); st 2253 src/simh/scp.c fprintf (st, "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2254 src/simh/scp.c fprintf (st, "SET %s NODEBUG=", sim_dname (dptr)); st 2256 src/simh/scp.c fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2257 src/simh/scp.c fprintf (st, "\n"); st 2258 src/simh/scp.c fprintf (st, "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2260 src/simh/scp.c fprintf (st, "\n*%s device DEBUG settings:\n", sim_dname (dptr)); st 2262 src/simh/scp.c fprintf (st, "%4s%-12s%s\n", "", dep->name, dep->desc ? dep->desc : ""); st 2268 src/simh/scp.c fprint_header (st, &found, header); st 2270 src/simh/scp.c fprintf (st, "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr)); st 2272 src/simh/scp.c fprintf (st, "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr)); st 2280 src/simh/scp.c fprint_header (st, &found, header); st 2282 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, (strchr(mptr->mstring, '=')) ? "" : (mptr->help ? mptr->help : "")); st 2287 src/simh/scp.c fprintf (st, "No SET help is available for the %s device\n", dptr->name); st 2290 src/simh/scp.c void fprint_set_help (FILE *st, DEVICE *dptr) st 2292 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2295 src/simh/scp.c void fprint_show_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2315 src/simh/scp.c fprint_header (st, &found, header); st 2317 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2321 src/simh/scp.c fprint_header (st, &found, header); st 2323 src/simh/scp.c fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr)); st 2331 src/simh/scp.c fprint_header (st, &found, header); st 2333 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2337 src/simh/scp.c fprintf (st, "No SHOW help is available for the %s device\n", dptr->name); st 2340 src/simh/scp.c void fprint_show_help (FILE *st, DEVICE *dptr) st 2342 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2345 src/simh/scp.c void fprint_brk_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2352 src/simh/scp.c fprintf (st, "Breakpoints are not supported in the %s simulator\n", sim_name); st 2354 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2363 src/simh/scp.c fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2366 src/simh/scp.c fprintf (st, " -%c\n", 'A'+i); st 2369 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2373 src/simh/scp.c fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2375 src/simh/scp.c fprintf (st, " %s %s\n", put_switches (gbuf, sizeof(gbuf), brkt->btyp), brkt->desc); st 2378 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2381 src/simh/scp.c t_stat help_dev_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 2391 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2393 src/simh/scp.c fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr)); st 2397 src/simh/scp.c fprint_set_help_ex (st, dptr, FALSE); st 2401 src/simh/scp.c fprint_show_help_ex (st, dptr, FALSE); st 2405 src/simh/scp.c fprint_attach_help_ex (st, dptr, FALSE); st 2409 src/simh/scp.c fprint_brk_help_ex (st, dptr, FALSE); st 2413 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2414 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name); st 2418 src/simh/scp.c fprint_reg_help_ex (st, dptr, FALSE); st 2422 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2423 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", gbuf, dptr->name); st 2427 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2430 src/simh/scp.c fprintf (st, "%s %s HELP\n", dptr->description (dptr), dptr->name); st 2432 src/simh/scp.c fprintf (st, "%s HELP\n", dptr->name); st 2433 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2434 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2435 src/simh/scp.c fprint_attach_help_ex (st, dptr, TRUE); st 2436 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2437 src/simh/scp.c fprint_brk_help_ex (st, dptr, TRUE); st 3489 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3507 src/simh/scp.c return sim_show_send_input (st, snd); st 3529 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3552 src/simh/scp.c return sim_exp_show (st, exp, gbuf); st 4165 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag) st 4172 src/simh/scp.c fprintf (st, "%s", sim_dname (dptr)); /* print dev name */ st 4174 src/simh/scp.c fprintf (st, "\t%s\n", dptr->description(dptr)); st 4178 src/simh/scp.c fprintf (st, "\t%s\n", dptr->description(dptr)); st 4181 src/simh/scp.c fprintf (st, "\tdisabled\n"); st 4194 src/simh/scp.c fprintf (st, "\n"); st 4198 src/simh/scp.c fprint_sep (st, &toks); st 4199 src/simh/scp.c fprintf (st, "all units disabled\n"); st 4202 src/simh/scp.c fprint_sep (st, &toks); st 4203 src/simh/scp.c fprintf (st, " 1 unit\n"); st 4206 src/simh/scp.c fprint_sep (st, &toks); st 4207 src/simh/scp.c fprintf (st, "%2.d units\n", ucnt + udbl); st 4211 src/simh/scp.c fprintf (st, "\n"); st 4219 src/simh/scp.c show_unit (st, dptr, uptr, ucnt + udbl); st 4225 src/simh/scp.c void fprint_sep (FILE *st, int32 *tokens) st 4227 src/simh/scp.c fprintf (st, "%s", (*tokens > 0) ? "" : "\t"); st 4231 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag) st 4237 src/simh/scp.c fprintf (st, " %s%d \n", sim_dname (dptr), u); st 4239 src/simh/scp.c fprintf (st, " %s%d ", sim_dname (dptr), u); st 4241 src/simh/scp.c fprint_sep (st, &toks); st 4242 src/simh/scp.c fprintf (st, "status : attached to %s", uptr->filename); st 4244 src/simh/scp.c fprintf (st, ", read only"); st 4248 src/simh/scp.c fprint_sep (st, &toks); st 4249 src/simh/scp.c fprintf (st, "status : not attached"); st 4253 src/simh/scp.c fprint_sep (st, &toks); st 4254 src/simh/scp.c fprint_capac (st, dptr, uptr); st 4256 src/simh/scp.c show_all_mods (st, dptr, uptr, MTAB_VUN, &toks); /* show unit mods */ st 4258 src/simh/scp.c fprintf (st, "\n"); st 4299 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr) st 4301 src/simh/scp.c fprintf (st, " %s", sprint_capac (dptr, uptr)); st 4307 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4353 src/simh/scp.c static void printpq (unsigned char * PROM, FILE * st, int offset, int length) { st 4371 src/simh/scp.c fprintf (st, "%s", sx); st 4374 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4410 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4412 src/simh/scp.c fprintf (st, "\r\n\r Build Information:\n"); st 4414 src/simh/scp.c fprintf (st, "\r\n Compilation info: %s\n", BUILDINFO_scp ); st 4416 src/simh/scp.c fprintf (st, "\r\n Relevant definitions: %s\n", SYSDEFS_USED ); st 4419 src/simh/scp.c fprintf (st, "\r\n Compilation info: %s\n", BUILDINFO_scp ); st 4421 src/simh/scp.c fprintf (st, "\r\n Compilation info: Not available\n" ); st 4430 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv v%d", UV_VERSION_MAJOR); st 4437 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d", UV_VERSION_MAJOR, st 4443 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4447 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4460 src/simh/scp.c fprintf (st, "%s", UV_RELEASE_TYPE); st 4469 src/simh/scp.c fprintf (st, "; %s in use", uv_version_string()); st 4472 src/simh/scp.c fprintf (st, "\r\n Event loop library: Using libuv (or compatible) library, unknown version"); st 4480 src/simh/scp.c fprintf (st, "\r\n Math library: %s-%s", DECVERSION, DECVERSEXT); st 4483 src/simh/scp.c fprintf (st, "\r\n Math library: %s (%s and contributors)", DECVERSION, DECNLAUTHOR); st 4485 src/simh/scp.c fprintf (st, "\r\n Math library: %s", DECVERSION); st 4489 src/simh/scp.c fprintf (st, "\r\n Math library: decNumber, unknown version"); st 4493 src/simh/scp.c fprintf (st, "\r\n Atomic operations: "); st 4495 src/simh/scp.c fprintf (st, "IBM AIX-style"); st 4497 src/simh/scp.c fprintf (st, "FreeBSD-style"); st 4499 src/simh/scp.c fprintf (st, "GNU-style"); st 4501 src/simh/scp.c fprintf (st, "GNU sync-style"); st 4503 src/simh/scp.c fprintf (st, "ISO/IEC 9899:2011 (C11) standard"); st 4505 src/simh/scp.c fprintf (st, "Windows NT interlocked operations"); st 4508 src/simh/scp.c fprintf (st, "\r\n File locking: "); st 4510 src/simh/scp.c fprintf (st, "POSIX-style fcntl() and BSD-style flock() locking"); st 4513 src/simh/scp.c fprintf (st, "POSIX-style fcntl() locking"); st 4516 src/simh/scp.c fprintf (st, "BSD-style flock() locking"); st 4519 src/simh/scp.c fprintf (st, "No file locking available"); st 4522 src/simh/scp.c fprintf (st, "\r\n Backtrace support: "); st 4523 src/simh/scp.c fprintf (st, "libbacktrace"); st 4525 src/simh/scp.c fprintf (st, "\r\n"); st 4529 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4538 src/simh/scp.c fprintf (st, " %s Simulator:", sim_name); st 4601 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4607 src/simh/scp.c fprintf (st, "\n Version: %s+%s (%ld-bit)\n Commit: %s", st 4614 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)", st 4619 src/simh/scp.c fprintf (st, "\n Version: %s+%s (%ld-bit)", st 4626 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4631 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)", st 4641 src/simh/scp.c fprintf (st, "\n Options: "); st 4645 src/simh/scp.c fprintf (st, "TESTING"); st 4651 src/simh/scp.c fprintf (st, ", "); st 4653 src/simh/scp.c fprintf (st, "\n Options: "); st 4658 src/simh/scp.c fprintf (st, "ISOLTS"); st 4664 src/simh/scp.c fprintf (st, ", "); st 4666 src/simh/scp.c fprintf (st, "\n Options: "); st 4671 src/simh/scp.c fprintf (st, "NO_UCACHE"); st 4677 src/simh/scp.c fprintf (st, ", "); st 4679 src/simh/scp.c fprintf (st, "\n Options: "); st 4684 src/simh/scp.c fprintf (st, "NEED_128"); st 4690 src/simh/scp.c fprintf (st, ", "); st 4692 src/simh/scp.c fprintf (st, "\n Options: "); st 4697 src/simh/scp.c fprintf (st, "WAM"); st 4703 src/simh/scp.c fprintf (st, ", "); st 4705 src/simh/scp.c fprintf (st, "\n Options: "); st 4710 src/simh/scp.c fprintf (st, "ROUND_ROBIN"); st 4716 src/simh/scp.c fprintf (st, ", "); st 4718 src/simh/scp.c fprintf (st, "\n Options: "); st 4723 src/simh/scp.c fprintf (st, "NO_LOCKLESS"); st 4729 src/simh/scp.c fprintf (st, ", "); st 4731 src/simh/scp.c fprintf (st, "\n Options: "); st 4736 src/simh/scp.c fprintf (st, "ABSI"); st 4742 src/simh/scp.c fprintf (st, ", "); st 4744 src/simh/scp.c fprintf (st, "\n Options: "); st 4749 src/simh/scp.c fprintf (st, "SOCKET"); st 4755 src/simh/scp.c fprintf (st, ", "); st 4757 src/simh/scp.c fprintf (st, "\n Options: "); st 4762 src/simh/scp.c fprintf (st, "CHAOSNET"); st 4764 src/simh/scp.c fprintf (st, "*"); st 4771 src/simh/scp.c fprintf (st, ", "); st 4773 src/simh/scp.c fprintf (st, "\n Options: "); st 4778 src/simh/scp.c fprintf (st, "DUMA"); st 4785 src/simh/scp.c fprintf (st, ", "); st 4787 src/simh/scp.c fprintf (st, "\n Options: "); st 4792 src/simh/scp.c fprintf (st, "BACKTRACE"); st 4797 src/simh/scp.c fprintf (st, "\n Modified: %s", VER_H_GIT_DATE); st 4799 src/simh/scp.c fprintf (st, "\n Released: %s", VER_H_GIT_DATE); st 4803 src/simh/scp.c fprintf (st, " - Kit Prepared: %s", VER_H_PREP_DATE); st 4806 src/simh/scp.c fprintf (st, "\n Compiled: %s", VER_CURRENT_TIME); st 4810 src/simh/scp.c fprintf (st, "\r\n\r\n ****** THIS%sBUILD IS NOT SUPPORTED BY THE DPS8M DEVELOPMENT TEAM ******", whydirty); st 4812 src/simh/scp.c fprintf (st, "\r\n\r\n Build Information:"); st 4846 src/simh/scp.c fprintf (st, "\n Target: "); st 4847 src/simh/scp.c printpq (SPROM, st, 190, 20); st 4852 src/simh/scp.c fprintf (st, " on "); st 4853 src/simh/scp.c printpq (SPROM, st, 170, 20); st 4858 src/simh/scp.c fprintf (st, "\n Build OS: %s %s", build_os_version, build_os_arch); st 4888 src/simh/scp.c fprintf (st, "\n Compiler: GCC %s", postver); st 4890 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4894 src/simh/scp.c fprintf (st, "\n Compiler: Clang C/C++ Static Analyzer"); st 4901 src/simh/scp.c fprintf (st, "\n Compiler: Clang %s", clangllvmver); st 4903 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4906 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4909 src/simh/scp.c fprintf (st, "\n Compiler: Portland Group, Inc. (PGI) C Compiler "); st 4911 src/simh/scp.c fprintf (st, "%d", __PGIC__); st 4913 src/simh/scp.c fprintf (st, ".%d", __PGIC_MINOR__); st 4915 src/simh/scp.c fprintf (st, ".%d", __PGIC_PATCHLEVEL__); st 4920 src/simh/scp.c fprintf (st, "\n Compiler: NVIDIA HPC SDK C Compiler "); st 4922 src/simh/scp.c fprintf (st, "%d", __NVCOMPILER_MAJOR__); st 4924 src/simh/scp.c fprintf (st, ".%d", __NVCOMPILER_MINOR__); st 4926 src/simh/scp.c fprintf (st, ".%d", __NVCOMPILER_PATCHLEVEL__); st 4931 src/simh/scp.c fprintf (st, "\n Compiler: Microsoft C %d.%02d.%05d.%02d", st 4938 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ V%s (PASE for IBM i)", __xlc__); st 4941 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ for AIX V%s", __xlc__); st 4944 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ for Linux V%s", __xlc__); st 4948 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ V%s for Mac OS X", __xlc__); st 4950 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ V%s", __xlc__); st 4954 src/simh/scp.c fprintf (st, "\n Compiler: Oracle Developer Studio C/C++"); st 4956 src/simh/scp.c fprintf (st, "\n Compiler: Digital Mars C/C++"); st 4958 src/simh/scp.c fprintf (st, "\n Compiler: Portable C Compiler"); st 4960 src/simh/scp.c fprintf (st, "\n Compiler: Plan 9 Compiler Suite"); st 4962 src/simh/scp.c fprintf (st, "\n Compiler: Amsterdam Compiler Kit"); st 4964 src/simh/scp.c fprintf (st, "\n Compiler: Comeau C++"); st 4966 src/simh/scp.c fprintf (st, "\n Compiler: CompCert C"); st 4968 src/simh/scp.c fprintf (st, "\n Compiler: Coverity C/C++ Static Analyzer"); st 4970 src/simh/scp.c fprintf (st, "\n Compiler: Local C Compiler (lcc)"); st 4972 src/simh/scp.c fprintf (st, "\n Compiler: SGI MIPSpro"); st 4974 src/simh/scp.c fprintf (st, "\n Compiler: Open64 %s", __OPEN64__); st 4976 src/simh/scp.c fprintf (st, "\n Compiler: Portland Group/PGI C/C++"); st 4978 src/simh/scp.c fprintf (st, "\n Compiler: Volker Barthelmann C Compiler (vbcc)"); st 4980 src/simh/scp.c fprintf (st, "\n Compiler: Watcom C/C++ %d.%d", st 4984 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++"); st 4988 src/simh/scp.c fprintf (st, "\n Compiler: Intel C++ Compiler %d.%d (%d)", st 4992 src/simh/scp.c fprintf (st, "\n Compiler: Intel C++ Compiler %d.%d", st 4996 src/simh/scp.c fprintf (st, "\n Compiler: Intel C++ Compiler %d", st 5002 src/simh/scp.c fprintf (st, "\n Compiler: %s", S_xstr(SIM_COMPILER)); st 5006 src/simh/scp.c fprintf (st, "\n Compiler: Unknown"); st 5067 src/simh/scp.c fprintf (st, "%s", arch); st 5069 src/simh/scp.c fprintf (st, "\n Built by: %s", BUILD_BY_USER); st 5072 src/simh/scp.c fprintf (st, "\n Built by: %s", VER_H_PREP_USER); st 5075 src/simh/scp.c fprintf (st, "\n\n Host System Information:"); st 5092 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); st 5093 src/simh/scp.c fprintf (st, " %s%s%s", arch, proc_arch3264 ? " on " : "", proc_arch3264 ? proc_arch3264 : ""); st 5136 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); st 5139 src/simh/scp.c fprintf (st, "\n Host OS: IBM AIX %s", osversion); st 5143 src/simh/scp.c fprintf (st, "\n Host OS: Unknown"); st 5145 src/simh/scp.c fprintf (st, "\n Host OS: IBM AIX"); st 5161 src/simh/scp.c fprintf (st, "\n"); st 5162 src/simh/scp.c fprintf (st, "\n This software is made available under the terms of the ICU License,"); st 5163 src/simh/scp.c fprintf (st, "\n version 1.8.1 or later. For complete details, see the \"LICENSE.md\""); st 5164 src/simh/scp.c fprintf (st, "\n included or https://gitlab.com/dps8m/dps8m/-/blob/master/LICENSE.md"); st 5166 src/simh/scp.c fprintf (st, "\n"); st 5171 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5179 src/simh/scp.c fprintf (st, "%s simulator configuration%s\n\n", sim_name, only_enabled ? " (enabled devices)" : ""); st 5182 src/simh/scp.c show_device (st, dptr, flag); st 5186 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5194 src/simh/scp.c show_dev_logicals (st, dptr, NULL, 1, cptr); st 5198 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5201 src/simh/scp.c fprintf (st, "%s -> %s\n", dptr->lname, dptr->name); st 5203 src/simh/scp.c fputs ("no logical name assigned\n", st); st 5207 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5216 src/simh/scp.c fprintf (st, "%s event queue empty, time = %.0f, executing %.0f instructions/sec\n", st 5221 src/simh/scp.c fprintf (st, "%s event queue status, time = %.0f, executing %.0f instructions/sec\n", st 5226 src/simh/scp.c fprintf (st, " Step timer"); st 5229 src/simh/scp.c fprintf (st, " Expect fired"); st 5232 src/simh/scp.c fprintf (st, " %s", sim_dname (dptr)); st 5234 src/simh/scp.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 5237 src/simh/scp.c fprintf (st, " Unknown"); st 5239 src/simh/scp.c fprintf (st, " at %d%s%s%s%s\n", accum + uptr->time, st 5245 src/simh/scp.c sim_show_clock_queues (st, dnotused, unotused, flag, cptr); st 5249 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5253 src/simh/scp.c fprintf (st, "Time:\t%.0f\n", sim_gtime()); st 5257 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5262 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ st 5264 src/simh/scp.c r = sim_brk_showall (st, sim_switches); st 5268 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5270 src/simh/scp.c fprintf (st, "Radix=%d\n", dptr->dradix); st 5274 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5281 src/simh/scp.c fputs ("Debugging disabled", st); st 5283 src/simh/scp.c fputs ("Debugging enabled", st); st 5287 src/simh/scp.c fputs ("Debug=", st); st 5292 src/simh/scp.c fputc (';', st); st 5293 src/simh/scp.c fputs (dep->name, st); st 5298 src/simh/scp.c fputc ('\n', st); st 5306 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5313 src/simh/scp.c fprintf(st, "On Processing at Do Nest Level: %d", lvl); st 5315 src/simh/scp.c fprintf(st, "On Processing for input commands"); st 5316 src/simh/scp.c fprintf(st, " is %s\n", (sim_on_check[lvl]) ? "enabled" : "disabled"); st 5319 src/simh/scp.c fprintf(st, " on %5d %s\n", i, sim_on_actions[lvl][i]); } st 5322 src/simh/scp.c fprintf(st, " on %-5s %s\n", scp_errors[i-SCPE_BASE].code, sim_on_actions[lvl][i]); } st 5324 src/simh/scp.c fprintf(st, " on ERROR %s\n", sim_on_actions[lvl][0]); st 5325 src/simh/scp.c fprintf(st, "\n"); st 5328 src/simh/scp.c fprintf(st, "on state and actions are inherited by nested do commands and subroutines\n"); st 5334 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5342 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5344 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5348 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5350 src/simh/scp.c fprint_set_help (st, dptr); st 5354 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, int32 *toks) st 5367 src/simh/scp.c fprintf (st, "\n"); st 5371 src/simh/scp.c fprint_sep (st, toks); st 5372 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); st 5378 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, st 5384 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); st 5386 src/simh/scp.c fputs (mptr->pstring, st); st 5388 src/simh/scp.c fputc ('\n', st); st 5394 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5402 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5404 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5408 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5410 src/simh/scp.c fprint_show_help (st, dptr); st 5422 src/simh/scp.c t_stat ssh_break (FILE *st, const char *cptr, int32 flg) st 5450 src/simh/scp.c return ssh_break_one (st, flg, lo, 0, aptr); st 5471 src/simh/scp.c sim_brk_showall (st, sim_switches); st 5477 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); st 5486 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr) st 5503 src/simh/scp.c return sim_brk_show (st, lo, sim_switches); st 6201 src/simh/scp.c void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr) st 6208 src/simh/scp.c fputc ('\n', st); /* start on a new line */ st 6211 src/simh/scp.c fputs (sim_error_text (v), st); /* print it from the SCP list */ st 6213 src/simh/scp.c fputs (sim_stop_messages [v], st); /* print the VM-specific message */ st 6216 src/simh/scp.c (!sim_vm_fprint_stopped (st, v))) /* call it; if it returned FALSE, */ st 6220 src/simh/scp.c fprintf (st, ", %s: ", pc->name); /* print the name of the PC register */ st 6224 src/simh/scp.c sim_vm_fprint_addr (st, dptr, (t_addr) pcval); /* call it to print the PC address */ st 6225 src/simh/scp.c else fprint_val (st, pcval, pc->radix, pc->width, /* otherwise, print as a numeric value */ st 6235 src/simh/scp.c fprintf (st, " ("); st 6236 src/simh/scp.c if (fprint_sym (st, (t_addr) pcval, sim_eval, NULL, SWMASK('M')|SIM_SW_STOP) > 0) st 6237 src/simh/scp.c fprint_val (st, sim_eval[0], dptr->dradix, dptr->dwidth, PV_RZRO); st 6238 src/simh/scp.c fprintf (st, ")"); st 6241 src/simh/scp.c fprintf (st, "\n"); st 6245 src/simh/scp.c void fprint_stopped (FILE *st, t_stat v) st 6251 src/simh/scp.c fprint_stopped_gen (st, v, sim_PC, sim_dflt_dev); st 7417 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size) st 7422 src/simh/scp.c fprintf (st, "%s", string); st 7713 src/simh/scp.c CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st) st 7790 src/simh/scp.c *st = SCPE_OK; st 7796 src/simh/scp.c *st = SCPE_ARG; st 7802 src/simh/scp.c *st = SCPE_OPENERR; st 7811 src/simh/scp.c *st = SCPE_INVSW; st 8867 src/simh/scp.c t_stat sim_brk_show (FILE *st, t_addr loc, int32 sw) st 8881 src/simh/scp.c fprintf (st, "SET BREAK "); st 8884 src/simh/scp.c sim_vm_fprint_addr (st, dptr, loc); st 8885 src/simh/scp.c else fprint_val (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); st 8886 src/simh/scp.c fprintf (st, ":\t"); st 8892 src/simh/scp.c fprintf (st, ", "); st 8893 src/simh/scp.c fputc (i + 'A', st); st 8896 src/simh/scp.c fprintf (st, "-%c", i + 'A'); st 8901 src/simh/scp.c fprintf (st, " "); st 8903 src/simh/scp.c sim_vm_fprint_addr (st, dptr, loc); st 8904 src/simh/scp.c else fprint_val (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); st 8907 src/simh/scp.c fprintf (st, "[%d]", bp->cnt); st 8909 src/simh/scp.c fprintf (st, "; %s", bp->act); st 8910 src/simh/scp.c fprintf (st, "\n"); st 8916 src/simh/scp.c t_stat sim_brk_showall (FILE *st, int32 sw) st 8927 src/simh/scp.c fprintf (st, "Supported Breakpoint Types:"); st 8930 src/simh/scp.c fprintf (st, " -%c", 'A' + bit); st 8931 src/simh/scp.c fprintf (st, "\n"); st 8935 src/simh/scp.c fprintf (st, "Displaying Breakpoint Types:"); st 8938 src/simh/scp.c fprintf (st, " -%c", 'A' + bit); st 8939 src/simh/scp.c fprintf (st, "\n"); st 8958 src/simh/scp.c sim_brk_show (st, cur->addr, cur->typ | ((sw & SWMASK ('C')) ? SWMASK ('C') : 0)); st 9400 src/simh/scp.c t_stat sim_exp_show_tab (FILE *st, const EXPECT *exp, const EXPTAB *ep) st 9404 src/simh/scp.c fprintf (st, "EXPECT"); st 9406 src/simh/scp.c fprintf (st, " -p"); st 9408 src/simh/scp.c fprintf (st, " -c"); st 9410 src/simh/scp.c fprintf (st, " -r"); st 9412 src/simh/scp.c fprintf (st, " -i"); st 9413 src/simh/scp.c fprintf (st, " %s", ep->match_pattern); st 9415 src/simh/scp.c fprintf (st, " [%d]", ep->cnt); st 9417 src/simh/scp.c fprintf (st, " %s", ep->act); st 9418 src/simh/scp.c fprintf (st, "\n"); st 9422 src/simh/scp.c t_stat sim_exp_show (FILE *st, CONST EXPECT *exp, const char *match) st 9429 src/simh/scp.c fprintf (st, "Match Buffer Size: %d\n", exp->buf_size); st 9430 src/simh/scp.c fprintf (st, "Buffer Insert Offset: %d\n", exp->buf_ins); st 9431 src/simh/scp.c fprintf (st, "Buffer Contents: %s\n", bstr); st 9435 src/simh/scp.c fprintf (st, "Halt After: %d instructions\n", exp->after); st 9437 src/simh/scp.c fprintf (st, "Debugging via: SET %s DEBUG%s%s\n", sim_dname(exp->dptr), exp->dptr->debflags ? "=" : "", exp->dptr->debflags ? get_dbg_verb (exp->dbit, exp->dptr) : ""); st 9438 src/simh/scp.c fprintf (st, "Match Rules:\n"); st 9440 src/simh/scp.c return sim_exp_showall (st, exp); st 9442 src/simh/scp.c fprintf (st, "No Rules match '%s'\n", match); st 9446 src/simh/scp.c sim_exp_show_tab (st, exp, ep); st 9454 src/simh/scp.c t_stat sim_exp_showall (FILE *st, const EXPECT *exp) st 9459 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); st 9619 src/simh/scp.c t_stat sim_show_send_input (FILE *st, const SEND *snd) st 9622 src/simh/scp.c fprintf (st, "%d bytes of pending input Data:\n ", snd->insoff-snd->extoff); st 9623 src/simh/scp.c fprint_buffer_string (st, snd->buffer+snd->extoff, snd->insoff-snd->extoff); st 9624 src/simh/scp.c fprintf (st, "\n"); st 9627 src/simh/scp.c fprintf (st, "No Pending Input Data\n"); st 9630 src/simh/scp.c fprintf (st, "Minimum of %d instructions (%d microseconds) before sending first character\n", (int)(snd->next_time - sim_gtime()), st 9633 src/simh/scp.c fprintf (st, "Minimum of %d instructions before sending first character\n", (int)(snd->next_time - sim_gtime())); st 9636 src/simh/scp.c fprintf (st, "Minimum of %d instructions (%d microseconds) between characters\n", (int)snd->delay, (int)(snd->delay/(sim_timer_inst_per_sec()/1000000.0))); st 9638 src/simh/scp.c fprintf (st, "Minimum of %d instructions between characters\n", (int)snd->delay); st 9640 src/simh/scp.c fprintf (st, "Debugging via: SET %s DEBUG%s%s\n", sim_dname(snd->dptr), snd->dptr->debflags ? "=" : "", snd->dptr->debflags ? get_dbg_verb (snd->dbit, snd->dptr) : ""); st 10587 src/simh/scp.c static void displayMagicTopic (FILE *st, DEVICE *dptr, TOPIC *topic) st 10609 src/simh/scp.c fprintf (st, "Unable to create temporary file: %s\n", strerror (errno)); st 10614 src/simh/scp.c fprintf (st, "%s\n", topic->title+1); st 10642 src/simh/scp.c fputs (" ", st); st 10643 src/simh/scp.c fputs (tbuf, st); st 10654 src/simh/scp.c static t_stat displayFlatHelp (FILE *st, DEVICE *dptr, st 10661 src/simh/scp.c fprintf (st, "\n%s ", topic->label); st 10662 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 10665 src/simh/scp.c fprintf (st, "\n%s %s\n", topic->label, topic->title); st 10673 src/simh/scp.c fputs (topic->text, st); st 10676 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic->children[i], ap); st 10719 src/simh/scp.c t_stat scp_vhelp (FILE *st, DEVICE *dptr, st 10808 src/simh/scp.c fprintf (st, "%s help.\nThis help is also available in hierarchical form.\n", top.title); st 10810 src/simh/scp.c fprintf (st, "%s help.\n", top.title); st 10813 src/simh/scp.c fprintf (st, ((flag & SCP_HELP_ONECMD)? onecmd_help: brief_help), top.title); st 10826 src/simh/scp.c fprintf (st, "\n"); st 10827 src/simh/scp.c fputs (help_help, st); st 10832 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10837 src/simh/scp.c fprintf (st, "\n%s is ambiguous in %s\n", gbuf, topic->title); st 10841 src/simh/scp.c fprintf (st, "\n%s is not available in %s\n", gbuf, topic->title); st 10849 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10863 src/simh/scp.c fputc ('\n', st); st 10864 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 10867 src/simh/scp.c fprintf (st, "\n%s\n", topic->title); st 10874 src/simh/scp.c fputs (topic->text, st); st 10881 src/simh/scp.c fprintf (st, "\n Additional information available:\n\n"); st 10892 src/simh/scp.c fputc ('\n', st); st 10894 src/simh/scp.c fprintf (st, " %-*s", topic->kidwid, tbuf); st 10896 src/simh/scp.c fprintf (st, "\n\n"); st 10899 src/simh/scp.c fprintf (st, "To view additional topics, type HELP %s topicname\n", pstring+1); st 10927 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10939 src/simh/scp.c fputs (help_help, st); st 10948 src/simh/scp.c fprintf (st, "No additional help at this level.\n"); st 10954 src/simh/scp.c fprintf (st, "%s is ambiguous, please type more of the topic name\n", gbuf); st 10960 src/simh/scp.c fprintf (st, "Help for %s is not available\n", gbuf); st 10978 src/simh/scp.c t_stat scp_help (FILE *st, DEVICE *dptr, st 10986 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap); st 142 src/simh/scp.h CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st); st 153 src/simh/scp.h void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size); st 161 src/simh/scp.h void fprint_reg_help (FILE *st, DEVICE *dptr); st 162 src/simh/scp.h void fprint_set_help (FILE *st, DEVICE *dptr); st 163 src/simh/scp.h void fprint_show_help (FILE *st, DEVICE *dptr); st 182 src/simh/scp.h t_stat sim_show_send_input (FILE *st, const SEND *snd); st 190 src/simh/scp.h t_stat sim_exp_show (FILE *st, CONST EXPECT *exp, const char *match); st 191 src/simh/scp.h t_stat sim_exp_showall (FILE *st, const EXPECT *exp); st 193 src/simh/scp.h t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 195 src/simh/scp.h t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 207 src/simh/scp.h void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr); st 211 src/simh/scp.h t_stat scp_help (FILE *st, DEVICE *dptr, st 213 src/simh/scp.h t_stat scp_vhelp (FILE *st, DEVICE *dptr, st 215 src/simh/scp.h t_stat scp_helpFromFile (FILE *st, DEVICE *dptr, st 217 src/simh/scp.h t_stat scp_vhelpFromFile (FILE *st, DEVICE *dptr, st 279 src/simh/scp.h extern void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr); st 281 src/simh/scp.h extern t_bool (*sim_vm_fprint_stopped) (FILE *st, t_stat reason); st 306 src/simh/sim_console.c t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 314 src/simh/sim_console.c show_con_tab[i].action (st, dptr, uptr, show_con_tab[i].arg, cptr); st 320 src/simh/sim_console.c shptr->action (st, dptr, uptr, shptr->arg, NULL); st 395 src/simh/sim_console.c t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 404 src/simh/sim_console.c fprintf (st, "Running from Master Mode Remote Console Connection\n"); st 406 src/simh/sim_console.c fprintf (st, "Running from Remote Console Connection %lu\n", (unsigned long)sim_rem_active_number); st 409 src/simh/sim_console.c fprintf (st, "Remote Console Input Connections from %lu sources are supported concurrently\n", (unsigned long)sim_rem_con_tmxr.lines); st 411 src/simh/sim_console.c fprintf (st, "Remote Console Input automatically continues after %lu seconds\n", (unsigned long)sim_rem_read_timeout); st 413 src/simh/sim_console.c fprintf (st, "Remote Console Command input is disabled\n"); st 415 src/simh/sim_console.c fprintf (st, "Remote Console Command Input listening on TCP port: %s\n", sim_rem_con_unit[0].filename); st 422 src/simh/sim_console.c fprintf (st, "Remote Console Connections:\n"); st 423 src/simh/sim_console.c tmxr_fconns (st, lp, i); st 426 src/simh/sim_console.c fprintf (st, "Remote Console Input on connection %lu automatically continues after %lu seconds\n", (unsigned long)i, (unsigned long)sim_rem_read_timeouts[i]); st 428 src/simh/sim_console.c fprintf (st, "Remote Console Input on connection %lu does not continue automatically\n", (unsigned long)i); st 1244 src/simh/sim_console.c t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1247 src/simh/sim_console.c fprintf (st, "%s = %X\n", show_con_tab[flag].name, *(cons_kmap[flag & KMAP_MASK])); st 1248 src/simh/sim_console.c else fprintf (st, "%s = %o\n", show_con_tab[flag].name, *(cons_kmap[flag & KMAP_MASK])); st 1279 src/simh/sim_console.c t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1282 src/simh/sim_console.c fprintf (st, "Speed = %ld", (long)sim_con_ldsc.rxbps); st 1284 src/simh/sim_console.c fprintf (st, "*%.0f", sim_con_ldsc.rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 1285 src/simh/sim_console.c fprintf (st, " bps\n"); st 1336 src/simh/sim_console.c t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1341 src/simh/sim_console.c fprintf (st, "Logging enabled to \"%s\"\n", st 1343 src/simh/sim_console.c else fprintf (st, "Logging disabled\n"); st 1456 src/simh/sim_console.c t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1463 src/simh/sim_console.c fprintf (st, "Debug output enabled to \"%s\"\n", st 1466 src/simh/sim_console.c fprintf (st, " Debug messages contain current PC value\n"); st 1468 src/simh/sim_console.c fprintf (st, " Debug messages display time of day as hh:mm:ss.msec%s\n", sim_deb_switches & SWMASK ('R') ? " relative to the start of debugging" : ""); st 1470 src/simh/sim_console.c fprintf (st, " Debug messages display time of day as seconds.msec%s\n", sim_deb_switches & SWMASK ('R') ? " relative to the start of debugging" : ""); st 1475 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1476 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1483 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1484 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1488 src/simh/sim_console.c else fprintf (st, "Debug output disabled\n"); st 1540 src/simh/sim_console.c t_stat sim_show_telnet (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1546 src/simh/sim_console.c fprintf (st, "Connected to console window\n"); st 1549 src/simh/sim_console.c fprintf (st, "Connected to "); st 1550 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1554 src/simh/sim_console.c fprintf (st, "Listening on port %s\n", sim_con_tmxr.port); st 1556 src/simh/sim_console.c fprintf (st, "Listening on port %s, connection from %s\n", st 1558 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1560 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); st 1605 src/simh/sim_console.c t_stat sim_show_cons_log (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1610 src/simh/sim_console.c fprintf (st, "Log File being written to %s\n", sim_con_tmxr.ldsc->txlogname); st 1612 src/simh/sim_console.c fprintf (st, "No Logging\n"); st 1616 src/simh/sim_console.c t_stat sim_show_cons_buff (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1621 src/simh/sim_console.c fprintf (st, "Unbuffered\n"); st 1623 src/simh/sim_console.c fprintf (st, "Buffer Size = %d\n", sim_con_tmxr.ldsc->txbsz); st 1631 src/simh/sim_console.c t_stat sim_show_cons_expect (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1633 src/simh/sim_console.c return sim_exp_show (st, &sim_con_expect, cptr); st 1716 src/simh/sim_console.c const char *sim_logfile_name (const FILE *st, FILEREF *ref) st 1718 src/simh/sim_console.c if (!st) st 1720 src/simh/sim_console.c if (st == stdout) st 1722 src/simh/sim_console.c if (st == stderr) st 1825 src/simh/sim_console.c t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1827 src/simh/sim_console.c return sim_show_send_input (st, &sim_con_send); st 95 src/simh/sim_console.h t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 96 src/simh/sim_console.h t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 97 src/simh/sim_console.h t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 98 src/simh/sim_console.h t_stat sim_show_telnet (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 99 src/simh/sim_console.h t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 100 src/simh/sim_console.h t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 101 src/simh/sim_console.h t_stat sim_show_pchar (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 102 src/simh/sim_console.h t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 103 src/simh/sim_console.h t_stat sim_show_cons_buff (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 104 src/simh/sim_console.h t_stat sim_show_cons_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 105 src/simh/sim_console.h t_stat sim_show_cons_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 109 src/simh/sim_console.h const char *sim_logfile_name (const FILE *st, FILEREF *ref); st 112 src/simh/sim_console.h t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 354 src/simh/sim_defs.h t_stat (*help)(FILE *st, DEVICE *dptr, st 357 src/simh/sim_defs.h t_stat (*attach_help)(FILE *st, DEVICE *dptr, st 542 src/simh/sim_defs.h t_stat (*action)(FILE *st, DEVICE *dptr, st 557 src/simh/sim_defs.h t_stat (*disp)(FILE *st, UNIT *up, int32 v, CONST void *dp); st 136 src/simh/sim_disk.c t_stat sim_disk_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 143 src/simh/sim_disk.c fprintf (st, "%s format", fmts[i].name); st 146 src/simh/sim_disk.c fprintf (st, "invalid format"); st 171 src/simh/sim_disk.c t_stat sim_disk_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 181 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); st 183 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); st 184 src/simh/sim_disk.c else fprintf (st, "capacity=%lu%s", (unsigned long) capac, cap_units); st 186 src/simh/sim_disk.c else fprintf (st, "undefined capacity"); st 1054 src/simh/sim_disk.c t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr) st 1056 src/simh/sim_disk.c fprintf (st, "%s Disk Attach Help\n\n", dptr->name); st 1057 src/simh/sim_disk.c fprintf (st, "Disk files are stored in the following format:\n\n"); st 1058 src/simh/sim_disk.c fprintf (st, " SIMH An unstructured binary file of the size appropriate\n"); st 1059 src/simh/sim_disk.c fprintf (st, " for the disk drive being simulated.\n\n"); st 1067 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s%lu diskfile\n", dptr->name, (unsigned long)i); st 1070 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s diskfile\n", dptr->name); st 1073 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s diskfile\n\n", dptr->name); st 1074 src/simh/sim_disk.c fprintf (st, "\n%s attach command switches\n", dptr->name); st 1075 src/simh/sim_disk.c fprintf (st, " -R Attach Read Only.\n"); st 1076 src/simh/sim_disk.c fprintf (st, " -E Must Exist (if not specified an attempt to create the indicated\n"); st 1077 src/simh/sim_disk.c fprintf (st, " disk container will be attempted).\n"); st 1078 src/simh/sim_disk.c fprintf (st, " -F Open the indicated disk container in a specific format\n"); st 1079 src/simh/sim_disk.c fprintf (st, " -I Initialize newly created disk so that each sector contains its\n"); st 1080 src/simh/sim_disk.c fprintf (st, " sector address\n"); st 1081 src/simh/sim_disk.c fprintf (st, " -K Verify that the disk contents contain the sector address in each\n"); st 1082 src/simh/sim_disk.c fprintf (st, " sector. Whole disk checked at attach time and each sector is\n"); st 1083 src/simh/sim_disk.c fprintf (st, " checked when written.\n"); st 1084 src/simh/sim_disk.c fprintf (st, " -V Perform a verification pass to confirm successful data copy\n"); st 1085 src/simh/sim_disk.c fprintf (st, " operation.\n"); st 1086 src/simh/sim_disk.c fprintf (st, " -U Fix inconsistencies which are overridden by the -O switch\n"); st 1087 src/simh/sim_disk.c fprintf (st, " -Y Answer Yes to prompt to overwrite last track (on disk create)\n"); st 1088 src/simh/sim_disk.c fprintf (st, " -N Answer No to prompt to overwrite last track (on disk create)\n"); st 73 src/simh/sim_disk.h t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr); st 80 src/simh/sim_disk.h t_stat sim_disk_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 82 src/simh/sim_disk.h t_stat sim_disk_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 194 src/simh/sim_fio.c t_offset sim_ftell (FILE *st); st 298 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) st 300 src/simh/sim_fio.c return fseeko (st, (off_t)offset, whence); st 303 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 305 src/simh/sim_fio.c return (t_offset)(ftello (st)); st 316 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) st 328 src/simh/sim_fio.c if (_fstati64 (_fileno (st), &statb)) st 333 src/simh/sim_fio.c if (fgetpos (st, &fileaddr)) st 343 src/simh/sim_fio.c return fsetpos (st, &fileaddr); st 346 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 349 src/simh/sim_fio.c if (fgetpos (st, &fileaddr)) st 360 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 362 src/simh/sim_fio.c return fseeko64 (st, (off64_t)xpos, origin); st 365 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 367 src/simh/sim_fio.c return (t_offset)(ftello64 (st)); st 380 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 382 src/simh/sim_fio.c return fseeko (st, (off_t)xpos, origin); st 385 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 387 src/simh/sim_fio.c return (t_offset)(ftello (st)); st 396 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 398 src/simh/sim_fio.c return fseek (st, (long) xpos, origin); st 401 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 403 src/simh/sim_fio.c return (t_offset)(ftell (st)); st 407 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) st 409 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); st 68 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); st 69 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); st 76 src/simh/sim_fio.h t_offset sim_ftell (FILE *st); st 275 src/simh/sim_tape.c t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr) st 277 src/simh/sim_tape.c fprintf (st, "%s Tape Attach Help\n\n", dptr->name); st 284 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s%lu tapefile\n\n", dptr->name, (unsigned long)i); st 287 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s tapefile\n\n", dptr->name); st 290 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s tapefile\n\n", dptr->name); st 291 src/simh/sim_tape.c fprintf (st, "Attach command switches\n"); st 292 src/simh/sim_tape.c fprintf (st, " -R Attach Read Only.\n"); st 293 src/simh/sim_tape.c fprintf (st, " -E Must Exist (if not specified an attempt to create the indicated\n"); st 294 src/simh/sim_tape.c fprintf (st, " virtual tape will be attempted).\n"); st 295 src/simh/sim_tape.c fprintf (st, " -F Open the indicated tape container in a specific format (default\n"); st 296 src/simh/sim_tape.c fprintf (st, " is SIMH, alternatives are E11, TPC and P7B)\n"); st 790 src/simh/sim_tape.c t_stat st; st 797 src/simh/sim_tape.c if (MTSE_OK != (st = sim_tape_rdlntf (uptr, &tbc))) /* read rec lnt */ st 798 src/simh/sim_tape.c return st; st 853 src/simh/sim_tape.c t_stat st; st 859 src/simh/sim_tape.c if (MTSE_OK != (st = sim_tape_rdlntr (uptr, &tbc))) /* read rec lnt */ st 860 src/simh/sim_tape.c return st; st 1160 src/simh/sim_tape.c t_stat st; st 1259 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, new_len); /* write new rec len */ st 1261 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1263 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1267 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, new_len); /* write new rec len */ st 1269 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1271 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1284 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, MTR_FHGAP); /* write half gap marker */ st 1285 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1287 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1296 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, MTR_GAP); /* write gap markers */ st 1297 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1299 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1334 src/simh/sim_tape.c t_stat st; st 1341 src/simh/sim_tape.c st = sim_tape_rdlntf (uptr, bc); /* get record length */ st 1343 src/simh/sim_tape.c return st; st 1375 src/simh/sim_tape.c t_stat st; st 1384 src/simh/sim_tape.c st = sim_tape_sprecf (uptr, &tbc); /* spc rec */ st 1385 src/simh/sim_tape.c if (st != MTSE_OK) st 1386 src/simh/sim_tape.c return st; st 1421 src/simh/sim_tape.c t_stat st; st 1432 src/simh/sim_tape.c st = sim_tape_rdlntr (uptr, bc); /* get record length */ st 1434 src/simh/sim_tape.c return st; st 1467 src/simh/sim_tape.c t_stat st; st 1476 src/simh/sim_tape.c st = sim_tape_sprecr (uptr, &tbc); /* spc rec rev */ st 1477 src/simh/sim_tape.c if (st != MTSE_OK) st 1478 src/simh/sim_tape.c return st; st 1515 src/simh/sim_tape.c t_stat st; st 1526 src/simh/sim_tape.c st = sim_tape_rdlntr (uptr, &rbc); st 1527 src/simh/sim_tape.c last_tapemark = (MTSE_TMK == st); st 1528 src/simh/sim_tape.c if ((st == MTSE_OK) || (st == MTSE_TMK)) st 1535 src/simh/sim_tape.c st = sim_tape_sprecsf (uptr, 0x1ffffff, &filerecsskipped);/* spc recs */ st 1537 src/simh/sim_tape.c if (st != MTSE_OK) st 1540 src/simh/sim_tape.c if (st == MTSE_TMK) { st 1551 src/simh/sim_tape.c return st; st 1625 src/simh/sim_tape.c t_stat st; st 1636 src/simh/sim_tape.c st = sim_tape_sprecsr (uptr, 0x1ffffff, &filerecsskipped);/* spc recs rev */ st 1638 src/simh/sim_tape.c if (st != MTSE_OK) st 1641 src/simh/sim_tape.c if (st == MTSE_TMK) st 1644 src/simh/sim_tape.c return st; st 1853 src/simh/sim_tape.c t_stat sim_tape_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 1858 src/simh/sim_tape.c fprintf (st, "%s format", fmts[f].name); st 1859 src/simh/sim_tape.c else fprintf (st, "invalid format"); st 2029 src/simh/sim_tape.c t_stat sim_tape_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 2033 src/simh/sim_tape.c fprintf (st, "capacity : %luMB", (unsigned long)(uptr->capac / ((t_addr) 1000000))); st 2036 src/simh/sim_tape.c fprintf (st, "capacity : %luKB", (unsigned long)(uptr->capac / ((t_addr) 1000))); st 2038 src/simh/sim_tape.c fprintf (st, "capacity : %luB", (unsigned long)uptr->capac); st 2042 src/simh/sim_tape.c fprintf (st, "capacity : unlimited"); st 2105 src/simh/sim_tape.c t_stat sim_tape_show_dens (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 2116 src/simh/sim_tape.c fprintf (st, "density=%lu bpi", st 2119 src/simh/sim_tape.c fprintf (st, "density not set"); /* it was never set by the caller */ st 159 src/simh/sim_tape.h t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr); st 199 src/simh/sim_tape.h t_stat sim_tape_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 201 src/simh/sim_tape.h t_stat sim_tape_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 203 src/simh/sim_tape.h t_stat sim_tape_show_dens (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 482 src/simh/sim_timer.c t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 495 src/simh/sim_timer.c fprintf (st, "%s clock device is %s%s%s\n", sim_name, st 501 src/simh/sim_timer.c fprintf (st, "%s%sTimer %d:\n", "", rtc_hz[tmr] ? "Calibrated " : "Uncalibrated ", tmr); st 503 src/simh/sim_timer.c fprintf (st, " Running at: %lu Hz\n", (unsigned long)rtc_hz[tmr]); st 504 src/simh/sim_timer.c fprintf (st, " Tick Size: %s\n", sim_fmt_secs (rtc_clock_tick_size[tmr])); st 505 src/simh/sim_timer.c fprintf (st, " Ticks in current second: %lu\n", (unsigned long)rtc_ticks[tmr]); st 507 src/simh/sim_timer.c fprintf (st, " Seconds Running: %lu (%s)\n", (unsigned long)rtc_elapsed[tmr], sim_fmt_secs ((double)rtc_elapsed[tmr])); st 509 src/simh/sim_timer.c fprintf (st, " Calibration Opportunities: %lu\n", (unsigned long)rtc_calibrations[tmr]); st 511 src/simh/sim_timer.c fprintf (st, " Calib Skip Idle Thresh %%: %lu\n", (unsigned long)sim_idle_calib_pct); st 513 src/simh/sim_timer.c fprintf (st, " Calibs Skip While Idle: %lu\n", (unsigned long)rtc_clock_calib_skip_idle[tmr]); st 515 src/simh/sim_timer.c fprintf (st, " Calibs Skip Backwards: %lu\n", (unsigned long)rtc_clock_calib_backwards[tmr]); st 517 src/simh/sim_timer.c fprintf (st, " Calibs Skip Gap Too Big: %lu\n", (unsigned long)rtc_clock_calib_gap2big[tmr]); st 520 src/simh/sim_timer.c fprintf (st, " Instruction Time: %.0f\n", rtc_gtime[tmr]); st 521 src/simh/sim_timer.c fprintf (st, " Current Insts Per Tick: %lu\n", (unsigned long)rtc_currd[tmr]); st 522 src/simh/sim_timer.c fprintf (st, " Initializations: %lu\n", (unsigned long)rtc_calib_initializations[tmr]); st 523 src/simh/sim_timer.c fprintf (st, " Total Ticks: %lu\n", (unsigned long)rtc_clock_ticks_tot[tmr]+(unsigned long)rtc_clock_ticks[tmr]); st 525 src/simh/sim_timer.c fprintf (st, " Peak Clock Skew: %s%s\n", sim_fmt_secs (fabs(rtc_clock_skew_max[tmr])), (rtc_clock_skew_max[tmr] < 0) ? " fast" : " slow"); st 527 src/simh/sim_timer.c fprintf (st, " Ticks Acked: %lu\n", (unsigned long)rtc_calib_ticks_acked[tmr]); st 529 src/simh/sim_timer.c fprintf (st, " Total Ticks Acked: %lu\n", (unsigned long)rtc_calib_ticks_acked_tot[tmr]+(unsigned long)rtc_calib_ticks_acked[tmr]); st 531 src/simh/sim_timer.c fprintf (st, " Tick Time: %s\n", sim_fmt_secs (rtc_calib_tick_time[tmr])); st 533 src/simh/sim_timer.c fprintf (st, " Total Tick Time: %s\n", sim_fmt_secs (rtc_calib_tick_time_tot[tmr]+rtc_calib_tick_time[tmr])); st 535 src/simh/sim_timer.c fprintf (st, " Catchup Ticks Sched: %lu\n", (unsigned long)rtc_clock_catchup_ticks[tmr]); st 537 src/simh/sim_timer.c fprintf (st, " Total Catchup Ticks Sched: %lu\n", (unsigned long)rtc_clock_catchup_ticks_tot[tmr]+(unsigned long)rtc_clock_catchup_ticks[tmr]); st 550 src/simh/sim_timer.c fprintf (st, " Wall Clock Time Now: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 554 src/simh/sim_timer.c fprintf (st, " Catchup Tick Time: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 557 src/simh/sim_timer.c fprintf (st, " Catchup Base Time: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 560 src/simh/sim_timer.c fprintf (st, " Total Time Idled: %s\n", sim_fmt_secs (rtc_clock_time_idled[tmr]/1000.0)); st 563 src/simh/sim_timer.c fprintf (st, "%s clock device is not specified, co-scheduling is unavailable\n", sim_name); st 567 src/simh/sim_timer.c t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 577 src/simh/sim_timer.c fprintf (st, "%s clock (%s) co-schedule event queue status\n", st 582 src/simh/sim_timer.c fprintf (st, " %s", sim_dname (dptr)); st 584 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 587 src/simh/sim_timer.c fprintf (st, " Unknown"); st 589 src/simh/sim_timer.c fprintf (st, " after %d ticks", accum); st 590 src/simh/sim_timer.c fprintf (st, "\n"); st 618 src/simh/sim_timer.c t_stat sim_timer_show_catchup (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 620 src/simh/sim_timer.c fprintf (st, "Calibrated Ticks%s", sim_catchup_ticks ? " with Catchup Ticks" : ""); st 67 src/simh/sim_timer.h t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc); st 68 src/simh/sim_timer.h t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 3040 src/simh/sim_tmxr.c t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 3045 src/simh/sim_tmxr.c fprintf(st, "No Attached Multiplexer Devices\n"); st 3052 src/simh/sim_tmxr.c fprintf(st, "Multiplexer device: %s", (mp->dptr ? sim_dname (mp->dptr) : "")); st 3054 src/simh/sim_tmxr.c fprintf(st, ", "); st 3055 src/simh/sim_tmxr.c tmxr_show_lines(st, NULL, 0, mp); st 3058 src/simh/sim_tmxr.c fprintf(st, ", Packet"); st 3060 src/simh/sim_tmxr.c fprintf(st, ", UDP"); st 3062 src/simh/sim_tmxr.c fprintf(st, ", Telnet=disabled"); st 3064 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=enabled"); st 3066 src/simh/sim_tmxr.c fprintf(st, ", Buffered=%d", mp->buffered); st 3069 src/simh/sim_tmxr.c fprintf(st, ",\n attached to %s, ", attach); st 3071 src/simh/sim_tmxr.c tmxr_show_summ(st, NULL, 0, mp); st 3072 src/simh/sim_tmxr.c fprintf(st, ", sessions=%d", mp->sessions); st 3075 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)mp->ldsc->rxbps); st 3077 src/simh/sim_tmxr.c fprintf(st, "*%.0f", mp->ldsc->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 3078 src/simh/sim_tmxr.c fprintf(st, " bps"); st 3081 src/simh/sim_tmxr.c fprintf(st, "\n"); st 3083 src/simh/sim_tmxr.c fprintf (st, " incoming Connection from: %s ringing for %lu milliseconds\n", mp->ring_ipad, (unsigned long)sim_os_msec () - (unsigned long)mp->ring_start_time); st 3089 src/simh/sim_tmxr.c fprintf (st, "Device: %s ", sim_dname(lp->dptr)); st 3090 src/simh/sim_tmxr.c fprintf (st, "Line: %d", j); st 3092 src/simh/sim_tmxr.c fprintf (st, " - %stelnet", lp->notelnet ? "no" : ""); st 3094 src/simh/sim_tmxr.c fprintf (st, " - Unit: %s", sim_uname (lp->uptr)); st 3096 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=%s", lp->modem_control ? "enabled" : "disabled"); st 3098 src/simh/sim_tmxr.c fprintf(st, ", Loopback"); st 3100 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)lp->rxbps); st 3102 src/simh/sim_tmxr.c fprintf(st, "*%.0f", lp->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 3103 src/simh/sim_tmxr.c fprintf(st, " bps"); st 3105 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3110 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3113 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3114 src/simh/sim_tmxr.c tmxr_fstats (st, lp, -1); st 3228 src/simh/sim_tmxr.c t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 3237 src/simh/sim_tmxr.c fprintf (st, "%s Multiplexer Attach Help\n\n", dptr->name); st 3239 src/simh/sim_tmxr.c fprintf (st, "The %s multiplexer may be connected to terminal emulators supporting the\n", dptr->name); st 3240 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets.\n\n"); st 3242 src/simh/sim_tmxr.c fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name); st 3243 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals.\n"); st 3245 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3246 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3247 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be enabled for the %s device with:\n\n", dptr->name); st 3248 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3249 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be disabled for the %s device with:\n\n", dptr->name); st 3250 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3251 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3252 src/simh/sim_tmxr.c fprintf (st, "The outbound traffic the %s device can be logged to a file with:\n", dptr->name); st 3253 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3254 src/simh/sim_tmxr.c fprintf (st, "File logging can be disabled for the %s device with:\n\n", dptr->name); st 3255 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoLog\n\n", dptr->name); st 3256 src/simh/sim_tmxr.c fprintf (st, "The %s device may be connected to a serial port on the host system.\n", dptr->name); st 3259 src/simh/sim_tmxr.c fprintf (st, "%s multiplexer lines may be connected to terminal emulators supporting the\n", dptr->name); st 3260 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets, or to hardware terminals via host serial\n"); st 3261 src/simh/sim_tmxr.c fprintf (st, "ports. Concurrent Telnet and serial connections may be mixed on a given\n"); st 3262 src/simh/sim_tmxr.c fprintf (st, "multiplexer.\n\n"); st 3264 src/simh/sim_tmxr.c fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name); st 3265 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals on all lines.\n"); st 3267 src/simh/sim_tmxr.c fprintf (st, "Modem Control signalling behaviors can be enabled/disabled on a specific\n"); st 3268 src/simh/sim_tmxr.c fprintf (st, "multiplexer line with:\n\n"); st 3269 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Modem\n", dptr->name); st 3270 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,NoModem\n\n", dptr->name); st 3271 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3272 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3274 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all %d lines on the %s device can be configured with:\n\n", mux->lines, dptr->name); st 3276 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all lines on the %s device can be configured with:\n\n", dptr->name); st 3277 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3279 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all %d lines on the %s device can be disabled with:\n\n", mux->lines, dptr->name); st 3281 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all lines on the %s device can be disabled with:\n\n", dptr->name); st 3282 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3283 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3284 src/simh/sim_tmxr.c fprintf (st, "The outbound traffic for the lines of the %s device can be logged to files\n", dptr->name); st 3285 src/simh/sim_tmxr.c fprintf (st, "with:\n\n"); st 3286 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3287 src/simh/sim_tmxr.c fprintf (st, "The log file name for each line uses the above LogFileName as a template\n"); st 3288 src/simh/sim_tmxr.c fprintf (st, "for the actual file name which will be LogFileName_n where n is the line\n"); st 3289 src/simh/sim_tmxr.c fprintf (st, "number.\n\n"); st 3290 src/simh/sim_tmxr.c fprintf (st, "Multiplexer lines may be connected to serial ports on the host system.\n"); st 3292 src/simh/sim_tmxr.c fprintf (st, "Serial ports may be specified as an operating system specific device names\n"); st 3293 src/simh/sim_tmxr.c fprintf (st, "or using simh generic serial names. simh generic names are of the form\n"); st 3294 src/simh/sim_tmxr.c fprintf (st, "serN, where N is from 0 thru one less than the maximum number of serial\n"); st 3295 src/simh/sim_tmxr.c fprintf (st, "ports on the local system. The mapping of simh generic port names to OS \n"); st 3296 src/simh/sim_tmxr.c fprintf (st, "specific names can be displayed using the following command:\n\n"); st 3297 src/simh/sim_tmxr.c fprintf (st, " sim> SHOW SERIAL\n"); st 3298 src/simh/sim_tmxr.c fprintf (st, " Serial devices:\n"); st 3299 src/simh/sim_tmxr.c fprintf (st, " ser0 COM1 (\\Device\\Serial0)\n"); st 3300 src/simh/sim_tmxr.c fprintf (st, " ser1 COM3 (Winachcf0)\n\n"); st 3302 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=ser0\n\n", dptr->name); st 3303 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3304 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=COM1\n\n", dptr->name); st 3307 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=ser0\n\n", dptr->name); st 3308 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3309 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=COM1\n\n", dptr->name); st 3311 src/simh/sim_tmxr.c fprintf (st, "Valid line numbers are from 0 thru %d\n\n", mux->lines-1); st 3314 src/simh/sim_tmxr.c fprintf (st, "The input data rate for the %s device can be controlled by\n", dptr->name); st 3315 src/simh/sim_tmxr.c fprintf (st, "specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3318 src/simh/sim_tmxr.c fprintf (st, "The input data rate for all lines or a particular line of a the %s\n", dptr->name); st 3319 src/simh/sim_tmxr.c fprintf (st, "device can be controlled by specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3321 src/simh/sim_tmxr.c fprintf (st, "SPEED values can be any one of:\n\n"); st 3322 src/simh/sim_tmxr.c fprintf (st, " 0 50 75 110 134 150 300 600 1200 1800 2000 2400\n"); st 3323 src/simh/sim_tmxr.c fprintf (st, " 3600 4800 7200 9600 19200 38400 57600 76800 115200\n\n"); st 3324 src/simh/sim_tmxr.c fprintf (st, "A SPEED value of 0 causes input data to be delivered to the simulated\n"); st 3325 src/simh/sim_tmxr.c fprintf (st, "port as fast as it arrives.\n\n"); st 3326 src/simh/sim_tmxr.c fprintf (st, "If a simulated multiplexor devices can programmatically set a serial\n"); st 3327 src/simh/sim_tmxr.c fprintf (st, "port line speed, the programmatically specified speed will take precedence\n"); st 3328 src/simh/sim_tmxr.c fprintf (st, "over any input speed specified on an attach command.\n"); st 3329 src/simh/sim_tmxr.c fprintf (st, "Some simulated systems run very much faster than the original system\n"); st 3330 src/simh/sim_tmxr.c fprintf (st, "which is being simulated. To accommodate this, the speed specified may\n"); st 3331 src/simh/sim_tmxr.c fprintf (st, "include a factor which will increase the input data delivery rate by\n"); st 3332 src/simh/sim_tmxr.c fprintf (st, "the specified factor. A factor is specified with a speed value of the\n"); st 3333 src/simh/sim_tmxr.c fprintf (st, "form \"speed*factor\". Factor values can range from 1 thru 32.\n"); st 3334 src/simh/sim_tmxr.c fprintf (st, "Example:\n\n"); st 3335 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=2400\n", dptr->name); st 3336 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=9600*8\n", dptr->name); st 3338 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=2,SPEED=2400\n", dptr->name); st 3339 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3340 src/simh/sim_tmxr.c fprintf (st, "The SPEED parameter only influences the rate at which data is delivered\n"); st 3341 src/simh/sim_tmxr.c fprintf (st, "into the simulated multiplexor port. Output data rates are unaffected\n"); st 3342 src/simh/sim_tmxr.c fprintf (st, "If an attach command specifies a speed multiply factor, that value will\n"); st 3343 src/simh/sim_tmxr.c fprintf (st, "persist independent of any programmatic action by the simulated system to\n"); st 3344 src/simh/sim_tmxr.c fprintf (st, "change the port speed.\n\n"); st 3345 src/simh/sim_tmxr.c fprintf (st, "An optional serial port configuration string may be present after the port\n"); st 3346 src/simh/sim_tmxr.c fprintf (st, "name. If present, it must be separated from the port name with a semicolon\n"); st 3347 src/simh/sim_tmxr.c fprintf (st, "and has this form:\n\n"); st 3348 src/simh/sim_tmxr.c fprintf (st, " <rate>-<charsize><parity><stopbits>\n\n"); st 3349 src/simh/sim_tmxr.c fprintf (st, "where:\n"); st 3350 src/simh/sim_tmxr.c fprintf (st, " rate = communication rate in bits per second\n"); st 3351 src/simh/sim_tmxr.c fprintf (st, " charsize = character size in bits (5-8, including optional parity)\n"); st 3352 src/simh/sim_tmxr.c fprintf (st, " parity = parity designator (N/E/O/M/S for no/even/odd/mark/space parity)\n"); st 3353 src/simh/sim_tmxr.c fprintf (st, " stopbits = number of stop bits (1, 1.5, or 2)\n\n"); st 3354 src/simh/sim_tmxr.c fprintf (st, "As an example:\n\n"); st 3355 src/simh/sim_tmxr.c fprintf (st, " 9600-8n1\n\n"); st 3356 src/simh/sim_tmxr.c fprintf (st, "The supported rates, sizes, and parity options are host-specific. If\n"); st 3357 src/simh/sim_tmxr.c fprintf (st, "a configuration string is not supplied, then the default of 9600-8N1\n"); st 3358 src/simh/sim_tmxr.c fprintf (st, "is used.\n"); st 3359 src/simh/sim_tmxr.c fprintf (st, "Note: The serial port configuration option is only available on multiplexer\n"); st 3360 src/simh/sim_tmxr.c fprintf (st, " lines which are not operating with full modem control behaviors enabled.\n"); st 3361 src/simh/sim_tmxr.c fprintf (st, " Lines with full modem control behaviors enabled have all of their\n"); st 3362 src/simh/sim_tmxr.c fprintf (st, " configuration managed by the Operating System running within the\n"); st 3363 src/simh/sim_tmxr.c fprintf (st, " simulator.\n\n"); st 3364 src/simh/sim_tmxr.c fprintf (st, "An attachment to a serial port with the '-V' switch will cause a\n"); st 3365 src/simh/sim_tmxr.c fprintf (st, "connection message to be output to the connected serial port.\n"); st 3366 src/simh/sim_tmxr.c fprintf (st, "This will help to confirm the correct port has been connected and\n"); st 3367 src/simh/sim_tmxr.c fprintf (st, "that the port settings are reasonable for the connected device.\n"); st 3368 src/simh/sim_tmxr.c fprintf (st, "This would be done as:\n\n"); st 3370 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Connect=SerN\n", dptr->name); st 3372 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Line=n,Connect=SerN\n\n", dptr->name); st 3373 src/simh/sim_tmxr.c fprintf (st, "Line specific tcp listening ports are supported. These are configured\n"); st 3374 src/simh/sim_tmxr.c fprintf (st, "using commands of the form:\n\n"); st 3375 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,{interface:}port{;notelnet}\n\n", dptr->name); st 3377 src/simh/sim_tmxr.c fprintf (st, "Direct computer to computer connections (Virtual Null Modem cables) may\n"); st 3378 src/simh/sim_tmxr.c fprintf (st, "be established using the telnet protocol or via raw tcp sockets.\n\n"); st 3379 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=host:port{;notelnet}\n\n", dptr->name); st 3380 src/simh/sim_tmxr.c fprintf (st, "Computer to computer virtual connections can be one way (as illustrated\n"); st 3381 src/simh/sim_tmxr.c fprintf (st, "above) or symmetric. A symmetric connection is configured by combining\n"); st 3383 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3384 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s listenport,Connect=host:port\n\n", dptr->name); st 3387 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3388 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,listenport,Connect=host:port\n\n", dptr->name); st 3390 src/simh/sim_tmxr.c fprintf (st, "When symmetric virtual connections are configured, incoming connections\n"); st 3391 src/simh/sim_tmxr.c fprintf (st, "on the specified listening port are checked to assure that they actually\n"); st 3392 src/simh/sim_tmxr.c fprintf (st, "come from the specified connection destination host system.\n\n"); st 3394 src/simh/sim_tmxr.c fprintf (st, "The %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3395 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Loopback\n\n", dptr->name); st 3398 src/simh/sim_tmxr.c fprintf (st, "A line on the %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3399 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Loopback\n\n", dptr->name); st 3401 src/simh/sim_tmxr.c fprintf (st, "When operating in LOOPBACK mode, all outgoing data arrives as input and\n"); st 3402 src/simh/sim_tmxr.c fprintf (st, "outgoing modem signals (if enabled) (DTR and RTS) are reflected in the\n"); st 3403 src/simh/sim_tmxr.c fprintf (st, "incoming modem signals (DTR->(DCD and DSR), RTS->CTS)\n\n"); st 3405 src/simh/sim_tmxr.c fprintf (st, "The connection configured for the %s device is unconfigured by:\n\n", dptr->name); st 3407 src/simh/sim_tmxr.c fprintf (st, "All connections configured for the %s device are unconfigured by:\n\n", dptr->name); st 3408 src/simh/sim_tmxr.c fprintf (st, " sim> DETACH %s\n\n", dptr->name); st 3414 src/simh/sim_tmxr.c fprintf (st, "A specific line on the %s device can be disconnected with:\n\n", dptr->name); st 3415 src/simh/sim_tmxr.c fprintf (st, " sim> SET %s %s=n\n\n", dptr->name, mptr->mstring); st 3416 src/simh/sim_tmxr.c fprintf (st, "This will cause a telnet connection to be closed, but a serial port will\n"); st 3417 src/simh/sim_tmxr.c fprintf (st, "normally have DTR dropped for 500ms and raised again (thus hanging up a\n"); st 3418 src/simh/sim_tmxr.c fprintf (st, "modem on that serial port).\n\n"); st 3419 src/simh/sim_tmxr.c fprintf (st, "A line which is connected to a serial port can be manually closed by\n"); st 3420 src/simh/sim_tmxr.c fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring); st 3421 src/simh/sim_tmxr.c fprintf (st, " sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring); st 3529 src/simh/sim_tmxr.c void tmxr_fconns (FILE *st, const TMLN *lp, int32 ln) st 3535 src/simh/sim_tmxr.c fprintf (st, "line %d: ", ln); st 3540 src/simh/sim_tmxr.c fprintf (st, "Datagram Connection from %s to remote port %s\n", lp->port, lp->destination);/* print port name */ st 3542 src/simh/sim_tmxr.c fprintf (st, "Connection to remote port %s\n", lp->destination);/* print port name */ st 3544 src/simh/sim_tmxr.c fprintf (st, "Connection from IP address %s\n", lp->ipad); st 3548 src/simh/sim_tmxr.c fprintf (st, "Connecting to remote port %s\n", lp->destination);/* print port name */ st 3553 src/simh/sim_tmxr.c fprintf (st, "Connection %s->%s\n", sockname, peername); st 3559 src/simh/sim_tmxr.c fprintf (st, "Listening on port %s\n", lp->port); /* print port name */ st 3566 src/simh/sim_tmxr.c fprintf (st, " %s %02d:%02d:%02d\n", lp->connecting ? "Connecting for" : "Connected", hr, mn, sc); st 3569 src/simh/sim_tmxr.c fprintf (st, " Line disconnected\n"); st 3572 src/simh/sim_tmxr.c fprintf (st, " Modem Bits: %s%s%s%s%s%s\n", (lp->modembits & TMXR_MDM_DTR) ? "DTR " : "", st 3582 src/simh/sim_tmxr.c fprintf (st, " %s\n", (lp->notelnet) ? "Telnet disabled (RAW data)" : "Telnet protocol"); st 3584 src/simh/sim_tmxr.c sim_show_send_input (st, &lp->send); st 3586 src/simh/sim_tmxr.c sim_exp_showall (st, &lp->expect); st 3588 src/simh/sim_tmxr.c fprintf (st, " Logging to %s\n", lp->txlogname); st 3594 src/simh/sim_tmxr.c void tmxr_fstats (FILE *st, const TMLN *lp, int32 ln) st 3600 src/simh/sim_tmxr.c fprintf (st, "Line %d:", ln); st 3603 src/simh/sim_tmxr.c fprintf (st, " not connected\n"); st 3606 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3607 src/simh/sim_tmxr.c fprintf (st, " input (%s)", (lp->rcve? enab: dsab)); st 3609 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_rqln (lp), lp->rxcnt); st 3611 src/simh/sim_tmxr.c fprintf (st, " packets = %d", lp->rxpcnt); st 3612 src/simh/sim_tmxr.c fprintf (st, "\n output (%s)", (lp->xmte? enab: dsab)); st 3614 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_tqln (lp), lp->txcnt); st 3616 src/simh/sim_tmxr.c fprintf (st, " packet data queued/packets sent = %d/%d", st 3618 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3621 src/simh/sim_tmxr.c fprintf (st, " output buffer size = %d\n", lp->txbsz); st 3623 src/simh/sim_tmxr.c fprintf (st, " bytes in buffer = %d\n", st 3626 src/simh/sim_tmxr.c fprintf (st, " dropped = %d\n", lp->txdrp); st 3738 src/simh/sim_tmxr.c t_stat tmxr_show_log (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3747 src/simh/sim_tmxr.c fprintf (st, "logging to %s", lp->txlogname); st 3748 src/simh/sim_tmxr.c else fprintf (st, "no logging"); st 3881 src/simh/sim_tmxr.c t_stat tmxr_show_lnorder (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3892 src/simh/sim_tmxr.c fprintf (st, "Order=0-%d\n", mp->lines - 1); /* print full line range */ st 3905 src/simh/sim_tmxr.c fputs ("Order=", st); /* print header */ st 3910 src/simh/sim_tmxr.c fputc (';', st); /* print separator */ st 3913 src/simh/sim_tmxr.c fprintf (st, "%d", last); /* print single line value */ st 3916 src/simh/sim_tmxr.c fprintf (st, "%d-%d", low, last); /* print start and end line */ st 3926 src/simh/sim_tmxr.c fputc ('\n', st); st 3933 src/simh/sim_tmxr.c t_stat tmxr_show_summ (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3945 src/simh/sim_tmxr.c fprintf (st, "%d current connection%s", t, (t != 1) ? "s" : ""); st 3947 src/simh/sim_tmxr.c fprintf (st, "%s", (t == 1) ? "connected" : "disconnected"); st 3953 src/simh/sim_tmxr.c t_stat tmxr_show_cstat (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3967 src/simh/sim_tmxr.c tmxr_fconns (st, &mp->ldsc[i], i); st 3971 src/simh/sim_tmxr.c tmxr_fstats (st, &mp->ldsc[i], i); st 3975 src/simh/sim_tmxr.c fprintf (st, (mp->lines == 1? "disconnected\n": "all disconnected\n")); st 3981 src/simh/sim_tmxr.c t_stat tmxr_show_lines (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3987 src/simh/sim_tmxr.c fprintf (st, "lines=%d", mp->lines); st 234 src/simh/sim_tmxr.h t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr); st 250 src/simh/sim_tmxr.h void tmxr_fconns (FILE *st, const TMLN *lp, int32 ln); st 251 src/simh/sim_tmxr.h void tmxr_fstats (FILE *st, const TMLN *lp, int32 ln); st 254 src/simh/sim_tmxr.h t_stat tmxr_show_log (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 261 src/simh/sim_tmxr.h t_stat tmxr_show_lnorder (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 262 src/simh/sim_tmxr.h t_stat tmxr_show_summ (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 263 src/simh/sim_tmxr.h t_stat tmxr_show_cstat (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 264 src/simh/sim_tmxr.h t_stat tmxr_show_lines (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 265 src/simh/sim_tmxr.h t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc);