offset 372 src/dps8/dps8_addrmods.c word15 offset = GET_OFFSET(IWB_IRODD); offset 373 src/dps8/dps8_addrmods.c cpu.TPR.CA = (cpu.PAR[n].WORDNO + SIGNEXT15_18 (offset)) offset 762 src/dps8/dps8_append.c static void fetch_ptw (sdw_s *sdw, word18 offset) offset 771 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 777 src/dps8/dps8_append.c PNL (cpu.lastPTWOffset = offset;) offset 825 src/dps8/dps8_append.c static void loadPTWAM (word15 segno, word18 offset, UNUSED bool nomatch) offset 827 src/dps8/dps8_append.c cpu.PTW0.PAGENO = (offset >> 6) & 07760; offset 853 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 879 src/dps8/dps8_append.c segno, offset); offset 883 src/dps8/dps8_append.c uint setno = (offset >> 10) & 017; offset 903 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 926 src/dps8/dps8_append.c static void modify_ptw (sdw_s *sdw, word18 offset) offset 930 src/dps8/dps8_append.c word24 x2 = offset / 1024; // floor offset 959 src/dps8/dps8_append.c static void do_ptw2 (sdw_s *sdw, word18 offset) offset 965 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2179 src/dps8/dps8_append.c int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 2282 src/dps8/dps8_append.c if (((offset >> 4) & 037777) > SDW1.BOUND) offset 2292 src/dps8/dps8_append.c * finalAddress = (SDW1.ADDR + offset) & PAMASK; offset 2297 src/dps8/dps8_append.c word24 y2 = offset % 1024; offset 2298 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2317 src/dps8/dps8_append.c y2 = offset % 1024; offset 135 src/dps8/dps8_append.h int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 722 src/dps8/dps8_cpu.c if (stall_points[i].segno || stall_points[i].offset) offset 725 src/dps8/dps8_cpu.c stall_points[i].offset, (unsigned long)stall_points[i].time); offset 770 src/dps8/dps8_cpu.c stall_points[n].offset = (word18) o; offset 775 src/dps8/dps8_cpu.c if (stall_points[n].segno && stall_points[n].offset) offset 2628 src/dps8/dps8_cpu.c stall_points[i].offset && stall_points[i].offset == cpu.PPR.IC) offset 4331 src/dps8/dps8_cpu.c int32 offset = 0; offset 4339 src/dps8/dps8_cpu.c while ((offset < 32) && dptr->debflags[offset].name) offset 4341 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 4342 src/dps8/dps8_cpu.c return dptr->debflags[offset].name; offset 4343 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask & dbits) offset 4344 src/dps8/dps8_cpu.c some_match = dptr->debflags[offset].name; offset 4345 src/dps8/dps8_cpu.c offset ++; offset 4512 src/dps8/dps8_cpu.c #define BURN(offset, length, string) memcpy ((char *) PROM + (offset), string, length) offset 4513 src/dps8/dps8_cpu.c #define BURN1(offset, byte) PROM[offset] = (char) (byte) offset 1933 src/dps8/dps8_cpu.h word18 offset; offset 1264 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1265 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1417 src/dps8/dps8_eis.c word18 offset = SIGNEXT15_18 ((word15) address); // 15-bit signed number offset 1418 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; offset 1622 src/dps8/dps8_eis.c word15 offset = y & MASK15; // 15-bit signed number offset 1623 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1674 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1675 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 1855 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1856 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 498 src/dps8/dps8_fnp2_iomcmd.c uint offset = 0; offset 503 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 506 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 1777 src/dps8/dps8_ins.c word18 offset = ci->address; offset 1778 src/dps8/dps8_ins.c offset &= AMASK; offset 1780 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; offset is %06o\n", offset); offset 1786 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + offset) & AMASK; offset 1852 src/dps8/dps8_ins.c word15 offset = GET_OFFSET(IWB_IRODD); offset 1870 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, &cpu_dev, "doPtrReg: n=%o offset=%05o TPR.CA=%06o " "TPR.TBR=%o TPR.TSR=%05o TPR.TRR=%o\n", n, offset, cpu.TPR.CA, cpu.TPR.TBR, cpu.TPR.TSR, cpu.TPR.TRR); offset 429 src/dps8/dps8_socket_dev.c offset 430 src/dps8/dps8_socket_dev.c offset 449 src/dps8/dps8_socket_dev.c uint offset = ((i+4) % 4) * 9; offset 450 src/dps8/dps8_socket_dev.c word9 ch = getbits36_9 (buffer[wordno], offset); offset 2031 src/dps8/dps8_sys.c offset 2067 src/dps8/dps8_sys.c offset 2082 src/dps8/dps8_sys.c offset 2171 src/dps8/dps8_sys.c offset 2190 src/dps8/dps8_sys.c offset 2191 src/dps8/dps8_sys.c offset 2229 src/dps8/dps8_sys.c offset 2242 src/dps8/dps8_sys.c static t_stat abs_addr_n (int segno, uint offset) offset 2247 src/dps8/dps8_sys.c if (dbgLookupAddress ((word18) segno, offset, & res, NULL)) offset 2260 src/dps8/dps8_sys.c uint offset; offset 2261 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2263 src/dps8/dps8_sys.c return abs_addr_n ((int) segno, offset); offset 2363 src/dps8/dps8_sys.c static char * lookup_system_book_address (word18 segno, word18 offset, offset 2383 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2384 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) offset 2388 src/dps8/dps8_sys.c offset - book_components[j].txt_start); offset 2392 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; offset 2395 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2410 src/dps8/dps8_sys.c * compoffset = offset - book_components[best].txt_start; offset 2413 src/dps8/dps8_sys.c offset - book_components[best].txt_start); offset 2423 src/dps8/dps8_sys.c * compoffset = offset; offset 2425 src/dps8/dps8_sys.c offset); offset 2432 src/dps8/dps8_sys.c char * lookup_address (word18 segno, word18 offset, char * * compname, offset 2463 src/dps8/dps8_sys.c offset 2468 src/dps8/dps8_sys.c offset 2471 src/dps8/dps8_sys.c offset 2479 src/dps8/dps8_sys.c offset 2482 src/dps8/dps8_sys.c offset 2489 src/dps8/dps8_sys.c char * ret = lookup_system_book_address (segno, offset, compname, compoffset); offset 2498 src/dps8/dps8_sys.c long * offset) offset 2514 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; offset 2529 src/dps8/dps8_sys.c void list_source (char * compname, word18 offset, uint dflag) offset 2534 src/dps8/dps8_sys.c sprintf (offset_str, " %06o", offset); offset 2654 src/dps8/dps8_sys.c if (loc[n] > best && loc[n] <= (int) offset) offset 2661 src/dps8/dps8_sys.c if (best == (int) offset) offset 2908 src/dps8/dps8_sys.c uint offset; offset 2909 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2913 src/dps8/dps8_sys.c char * where = lookup_address ((word18) segno, offset, offset 2917 src/dps8/dps8_sys.c sim_msg ("%05o:%06o %s\n", segno, offset, where); offset 3108 src/dps8/dps8_sys.c long segno, offset; offset 3137 src/dps8/dps8_sys.c offset = strtol (w2, & end2, 8); offset 3142 src/dps8/dps8_sys.c char * ans = lookup_address ((word18) segno, (word18) offset, NULL, NULL); offset 3150 src/dps8/dps8_sys.c offset = strtol (w3, & end3, 8); offset 3155 src/dps8/dps8_sys.c offset = 0; offset 3163 src/dps8/dps8_sys.c sim_msg ("0%o:0%o\n", (uint) segno, (uint) (comp_offset + offset)); offset 3164 src/dps8/dps8_sys.c abs_addr_n ((int) segno, (uint) (comp_offset + offset)); offset 3276 src/dps8/dps8_sys.c for (word18 offset = 0; offset 3277 src/dps8/dps8_sys.c offset < 16u * (SDW0.BOUND + 1u); offset 3278 src/dps8/dps8_sys.c offset += 1024) offset 3280 src/dps8/dps8_sys.c word24 y2 = offset % 1024; offset 3281 src/dps8/dps8_sys.c word24 x2 = (offset - y2) / 1024; offset 3300 src/dps8/dps8_sys.c if (address >= PTW2.ADDR + offset && offset 3301 src/dps8/dps8_sys.c address < PTW2.ADDR + offset + 1024) offset 3302 src/dps8/dps8_sys.c sim_msg (" %06o:%06o\n", tspt, (address - offset) - PTW2.ADDR); offset 3374 src/dps8/dps8_sys.c int segno, offset; offset 3376 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); offset 3382 src/dps8/dps8_sys.c sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); offset 3474 src/dps8/dps8_sys.c offset 3476 src/dps8/dps8_sys.c offset 3677 src/dps8/dps8_sys.c if (ea->offset < eb->offset) offset 3679 src/dps8/dps8_sys.c if (ea->offset > eb->offset) offset 3684 src/dps8/dps8_sys.c int dbgevent_lookup (word15 segno, word18 offset) offset 3686 src/dps8/dps8_sys.c struct dbgevent_t key = {segno, offset, false}; offset 3720 src/dps8/dps8_sys.c uint offset; offset 3721 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3723 src/dps8/dps8_sys.c if (segno > MASK15 || offset > MASK18) offset 3725 src/dps8/dps8_sys.c if (dbgevent_lookup ((word15) segno, (word18) offset) != -1) offset 3727 src/dps8/dps8_sys.c sim_printf ("not adding duplicate 0%o:0%o\r\n", segno, offset); offset 3731 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset = (word18) offset; offset 3736 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset, offset 3744 src/dps8/dps8_sys.c uint offset; offset 3745 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3747 src/dps8/dps8_sys.c int n = dbgevent_lookup ((word15) segno, (word18) offset); offset 3750 src/dps8/dps8_sys.c sim_printf ("0%o:0%o not found\r\n", segno, offset); offset 3761 src/dps8/dps8_sys.c dbgevents[i].offset,dbgevents[i].tag); offset 4481 src/dps8/dps8_sys.c static int getAddress(int segno, int offset) offset 4488 src/dps8/dps8_sys.c return (s->ADDR + (word18) offset) & 0xffffff; // keep to 24-bits offset 4539 src/dps8/dps8_sys.c uint offset = (uint)strtoll(off, &endp, 8); offset 4550 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) (offset + PRoffset)); offset 4561 src/dps8/dps8_sys.c word24 offset = 0; offset 4568 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; offset 4576 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) offset); offset 57 src/dps8/dps8_sys.h word18 offset; offset 65 src/dps8/dps8_sys.h int dbgevent_lookup (word15 segno, word18 offset); offset 86 src/dps8/dps8_sys.h char * lookup_address (word18 segno, word18 offset, char * * compname, word18 * compoffset); offset 87 src/dps8/dps8_sys.h void list_source (char * compname, word18 offset, uint dflag); offset 115 src/dps8/dps8_utils.c int offset = address & 077777; offset 117 src/dps8/dps8_utils.c sprintf(buff, " pr%d|%o", n, offset); offset 104 src/dps8/hdbg.c word18 offset; offset 115 src/dps8/hdbg.c word18 offset; offset 210 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 213 src/dps8/hdbg.c hevents[p].apu.offset = offset; offset 219 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 222 src/dps8/hdbg.c hevents[p].apu.offset = offset; offset 299 src/dps8/hdbg.c void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx) { offset 303 src/dps8/hdbg.c hevents [p].iefp.offset = offset; offset 335 src/dps8/hdbg.c p->apu.offset, offset 484 src/dps8/hdbg.c p->iefp.offset); offset 491 src/dps8/hdbg.c p->iefp.offset); offset 499 src/dps8/hdbg.c p->iefp.offset); offset 507 src/dps8/hdbg.c p->iefp.offset); offset 514 src/dps8/hdbg.c p->iefp.offset); offset 521 src/dps8/hdbg.c p->iefp.offset); offset 529 src/dps8/hdbg.c p->iefp.offset); offset 537 src/dps8/hdbg.c p->iefp.offset); offset 545 src/dps8/hdbg.c p->iefp.offset); offset 47 src/dps8/hdbg.h void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx); offset 82 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 83 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 167 src/simh/scp.c (size_map[((rp)->width + (rp)->offset + CHAR_BIT - 1) / CHAR_BIT]) offset 4314 src/simh/scp.c static void printp (unsigned char * PROM, char * label, int offset, int length) { offset 4317 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 6366 src/simh/scp.c val = (val >> rptr->offset) & width_mask[rptr->width]; offset 6443 src/simh/scp.c ~((m) << (rp)->offset)) | ((v) << (rp)->offset)) offset 6458 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 6459 src/simh/scp.c (((uint32) val) << rptr->offset); offset 6461 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 6467 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 6468 src/simh/scp.c (((uint32) val) << rptr->offset); offset 6470 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 9507 src/simh/scp.c int32 offset = 0; offset 9516 src/simh/scp.c while ((offset < 32) && dptr->debflags[offset].name) { offset 9517 src/simh/scp.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 9518 src/simh/scp.c return dptr->debflags[offset].name; offset 9519 src/simh/scp.c if (dptr->debflags[offset].mask & dbits) offset 9520 src/simh/scp.c some_match = dptr->debflags[offset].name; offset 9521 src/simh/scp.c offset++; offset 9571 src/simh/scp.c int32 i, fields, offset; offset 9574 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { offset 9575 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ offset 9576 src/simh/scp.c bitdefs[fields].offset = offset; offset 9577 src/simh/scp.c offset += bitdefs[fields].width; offset 9583 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; offset 9589 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); offset 9590 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); offset 477 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 490 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 375 src/simh/sim_disk.c t_lba offset; offset 378 src/simh/sim_disk.c for (offset = 0; offset < ctx->sector_size; offset += sizeof(uint32)) { offset 379 src/simh/sim_disk.c if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) { offset 892 src/simh/sim_disk.c t_lba offset; offset 893 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) offset 894 src/simh/sim_disk.c *((uint32 *)&init_buf[sect*sector_size + offset]) = (uint32)(lba + sect); offset 932 src/simh/sim_disk.c t_lba offset; offset 935 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) { offset 936 src/simh/sim_disk.c if (*((uint32 *)&verify_buf[sect*sector_size + offset]) != (uint32)(lba + sect)) { offset 298 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) offset 300 src/simh/sim_fio.c return fseeko (st, (off_t)offset, whence); offset 316 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) offset 324 src/simh/sim_fio.c fileaddr = (fpos_t)offset; offset 330 src/simh/sim_fio.c fileaddr = statb.st_size + offset; offset 335 src/simh/sim_fio.c fileaddr = fileaddr + offset; offset 408 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) offset 410 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); offset 69 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); offset 70 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence);