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 225 src/dps8/dps8_console.c static t_stat opc_svc (UNIT * unitp); unitp 289 src/dps8/dps8_console.c UNIT * unitp; unitp 1299 src/dps8/dps8_console.c UNIT * unitp = & opc_unit[con_unit_idx]; unitp 1461 src/dps8/dps8_console.c csp->unitp = unitp; unitp 1651 src/dps8/dps8_console.c static t_stat opc_svc (UNIT * unitp) unitp 1653 src/dps8/dps8_console.c int con_unit_idx = (int) OPC_UNIT_IDX (unitp); unitp 1150 src/dps8/dps8_crdpun.c UNIT * unitp = & pun_unit [devUnitIdx]; unitp 1151 src/dps8/dps8_crdpun.c long pun_unit_num = PUN_UNIT_NUM (unitp); unitp 841 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 847 src/dps8/dps8_disk.c if (! unitp->fileref) { unitp 870 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, unitp 898 src/dps8/dps8_disk.c (void)fflush (unitp->fileref); unitp 901 src/dps8/dps8_disk.c unitp->fileref); unitp 905 src/dps8/dps8_disk.c if (ferror (unitp->fileref)) unitp 943 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 949 src/dps8/dps8_disk.c if (! unitp->fileref) { unitp 967 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, unitp 1003 src/dps8/dps8_disk.c unitp->fileref); unitp 1004 src/dps8/dps8_disk.c (void)fflush (unitp->fileref); unitp 1023 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 1053 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1060 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1063 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1071 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1175 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1186 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[dev_unit_idx]; unitp 1192 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1227 src/dps8/dps8_disk.c UNIT * unitp = & dsk_unit[devUnitIdx]; unitp 1252 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1266 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1280 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1294 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1308 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1322 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1336 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1351 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1365 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1380 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1404 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1419 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 1434 src/dps8/dps8_disk.c if (! unitp->fileref) unitp 354 src/dps8/dps8_fnp2.c struct fnpUnitData_s * unitp = & fnpData.fnpUnitData[fnpUnitIdx]; unitp 357 src/dps8/dps8_fnp2.c uv_tcp_t * line_client = (uv_tcp_t *) unitp->MState.line[lineNum].line_client; unitp 371 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 991 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit[devUnitIdx]; unitp 999 src/dps8/dps8_mt.c if (! (unitp -> flags & UNIT_ATT)) unitp 1004 src/dps8/dps8_mt.c t_stat rc = sim_tape_rdrecf (unitp, & tape_statep -> buf [0], & tape_statep -> tbc, unitp 1028 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1055 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1060 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1062 src/dps8/dps8_mt.c (long) MT_UNIT_NUM (unitp), tape_statep -> rec_num); unitp 1244 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit [devUnitIdx]; unitp 1318 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1336 src/dps8/dps8_mt.c if (! (unitp -> flags & UNIT_ATT)) unitp 1339 src/dps8/dps8_mt.c int ret = sim_tape_wrrecf (unitp, tape_statep -> buf, tape_statep -> tbc); unitp 1343 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 1344 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 1371 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1373 src/dps8/dps8_mt.c (long) MT_UNIT_NUM (unitp), tape_statep -> rec_num); unitp 1375 src/dps8/dps8_mt.c sim_tape_wreom (unitp); unitp 1376 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 1377 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 1380 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1382 src/dps8/dps8_mt.c if (sim_tape_eot (unitp)) unitp 1507 src/dps8/dps8_mt.c UNIT * unitp = & mt_unit [devUnitIdx]; unitp 1621 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1637 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1687 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1702 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1784 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1786 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1796 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1798 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1809 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1811 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1822 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1824 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1834 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1837 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos before %d", unitp->pos); unitp 1839 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1853 src/dps8/dps8_mt.c unitp 1858 src/dps8/dps8_mt.c ret = sim_tape_sprecf (unitp, & tape_statep->tbc); unitp 1872 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1873 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 1878 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1880 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1885 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 1888 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos after %d", unitp->pos); unitp 1896 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1899 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos before %d", unitp->pos); unitp 1902 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1909 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecf (unitp, tally, & skipped, & recsskipped, false); unitp 1924 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1925 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 1931 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1933 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 1939 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 1942 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos after %d", unitp->pos); unitp 1949 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 1952 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos before %d", unitp->pos); unitp 1955 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 1971 src/dps8/dps8_mt.c unitp 1979 src/dps8/dps8_mt.c t_stat ret = sim_tape_sprecr (unitp, & tape_statep->tbc); unitp 1989 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 1990 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 1997 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 1999 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2005 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2008 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos after %d", unitp->pos); unitp 2015 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2019 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos before %d", unitp->pos); unitp 2021 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2037 src/dps8/dps8_mt.c unitp 2047 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecr (unitp, tally, & skipped, & recsskipped); unitp 2057 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2058 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 2065 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2067 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2073 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2076 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos after %d", unitp->pos); unitp 2083 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2085 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2108 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2110 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2127 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2131 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos before %d", unitp->pos); unitp 2134 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2139 src/dps8/dps8_mt.c ret = sim_tape_wrtmk (unitp); unitp 2141 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 2142 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 2157 src/dps8/dps8_mt.c sim_tape_wreom (unitp); unitp 2158 src/dps8/dps8_mt.c if (unitp->io_flush) unitp 2159 src/dps8/dps8_mt.c unitp->io_flush (unitp); /* flush buffered data */ unitp 2162 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2163 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 2166 src/dps8/dps8_mt.c if (sim_tape_eot (unitp)) unitp 2171 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2174 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos after %d", unitp->pos); unitp 2197 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2199 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2206 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2208 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2218 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2220 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2234 src/dps8/dps8_mt.c if (! (unitp->flags & UNIT_ATT)) { unitp 2238 src/dps8/dps8_mt.c sim_tape_rewind (unitp); unitp 2241 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2242 src/dps8/dps8_mt.c sim_printf ("Tape %ld rewinds\n", (long) MT_UNIT_NUM (unitp)); unitp 2245 src/dps8/dps8_mt.c if (sim_tape_wrp (unitp)) unitp 2247 src/dps8/dps8_mt.c if (sim_tape_bot (unitp)) unitp 2258 src/dps8/dps8_mt.c if ((unitp->flags & UNIT_ATT)) { unitp 2259 src/dps8/dps8_mt.c if (unitp->flags & UNIT_WATCH) unitp 2260 src/dps8/dps8_mt.c sim_printf ("Tape %ld unloads\n", (long) MT_UNIT_NUM (unitp)); unitp 2262 src/dps8/dps8_mt.c sim_tape_detach (unitp); unitp 2313 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2316 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos before %d", unitp->pos); unitp 2323 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2326 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos after %d", unitp->pos); unitp 2334 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); unitp 2337 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos before %d", unitp->pos); unitp 2341 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); unitp 2344 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos after %d", unitp->pos); unitp 1129 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1130 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1213 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1214 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1309 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1310 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1405 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1406 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 1748 src/dps8/dps8_prt.c UNIT * unitp = & prt_unit[devUnitIdx]; unitp 1749 src/dps8/dps8_prt.c int prt_unit_num = (int) PRT_UNIT_NUM (unitp); unitp 3776 src/dps8/dps8_sys.c UNIT * unitp = & mt_unit [i]; unitp 3777 src/dps8/dps8_sys.c return sim_tape_rewind (unitp);