offset 369 src/dps8/dps8_addrmods.c word15 offset = GET_OFFSET(IWB_IRODD); offset 370 src/dps8/dps8_addrmods.c cpu.TPR.CA = (cpu.PAR[n].WORDNO + SIGNEXT15_18 (offset)) offset 759 src/dps8/dps8_append.c static void fetch_ptw (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 768 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 774 src/dps8/dps8_append.c PNL (cpu.lastPTWOffset = offset;) offset 822 src/dps8/dps8_append.c static void loadPTWAM (cpu_state_t * cpup, word15 segno, word18 offset, UNUSED bool nomatch) offset 824 src/dps8/dps8_append.c cpu.PTW0.PAGENO = (offset >> 6) & 07760; offset 850 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 876 src/dps8/dps8_append.c segno, offset); offset 880 src/dps8/dps8_append.c uint setno = (offset >> 10) & 017; offset 900 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 923 src/dps8/dps8_append.c static void modify_ptw (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 927 src/dps8/dps8_append.c word24 x2 = offset / 1024; // floor offset 956 src/dps8/dps8_append.c static void do_ptw2 (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 962 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2224 src/dps8/dps8_append.c int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 2328 src/dps8/dps8_append.c if (((offset >> 4) & 037777) > SDW1.BOUND) offset 2338 src/dps8/dps8_append.c * finalAddress = (SDW1.ADDR + offset) & PAMASK; offset 2343 src/dps8/dps8_append.c word24 y2 = offset % 1024; offset 2344 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2363 src/dps8/dps8_append.c y2 = offset % 1024; offset 161 src/dps8/dps8_append.h int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 786 src/dps8/dps8_cpu.c if (stall_points[i].segno || stall_points[i].offset) offset 793 src/dps8/dps8_cpu.c (long)i, stall_points[i].segno, stall_points[i].offset, offset 839 src/dps8/dps8_cpu.c stall_points[n].offset = (word18) o; offset 844 src/dps8/dps8_cpu.c if (stall_points[n].segno && stall_points[n].offset) offset 2944 src/dps8/dps8_cpu.c stall_points[i].offset && stall_points[i].offset == cpu.PPR.IC) offset 4709 src/dps8/dps8_cpu.c int32 offset = 0; offset 4717 src/dps8/dps8_cpu.c while ((offset < 32) && dptr->debflags[offset].name) offset 4719 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 4720 src/dps8/dps8_cpu.c return dptr->debflags[offset].name; offset 4721 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask & dbits) offset 4722 src/dps8/dps8_cpu.c some_match = dptr->debflags[offset].name; offset 4723 src/dps8/dps8_cpu.c offset ++; offset 5154 src/dps8/dps8_cpu.c #define BURN(offset, length, string) memcpy ((char *) PROM + (offset), string, length) offset 5155 src/dps8/dps8_cpu.c #define BURN1(offset, byte) PROM[offset] = (char) (byte) offset 1968 src/dps8/dps8_cpu.h word18 offset; offset 1257 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1258 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1410 src/dps8/dps8_eis.c word18 offset = SIGNEXT15_18 ((word15) address); // 15-bit signed number offset 1411 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; offset 1615 src/dps8/dps8_eis.c word15 offset = y & MASK15; // 15-bit signed number offset 1616 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1667 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1668 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 1853 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1854 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 505 src/dps8/dps8_fnp2_iomcmd.c uint offset = 0; offset 510 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 513 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 1858 src/dps8/dps8_ins.c word18 offset = ci->address; offset 1859 src/dps8/dps8_ins.c offset &= AMASK; offset 1861 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; offset is %06o\r\n", offset); offset 1867 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + offset) & AMASK; offset 1943 src/dps8/dps8_ins.c word15 offset = GET_OFFSET(IWB_IRODD); offset 1965 src/dps8/dps8_ins.c n, offset, cpu.TPR.CA, cpu.TPR.TBR, cpu.TPR.TSR, cpu.TPR.TRR); offset 426 src/dps8/dps8_socket_dev.c offset 427 src/dps8/dps8_socket_dev.c offset 446 src/dps8/dps8_socket_dev.c uint offset = ((i+4) % 4) * 9; offset 447 src/dps8/dps8_socket_dev.c word9 ch = getbits36_9 (buffer[wordno], offset); offset 2018 src/dps8/dps8_sys.c offset 2054 src/dps8/dps8_sys.c offset 2069 src/dps8/dps8_sys.c offset 2158 src/dps8/dps8_sys.c offset 2177 src/dps8/dps8_sys.c offset 2178 src/dps8/dps8_sys.c offset 2216 src/dps8/dps8_sys.c offset 2229 src/dps8/dps8_sys.c static t_stat abs_addr_n (int segno, uint offset) offset 2234 src/dps8/dps8_sys.c if (dbgLookupAddress ((word18) segno, offset, & res, NULL)) offset 2247 src/dps8/dps8_sys.c uint offset; offset 2248 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2250 src/dps8/dps8_sys.c return abs_addr_n ((int) segno, offset); offset 2350 src/dps8/dps8_sys.c static char * lookup_system_book_address (word18 segno, word18 offset, offset 2370 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2371 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) offset 2375 src/dps8/dps8_sys.c offset - book_components[j].txt_start); offset 2379 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; offset 2382 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2397 src/dps8/dps8_sys.c * compoffset = offset - book_components[best].txt_start; offset 2400 src/dps8/dps8_sys.c offset - book_components[best].txt_start); offset 2410 src/dps8/dps8_sys.c * compoffset = offset; offset 2412 src/dps8/dps8_sys.c offset); offset 2419 src/dps8/dps8_sys.c char * lookup_address (word18 segno, word18 offset, char * * compname, offset 2450 src/dps8/dps8_sys.c offset 2455 src/dps8/dps8_sys.c offset 2458 src/dps8/dps8_sys.c offset 2466 src/dps8/dps8_sys.c offset 2469 src/dps8/dps8_sys.c offset 2476 src/dps8/dps8_sys.c char * ret = lookup_system_book_address (segno, offset, compname, compoffset); offset 2485 src/dps8/dps8_sys.c long * offset) offset 2501 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; offset 2516 src/dps8/dps8_sys.c void list_source (char * compname, word18 offset, uint dflag) offset 2522 src/dps8/dps8_sys.c (void)sprintf (offset_str, " %06o", offset); offset 2642 src/dps8/dps8_sys.c if (loc[n] > best && loc[n] <= (int) offset) offset 2649 src/dps8/dps8_sys.c if (best == (int) offset) offset 2897 src/dps8/dps8_sys.c uint offset; offset 2898 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2902 src/dps8/dps8_sys.c char * where = lookup_address ((word18) segno, offset, offset 2906 src/dps8/dps8_sys.c sim_msg ("%05o:%06o %s\r\n", segno, offset, where); offset 3097 src/dps8/dps8_sys.c long segno, offset; offset 3126 src/dps8/dps8_sys.c offset = strtol (w2, & end2, 8); offset 3131 src/dps8/dps8_sys.c char * ans = lookup_address ((word18) segno, (word18) offset, NULL, NULL); offset 3139 src/dps8/dps8_sys.c offset = strtol (w3, & end3, 8); offset 3144 src/dps8/dps8_sys.c offset = 0; offset 3152 src/dps8/dps8_sys.c sim_msg ("0%o:0%o\r\n", (uint) segno, (uint) (comp_offset + offset)); offset 3153 src/dps8/dps8_sys.c abs_addr_n ((int) segno, (uint) (comp_offset + offset)); offset 3267 src/dps8/dps8_sys.c for (word18 offset = 0; offset 3268 src/dps8/dps8_sys.c offset < 16u * (SDW0.BOUND + 1u); offset 3269 src/dps8/dps8_sys.c offset += 1024) offset 3271 src/dps8/dps8_sys.c word24 y2 = offset % 1024; offset 3272 src/dps8/dps8_sys.c word24 x2 = (offset - y2) / 1024; offset 3291 src/dps8/dps8_sys.c if (address >= PTW2.ADDR + offset && offset 3292 src/dps8/dps8_sys.c address < PTW2.ADDR + offset + 1024) offset 3293 src/dps8/dps8_sys.c sim_msg (" %06o:%06o\r\n", tspt, (address - offset) - PTW2.ADDR); offset 3365 src/dps8/dps8_sys.c int segno, offset; offset 3367 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); offset 3373 src/dps8/dps8_sys.c (void)sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); offset 3465 src/dps8/dps8_sys.c offset 3467 src/dps8/dps8_sys.c offset 3668 src/dps8/dps8_sys.c if (ea->offset < eb->offset) offset 3670 src/dps8/dps8_sys.c if (ea->offset > eb->offset) offset 3675 src/dps8/dps8_sys.c int dbgevent_lookup (word15 segno, word18 offset) offset 3677 src/dps8/dps8_sys.c struct dbgevent_t key = {segno, offset, false}; offset 3711 src/dps8/dps8_sys.c uint offset; offset 3712 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3714 src/dps8/dps8_sys.c if (segno > MASK15 || offset > MASK18) offset 3716 src/dps8/dps8_sys.c if (dbgevent_lookup ((word15) segno, (word18) offset) != -1) offset 3718 src/dps8/dps8_sys.c sim_printf ("not adding duplicate 0%o:0%o\r\n", segno, offset); offset 3722 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset = (word18) offset; offset 3727 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset, offset 3735 src/dps8/dps8_sys.c uint offset; offset 3736 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3738 src/dps8/dps8_sys.c int n = dbgevent_lookup ((word15) segno, (word18) offset); offset 3741 src/dps8/dps8_sys.c sim_printf ("0%o:0%o not found\r\n", segno, offset); offset 3752 src/dps8/dps8_sys.c dbgevents[i].offset,dbgevents[i].tag); offset 4612 src/dps8/dps8_sys.c static int getAddress(int segno, int offset) offset 4619 src/dps8/dps8_sys.c return (s->ADDR + (word18) offset) & 0xffffff; // keep to 24-bits offset 4671 src/dps8/dps8_sys.c uint offset = (uint)strtoll(off, &endp, 8); offset 4682 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) (offset + PRoffset)); offset 4693 src/dps8/dps8_sys.c word24 offset = 0; offset 4700 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; offset 4708 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) offset); offset 86 src/dps8/dps8_sys.h word18 offset; offset 94 src/dps8/dps8_sys.h int dbgevent_lookup (word15 segno, word18 offset); offset 115 src/dps8/dps8_sys.h char * lookup_address (word18 segno, word18 offset, char * * compname, word18 * compoffset); offset 116 src/dps8/dps8_sys.h void list_source (char * compname, word18 offset, uint dflag); offset 112 src/dps8/dps8_utils.c int offset = address & 077777; offset 114 src/dps8/dps8_utils.c (void)sprintf (buff, " pr%d|%o", n, offset); offset 108 src/dps8/hdbg.c word18 offset; offset 119 src/dps8/hdbg.c word18 offset; offset 221 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 225 src/dps8/hdbg.c hevents[p].apu.offset = offset; offset 231 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 235 src/dps8/hdbg.c hevents[p].apu.offset = offset; offset 319 src/dps8/hdbg.c void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx) { offset 324 src/dps8/hdbg.c hevents [p].iefp.offset = offset; offset 357 src/dps8/hdbg.c p->apu.offset, offset 506 src/dps8/hdbg.c p->iefp.offset); offset 513 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 536 src/dps8/hdbg.c p->iefp.offset); offset 543 src/dps8/hdbg.c p->iefp.offset); offset 551 src/dps8/hdbg.c p->iefp.offset); offset 559 src/dps8/hdbg.c p->iefp.offset); offset 567 src/dps8/hdbg.c p->iefp.offset); offset 41 src/dps8/hdbg.h void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx); offset 72 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 73 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 27 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 bound, offset 36 src/dps8/ucache.c ep->offset = offset; offset 44 src/dps8/ucache.c ucNum, segno, offset, bound, p, address, r1, paged); offset 49 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 * bound, offset 76 src/dps8/ucache.c if (ep->paged && ((ep->offset & PG18MASK) != (offset & PG18MASK))) { offset 78 src/dps8/ucache.c hdbgNote ("ucache", "pgno %o != %o\r\n", (ep->offset & PG18MASK), (offset & PG18MASK)); offset 83 src/dps8/ucache.c if (((offset >> 4) & 037777) > ep->bound) { offset 86 src/dps8/ucache.c hdbgNote ("ucache", "bound %o != %o\r\n", ((offset >> 4) & 037777), ep->bound); offset 92 src/dps8/ucache.c ucNum, segno, offset, ep->bound, ep->p, ep->address, ep->r1, ep->paged); offset 97 src/dps8/ucache.c offset 103 src/dps8/ucache.c offset 30 src/dps8/ucache.h word18 offset; offset 65 src/dps8/ucache.h word18 offset, word14 bound, word1 p, word24 address, word3 r1, bool paged); offset 68 src/dps8/ucache.h word18 offset, word14 * bound, word1 * p, word24 * address, word3 * r1, bool * paged); offset 248 src/simh/scp.c (size_map[((rp)->width + (rp)->offset + CHAR_BIT - 1) / CHAR_BIT]) offset 4738 src/simh/scp.c static void printp (unsigned char * PROM, char * label, int offset, int length) { offset 4740 src/simh/scp.c sim_printf (" %2d %3o(8) '", length, offset); offset 4743 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 4776 src/simh/scp.c static void printpq (unsigned char * PROM, FILE * st, int offset, int length) { offset 4782 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 7109 src/simh/scp.c val = (val >> rptr->offset) & width_mask[rptr->width]; offset 7186 src/simh/scp.c ~((m) << (rp)->offset)) | ((v) << (rp)->offset)) offset 7201 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 7202 src/simh/scp.c (((uint32) val) << rptr->offset); offset 7204 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 7210 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 7211 src/simh/scp.c (((uint32) val) << rptr->offset); offset 7213 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 10303 src/simh/scp.c int32 offset = 0; offset 10312 src/simh/scp.c while ((offset < 32) && dptr->debflags[offset].name) { offset 10313 src/simh/scp.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 10314 src/simh/scp.c return dptr->debflags[offset].name; offset 10315 src/simh/scp.c if (dptr->debflags[offset].mask & dbits) offset 10316 src/simh/scp.c some_match = dptr->debflags[offset].name; offset 10317 src/simh/scp.c offset++; offset 10369 src/simh/scp.c int32 i, fields, offset; offset 10372 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { offset 10373 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ offset 10374 src/simh/scp.c bitdefs[fields].offset = offset; offset 10375 src/simh/scp.c offset += bitdefs[fields].width; offset 10381 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; offset 10387 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); offset 10388 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); offset 489 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 502 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 385 src/simh/sim_disk.c t_lba offset; offset 388 src/simh/sim_disk.c for (offset = 0; offset < ctx->sector_size; offset += sizeof(uint32)) { offset 389 src/simh/sim_disk.c if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) { offset 915 src/simh/sim_disk.c t_lba offset; offset 916 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) offset 917 src/simh/sim_disk.c *((uint32 *)&init_buf[sect*sector_size + offset]) = (uint32)(lba + sect); offset 960 src/simh/sim_disk.c t_lba offset; offset 963 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) { offset 964 src/simh/sim_disk.c if (*((uint32 *)&verify_buf[sect*sector_size + offset]) != (uint32)(lba + sect)) { offset 303 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) offset 310 src/simh/sim_fio.c fileaddr = (fpos_t)offset; offset 316 src/simh/sim_fio.c fileaddr = statb.st_size + offset; offset 321 src/simh/sim_fio.c fileaddr = fileaddr + offset; offset 354 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) offset 356 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); offset 49 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); offset 50 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence);