st 74 src/dps8/dps8_absi.c static t_stat absi_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 93 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 560 src/dps8/dps8_console.c static int opc_autoinput_show (UNUSED FILE * st, UNIT * uptr, st 1655 src/dps8/dps8_console.c static t_stat opc_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1756 src/dps8/dps8_console.c static t_stat opc_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 1768 src/dps8/dps8_console.c static t_stat opc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1815 src/dps8/dps8_console.c static t_stat opc_show_console_port (UNUSED FILE * st, UNIT * uptr, st 1863 src/dps8/dps8_console.c static t_stat opc_show_console_address (UNUSED FILE * st, UNIT * uptr, st 1902 src/dps8/dps8_console.c static t_stat opc_show_console_pw (UNUSED FILE * st, UNIT * uptr, st 124 src/dps8/dps8_cpu.c static t_stat cpu_show_config (UNUSED FILE * st, UNIT * uptr, st 668 src/dps8/dps8_cpu.c static t_stat cpu_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 687 src/dps8/dps8_cpu.c static t_stat cpu_show_kips (UNUSED FILE * st, UNUSED UNIT * uptr, st 711 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 1363 src/dps8/dps8_crdpun.c static t_stat pun_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 61 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 63 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 65 src/dps8/dps8_crdrdr.c static t_stat rdr_show_path (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 1006 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1025 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1078 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 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 1837 src/dps8/dps8_prt.c static t_stat prt_show_path (UNUSED FILE * st, UNUSED UNUSED UNIT * uptr, st 2000 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 4662 src/dps8/dps8_sys.c static t_stat sys_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 4685 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 2021 src/simh/scp.c void fprint_help (FILE *st) st 2078 src/simh/scp.c fprintf (st, "HELP is available for the following commands:\n\n "); st 2083 src/simh/scp.c fputs (hlp_cmdp[i]->name, st); st 2087 src/simh/scp.c fprintf (st, "\n "); st 2090 src/simh/scp.c fprintf (st, "%*s", (int)(max_cmdname_size + 5 - strlen (hlp_cmdp[i]->name)), ""); st 2093 src/simh/scp.c fprintf (st, "\n"); st 2097 src/simh/scp.c static void fprint_header (FILE *st, t_bool *pdone, char *context) st 2100 src/simh/scp.c fprintf (st, "%s", context); st 2104 src/simh/scp.c void fprint_reg_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2132 src/simh/scp.c fprintf (st, "No register HELP available for the %s device\n", dptr->name); st 2148 src/simh/scp.c fprintf (st, "\nThe %s device implements these registers:\n\n", dptr->name); st 2159 src/simh/scp.c fprintf (st, " %s %4d %s\n", namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2164 src/simh/scp.c fprintf (st, " %s %s %4d %s\n", dptr->name, namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2166 src/simh/scp.c fprintf (st, " %*s %s %4d %s\n", (int)strlen(dptr->name), "", namebuf, rptr->width, rptr->desc ? rptr->desc : ""); st 2172 src/simh/scp.c void fprint_reg_help (FILE *st, DEVICE *dptr) st 2174 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2177 src/simh/scp.c void fprint_attach_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2180 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2181 src/simh/scp.c dptr->attach_help (st, dptr, NULL, 0, NULL); st 2185 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2186 src/simh/scp.c sim_disk_attach_help (st, dptr, NULL, 0, NULL); st 2190 src/simh/scp.c fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2191 src/simh/scp.c sim_tape_attach_help (st, dptr, NULL, 0, NULL); st 2195 src/simh/scp.c fprintf (st, "No ATTACH help is available for the %s device\n", dptr->name); st 2197 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2201 src/simh/scp.c void fprint_set_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2221 src/simh/scp.c fprint_header (st, &found, header); st 2224 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2226 src/simh/scp.c fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); st 2231 src/simh/scp.c fprint_header (st, &found, header); st 2233 src/simh/scp.c fprintf (st, "%-30s\tEnables device %s\n", buf, sim_dname (dptr)); st 2235 src/simh/scp.c fprintf (st, "%-30s\tDisables device %s\n", buf, sim_dname (dptr)); st 2238 src/simh/scp.c fprint_header (st, &found, header); st 2240 src/simh/scp.c fprintf (st, "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr)); st 2242 src/simh/scp.c fprintf (st, "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr)); st 2246 src/simh/scp.c fprintf (st, "SET %s DEBUG=", sim_dname (dptr)); st 2248 src/simh/scp.c fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2251 src/simh/scp.c fprintf (st, "\n"); st 2252 src/simh/scp.c fprintf (st, "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2253 src/simh/scp.c fprintf (st, "SET %s NODEBUG=", sim_dname (dptr)); st 2255 src/simh/scp.c fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2256 src/simh/scp.c fprintf (st, "\n"); st 2257 src/simh/scp.c fprintf (st, "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2259 src/simh/scp.c fprintf (st, "\n*%s device DEBUG settings:\n", sim_dname (dptr)); st 2261 src/simh/scp.c fprintf (st, "%4s%-12s%s\n", "", dep->name, dep->desc ? dep->desc : ""); st 2267 src/simh/scp.c fprint_header (st, &found, header); st 2269 src/simh/scp.c fprintf (st, "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr)); st 2271 src/simh/scp.c fprintf (st, "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr)); st 2279 src/simh/scp.c fprint_header (st, &found, header); st 2281 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, (strchr(mptr->mstring, '=')) ? "" : (mptr->help ? mptr->help : "")); st 2286 src/simh/scp.c fprintf (st, "No SET help is available for the %s device\n", dptr->name); st 2289 src/simh/scp.c void fprint_set_help (FILE *st, DEVICE *dptr) st 2291 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2294 src/simh/scp.c void fprint_show_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2314 src/simh/scp.c fprint_header (st, &found, header); st 2316 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2320 src/simh/scp.c fprint_header (st, &found, header); st 2322 src/simh/scp.c fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr)); st 2330 src/simh/scp.c fprint_header (st, &found, header); st 2332 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2336 src/simh/scp.c fprintf (st, "No SHOW help is available for the %s device\n", dptr->name); st 2339 src/simh/scp.c void fprint_show_help (FILE *st, DEVICE *dptr) st 2341 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2344 src/simh/scp.c void fprint_brk_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2351 src/simh/scp.c fprintf (st, "Breakpoints are not supported in the %s simulator\n", sim_name); st 2353 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2362 src/simh/scp.c fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2365 src/simh/scp.c fprintf (st, " -%c\n", 'A'+i); st 2368 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2372 src/simh/scp.c fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2374 src/simh/scp.c fprintf (st, " %s %s\n", put_switches (gbuf, sizeof(gbuf), brkt->btyp), brkt->desc); st 2377 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2380 src/simh/scp.c t_stat help_dev_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 2390 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2392 src/simh/scp.c fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr)); st 2396 src/simh/scp.c fprint_set_help_ex (st, dptr, FALSE); st 2400 src/simh/scp.c fprint_show_help_ex (st, dptr, FALSE); st 2404 src/simh/scp.c fprint_attach_help_ex (st, dptr, FALSE); st 2408 src/simh/scp.c fprint_brk_help_ex (st, dptr, FALSE); st 2412 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2413 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name); st 2417 src/simh/scp.c fprint_reg_help_ex (st, dptr, FALSE); st 2421 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2422 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", gbuf, dptr->name); st 2426 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2429 src/simh/scp.c fprintf (st, "%s %s HELP\n", dptr->description (dptr), dptr->name); st 2431 src/simh/scp.c fprintf (st, "%s HELP\n", dptr->name); st 2432 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2433 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2434 src/simh/scp.c fprint_attach_help_ex (st, dptr, TRUE); st 2435 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2436 src/simh/scp.c fprint_brk_help_ex (st, dptr, TRUE); st 3488 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3506 src/simh/scp.c return sim_show_send_input (st, snd); st 3528 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3551 src/simh/scp.c return sim_exp_show (st, exp, gbuf); st 4164 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag) st 4171 src/simh/scp.c fprintf (st, "%s", sim_dname (dptr)); /* print dev name */ st 4173 src/simh/scp.c fprintf (st, "\t%s\n", dptr->description(dptr)); st 4177 src/simh/scp.c fprintf (st, "\t%s\n", dptr->description(dptr)); st 4180 src/simh/scp.c fprintf (st, "\tdisabled\n"); st 4193 src/simh/scp.c fprintf (st, "\n"); st 4197 src/simh/scp.c fprint_sep (st, &toks); st 4198 src/simh/scp.c fprintf (st, "all units disabled\n"); st 4201 src/simh/scp.c fprint_sep (st, &toks); st 4202 src/simh/scp.c fprintf (st, " 1 unit\n"); st 4205 src/simh/scp.c fprint_sep (st, &toks); st 4206 src/simh/scp.c fprintf (st, "%2.d units\n", ucnt + udbl); st 4210 src/simh/scp.c fprintf (st, "\n"); st 4218 src/simh/scp.c show_unit (st, dptr, uptr, ucnt + udbl); st 4224 src/simh/scp.c void fprint_sep (FILE *st, int32 *tokens) st 4226 src/simh/scp.c fprintf (st, "%s", (*tokens > 0) ? "" : "\t"); st 4230 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag) st 4236 src/simh/scp.c fprintf (st, " %s%d \n", sim_dname (dptr), u); st 4238 src/simh/scp.c fprintf (st, " %s%d ", sim_dname (dptr), u); st 4240 src/simh/scp.c fprint_sep (st, &toks); st 4241 src/simh/scp.c fprintf (st, "status : attached to %s", uptr->filename); st 4243 src/simh/scp.c fprintf (st, ", read only"); st 4247 src/simh/scp.c fprint_sep (st, &toks); st 4248 src/simh/scp.c fprintf (st, "status : not attached"); st 4252 src/simh/scp.c fprint_sep (st, &toks); st 4253 src/simh/scp.c fprint_capac (st, dptr, uptr); st 4255 src/simh/scp.c show_all_mods (st, dptr, uptr, MTAB_VUN, &toks); /* show unit mods */ st 4257 src/simh/scp.c fprintf (st, "\n"); st 4298 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr) st 4300 src/simh/scp.c fprintf (st, " %s", sprint_capac (dptr, uptr)); st 4306 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4323 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4348 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4350 src/simh/scp.c fprintf (st, "\r\n\r Build Information:\n"); st 4352 src/simh/scp.c fprintf (st, "\r\n Compilation info: %s\n", BUILDINFO_scp ); st 4354 src/simh/scp.c fprintf (st, "\r\n Relevant definitions: %s\n", SYSDEFS_USED ); st 4357 src/simh/scp.c fprintf (st, "\r\n Compilation info: %s\n", BUILDINFO_scp ); st 4359 src/simh/scp.c fprintf (st, "\r\n Compilation info: Not available\n" ); st 4368 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv v%d", UV_VERSION_MAJOR); st 4375 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d", UV_VERSION_MAJOR, st 4381 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4385 src/simh/scp.c fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4398 src/simh/scp.c fprintf (st, "%s", UV_RELEASE_TYPE); st 4407 src/simh/scp.c fprintf (st, "; %s in use", uv_version_string()); st 4410 src/simh/scp.c fprintf (st, "\r\n Event loop library: Using libuv (or compatible) library, unknown version"); st 4418 src/simh/scp.c fprintf (st, "\r\n Math library: %s-%s", DECVERSION, DECVERSEXT); st 4421 src/simh/scp.c fprintf (st, "\r\n Math library: %s (%s and contributors)", DECVERSION, DECNLAUTHOR); st 4423 src/simh/scp.c fprintf (st, "\r\n Math library: %s", DECVERSION); st 4427 src/simh/scp.c fprintf (st, "\r\n Math library: decNumber, unknown version"); st 4431 src/simh/scp.c fprintf (st, "\r\n Atomic operations: "); st 4433 src/simh/scp.c fprintf (st, "IBM AIX-style"); st 4435 src/simh/scp.c fprintf (st, "FreeBSD-style"); st 4437 src/simh/scp.c fprintf (st, "GNU-style"); st 4439 src/simh/scp.c fprintf (st, "GNU sync-style"); st 4441 src/simh/scp.c fprintf (st, "ISO/IEC 9899:2011 (C11) standard"); st 4443 src/simh/scp.c fprintf (st, "Windows NT interlocked operations"); st 4446 src/simh/scp.c fprintf (st, "\r\n File locking: "); st 4448 src/simh/scp.c fprintf (st, "POSIX-style fcntl() and BSD-style flock() locking"); st 4451 src/simh/scp.c fprintf (st, "POSIX-style fcntl() locking"); st 4454 src/simh/scp.c fprintf (st, "BSD-style flock() locking"); st 4457 src/simh/scp.c fprintf (st, "No file locking available"); st 4460 src/simh/scp.c fprintf (st, "\r\n Backtrace support: "); st 4461 src/simh/scp.c fprintf (st, "libbacktrace"); st 4463 src/simh/scp.c fprintf (st, "\r\n"); st 4467 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4475 src/simh/scp.c fprintf (st, " %s Simulator:", sim_name); st 4517 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4523 src/simh/scp.c fprintf (st, "\n Version: %s+%s (%ld-bit)\n Commit: %s", st 4530 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)", st 4535 src/simh/scp.c fprintf (st, "\n Version: %s+%s (%ld-bit)", st 4542 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4547 src/simh/scp.c fprintf (st, "\n Version: %s (%ld-bit)", st 4555 src/simh/scp.c fprintf (st, "\n Options: "); st 4559 src/simh/scp.c fprintf (st, "TESTING"); st 4563 src/simh/scp.c fprintf (st, ", "); st 4565 src/simh/scp.c fprintf (st, "\n Options: "); st 4570 src/simh/scp.c fprintf (st, "ISOLTS"); st 4574 src/simh/scp.c fprintf (st, ", "); st 4576 src/simh/scp.c fprintf (st, "\n Options: "); st 4581 src/simh/scp.c fprintf (st, "NEED_128"); st 4585 src/simh/scp.c fprintf (st, ", "); st 4587 src/simh/scp.c fprintf (st, "\n Options: "); st 4592 src/simh/scp.c fprintf (st, "WAM"); st 4596 src/simh/scp.c fprintf (st, ", "); st 4598 src/simh/scp.c fprintf (st, "\n Options: "); st 4603 src/simh/scp.c fprintf (st, "ROUND_ROBIN"); st 4607 src/simh/scp.c fprintf (st, ", "); st 4609 src/simh/scp.c fprintf (st, "\n Options: "); st 4614 src/simh/scp.c fprintf (st, "NO_LOCKLESS"); st 4618 src/simh/scp.c fprintf (st, "\n Modified: %s", VER_H_GIT_DATE); st 4620 src/simh/scp.c fprintf (st, "\n Released: %s", VER_H_GIT_DATE); st 4624 src/simh/scp.c fprintf (st, " - Kit Prepared: %s", VER_H_PREP_DATE); st 4627 src/simh/scp.c fprintf (st, "\n Compiled: %s", VER_CURRENT_TIME); st 4631 src/simh/scp.c fprintf (st, "\r\n\r\n ****** THIS BUILD IS NOT SUPPORTED BY THE DPS8M DEVELOPMENT TEAM ******"); st 4633 src/simh/scp.c fprintf (st, "\r\n\r\n Build Information:"); st 4667 src/simh/scp.c fprintf (st, "\n Build OS: %s %s", build_os_version, build_os_arch); st 4689 src/simh/scp.c fprintf (st, "\n Compiler: GCC %s", postver); st 4691 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4695 src/simh/scp.c fprintf (st, "\n Compiler: Clang C/C++ Static Analyzer"); st 4702 src/simh/scp.c fprintf (st, "\n Compiler: Clang %s", clangllvmver); st 4704 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4707 src/simh/scp.c fprintf (st, "\n Compiler: %s", postver); st 4710 src/simh/scp.c fprintf (st, "\n Compiler: Portland Group, Inc. (PGI) C Compiler "); st 4712 src/simh/scp.c fprintf (st, "%d", __PGIC__); st 4714 src/simh/scp.c fprintf (st, ".%d", __PGIC_MINOR__); st 4716 src/simh/scp.c fprintf (st, ".%d", __PGIC_PATCHLEVEL__); st 4721 src/simh/scp.c fprintf (st, "\n Compiler: NVIDIA HPC SDK C Compiler "); st 4723 src/simh/scp.c fprintf (st, "%d", __NVCOMPILER_MAJOR__); st 4725 src/simh/scp.c fprintf (st, ".%d", __NVCOMPILER_MINOR__); st 4727 src/simh/scp.c fprintf (st, ".%d", __NVCOMPILER_PATCHLEVEL__); st 4732 src/simh/scp.c fprintf (st, "\n Compiler: Microsoft C %d.%02d.%05d.%02d", st 4739 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ V%s (PASE for IBM i)", __xlc__); st 4742 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ for AIX V%s", __xlc__); st 4745 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ for Linux V%s", __xlc__); st 4748 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++ V%s", __xlc__); st 4751 src/simh/scp.c fprintf (st, "\n Compiler: Oracle Developer Studio C/C++"); st 4753 src/simh/scp.c fprintf (st, "\n Compiler: Digital Mars C/C++"); st 4755 src/simh/scp.c fprintf (st, "\n Compiler: Portable C Compiler"); st 4757 src/simh/scp.c fprintf (st, "\n Compiler: Plan 9 Compiler Suite"); st 4759 src/simh/scp.c fprintf (st, "\n Compiler: Amsterdam Compiler Kit"); st 4761 src/simh/scp.c fprintf (st, "\n Compiler: Comeau C++"); st 4763 src/simh/scp.c fprintf (st, "\n Compiler: CompCert C"); st 4765 src/simh/scp.c fprintf (st, "\n Compiler: Coverity C/C++ Static Analyzer"); st 4767 src/simh/scp.c fprintf (st, "\n Compiler: Local C Compiler (lcc)"); st 4769 src/simh/scp.c fprintf (st, "\n Compiler: SGI MIPSpro"); st 4771 src/simh/scp.c fprintf (st, "\n Compiler: Open64 %s", __OPEN64__); st 4773 src/simh/scp.c fprintf (st, "\n Compiler: Portland Group/PGI C/C++"); st 4775 src/simh/scp.c fprintf (st, "\n Compiler: Volker Barthelmann C Compiler (vbcc)"); st 4777 src/simh/scp.c fprintf (st, "\n Compiler: Watcom C/C++ %d.%d", st 4781 src/simh/scp.c fprintf (st, "\n Compiler: IBM XL C/C++"); st 4785 src/simh/scp.c fprintf (st, "\n Compiler: %s", S_xstr(SIM_COMPILER)); st 4789 src/simh/scp.c fprintf (st, "\n Compiler: Unknown"); st 4854 src/simh/scp.c fprintf (st, "%s", arch); st 4856 src/simh/scp.c fprintf (st, "\n Built by: %s", BUILD_BY_USER); st 4859 src/simh/scp.c fprintf (st, "\n Built by: %s", VER_H_PREP_USER); st 4862 src/simh/scp.c fprintf (st, "\n\n Host System Information:"); st 4879 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); st 4880 src/simh/scp.c fprintf (st, " %s%s%s", arch, proc_arch3264 ? " on " : "", proc_arch3264 ? proc_arch3264 : ""); st 4923 src/simh/scp.c fprintf (st, "\n Host OS: %s", osversion); st 4926 src/simh/scp.c fprintf (st, "\n Host OS: IBM AIX %s", osversion); st 4930 src/simh/scp.c fprintf (st, "\n Host OS: Unknown"); st 4932 src/simh/scp.c fprintf (st, "\n Host OS: IBM AIX"); st 4948 src/simh/scp.c fprintf (st, "\n"); st 4949 src/simh/scp.c fprintf (st, "\n This software is made available under the terms of the ICU License,"); st 4950 src/simh/scp.c fprintf (st, "\n version 1.8.1 or later. For complete details, see the \"LICENSE.md\""); st 4951 src/simh/scp.c fprintf (st, "\n included or https://gitlab.com/dps8m/dps8m/-/blob/master/LICENSE.md"); st 4953 src/simh/scp.c fprintf (st, "\n"); st 4958 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 4966 src/simh/scp.c fprintf (st, "%s simulator configuration%s\n\n", sim_name, only_enabled ? " (enabled devices)" : ""); st 4969 src/simh/scp.c show_device (st, dptr, flag); st 4973 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 4981 src/simh/scp.c show_dev_logicals (st, dptr, NULL, 1, cptr); st 4985 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4988 src/simh/scp.c fprintf (st, "%s -> %s\n", dptr->lname, dptr->name); st 4990 src/simh/scp.c fputs ("no logical name assigned\n", st); st 4994 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5003 src/simh/scp.c fprintf (st, "%s event queue empty, time = %.0f, executing %.0f instructions/sec\n", st 5008 src/simh/scp.c fprintf (st, "%s event queue status, time = %.0f, executing %.0f instructions/sec\n", st 5013 src/simh/scp.c fprintf (st, " Step timer"); st 5016 src/simh/scp.c fprintf (st, " Expect fired"); st 5019 src/simh/scp.c fprintf (st, " %s", sim_dname (dptr)); st 5021 src/simh/scp.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 5024 src/simh/scp.c fprintf (st, " Unknown"); st 5026 src/simh/scp.c fprintf (st, " at %d%s%s%s%s\n", accum + uptr->time, st 5032 src/simh/scp.c sim_show_clock_queues (st, dnotused, unotused, flag, cptr); st 5036 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5040 src/simh/scp.c fprintf (st, "Time:\t%.0f\n", sim_gtime()); st 5044 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5049 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ st 5051 src/simh/scp.c r = sim_brk_showall (st, sim_switches); st 5055 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5057 src/simh/scp.c fprintf (st, "Radix=%d\n", dptr->dradix); st 5061 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5068 src/simh/scp.c fputs ("Debugging disabled", st); st 5070 src/simh/scp.c fputs ("Debugging enabled", st); st 5074 src/simh/scp.c fputs ("Debug=", st); st 5079 src/simh/scp.c fputc (';', st); st 5080 src/simh/scp.c fputs (dep->name, st); st 5085 src/simh/scp.c fputc ('\n', st); st 5093 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5100 src/simh/scp.c fprintf(st, "On Processing at Do Nest Level: %d", lvl); st 5102 src/simh/scp.c fprintf(st, "On Processing for input commands"); st 5103 src/simh/scp.c fprintf(st, " is %s\n", (sim_on_check[lvl]) ? "enabled" : "disabled"); st 5106 src/simh/scp.c fprintf(st, " on %5d %s\n", i, sim_on_actions[lvl][i]); } st 5109 src/simh/scp.c fprintf(st, " on %-5s %s\n", scp_errors[i-SCPE_BASE].code, sim_on_actions[lvl][i]); } st 5111 src/simh/scp.c fprintf(st, " on ERROR %s\n", sim_on_actions[lvl][0]); st 5112 src/simh/scp.c fprintf(st, "\n"); st 5115 src/simh/scp.c fprintf(st, "on state and actions are inherited by nested do commands and subroutines\n"); st 5121 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5129 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5131 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5135 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5137 src/simh/scp.c fprint_set_help (st, dptr); st 5141 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, int32 *toks) st 5154 src/simh/scp.c fprintf (st, "\n"); st 5158 src/simh/scp.c fprint_sep (st, toks); st 5159 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); st 5165 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, st 5171 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); st 5173 src/simh/scp.c fputs (mptr->pstring, st); st 5175 src/simh/scp.c fputc ('\n', st); st 5181 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5189 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5191 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5195 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5197 src/simh/scp.c fprint_show_help (st, dptr); st 5209 src/simh/scp.c t_stat ssh_break (FILE *st, const char *cptr, int32 flg) st 5237 src/simh/scp.c return ssh_break_one (st, flg, lo, 0, aptr); st 5258 src/simh/scp.c sim_brk_showall (st, sim_switches); st 5264 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); st 5273 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr) st 5290 src/simh/scp.c return sim_brk_show (st, lo, sim_switches); st 5988 src/simh/scp.c void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr) st 5995 src/simh/scp.c fputc ('\n', st); /* start on a new line */ st 5998 src/simh/scp.c fputs (sim_error_text (v), st); /* print it from the SCP list */ st 6000 src/simh/scp.c fputs (sim_stop_messages [v], st); /* print the VM-specific message */ st 6003 src/simh/scp.c (!sim_vm_fprint_stopped (st, v))) /* call it; if it returned FALSE, */ st 6007 src/simh/scp.c fprintf (st, ", %s: ", pc->name); /* print the name of the PC register */ st 6011 src/simh/scp.c sim_vm_fprint_addr (st, dptr, (t_addr) pcval); /* call it to print the PC address */ st 6012 src/simh/scp.c else fprint_val (st, pcval, pc->radix, pc->width, /* otherwise, print as a numeric value */ st 6022 src/simh/scp.c fprintf (st, " ("); st 6023 src/simh/scp.c if (fprint_sym (st, (t_addr) pcval, sim_eval, NULL, SWMASK('M')|SIM_SW_STOP) > 0) st 6024 src/simh/scp.c fprint_val (st, sim_eval[0], dptr->dradix, dptr->dwidth, PV_RZRO); st 6025 src/simh/scp.c fprintf (st, ")"); st 6028 src/simh/scp.c fprintf (st, "\n"); st 6032 src/simh/scp.c void fprint_stopped (FILE *st, t_stat v) st 6038 src/simh/scp.c fprint_stopped_gen (st, v, sim_PC, sim_dflt_dev); st 7204 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size) st 7209 src/simh/scp.c fprintf (st, "%s", string); st 7500 src/simh/scp.c CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st) st 7577 src/simh/scp.c *st = SCPE_OK; st 7583 src/simh/scp.c *st = SCPE_ARG; st 7589 src/simh/scp.c *st = SCPE_OPENERR; st 7598 src/simh/scp.c *st = SCPE_INVSW; st 8654 src/simh/scp.c t_stat sim_brk_show (FILE *st, t_addr loc, int32 sw) st 8668 src/simh/scp.c fprintf (st, "SET BREAK "); st 8671 src/simh/scp.c sim_vm_fprint_addr (st, dptr, loc); st 8672 src/simh/scp.c else fprint_val (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); st 8673 src/simh/scp.c fprintf (st, ":\t"); st 8679 src/simh/scp.c fprintf (st, ", "); st 8680 src/simh/scp.c fputc (i + 'A', st); st 8683 src/simh/scp.c fprintf (st, "-%c", i + 'A'); st 8688 src/simh/scp.c fprintf (st, " "); st 8690 src/simh/scp.c sim_vm_fprint_addr (st, dptr, loc); st 8691 src/simh/scp.c else fprint_val (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); st 8694 src/simh/scp.c fprintf (st, "[%d]", bp->cnt); st 8696 src/simh/scp.c fprintf (st, "; %s", bp->act); st 8697 src/simh/scp.c fprintf (st, "\n"); st 8703 src/simh/scp.c t_stat sim_brk_showall (FILE *st, int32 sw) st 8714 src/simh/scp.c fprintf (st, "Supported Breakpoint Types:"); st 8717 src/simh/scp.c fprintf (st, " -%c", 'A' + bit); st 8718 src/simh/scp.c fprintf (st, "\n"); st 8722 src/simh/scp.c fprintf (st, "Displaying Breakpoint Types:"); st 8725 src/simh/scp.c fprintf (st, " -%c", 'A' + bit); st 8726 src/simh/scp.c fprintf (st, "\n"); st 8745 src/simh/scp.c sim_brk_show (st, cur->addr, cur->typ | ((sw & SWMASK ('C')) ? SWMASK ('C') : 0)); st 9187 src/simh/scp.c t_stat sim_exp_show_tab (FILE *st, const EXPECT *exp, const EXPTAB *ep) st 9191 src/simh/scp.c fprintf (st, "EXPECT"); st 9193 src/simh/scp.c fprintf (st, " -p"); st 9195 src/simh/scp.c fprintf (st, " -c"); st 9197 src/simh/scp.c fprintf (st, " -r"); st 9199 src/simh/scp.c fprintf (st, " -i"); st 9200 src/simh/scp.c fprintf (st, " %s", ep->match_pattern); st 9202 src/simh/scp.c fprintf (st, " [%d]", ep->cnt); st 9204 src/simh/scp.c fprintf (st, " %s", ep->act); st 9205 src/simh/scp.c fprintf (st, "\n"); st 9209 src/simh/scp.c t_stat sim_exp_show (FILE *st, CONST EXPECT *exp, const char *match) st 9216 src/simh/scp.c fprintf (st, "Match Buffer Size: %d\n", exp->buf_size); st 9217 src/simh/scp.c fprintf (st, "Buffer Insert Offset: %d\n", exp->buf_ins); st 9218 src/simh/scp.c fprintf (st, "Buffer Contents: %s\n", bstr); st 9222 src/simh/scp.c fprintf (st, "Halt After: %d instructions\n", exp->after); st 9224 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 9225 src/simh/scp.c fprintf (st, "Match Rules:\n"); st 9227 src/simh/scp.c return sim_exp_showall (st, exp); st 9229 src/simh/scp.c fprintf (st, "No Rules match '%s'\n", match); st 9233 src/simh/scp.c sim_exp_show_tab (st, exp, ep); st 9241 src/simh/scp.c t_stat sim_exp_showall (FILE *st, const EXPECT *exp) st 9246 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); st 9406 src/simh/scp.c t_stat sim_show_send_input (FILE *st, const SEND *snd) st 9409 src/simh/scp.c fprintf (st, "%d bytes of pending input Data:\n ", snd->insoff-snd->extoff); st 9410 src/simh/scp.c fprint_buffer_string (st, snd->buffer+snd->extoff, snd->insoff-snd->extoff); st 9411 src/simh/scp.c fprintf (st, "\n"); st 9414 src/simh/scp.c fprintf (st, "No Pending Input Data\n"); st 9417 src/simh/scp.c fprintf (st, "Minimum of %d instructions (%d microseconds) before sending first character\n", (int)(snd->next_time - sim_gtime()), st 9420 src/simh/scp.c fprintf (st, "Minimum of %d instructions before sending first character\n", (int)(snd->next_time - sim_gtime())); st 9423 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 9425 src/simh/scp.c fprintf (st, "Minimum of %d instructions between characters\n", (int)snd->delay); st 9427 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 10353 src/simh/scp.c static void displayMagicTopic (FILE *st, DEVICE *dptr, TOPIC *topic) st 10375 src/simh/scp.c fprintf (st, "Unable to create temporary file: %s\n", strerror (errno)); st 10380 src/simh/scp.c fprintf (st, "%s\n", topic->title+1); st 10408 src/simh/scp.c fputs (" ", st); st 10409 src/simh/scp.c fputs (tbuf, st); st 10420 src/simh/scp.c static t_stat displayFlatHelp (FILE *st, DEVICE *dptr, st 10427 src/simh/scp.c fprintf (st, "\n%s ", topic->label); st 10428 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 10431 src/simh/scp.c fprintf (st, "\n%s %s\n", topic->label, topic->title); st 10439 src/simh/scp.c fputs (topic->text, st); st 10442 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic->children[i], ap); st 10485 src/simh/scp.c t_stat scp_vhelp (FILE *st, DEVICE *dptr, st 10574 src/simh/scp.c fprintf (st, "%s help.\nThis help is also available in hierarchical form.\n", top.title); st 10576 src/simh/scp.c fprintf (st, "%s help.\n", top.title); st 10579 src/simh/scp.c fprintf (st, ((flag & SCP_HELP_ONECMD)? onecmd_help: brief_help), top.title); st 10592 src/simh/scp.c fprintf (st, "\n"); st 10593 src/simh/scp.c fputs (help_help, st); st 10598 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10603 src/simh/scp.c fprintf (st, "\n%s is ambiguous in %s\n", gbuf, topic->title); st 10607 src/simh/scp.c fprintf (st, "\n%s is not available in %s\n", gbuf, topic->title); st 10615 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10629 src/simh/scp.c fputc ('\n', st); st 10630 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 10633 src/simh/scp.c fprintf (st, "\n%s\n", topic->title); st 10640 src/simh/scp.c fputs (topic->text, st); st 10647 src/simh/scp.c fprintf (st, "\n Additional information available:\n\n"); st 10658 src/simh/scp.c fputc ('\n', st); st 10660 src/simh/scp.c fprintf (st, " %-*s", topic->kidwid, tbuf); st 10662 src/simh/scp.c fprintf (st, "\n\n"); st 10665 src/simh/scp.c fprintf (st, "To view additional topics, type HELP %s topicname\n", pstring+1); st 10693 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 10705 src/simh/scp.c fputs (help_help, st); st 10714 src/simh/scp.c fprintf (st, "No additional help at this level.\n"); st 10720 src/simh/scp.c fprintf (st, "%s is ambiguous, please type more of the topic name\n", gbuf); st 10726 src/simh/scp.c fprintf (st, "Help for %s is not available\n", gbuf); st 10744 src/simh/scp.c t_stat scp_help (FILE *st, DEVICE *dptr, st 10752 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 1435 src/simh/sim_console.c t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1442 src/simh/sim_console.c fprintf (st, "Debug output enabled to \"%s\"\n", st 1445 src/simh/sim_console.c fprintf (st, " Debug messages contain current PC value\n"); st 1447 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 1449 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 1454 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1455 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1462 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1463 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1467 src/simh/sim_console.c else fprintf (st, "Debug output disabled\n"); st 1519 src/simh/sim_console.c t_stat sim_show_telnet (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1525 src/simh/sim_console.c fprintf (st, "Connected to console window\n"); st 1528 src/simh/sim_console.c fprintf (st, "Connected to "); st 1529 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1533 src/simh/sim_console.c fprintf (st, "Listening on port %s\n", sim_con_tmxr.port); st 1535 src/simh/sim_console.c fprintf (st, "Listening on port %s, connection from %s\n", st 1537 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1539 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); st 1584 src/simh/sim_console.c t_stat sim_show_cons_log (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1589 src/simh/sim_console.c fprintf (st, "Log File being written to %s\n", sim_con_tmxr.ldsc->txlogname); st 1591 src/simh/sim_console.c fprintf (st, "No Logging\n"); st 1595 src/simh/sim_console.c t_stat sim_show_cons_buff (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1600 src/simh/sim_console.c fprintf (st, "Unbuffered\n"); st 1602 src/simh/sim_console.c fprintf (st, "Buffer Size = %d\n", sim_con_tmxr.ldsc->txbsz); st 1610 src/simh/sim_console.c t_stat sim_show_cons_expect (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1612 src/simh/sim_console.c return sim_exp_show (st, &sim_con_expect, cptr); st 1695 src/simh/sim_console.c const char *sim_logfile_name (const FILE *st, FILEREF *ref) st 1697 src/simh/sim_console.c if (!st) st 1699 src/simh/sim_console.c if (st == stdout) st 1701 src/simh/sim_console.c if (st == stderr) st 1804 src/simh/sim_console.c t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1806 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 352 src/simh/sim_defs.h t_stat (*help)(FILE *st, DEVICE *dptr, st 355 src/simh/sim_defs.h t_stat (*attach_help)(FILE *st, DEVICE *dptr, st 540 src/simh/sim_defs.h t_stat (*action)(FILE *st, DEVICE *dptr, st 555 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 381 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 383 src/simh/sim_fio.c return fseeko (st, (off_t)xpos, origin); st 386 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 388 src/simh/sim_fio.c return (t_offset)(ftello (st)); st 397 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 399 src/simh/sim_fio.c return fseek (st, (long) xpos, origin); st 402 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 404 src/simh/sim_fio.c return (t_offset)(ftell (st)); st 408 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) st 410 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); st 69 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); st 70 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); st 77 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 471 src/simh/sim_timer.c t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 484 src/simh/sim_timer.c fprintf (st, "%s clock device is %s%s%s\n", sim_name, st 490 src/simh/sim_timer.c fprintf (st, "%s%sTimer %d:\n", "", rtc_hz[tmr] ? "Calibrated " : "Uncalibrated ", tmr); st 492 src/simh/sim_timer.c fprintf (st, " Running at: %lu Hz\n", (unsigned long)rtc_hz[tmr]); st 493 src/simh/sim_timer.c fprintf (st, " Tick Size: %s\n", sim_fmt_secs (rtc_clock_tick_size[tmr])); st 494 src/simh/sim_timer.c fprintf (st, " Ticks in current second: %lu\n", (unsigned long)rtc_ticks[tmr]); st 496 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 498 src/simh/sim_timer.c fprintf (st, " Calibration Opportunities: %lu\n", (unsigned long)rtc_calibrations[tmr]); st 500 src/simh/sim_timer.c fprintf (st, " Calib Skip Idle Thresh %%: %lu\n", (unsigned long)sim_idle_calib_pct); st 502 src/simh/sim_timer.c fprintf (st, " Calibs Skip While Idle: %lu\n", (unsigned long)rtc_clock_calib_skip_idle[tmr]); st 504 src/simh/sim_timer.c fprintf (st, " Calibs Skip Backwards: %lu\n", (unsigned long)rtc_clock_calib_backwards[tmr]); st 506 src/simh/sim_timer.c fprintf (st, " Calibs Skip Gap Too Big: %lu\n", (unsigned long)rtc_clock_calib_gap2big[tmr]); st 509 src/simh/sim_timer.c fprintf (st, " Instruction Time: %.0f\n", rtc_gtime[tmr]); st 510 src/simh/sim_timer.c fprintf (st, " Current Insts Per Tick: %lu\n", (unsigned long)rtc_currd[tmr]); st 511 src/simh/sim_timer.c fprintf (st, " Initializations: %lu\n", (unsigned long)rtc_calib_initializations[tmr]); st 512 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 514 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 516 src/simh/sim_timer.c fprintf (st, " Ticks Acked: %lu\n", (unsigned long)rtc_calib_ticks_acked[tmr]); st 518 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 520 src/simh/sim_timer.c fprintf (st, " Tick Time: %s\n", sim_fmt_secs (rtc_calib_tick_time[tmr])); st 522 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 524 src/simh/sim_timer.c fprintf (st, " Catchup Ticks Sched: %lu\n", (unsigned long)rtc_clock_catchup_ticks[tmr]); st 526 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 529 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 533 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 536 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 539 src/simh/sim_timer.c fprintf (st, " Total Time Idled: %s\n", sim_fmt_secs (rtc_clock_time_idled[tmr]/1000.0)); st 542 src/simh/sim_timer.c fprintf (st, "%s clock device is not specified, co-scheduling is unavailable\n", sim_name); st 546 src/simh/sim_timer.c t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 556 src/simh/sim_timer.c fprintf (st, "%s clock (%s) co-schedule event queue status\n", st 561 src/simh/sim_timer.c fprintf (st, " %s", sim_dname (dptr)); st 563 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 566 src/simh/sim_timer.c fprintf (st, " Unknown"); st 568 src/simh/sim_timer.c fprintf (st, " after %d ticks", accum); st 569 src/simh/sim_timer.c fprintf (st, "\n"); st 597 src/simh/sim_timer.c t_stat sim_timer_show_catchup (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 599 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 2946 src/simh/sim_tmxr.c t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 2951 src/simh/sim_tmxr.c fprintf(st, "No Attached Multiplexer Devices\n"); st 2958 src/simh/sim_tmxr.c fprintf(st, "Multiplexer device: %s", (mp->dptr ? sim_dname (mp->dptr) : "")); st 2960 src/simh/sim_tmxr.c fprintf(st, ", "); st 2961 src/simh/sim_tmxr.c tmxr_show_lines(st, NULL, 0, mp); st 2964 src/simh/sim_tmxr.c fprintf(st, ", Packet"); st 2966 src/simh/sim_tmxr.c fprintf(st, ", UDP"); st 2968 src/simh/sim_tmxr.c fprintf(st, ", Telnet=disabled"); st 2970 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=enabled"); st 2972 src/simh/sim_tmxr.c fprintf(st, ", Buffered=%d", mp->buffered); st 2975 src/simh/sim_tmxr.c fprintf(st, ",\n attached to %s, ", attach); st 2977 src/simh/sim_tmxr.c tmxr_show_summ(st, NULL, 0, mp); st 2978 src/simh/sim_tmxr.c fprintf(st, ", sessions=%d", mp->sessions); st 2981 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)mp->ldsc->rxbps); st 2983 src/simh/sim_tmxr.c fprintf(st, "*%.0f", mp->ldsc->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 2984 src/simh/sim_tmxr.c fprintf(st, " bps"); st 2987 src/simh/sim_tmxr.c fprintf(st, "\n"); st 2989 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 2995 src/simh/sim_tmxr.c fprintf (st, "Device: %s ", sim_dname(lp->dptr)); st 2996 src/simh/sim_tmxr.c fprintf (st, "Line: %d", j); st 2998 src/simh/sim_tmxr.c fprintf (st, " - %stelnet", lp->notelnet ? "no" : ""); st 3000 src/simh/sim_tmxr.c fprintf (st, " - Unit: %s", sim_uname (lp->uptr)); st 3002 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=%s", lp->modem_control ? "enabled" : "disabled"); st 3004 src/simh/sim_tmxr.c fprintf(st, ", Loopback"); st 3006 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)lp->rxbps); st 3008 src/simh/sim_tmxr.c fprintf(st, "*%.0f", lp->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 3009 src/simh/sim_tmxr.c fprintf(st, " bps"); st 3011 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3016 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3019 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3020 src/simh/sim_tmxr.c tmxr_fstats (st, lp, -1); st 3134 src/simh/sim_tmxr.c t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 3143 src/simh/sim_tmxr.c fprintf (st, "%s Multiplexer Attach Help\n\n", dptr->name); st 3145 src/simh/sim_tmxr.c fprintf (st, "The %s multiplexer may be connected to terminal emulators supporting the\n", dptr->name); st 3146 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets.\n\n"); st 3148 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 3149 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals.\n"); st 3151 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3152 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3153 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be enabled for the %s device with:\n\n", dptr->name); st 3154 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3155 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be disabled for the %s device with:\n\n", dptr->name); st 3156 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3157 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3158 src/simh/sim_tmxr.c fprintf (st, "The outbound traffic the %s device can be logged to a file with:\n", dptr->name); st 3159 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3160 src/simh/sim_tmxr.c fprintf (st, "File logging can be disabled for the %s device with:\n\n", dptr->name); st 3161 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoLog\n\n", dptr->name); st 3162 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 3165 src/simh/sim_tmxr.c fprintf (st, "%s multiplexer lines may be connected to terminal emulators supporting the\n", dptr->name); st 3166 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets, or to hardware terminals via host serial\n"); st 3167 src/simh/sim_tmxr.c fprintf (st, "ports. Concurrent Telnet and serial connections may be mixed on a given\n"); st 3168 src/simh/sim_tmxr.c fprintf (st, "multiplexer.\n\n"); st 3170 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 3171 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals on all lines.\n"); st 3173 src/simh/sim_tmxr.c fprintf (st, "Modem Control signalling behaviors can be enabled/disabled on a specific\n"); st 3174 src/simh/sim_tmxr.c fprintf (st, "multiplexer line with:\n\n"); st 3175 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Modem\n", dptr->name); st 3176 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,NoModem\n\n", dptr->name); st 3177 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3178 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3180 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 3182 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 3183 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3185 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 3187 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 3188 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3189 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3190 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 3191 src/simh/sim_tmxr.c fprintf (st, "with:\n\n"); st 3192 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3193 src/simh/sim_tmxr.c fprintf (st, "The log file name for each line uses the above LogFileName as a template\n"); st 3194 src/simh/sim_tmxr.c fprintf (st, "for the actual file name which will be LogFileName_n where n is the line\n"); st 3195 src/simh/sim_tmxr.c fprintf (st, "number.\n\n"); st 3196 src/simh/sim_tmxr.c fprintf (st, "Multiplexer lines may be connected to serial ports on the host system.\n"); st 3198 src/simh/sim_tmxr.c fprintf (st, "Serial ports may be specified as an operating system specific device names\n"); st 3199 src/simh/sim_tmxr.c fprintf (st, "or using simh generic serial names. simh generic names are of the form\n"); st 3200 src/simh/sim_tmxr.c fprintf (st, "serN, where N is from 0 thru one less than the maximum number of serial\n"); st 3201 src/simh/sim_tmxr.c fprintf (st, "ports on the local system. The mapping of simh generic port names to OS \n"); st 3202 src/simh/sim_tmxr.c fprintf (st, "specific names can be displayed using the following command:\n\n"); st 3203 src/simh/sim_tmxr.c fprintf (st, " sim> SHOW SERIAL\n"); st 3204 src/simh/sim_tmxr.c fprintf (st, " Serial devices:\n"); st 3205 src/simh/sim_tmxr.c fprintf (st, " ser0 COM1 (\\Device\\Serial0)\n"); st 3206 src/simh/sim_tmxr.c fprintf (st, " ser1 COM3 (Winachcf0)\n\n"); st 3208 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=ser0\n\n", dptr->name); st 3209 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3210 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=COM1\n\n", dptr->name); st 3213 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=ser0\n\n", dptr->name); st 3214 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3215 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=COM1\n\n", dptr->name); st 3217 src/simh/sim_tmxr.c fprintf (st, "Valid line numbers are from 0 thru %d\n\n", mux->lines-1); st 3220 src/simh/sim_tmxr.c fprintf (st, "The input data rate for the %s device can be controlled by\n", dptr->name); st 3221 src/simh/sim_tmxr.c fprintf (st, "specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3224 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 3225 src/simh/sim_tmxr.c fprintf (st, "device can be controlled by specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3227 src/simh/sim_tmxr.c fprintf (st, "SPEED values can be any one of:\n\n"); st 3228 src/simh/sim_tmxr.c fprintf (st, " 0 50 75 110 134 150 300 600 1200 1800 2000 2400\n"); st 3229 src/simh/sim_tmxr.c fprintf (st, " 3600 4800 7200 9600 19200 38400 57600 76800 115200\n\n"); st 3230 src/simh/sim_tmxr.c fprintf (st, "A SPEED value of 0 causes input data to be delivered to the simulated\n"); st 3231 src/simh/sim_tmxr.c fprintf (st, "port as fast as it arrives.\n\n"); st 3232 src/simh/sim_tmxr.c fprintf (st, "If a simulated multiplexor devices can programmatically set a serial\n"); st 3233 src/simh/sim_tmxr.c fprintf (st, "port line speed, the programmatically specified speed will take precedence\n"); st 3234 src/simh/sim_tmxr.c fprintf (st, "over any input speed specified on an attach command.\n"); st 3235 src/simh/sim_tmxr.c fprintf (st, "Some simulated systems run very much faster than the original system\n"); st 3236 src/simh/sim_tmxr.c fprintf (st, "which is being simulated. To accommodate this, the speed specified may\n"); st 3237 src/simh/sim_tmxr.c fprintf (st, "include a factor which will increase the input data delivery rate by\n"); st 3238 src/simh/sim_tmxr.c fprintf (st, "the specified factor. A factor is specified with a speed value of the\n"); st 3239 src/simh/sim_tmxr.c fprintf (st, "form \"speed*factor\". Factor values can range from 1 thru 32.\n"); st 3240 src/simh/sim_tmxr.c fprintf (st, "Example:\n\n"); st 3241 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=2400\n", dptr->name); st 3242 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=9600*8\n", dptr->name); st 3244 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=2,SPEED=2400\n", dptr->name); st 3245 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3246 src/simh/sim_tmxr.c fprintf (st, "The SPEED parameter only influences the rate at which data is delivered\n"); st 3247 src/simh/sim_tmxr.c fprintf (st, "into the simulated multiplexor port. Output data rates are unaffected\n"); st 3248 src/simh/sim_tmxr.c fprintf (st, "If an attach command specifies a speed multiply factor, that value will\n"); st 3249 src/simh/sim_tmxr.c fprintf (st, "persist independent of any programmatic action by the simulated system to\n"); st 3250 src/simh/sim_tmxr.c fprintf (st, "change the port speed.\n\n"); st 3251 src/simh/sim_tmxr.c fprintf (st, "An optional serial port configuration string may be present after the port\n"); st 3252 src/simh/sim_tmxr.c fprintf (st, "name. If present, it must be separated from the port name with a semicolon\n"); st 3253 src/simh/sim_tmxr.c fprintf (st, "and has this form:\n\n"); st 3254 src/simh/sim_tmxr.c fprintf (st, " <rate>-<charsize><parity><stopbits>\n\n"); st 3255 src/simh/sim_tmxr.c fprintf (st, "where:\n"); st 3256 src/simh/sim_tmxr.c fprintf (st, " rate = communication rate in bits per second\n"); st 3257 src/simh/sim_tmxr.c fprintf (st, " charsize = character size in bits (5-8, including optional parity)\n"); st 3258 src/simh/sim_tmxr.c fprintf (st, " parity = parity designator (N/E/O/M/S for no/even/odd/mark/space parity)\n"); st 3259 src/simh/sim_tmxr.c fprintf (st, " stopbits = number of stop bits (1, 1.5, or 2)\n\n"); st 3260 src/simh/sim_tmxr.c fprintf (st, "As an example:\n\n"); st 3261 src/simh/sim_tmxr.c fprintf (st, " 9600-8n1\n\n"); st 3262 src/simh/sim_tmxr.c fprintf (st, "The supported rates, sizes, and parity options are host-specific. If\n"); st 3263 src/simh/sim_tmxr.c fprintf (st, "a configuration string is not supplied, then the default of 9600-8N1\n"); st 3264 src/simh/sim_tmxr.c fprintf (st, "is used.\n"); st 3265 src/simh/sim_tmxr.c fprintf (st, "Note: The serial port configuration option is only available on multiplexer\n"); st 3266 src/simh/sim_tmxr.c fprintf (st, " lines which are not operating with full modem control behaviors enabled.\n"); st 3267 src/simh/sim_tmxr.c fprintf (st, " Lines with full modem control behaviors enabled have all of their\n"); st 3268 src/simh/sim_tmxr.c fprintf (st, " configuration managed by the Operating System running within the\n"); st 3269 src/simh/sim_tmxr.c fprintf (st, " simulator.\n\n"); st 3270 src/simh/sim_tmxr.c fprintf (st, "An attachment to a serial port with the '-V' switch will cause a\n"); st 3271 src/simh/sim_tmxr.c fprintf (st, "connection message to be output to the connected serial port.\n"); st 3272 src/simh/sim_tmxr.c fprintf (st, "This will help to confirm the correct port has been connected and\n"); st 3273 src/simh/sim_tmxr.c fprintf (st, "that the port settings are reasonable for the connected device.\n"); st 3274 src/simh/sim_tmxr.c fprintf (st, "This would be done as:\n\n"); st 3276 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Connect=SerN\n", dptr->name); st 3278 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Line=n,Connect=SerN\n\n", dptr->name); st 3279 src/simh/sim_tmxr.c fprintf (st, "Line specific tcp listening ports are supported. These are configured\n"); st 3280 src/simh/sim_tmxr.c fprintf (st, "using commands of the form:\n\n"); st 3281 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,{interface:}port{;notelnet}\n\n", dptr->name); st 3283 src/simh/sim_tmxr.c fprintf (st, "Direct computer to computer connections (Virtual Null Modem cables) may\n"); st 3284 src/simh/sim_tmxr.c fprintf (st, "be established using the telnet protocol or via raw tcp sockets.\n\n"); st 3285 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=host:port{;notelnet}\n\n", dptr->name); st 3286 src/simh/sim_tmxr.c fprintf (st, "Computer to computer virtual connections can be one way (as illustrated\n"); st 3287 src/simh/sim_tmxr.c fprintf (st, "above) or symmetric. A symmetric connection is configured by combining\n"); st 3289 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3290 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s listenport,Connect=host:port\n\n", dptr->name); st 3293 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3294 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,listenport,Connect=host:port\n\n", dptr->name); st 3296 src/simh/sim_tmxr.c fprintf (st, "When symmetric virtual connections are configured, incoming connections\n"); st 3297 src/simh/sim_tmxr.c fprintf (st, "on the specified listening port are checked to assure that they actually\n"); st 3298 src/simh/sim_tmxr.c fprintf (st, "come from the specified connection destination host system.\n\n"); st 3300 src/simh/sim_tmxr.c fprintf (st, "The %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3301 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Loopback\n\n", dptr->name); st 3304 src/simh/sim_tmxr.c fprintf (st, "A line on the %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3305 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Loopback\n\n", dptr->name); st 3307 src/simh/sim_tmxr.c fprintf (st, "When operating in LOOPBACK mode, all outgoing data arrives as input and\n"); st 3308 src/simh/sim_tmxr.c fprintf (st, "outgoing modem signals (if enabled) (DTR and RTS) are reflected in the\n"); st 3309 src/simh/sim_tmxr.c fprintf (st, "incoming modem signals (DTR->(DCD and DSR), RTS->CTS)\n\n"); st 3311 src/simh/sim_tmxr.c fprintf (st, "The connection configured for the %s device is unconfigured by:\n\n", dptr->name); st 3313 src/simh/sim_tmxr.c fprintf (st, "All connections configured for the %s device are unconfigured by:\n\n", dptr->name); st 3314 src/simh/sim_tmxr.c fprintf (st, " sim> DETACH %s\n\n", dptr->name); st 3320 src/simh/sim_tmxr.c fprintf (st, "A specific line on the %s device can be disconnected with:\n\n", dptr->name); st 3321 src/simh/sim_tmxr.c fprintf (st, " sim> SET %s %s=n\n\n", dptr->name, mptr->mstring); st 3322 src/simh/sim_tmxr.c fprintf (st, "This will cause a telnet connection to be closed, but a serial port will\n"); st 3323 src/simh/sim_tmxr.c fprintf (st, "normally have DTR dropped for 500ms and raised again (thus hanging up a\n"); st 3324 src/simh/sim_tmxr.c fprintf (st, "modem on that serial port).\n\n"); st 3325 src/simh/sim_tmxr.c fprintf (st, "A line which is connected to a serial port can be manually closed by\n"); st 3326 src/simh/sim_tmxr.c fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring); st 3327 src/simh/sim_tmxr.c fprintf (st, " sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring); st 3435 src/simh/sim_tmxr.c void tmxr_fconns (FILE *st, const TMLN *lp, int32 ln) st 3441 src/simh/sim_tmxr.c fprintf (st, "line %d: ", ln); st 3446 src/simh/sim_tmxr.c fprintf (st, "Datagram Connection from %s to remote port %s\n", lp->port, lp->destination);/* print port name */ st 3448 src/simh/sim_tmxr.c fprintf (st, "Connection to remote port %s\n", lp->destination);/* print port name */ st 3450 src/simh/sim_tmxr.c fprintf (st, "Connection from IP address %s\n", lp->ipad); st 3454 src/simh/sim_tmxr.c fprintf (st, "Connecting to remote port %s\n", lp->destination);/* print port name */ st 3459 src/simh/sim_tmxr.c fprintf (st, "Connection %s->%s\n", sockname, peername); st 3465 src/simh/sim_tmxr.c fprintf (st, "Listening on port %s\n", lp->port); /* print port name */ st 3472 src/simh/sim_tmxr.c fprintf (st, " %s %02d:%02d:%02d\n", lp->connecting ? "Connecting for" : "Connected", hr, mn, sc); st 3475 src/simh/sim_tmxr.c fprintf (st, " Line disconnected\n"); st 3478 src/simh/sim_tmxr.c fprintf (st, " Modem Bits: %s%s%s%s%s%s\n", (lp->modembits & TMXR_MDM_DTR) ? "DTR " : "", st 3488 src/simh/sim_tmxr.c fprintf (st, " %s\n", (lp->notelnet) ? "Telnet disabled (RAW data)" : "Telnet protocol"); st 3490 src/simh/sim_tmxr.c sim_show_send_input (st, &lp->send); st 3492 src/simh/sim_tmxr.c sim_exp_showall (st, &lp->expect); st 3494 src/simh/sim_tmxr.c fprintf (st, " Logging to %s\n", lp->txlogname); st 3500 src/simh/sim_tmxr.c void tmxr_fstats (FILE *st, const TMLN *lp, int32 ln) st 3506 src/simh/sim_tmxr.c fprintf (st, "Line %d:", ln); st 3509 src/simh/sim_tmxr.c fprintf (st, " not connected\n"); st 3512 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3513 src/simh/sim_tmxr.c fprintf (st, " input (%s)", (lp->rcve? enab: dsab)); st 3515 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_rqln (lp), lp->rxcnt); st 3517 src/simh/sim_tmxr.c fprintf (st, " packets = %d", lp->rxpcnt); st 3518 src/simh/sim_tmxr.c fprintf (st, "\n output (%s)", (lp->xmte? enab: dsab)); st 3520 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_tqln (lp), lp->txcnt); st 3522 src/simh/sim_tmxr.c fprintf (st, " packet data queued/packets sent = %d/%d", st 3524 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3527 src/simh/sim_tmxr.c fprintf (st, " output buffer size = %d\n", lp->txbsz); st 3529 src/simh/sim_tmxr.c fprintf (st, " bytes in buffer = %d\n", st 3532 src/simh/sim_tmxr.c fprintf (st, " dropped = %d\n", lp->txdrp); st 3639 src/simh/sim_tmxr.c t_stat tmxr_show_log (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3648 src/simh/sim_tmxr.c fprintf (st, "logging to %s", lp->txlogname); st 3649 src/simh/sim_tmxr.c else fprintf (st, "no logging"); st 3782 src/simh/sim_tmxr.c t_stat tmxr_show_lnorder (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3793 src/simh/sim_tmxr.c fprintf (st, "Order=0-%d\n", mp->lines - 1); /* print full line range */ st 3806 src/simh/sim_tmxr.c fputs ("Order=", st); /* print header */ st 3811 src/simh/sim_tmxr.c fputc (';', st); /* print separator */ st 3814 src/simh/sim_tmxr.c fprintf (st, "%d", last); /* print single line value */ st 3817 src/simh/sim_tmxr.c fprintf (st, "%d-%d", low, last); /* print start and end line */ st 3827 src/simh/sim_tmxr.c fputc ('\n', st); st 3834 src/simh/sim_tmxr.c t_stat tmxr_show_summ (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3846 src/simh/sim_tmxr.c fprintf (st, "%d current connection%s", t, (t != 1) ? "s" : ""); st 3848 src/simh/sim_tmxr.c fprintf (st, "%s", (t == 1) ? "connected" : "disconnected"); st 3854 src/simh/sim_tmxr.c t_stat tmxr_show_cstat (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3868 src/simh/sim_tmxr.c tmxr_fconns (st, &mp->ldsc[i], i); st 3872 src/simh/sim_tmxr.c tmxr_fstats (st, &mp->ldsc[i], i); st 3876 src/simh/sim_tmxr.c fprintf (st, (mp->lines == 1? "disconnected\n": "all disconnected\n")); st 3882 src/simh/sim_tmxr.c t_stat tmxr_show_lines (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3888 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);