t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); fprintf (st, " if VMS knew the correct time (i.e. by manual input).\n"); fprintf (st, " This is correct almost all the time unless a VMS disk\n"); fprintf (st, " hadn't been booted from in the current year. This mode\n"); fprintf (st, " produces strange time results for non VMS OSes on each\n"); fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n"); fprintf (st, " if the TODR currently contains a valid time if the value\n"); fprintf (st, " it sees is less than about 1 month. If the time isn't\n"); fprintf (st, " valid VMS will prompt to set the time during the system\n"); fprintf (st, " boot. While prompting for the time it will wait for an\n"); fprintf (st, " answer to the prompt for up to the SYSGEN parameter\n"); fprintf (st, " TIMEPROMPTWAIT seconds. A value of 0 for TIMEPROMPTWAIT\n"); fprintf (st, " will disable the clock setting prompt.\n"); fprint_reg_help (st, dptr); return SCPE_OK; }
t_stat tto_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { fprintf (st, "Console Terminal Output (TTO)\n\n"); fprintf (st, "The terminal output (TTO) writes to the simulator console.\n\n"); fprint_set_help (st, dptr); fprint_show_help (st, dptr); fprint_reg_help (st, dptr); return SCPE_OK; }
t_stat tti_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { fprintf (st, "Console Terminal Input (TTI)\n\n"); fprintf (st, "The terminal input (TTI) polls the console keyboard for input.\n\n"); fprint_set_help (st, dptr); fprint_show_help (st, dptr); fprint_reg_help (st, dptr); return SCPE_OK; }
t_stat tti_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { fprintf (st, "Console Terminal Input (TTI)\n\n"); fprintf (st, "The terminal input (TTI) polls the console keyboard for input.\n\n"); fprintf (st, "When the console terminal is attached to a Telnet session or the simulator is\n"); fprintf (st, "running from a Windows command prompt, it recognizes BREAK. If BREAK is\n"); fprintf (st, "entered, and BDR<7> is set (also known as SET CPU NOAUTOBOOT), control returns\n"); fprintf (st, "to the console firmware; otherwise, BREAK is treated as a normal terminal\n"); fprintf (st, "input condition.\n\n"); fprint_set_help (st, dptr); fprint_show_help (st, dptr); fprint_reg_help (st, dptr); return SCPE_OK; }
t_stat ptp_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { fprintf (st, "PC11 Paper Tape Punch (PTP)\n\n"); fprintf (st, "The paper tape punch (PTP) writes data to a disk file. The POS register\n"); fprintf (st, "specifies the number of the next data item to be written. Thus, by changing\n"); fprintf (st, "POS, the user can backspace or advance the punch.\n"); fprint_set_help (st, dptr); fprint_show_help (st, dptr); fprint_reg_help (st, dptr); fprintf (st, "\nError handling is as follows:\n\n"); fprintf (st, " error STOP_IOE processed as\n"); fprintf (st, " not attached 1 report error and stop\n"); fprintf (st, " 0 out of tape\n\n"); fprintf (st, " OS I/O error x report error and stop\n"); return SCPE_OK; }