unitp 581 src/dps8/dps8_cable.c UNIT * unitp, iom_cmd_t * iom_cmd) unitp 639 src/dps8/dps8_cable.c p->board = unitp; unitp 228 src/dps8/dps8_console.c static t_stat opc_svc (UNIT * unitp); unitp 292 src/dps8/dps8_console.c UNIT * unitp; unitp 1285 src/dps8/dps8_console.c UNIT * unitp = & opc_unit[con_unit_idx]; unitp 1444 src/dps8/dps8_console.c csp->unitp = unitp; unitp 1644 src/dps8/dps8_console.c static t_stat opc_svc (UNIT * unitp) unitp 1646 src/dps8/dps8_console.c int con_unit_idx = (int) OPC_UNIT_IDX (unitp); unitp 1148 src/dps8/dps8_crdpun.c UNIT * unitp = & pun_unit [devUnitIdx]; unitp 1149 src/dps8/dps8_crdpun.c long pun_unit_num = PUN_UNIT_NUM (unitp); unitp 843 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 849 src/dps8/dps8_disk.c if (! unitp->fileref) { unitp 872 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, unitp 900 src/dps8/dps8_disk.c fflush (unitp->fileref); unitp 903 src/dps8/dps8_disk.c unitp->fileref); unitp 907 src/dps8/dps8_disk.c if (ferror (unitp->fileref)) unitp 945 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 951 src/dps8/dps8_disk.c if (! unitp->fileref) { unitp 969 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, unitp 1005 src/dps8/dps8_disk.c unitp->fileref); unitp 1006 src/dps8/dps8_disk.c fflush (unitp->fileref); unitp 1025 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 1055 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1062 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1065 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1073 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1177 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1185 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1191 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1223 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 1248 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1262 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1276 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1290 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1304 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1318 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1332 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1347 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1361 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1376 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1400 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1415 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1430 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 359 src/dps8/dps8_fnp2.c struct fnpUnitData_s * unitp = & fnpData.fnpUnitData[fnpUnitIdx]; unitp 362 src/dps8/dps8_fnp2.c uv_tcp_t * line_client = (uv_tcp_t *) unitp->MState.line[lineNum].line_client; unitp 376 src/dps8/dps8_fnp2.c unitp->MState.line[lineNum].line_client = NULL; unitp 1356 src/dps8/dps8_iom.c static t_stat boot_svc (UNIT * unitp); unitp 1539 src/dps8/dps8_iom.c static t_stat boot_svc (UNIT * unitp) unitp 1541 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) (unitp - boot_channel_unit); unitp 987 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit[devUnitIdx]; unitp 995 src/dps8/dps8_mt.c if (! (unitp -> flags & UNIT_ATT)) unitp 1000 src/dps8/dps8_mt.c t_stat rc = sim_tape_rdrecf (unitp, & tape_statep -> buf [0], & tape_statep -> tbc, unitp 1024 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1051 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1056 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1058 src/dps8/dps8_mt.c (long) MT_UNIT_NUM (unitp), tape_statep -> rec_num); unitp 1238 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit [devUnitIdx]; unitp 1312 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1330 src/dps8/dps8_mt.c if (! (unitp -> flags & UNIT_ATT)) unitp 1333 src/dps8/dps8_mt.c int ret = sim_tape_wrrecf (unitp, tape_statep -> buf, tape_statep -> tbc); unitp 1337 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 1338 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 1365 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1367 src/dps8/dps8_mt.c (long) MT_UNIT_NUM (unitp), tape_statep -> rec_num); unitp 1369 src/dps8/dps8_mt.c sim_tape_wreom (unitp); unitp 1370 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 1371 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 1374 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1376 src/dps8/dps8_mt.c if (sim_tape_eot (unitp)) unitp 1497 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit [devUnitIdx]; unitp 1612 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1628 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1678 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1693 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1775 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1777 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1787 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1789 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1800 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1802 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1813 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1815 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1825 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1828 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos before %d", unitp->pos); unitp 1830 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1844 src/dps8/dps8_mt.c unitp 1849 src/dps8/dps8_mt.c ret = sim_tape_sprecf (unitp, & tape_statep->tbc); unitp 1863 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1864 src/dps8/dps8_mt.c sim_printf ("Tape %ld forward skips to record %d\n", (long) MT_UNIT_NUM (unitp), tape_statep->rec_num); unitp 1869 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1871 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1876 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 1879 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos after %d", unitp->pos); unitp 1887 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1890 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos before %d", unitp->pos); unitp 1893 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1900 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecf (unitp, tally, & skipped, & recsskipped, false); unitp 1911 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1912 src/dps8/dps8_mt.c sim_printf ("Tape %ld forward skips to record %d\n", (long) MT_UNIT_NUM (unitp), tape_statep->rec_num); unitp 1918 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1920 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1926 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 1929 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos after %d", unitp->pos); unitp 1936 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1939 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos before %d", unitp->pos); unitp 1942 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1958 src/dps8/dps8_mt.c unitp 1966 src/dps8/dps8_mt.c t_stat ret = sim_tape_sprecr (unitp, & tape_statep->tbc); unitp 1976 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1977 src/dps8/dps8_mt.c sim_printf ("Tape %ld skip back to record %d\n", (long) MT_UNIT_NUM (unitp), tape_statep->rec_num); unitp 1984 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1986 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1992 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 1995 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos after %d", unitp->pos); unitp 2002 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2006 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos before %d", unitp->pos); unitp 2008 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2024 src/dps8/dps8_mt.c unitp 2034 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecr (unitp, tally, & skipped, & recsskipped); unitp 2044 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2045 src/dps8/dps8_mt.c sim_printf ("Tape %ld backward skips to record %d\n", (long) MT_UNIT_NUM (unitp), tape_statep->rec_num); unitp 2052 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2054 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2060 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2063 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos after %d", unitp->pos); unitp 2070 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2072 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2095 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2097 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2114 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2118 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos before %d", unitp->pos); unitp 2121 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2126 src/dps8/dps8_mt.c ret = sim_tape_wrtmk (unitp); unitp 2128 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 2129 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 2144 src/dps8/dps8_mt.c sim_tape_wreom (unitp); unitp 2145 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 2146 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 2149 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2150 src/dps8/dps8_mt.c sim_printf ("Tape %ld writes tape mark %ld\n", (long) MT_UNIT_NUM (unitp), (long) tape_statep->rec_num); unitp 2153 src/dps8/dps8_mt.c if (sim_tape_eot (unitp)) unitp 2158 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2161 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos after %d", unitp->pos); unitp 2184 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2186 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2193 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2195 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2205 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2207 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2221 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2225 src/dps8/dps8_mt.c sim_tape_rewind (unitp); unitp 2228 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2229 src/dps8/dps8_mt.c sim_printf ("Tape %ld rewinds\n", (long) MT_UNIT_NUM (unitp)); unitp 2232 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2234 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2245 src/dps8/dps8_mt.c if ((unitp->flags & UNIT_ATT)) { unitp 2246 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2247 src/dps8/dps8_mt.c sim_printf ("Tape %ld unloads\n", (long) MT_UNIT_NUM (unitp)); unitp 2249 src/dps8/dps8_mt.c sim_tape_detach (unitp); unitp 2300 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2303 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos before %d", unitp->pos); unitp 2310 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2313 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos after %d", unitp->pos); unitp 2321 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2324 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos before %d", unitp->pos); unitp 2328 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2331 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos after %d", unitp->pos); unitp 1126 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1127 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1207 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1208 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1301 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1302 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1394 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1395 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1738 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1739 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 3791 src/dps8/dps8_sys.c UNIT * unitp = & mt_unit [i]; unitp 3792 src/dps8/dps8_sys.c return sim_tape_rewind (unitp);