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 2229 src/dps8/dps8_append.c int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 2332 src/dps8/dps8_append.c if (((offset >> 4) & 037777) > SDW1.BOUND) offset 2342 src/dps8/dps8_append.c * finalAddress = (SDW1.ADDR + offset) & PAMASK; offset 2347 src/dps8/dps8_append.c word24 y2 = offset % 1024; offset 2348 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2367 src/dps8/dps8_append.c y2 = offset % 1024; offset 164 src/dps8/dps8_append.h int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 768 src/dps8/dps8_cpu.c if (stall_points[i].segno || stall_points[i].offset) offset 771 src/dps8/dps8_cpu.c stall_points[i].offset, (unsigned long)stall_points[i].time); offset 816 src/dps8/dps8_cpu.c stall_points[n].offset = (word18) o; offset 821 src/dps8/dps8_cpu.c if (stall_points[n].segno && stall_points[n].offset) offset 2721 src/dps8/dps8_cpu.c stall_points[i].offset && stall_points[i].offset == cpu.PPR.IC) offset 4490 src/dps8/dps8_cpu.c int32 offset = 0; offset 4498 src/dps8/dps8_cpu.c while ((offset < 32) && dptr->debflags[offset].name) offset 4500 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 4501 src/dps8/dps8_cpu.c return dptr->debflags[offset].name; offset 4502 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask & dbits) offset 4503 src/dps8/dps8_cpu.c some_match = dptr->debflags[offset].name; offset 4504 src/dps8/dps8_cpu.c offset ++; offset 4889 src/dps8/dps8_cpu.c #define BURN(offset, length, string) memcpy ((char *) PROM + (offset), string, length) offset 4890 src/dps8/dps8_cpu.c #define BURN1(offset, byte) PROM[offset] = (char) (byte) offset 1936 src/dps8/dps8_cpu.h word18 offset; offset 1263 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1264 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1416 src/dps8/dps8_eis.c word18 offset = SIGNEXT15_18 ((word15) address); // 15-bit signed number offset 1417 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; offset 1621 src/dps8/dps8_eis.c word15 offset = y & MASK15; // 15-bit signed number offset 1622 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1673 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1674 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 1854 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1855 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 1787 src/dps8/dps8_ins.c word18 offset = ci->address; offset 1788 src/dps8/dps8_ins.c offset &= AMASK; offset 1790 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; offset is %06o\n", offset); offset 1796 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + offset) & AMASK; offset 1872 src/dps8/dps8_ins.c word15 offset = GET_OFFSET(IWB_IRODD); offset 1890 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 2065 src/dps8/dps8_sys.c offset 2101 src/dps8/dps8_sys.c offset 2116 src/dps8/dps8_sys.c offset 2205 src/dps8/dps8_sys.c offset 2224 src/dps8/dps8_sys.c offset 2225 src/dps8/dps8_sys.c offset 2263 src/dps8/dps8_sys.c offset 2276 src/dps8/dps8_sys.c static t_stat abs_addr_n (int segno, uint offset) offset 2281 src/dps8/dps8_sys.c if (dbgLookupAddress ((word18) segno, offset, & res, NULL)) offset 2294 src/dps8/dps8_sys.c uint offset; offset 2295 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2297 src/dps8/dps8_sys.c return abs_addr_n ((int) segno, offset); offset 2397 src/dps8/dps8_sys.c static char * lookup_system_book_address (word18 segno, word18 offset, offset 2417 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2418 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) offset 2422 src/dps8/dps8_sys.c offset - book_components[j].txt_start); offset 2426 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; offset 2429 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2444 src/dps8/dps8_sys.c * compoffset = offset - book_components[best].txt_start; offset 2447 src/dps8/dps8_sys.c offset - book_components[best].txt_start); offset 2457 src/dps8/dps8_sys.c * compoffset = offset; offset 2459 src/dps8/dps8_sys.c offset); offset 2466 src/dps8/dps8_sys.c char * lookup_address (word18 segno, word18 offset, char * * compname, offset 2497 src/dps8/dps8_sys.c offset 2502 src/dps8/dps8_sys.c offset 2505 src/dps8/dps8_sys.c offset 2513 src/dps8/dps8_sys.c offset 2516 src/dps8/dps8_sys.c offset 2523 src/dps8/dps8_sys.c char * ret = lookup_system_book_address (segno, offset, compname, compoffset); offset 2532 src/dps8/dps8_sys.c long * offset) offset 2548 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; offset 2563 src/dps8/dps8_sys.c void list_source (char * compname, word18 offset, uint dflag) offset 2568 src/dps8/dps8_sys.c sprintf (offset_str, " %06o", offset); offset 2688 src/dps8/dps8_sys.c if (loc[n] > best && loc[n] <= (int) offset) offset 2695 src/dps8/dps8_sys.c if (best == (int) offset) offset 2942 src/dps8/dps8_sys.c uint offset; offset 2943 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2947 src/dps8/dps8_sys.c char * where = lookup_address ((word18) segno, offset, offset 2951 src/dps8/dps8_sys.c sim_msg ("%05o:%06o %s\n", segno, offset, where); offset 3142 src/dps8/dps8_sys.c long segno, offset; offset 3171 src/dps8/dps8_sys.c offset = strtol (w2, & end2, 8); offset 3176 src/dps8/dps8_sys.c char * ans = lookup_address ((word18) segno, (word18) offset, NULL, NULL); offset 3184 src/dps8/dps8_sys.c offset = strtol (w3, & end3, 8); offset 3189 src/dps8/dps8_sys.c offset = 0; offset 3197 src/dps8/dps8_sys.c sim_msg ("0%o:0%o\n", (uint) segno, (uint) (comp_offset + offset)); offset 3198 src/dps8/dps8_sys.c abs_addr_n ((int) segno, (uint) (comp_offset + offset)); offset 3310 src/dps8/dps8_sys.c for (word18 offset = 0; offset 3311 src/dps8/dps8_sys.c offset < 16u * (SDW0.BOUND + 1u); offset 3312 src/dps8/dps8_sys.c offset += 1024) offset 3314 src/dps8/dps8_sys.c word24 y2 = offset % 1024; offset 3315 src/dps8/dps8_sys.c word24 x2 = (offset - y2) / 1024; offset 3334 src/dps8/dps8_sys.c if (address >= PTW2.ADDR + offset && offset 3335 src/dps8/dps8_sys.c address < PTW2.ADDR + offset + 1024) offset 3336 src/dps8/dps8_sys.c sim_msg (" %06o:%06o\n", tspt, (address - offset) - PTW2.ADDR); offset 3408 src/dps8/dps8_sys.c int segno, offset; offset 3410 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); offset 3416 src/dps8/dps8_sys.c sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); offset 3508 src/dps8/dps8_sys.c offset 3510 src/dps8/dps8_sys.c offset 3711 src/dps8/dps8_sys.c if (ea->offset < eb->offset) offset 3713 src/dps8/dps8_sys.c if (ea->offset > eb->offset) offset 3718 src/dps8/dps8_sys.c int dbgevent_lookup (word15 segno, word18 offset) offset 3720 src/dps8/dps8_sys.c struct dbgevent_t key = {segno, offset, false}; offset 3754 src/dps8/dps8_sys.c uint offset; offset 3755 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3757 src/dps8/dps8_sys.c if (segno > MASK15 || offset > MASK18) offset 3759 src/dps8/dps8_sys.c if (dbgevent_lookup ((word15) segno, (word18) offset) != -1) offset 3761 src/dps8/dps8_sys.c sim_printf ("not adding duplicate 0%o:0%o\r\n", segno, offset); offset 3765 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset = (word18) offset; offset 3770 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset, offset 3778 src/dps8/dps8_sys.c uint offset; offset 3779 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3781 src/dps8/dps8_sys.c int n = dbgevent_lookup ((word15) segno, (word18) offset); offset 3784 src/dps8/dps8_sys.c sim_printf ("0%o:0%o not found\r\n", segno, offset); offset 3795 src/dps8/dps8_sys.c dbgevents[i].offset,dbgevents[i].tag); offset 4722 src/dps8/dps8_sys.c static int getAddress(int segno, int offset) offset 4729 src/dps8/dps8_sys.c return (s->ADDR + (word18) offset) & 0xffffff; // keep to 24-bits offset 4780 src/dps8/dps8_sys.c uint offset = (uint)strtoll(off, &endp, 8); offset 4791 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) (offset + PRoffset)); offset 4802 src/dps8/dps8_sys.c word24 offset = 0; offset 4809 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; offset 4817 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 29 src/dps8/ucache.c void ucCacheSave (uint ucNum, word15 segno, word18 offset, word14 bound, word1 p, word24 address, word3 r1, bool paged) { offset 37 src/dps8/ucache.c ep->offset = offset; offset 44 src/dps8/ucache.c hdbgNote ("ucache", "save %u %05o:%06o %05o %o %08o %o %o", ucNum, segno, offset, bound, p, address, r1, paged); offset 48 src/dps8/ucache.c bool ucCacheCheck (uint ucNum, word15 segno, word18 offset, word14 * bound, word1 * p, word24 * address, word3 * r1, bool * paged) { offset 74 src/dps8/ucache.c if (ep->paged && ((ep->offset & PG18MASK) != (offset & PG18MASK))) { offset 76 src/dps8/ucache.c hdbgNote ("ucache", "pgno %o != %o\r\n", (ep->offset & PG18MASK), (offset & PG18MASK)); offset 81 src/dps8/ucache.c if (((offset >> 4) & 037777) > ep->bound) { offset 84 src/dps8/ucache.c hdbgNote ("ucache", "bound %o != %o\r\n", ((offset >> 4) & 037777), ep->bound); offset 89 src/dps8/ucache.c hdbgNote ("ucache", "hit %u %05o:%06o %05o %o %08o %o %o", ucNum, segno, offset, ep->bound, ep->p, ep->address, ep->r1, ep->paged); offset 94 src/dps8/ucache.c offset 100 src/dps8/ucache.c offset 33 src/dps8/ucache.h word18 offset; offset 64 src/dps8/ucache.h void ucCacheSave (uint ucNum, word15 segno, word18 offset, word14 bound, word1 p, word24 address, word3 r1, bool paged); offset 65 src/dps8/ucache.h bool ucCacheCheck (uint ucNum, word15 segno, word18 offset, word14 * bound, word1 * p, word24 * address, word3 * r1, bool * paged); offset 167 src/simh/scp.c (size_map[((rp)->width + (rp)->offset + CHAR_BIT - 1) / CHAR_BIT]) offset 4315 src/simh/scp.c static void printp (unsigned char * PROM, char * label, int offset, int length) { offset 4317 src/simh/scp.c sim_printf (" %2d %3o(8) '", length, offset); offset 4320 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 4353 src/simh/scp.c static void printpq (unsigned char * PROM, FILE * st, int offset, int length) { offset 4359 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 6579 src/simh/scp.c val = (val >> rptr->offset) & width_mask[rptr->width]; offset 6656 src/simh/scp.c ~((m) << (rp)->offset)) | ((v) << (rp)->offset)) offset 6671 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 6672 src/simh/scp.c (((uint32) val) << rptr->offset); offset 6674 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 6680 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 6681 src/simh/scp.c (((uint32) val) << rptr->offset); offset 6683 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 9720 src/simh/scp.c int32 offset = 0; offset 9729 src/simh/scp.c while ((offset < 32) && dptr->debflags[offset].name) { offset 9730 src/simh/scp.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 9731 src/simh/scp.c return dptr->debflags[offset].name; offset 9732 src/simh/scp.c if (dptr->debflags[offset].mask & dbits) offset 9733 src/simh/scp.c some_match = dptr->debflags[offset].name; offset 9734 src/simh/scp.c offset++; offset 9805 src/simh/scp.c int32 i, fields, offset; offset 9808 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { offset 9809 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ offset 9810 src/simh/scp.c bitdefs[fields].offset = offset; offset 9811 src/simh/scp.c offset += bitdefs[fields].width; offset 9817 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; offset 9823 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); offset 9824 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); offset 479 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 492 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 407 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) offset 409 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); offset 68 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); offset 69 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence);