ctx 3386 src/dps8/dps8_cpu.c int core_read (word24 addr, word36 *data, const char * ctx) ctx 3396 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); ctx 3404 src/dps8/dps8_cpu.c (long long unsigned int)M [addr], ctx); ctx 3423 src/dps8/dps8_cpu.c addr, * data, ctx); ctx 3430 src/dps8/dps8_cpu.c int core_read_lock (word24 addr, word36 *data, UNUSED const char * ctx) ctx 3451 src/dps8/dps8_cpu.c int core_write (word24 addr, word36 data, const char * ctx) ctx 3481 src/dps8/dps8_cpu.c (long long unsigned int)addr, (unsigned long long int)M [addr], ctx); ctx 3490 src/dps8/dps8_cpu.c addr, data, ctx); ctx 3497 src/dps8/dps8_cpu.c int core_write_unlock (word24 addr, word36 data, UNUSED const char * ctx) ctx 3531 src/dps8/dps8_cpu.c int core_write_zone (word24 addr, word36 data, const char * ctx) ctx 3551 src/dps8/dps8_cpu.c core_read_lock(addr, &v, ctx); ctx 3553 src/dps8/dps8_cpu.c core_write_unlock(addr, v, ctx); ctx 3563 src/dps8/dps8_cpu.c (unsigned long long int)mapAddr, (unsigned long long int)M [mapAddr], ctx); ctx 3572 src/dps8/dps8_cpu.c mapAddr, data, ctx); ctx 3579 src/dps8/dps8_cpu.c int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx) ctx 3590 src/dps8/dps8_cpu.c "core_read2 (%s)\n", addr, ctx); ctx 3600 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); ctx 3608 src/dps8/dps8_cpu.c (unsigned long long int)addr, (unsigned long long int)M [addr], ctx); ctx 3627 src/dps8/dps8_cpu.c addr - 1, * even, ctx); ctx 3637 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); ctx 3645 src/dps8/dps8_cpu.c (unsigned long long int)addr, (unsigned long long int)M [addr], ctx); ctx 3663 src/dps8/dps8_cpu.c addr, * odd, ctx); ctx 3673 src/dps8/dps8_cpu.c int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx) { ctx 3678 src/dps8/dps8_cpu.c addr, ctx); ctx 3697 src/dps8/dps8_cpu.c (unsigned long long int)addr, (unsigned long long int)even, ctx); ctx 3711 src/dps8/dps8_cpu.c (long long unsigned int)even, ctx); ctx 3720 src/dps8/dps8_cpu.c (long long unsigned int)addr, (long long unsigned int)odd, ctx); ctx 3736 src/dps8/dps8_cpu.c sim_debug (DBG_CORE, & cpu_dev, "core_write2 %08o %012"PRIo64" (%s)\n", addr, odd, ctx); ctx 1994 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2007 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2033 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2060 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2074 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2100 src/dps8/dps8_cpu.h int core_read (word24 addr, word36 *data, const char * ctx); ctx 2101 src/dps8/dps8_cpu.h int core_write (word24 addr, word36 data, const char * ctx); ctx 2102 src/dps8/dps8_cpu.h int core_write_zone (word24 addr, word36 data, const char * ctx); ctx 2103 src/dps8/dps8_cpu.h int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx); ctx 2104 src/dps8/dps8_cpu.h int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx); ctx 2169 src/dps8/dps8_cpu.h int core_read_lock (word24 addr, word36 *data, const char * ctx); ctx 2170 src/dps8/dps8_cpu.h int core_write_unlock (word24 addr, word36 data, const char * ctx); ctx 2338 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2342 src/dps8/dps8_cpu.h core_read (addr + i, data + i, ctx); ctx 2348 src/dps8/dps8_cpu.h UNUSED const char * ctx) ctx 2352 src/dps8/dps8_cpu.h core_write (addr + i, data [i], ctx); ctx 59 src/dps8/dps8_dia.c static inline void fnp_core_read (word24 addr, word36 *data, UNUSED const char * ctx) ctx 380 src/dps8/dps8_dia.c static inline void fnp_core_write (word24 addr, word36 data, UNUSED const char * ctx) ctx 60 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) ctx 812 src/dps8/dps8_iom.c void iom_core_read (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) ctx 825 src/dps8/dps8_iom.c void iom_core_read2 (UNUSED uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx) ctx 844 src/dps8/dps8_iom.c void iom_core_write (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) ctx 856 src/dps8/dps8_iom.c void iom_core_write2 (UNUSED uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx) ctx 874 src/dps8/dps8_iom.c void iom_core_read_lock (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) ctx 888 src/dps8/dps8_iom.c void iom_core_write_unlock (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) ctx 419 src/dps8/dps8_iom.h void iom_core_read (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); ctx 420 src/dps8/dps8_iom.h void iom_core_read2 (uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx); ctx 421 src/dps8/dps8_iom.h void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); ctx 422 src/dps8/dps8_iom.h void iom_core_write2 (uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx); ctx 423 src/dps8/dps8_iom.h void iom_core_read_lock (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); ctx 424 src/dps8/dps8_iom.h void iom_core_write_unlock (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); ctx 1044 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx) ctx 1050 src/dps8/dps8_scu.c ctx, up -> exec_intr_mask [0], up -> mask_enable [0], ctx 1054 src/dps8/dps8_scu.c ctx, up -> exec_intr_mask [1], up -> mask_enable [1], ctx 1057 src/dps8/dps8_scu.c ctx 1065 src/dps8/dps8_scu.c ctx 1079 src/dps8/dps8_scu.c ctx 1083 src/dps8/dps8_scu.c ctx 1086 src/dps8/dps8_scu.c ctx 1094 src/dps8/dps8_scu.c ctx 59 src/dps8/hdbg.c char ctx[16]; ctx 176 src/dps8/hdbg.c strncpy (hevents[p].ctx, ctx, 15); \ ctx 177 src/dps8/hdbg.c hevents[p].ctx[15] = 0; \ ctx 186 src/dps8/hdbg.c void hdbgTrace (const char * ctx) { ctx 196 src/dps8/hdbg.c void hdbgMRead (word24 addr, word36 data, const char * ctx) { ctx 203 src/dps8/hdbg.c void hdbgMWrite (word24 addr, word36 data, const char * ctx) { ctx 210 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { ctx 219 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { ctx 228 src/dps8/hdbg.c void hdbgFault (_fault faultNumber, _fault_subtype subFault, const char * faultMsg, const char * ctx) { ctx 237 src/dps8/hdbg.c void hdbgIntrSet (uint inum, uint cpuUnitIdx, uint scuUnitIdx, const char * ctx) { ctx 245 src/dps8/hdbg.c void hdbgIntr (uint intr_pair_addr, const char * ctx) { ctx 249 src/dps8/hdbg.c strncpy (hevents[p].ctx, ctx, 15); ctx 250 src/dps8/hdbg.c hevents[p].ctx[15] = 0; ctx 255 src/dps8/hdbg.c void hdbgRegR (enum hregs_t type, word36 data, const char * ctx) { ctx 262 src/dps8/hdbg.c void hdbgRegW (enum hregs_t type, word36 data, const char * ctx) { ctx 269 src/dps8/hdbg.c void hdbgPARegR (enum hregs_t type, struct par_s * data, const char * ctx) { ctx 276 src/dps8/hdbg.c void hdbgPARegW (enum hregs_t type, struct par_s * data, const char * ctx) { ctx 284 src/dps8/hdbg.c ctx 291 src/dps8/hdbg.c ctx 299 src/dps8/hdbg.c void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx) { ctx 307 src/dps8/hdbg.c void hdbgNote (const char * ctx, const char * fmt, ...) { ctx 322 src/dps8/hdbg.c p->ctx, ctx 332 src/dps8/hdbg.c p->ctx, ctx 346 src/dps8/hdbg.c p->ctx, ctx 355 src/dps8/hdbg.c p->ctx, ctx 368 src/dps8/hdbg.c p->ctx, ctx 380 src/dps8/hdbg.c p->ctx, ctx 391 src/dps8/hdbg.c p->ctx, ctx 412 src/dps8/hdbg.c p->ctx, ctx 425 src/dps8/hdbg.c p->ctx, ctx 433 src/dps8/hdbg.c p->ctx, ctx 445 src/dps8/hdbg.c p->ctx, ctx 456 src/dps8/hdbg.c p->ctx, ctx 469 src/dps8/hdbg.c p->ctx, ctx 34 src/dps8/hdbg.h void hdbgTrace (const char * ctx); ctx 47 src/dps8/hdbg.h void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx); ctx 48 src/dps8/hdbg.h void hdbgMRead (word24 addr, word36 data, const char * ctx); ctx 49 src/dps8/hdbg.h void hdbgMWrite (word24 addr, word36 data, const char * ctx); ctx 51 src/dps8/hdbg.h const char * faultMsg, const char * ctx); ctx 52 src/dps8/hdbg.h void hdbgIntrSet (uint inum, uint cpuUnitIdx, uint scuUnitIdx, const char * ctx); ctx 53 src/dps8/hdbg.h void hdbgIntr (uint intr_pair_addr, const char * ctx); ctx 54 src/dps8/hdbg.h void hdbgNote (const char * ctx, const char * fmt, ...) ctx 72 src/dps8/hdbg.h void hdbgRegR (enum hregs_t type, word36 data, const char * ctx); ctx 73 src/dps8/hdbg.h void hdbgRegW (enum hregs_t type, word36 data, const char * ctx); ctx 75 src/dps8/hdbg.h void hdbgPARegR (enum hregs_t type, struct par_s * data, const char * ctx); ctx 76 src/dps8/hdbg.h void hdbgPARegW (enum hregs_t type, struct par_s * data, const char * ctx); ctx 79 src/dps8/hdbg.h ctx 80 src/dps8/hdbg.h ctx 82 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); ctx 83 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); ctx 111 src/dps8/hdbg.h # define HDBGIntrSet(i, c, s, ctx) hdbgIntrSet(i, c, s, ctx) ctx 241 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 243 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); ctx 245 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; ctx 246 src/simh/sim_disk.c tbc = sects * ctx->sector_size; ctx 251 src/simh/sim_disk.c i = sim_fread (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref); ctx 252 src/simh/sim_disk.c if (i < tbc/ctx->xfer_element_size) /* fill */ ctx 253 src/simh/sim_disk.c memset (&buf[i*ctx->xfer_element_size], 0, tbc-(i*ctx->xfer_element_size)); ctx 256 src/simh/sim_disk.c *sectsread = (t_seccnt)((i*ctx->xfer_element_size+ctx->sector_size-1)/ctx->sector_size); ctx 264 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 267 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); ctx 270 src/simh/sim_disk.c (lba >= (uptr->capac*ctx->capac_factor)/(ctx->sector_size/((ctx->dptr->flags & DEV_SECTORS) ? 512 : 1)))) {/* beyond the end of the disk */ ctx 271 src/simh/sim_disk.c memset (buf, '\0', ctx->sector_size); /* are bad block management efforts - zero buffer */ ctx 277 src/simh/sim_disk.c if ((0 == (ctx->sector_size & (ctx->storage_sector_size - 1))) || /* Sector Aligned & whole sector transfers */ ctx 278 src/simh/sim_disk.c ((0 == ((lba*ctx->sector_size) & (ctx->storage_sector_size - 1))) && ctx 279 src/simh/sim_disk.c (0 == ((sects*ctx->sector_size) & (ctx->storage_sector_size - 1))))) { ctx 296 src/simh/sim_disk.c uint8 *tbuf = (uint8*) malloc (sects*ctx->sector_size + 2*ctx->storage_sector_size); ctx 297 src/simh/sim_disk.c t_lba sspsts = ctx->storage_sector_size/ctx->sector_size; /* sim sectors in a storage sector */ ctx 315 src/simh/sim_disk.c memcpy (buf, tbuf + ((lba - tlba) * ctx->sector_size), sects * ctx->sector_size); ctx 341 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 343 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); ctx 345 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; ctx 346 src/simh/sim_disk.c tbc = sects * ctx->sector_size; ctx 351 src/simh/sim_disk.c i = sim_fwrite (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref); ctx 354 src/simh/sim_disk.c *sectswritten = (t_seccnt)((i*ctx->xfer_element_size+ctx->sector_size-1)/ctx->sector_size); ctx 361 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 366 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); ctx 371 src/simh/sim_disk.c t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(ctx->sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1))); ctx 378 src/simh/sim_disk.c for (offset = 0; offset < ctx->sector_size; offset += sizeof(uint32)) { ctx 379 src/simh/sim_disk.c if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) { ctx 391 src/simh/sim_disk.c sim_disk_data_trace (uptr, buf+sect*ctx->sector_size, lba+sect, ctx->sector_size, "Found", TRUE, 1); ctx 399 src/simh/sim_disk.c if ((0 == (ctx->sector_size & (ctx->storage_sector_size - 1))) || /* Sector Aligned & whole sector transfers */ ctx 400 src/simh/sim_disk.c ((0 == ((lba*ctx->sector_size) & (ctx->storage_sector_size - 1))) && ctx 401 src/simh/sim_disk.c (0 == ((sects*ctx->sector_size) & (ctx->storage_sector_size - 1))))) { ctx 404 src/simh/sim_disk.c if (sim_end || (ctx->xfer_element_size == sizeof (char))) ctx 410 src/simh/sim_disk.c tbuf = (uint8*) malloc (sects * ctx->sector_size); ctx 413 src/simh/sim_disk.c sim_buf_copy_swapped (tbuf, buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size); ctx 422 src/simh/sim_disk.c t_lba sspsts = ctx->storage_sector_size/ctx->sector_size; /* sim sectors in a storage sector */ ctx 426 src/simh/sim_disk.c tbuf = (uint8*) malloc (sects*ctx->sector_size + 2*ctx->storage_sector_size); ctx 447 src/simh/sim_disk.c sim_buf_copy_swapped (tbuf + (lba & (sspsts - 1)) * ctx->sector_size, ctx 448 src/simh/sim_disk.c buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size); ctx 739 src/simh/sim_disk.c struct disk_context *ctx; ctx 768 src/simh/sim_disk.c uptr->disk_ctx = ctx = (struct disk_context *)calloc(1, sizeof(struct disk_context)); ctx 769 src/simh/sim_disk.c if (!ctx) ctx 803 src/simh/sim_disk.c ctx->sector_size = (uint32)sector_size; /* save sector_size */ ctx 804 src/simh/sim_disk.c ctx->capac_factor = ((dptr->dwidth / dptr->aincr) == 16) ? 2 : 1; /* save capacity units (word: 2, byte: 1) */ ctx 805 src/simh/sim_disk.c ctx->xfer_element_size = (uint32)xfer_element_size; /* save xfer_element_size */ ctx 806 src/simh/sim_disk.c ctx->dptr = dptr; /* save DEVICE pointer */ ctx 807 src/simh/sim_disk.c ctx->dbit = dbit; /* save debug bit */ ctx 808 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_attach(unit=%lu,filename='%s')\n", (unsigned long)(uptr-ctx->dptr->units), uptr->filename); ctx 809 src/simh/sim_disk.c ctx->auto_format = auto_format; /* save that we auto selected format */ ctx 810 src/simh/sim_disk.c ctx->storage_sector_size = (uint32)sector_size; /* Default */ ctx 841 src/simh/sim_disk.c uptr->fileref = create_function (cptr, ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1));/* create new file */ ctx 857 src/simh/sim_disk.c storage_function (uptr->fileref, &ctx->storage_sector_size, &ctx->removable); ctx 861 src/simh/sim_disk.c uint8 *secbuf = (uint8 *)calloc (1, ctx->sector_size); /* alloc temp sector buf */ ctx 865 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - ctx->sector_size)/ctx->sector_size), secbuf, NULL, 1); /* Write Last Sector */ ctx 970 src/simh/sim_disk.c (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) { ctx 972 src/simh/sim_disk.c uptr->capac = (t_addr)(filesystem_capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); ctx 980 src/simh/sim_disk.c if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && (DKUF_F_STD != DK_GET_FMT (uptr))) { ctx 982 src/simh/sim_disk.c uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); ctx 995 src/simh/sim_disk.c if ((capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) || ctx 997 src/simh/sim_disk.c uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); ctx 1008 src/simh/sim_disk.c struct disk_context *ctx; ctx 1015 src/simh/sim_disk.c ctx = (struct disk_context *)uptr->disk_ctx; ctx 1047 src/simh/sim_disk.c if (ctx && ctx -> auto_format) ctx 1094 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 1099 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_reset(unit=%lu)\n", (unsigned long)(uptr-ctx->dptr->units)); ctx 1138 src/simh/sim_disk.c struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; ctx 1140 src/simh/sim_disk.c if (sim_deb && (ctx->dptr->dctrl & reason)) { ctx 1144 src/simh/sim_disk.c sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason); ctx 145 src/simh/sim_tape.c struct tape_context *ctx; ctx 203 src/simh/sim_tape.c uptr->tape_ctx = ctx = (struct tape_context *)calloc(1, sizeof(struct tape_context)); ctx 204 src/simh/sim_tape.c if (!ctx) ctx 216 src/simh/sim_tape.c ctx->dptr = dptr; /* save DEVICE pointer */ ctx 217 src/simh/sim_tape.c ctx->dbit = dbit; /* save debug bit */ ctx 218 src/simh/sim_tape.c ctx->auto_format = auto_format; /* save that we auto selected format */ ctx 231 src/simh/sim_tape.c struct tape_context *ctx; ctx 242 src/simh/sim_tape.c ctx = (struct tape_context *)uptr->tape_ctx; ctx 247 src/simh/sim_tape.c if (ctx) ctx 248 src/simh/sim_tape.c auto_format = ctx->auto_format; ctx 302 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 304 src/simh/sim_tape.c if (ctx == NULL) ctx 306 src/simh/sim_tape.c if (sim_deb && (ctx->dptr->dctrl & reason)) ctx 307 src/simh/sim_tape.c sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), "", len, txt, reason); ctx 397 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 412 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 574 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %d, lnt: %d, pos: %" T_ADDR_FMT "u\n", r, *bc, uptr->pos); ctx 610 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 627 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 759 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %d, lnt: %d, pos: %" T_ADDR_FMT "u\n", r, *bc, uptr->pos); ctx 786 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 792 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 794 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecf(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); ctx 815 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); ctx 850 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 855 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 857 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecr(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); ctx 871 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read Reverse", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); ctx 901 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 905 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 907 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrrecf(unit=%d, buf=%p, bc=%d)\n", (int)(uptr-ctx->dptr->units), buf, bc); ctx 909 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, bc, "Record Write", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); ctx 946 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, sbc, "Record Written", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); ctx 961 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 966 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 976 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "wr_lnt: lnt: %d, pos: %" T_ADDR_FMT "u\n", dat, uptr->pos); ctx 985 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 987 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 989 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrtmk(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1009 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1011 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1013 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreom(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1036 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1039 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1041 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreomrw(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1159 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1170 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1172 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrgap(unit=%d, gaplen=%u)\n", (int)(uptr-ctx->dptr->units), gaplen); ctx 1333 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1337 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1339 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecf(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1374 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1378 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1380 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsf(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); ctx 1420 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1423 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1425 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecr(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1466 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1470 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1472 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsr(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); ctx 1514 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1519 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1521 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecf(unit=%d, count=%d, check_leot=%d)\n", (int)(uptr-ctx->dptr->units), count, check_leot); ctx 1584 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1587 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1589 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilef(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); ctx 1624 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1630 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1632 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecr(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); ctx 1678 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1681 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1683 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfiler(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); ctx 1699 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1702 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1704 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rewind(unit=%d)\n", (int)(uptr-ctx->dptr->units)); ctx 1722 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1725 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1727 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_position(unit=%d, flags=0x%X, recs=%d, files=%d)\n", (int)(uptr-ctx->dptr->units), flags, recs, files); ctx 1783 src/simh/sim_tape.c struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; ctx 1789 src/simh/sim_tape.c if (ctx == NULL) /* if not properly attached? */ ctx 1791 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_reset(unit=%d)\n", (int)(uptr-ctx->dptr->units));