pos 317 src/dps8/dps8.h # define GETCHAR(src, pos) (word6)(((word36)src >> (word36)((5 - pos) * 6)) & 077) pos 319 src/dps8/dps8.h # define GETBYTE(src, pos) (word9)(((word36)src >> (word36)((3 - pos) * 9)) & 0777) pos 130 src/dps8/dps8_eis.c static word4 get4 (word36 w, int pos) pos 132 src/dps8/dps8_eis.c switch (pos) pos 164 src/dps8/dps8_eis.c static word4 get6 (word36 w, int pos) pos 166 src/dps8/dps8_eis.c switch (pos) pos 192 src/dps8/dps8_eis.c static word9 get9(word36 w, int pos) pos 194 src/dps8/dps8_eis.c switch (pos) pos 214 src/dps8/dps8_eis.c static word36 put4 (word36 w, int pos, word4 c) pos 222 src/dps8/dps8_eis.c switch (pos) pos 257 src/dps8/dps8_eis.c static word36 put6 (word36 w, int pos, word6 c) pos 259 src/dps8/dps8_eis.c switch (pos) pos 291 src/dps8/dps8_eis.c static word36 put9 (word36 w, int pos, word9 c) pos 293 src/dps8/dps8_eis.c switch (pos) pos 1028 src/dps8/dps8_eis.c static word9 EISget49 (cpu_state_t * cpup, EISaddr * p, int * pos, int tn) pos 1032 src/dps8/dps8_eis.c if (* pos > maxPos) // overflows to next word? pos 1034 src/dps8/dps8_eis.c * pos = 0; // reset to 1st byte pos 1054 src/dps8/dps8_eis.c c = get4 (p -> data, * pos); pos 1057 src/dps8/dps8_eis.c c = get9 (p -> data, * pos); pos 1061 src/dps8/dps8_eis.c (* pos) ++; pos 5066 src/dps8/dps8_eis.c int pos = (int) e->CN[k-1]; pos 5081 src/dps8/dps8_eis.c word9 c = EISget49(cpup, a, &pos, TN); pos 7531 src/dps8/dps8_eis.c static void EISwrite4(cpu_state_t * cpup, EISaddr *p, int *pos, word4 char4) pos 7534 src/dps8/dps8_eis.c if (*pos > 7) // out-of-range? pos 7536 src/dps8/dps8_eis.c *pos = 0; // reset to 1st byte pos 7549 src/dps8/dps8_eis.c switch (*pos) pos 7587 src/dps8/dps8_eis.c *pos += 1; // to next char. pos 7594 src/dps8/dps8_eis.c static void EISwrite9(cpu_state_t *cpup, EISaddr *p, int *pos, word9 char9) pos 7597 src/dps8/dps8_eis.c if (*pos > 3) // out-of-range? pos 7599 src/dps8/dps8_eis.c *pos = 0; // reset to 1st byte pos 7612 src/dps8/dps8_eis.c switch (*pos) pos 7634 src/dps8/dps8_eis.c *pos += 1; // to next byte. pos 7641 src/dps8/dps8_eis.c static void EISwrite49(cpu_state_t * cpup, EISaddr *p, int *pos, int tn, word9 c49) pos 7646 src/dps8/dps8_eis.c EISwrite4(cpup, p, pos, (word4) c49); pos 7649 src/dps8/dps8_eis.c EISwrite9(cpup, p, pos, c49); pos 7837 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 7852 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7857 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7862 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7879 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7883 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, (word9) res[i]); pos 7899 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7904 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7910 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7922 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7924 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7928 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 9045 src/dps8/dps8_eis.c pos 9053 src/dps8/dps8_eis.c pos 9055 src/dps8/dps8_eis.c pos 9065 src/dps8/dps8_eis.c pos 9104 src/dps8/dps8_eis.c pos 9111 src/dps8/dps8_eis.c pos 9118 src/dps8/dps8_eis.c pos 9120 src/dps8/dps8_eis.c pos 9131 src/dps8/dps8_eis.c pos 9154 src/dps8/dps8_eis.c pos 9169 src/dps8/dps8_eis.c pos 9235 src/dps8/dps8_eis.c pos 9250 src/dps8/dps8_eis.c pos 9253 src/dps8/dps8_eis.c pos 9322 src/dps8/dps8_eis.c static void load9x(cpu_state_t * cpup, int n, EISaddr *addr, int pos) pos 9346 src/dps8/dps8_eis.c if (pos > 3) // overflows to next word? pos 9348 src/dps8/dps8_eis.c pos = 0; // reset to 1st byte pos 9358 src/dps8/dps8_eis.c x = or_128 (x, construct_128 (0, GETBYTE (data, pos))); pos 9360 src/dps8/dps8_eis.c x |= GETBYTE(data, pos); // fetch byte at position pos and 'or' it in pos 9363 src/dps8/dps8_eis.c pos += 1; // onto next position pos 9688 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 9700 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9703 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9707 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9723 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 9726 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) res[i]); pos 9740 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9743 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9748 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9778 src/dps8/dps8_eis.c pos 9797 src/dps8/dps8_eis.c pos 9799 src/dps8/dps8_eis.c pos 9812 src/dps8/dps8_eis.c pos 9815 src/dps8/dps8_eis.c pos 9845 src/dps8/dps8_eis.c pos 9866 src/dps8/dps8_eis.c pos 9916 src/dps8/dps8_eis.c pos 9959 src/dps8/dps8_eis.c pos 9970 src/dps8/dps8_eis.c pos 10133 src/dps8/dps8_eis.c int pos = (int)e->CN2; pos 10140 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); pos 10142 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) (x >> shift )& 0777); pos 10368 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 10381 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10384 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10388 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10404 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[j] - '0')); pos 10407 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[j]); pos 10421 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10424 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10428 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10439 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 10440 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 10443 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 10759 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 10772 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10775 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10779 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10795 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 10798 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 10812 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10815 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10819 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10830 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 10831 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 10835 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11080 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11093 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11096 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11100 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11116 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11119 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11133 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11136 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11140 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11151 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11152 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11156 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11419 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11432 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11435 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11439 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11455 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11458 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11472 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11475 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11479 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11490 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11491 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11495 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11698 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11711 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11714 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11718 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11734 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11737 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11751 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11754 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11758 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11769 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11770 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11774 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 12011 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 12025 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12028 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12032 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12048 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 12051 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 12065 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12068 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12072 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12083 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 12084 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 12087 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 13164 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 13177 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13180 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13184 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13200 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 13203 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 13217 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13220 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13224 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13235 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 13236 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 13239 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 13611 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 13624 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13627 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13631 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13647 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 13650 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 13664 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13667 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13671 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13682 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 13683 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 13686 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 1834 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 1837 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos before %d", unitp->pos); pos 1885 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 1888 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One Record pos after %d", unitp->pos); pos 1896 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 1899 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos before %d", unitp->pos); pos 1939 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 1942 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Forward Skip One File pos after %d", unitp->pos); pos 1949 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 1952 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos before %d", unitp->pos); pos 2005 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 2008 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One Record pos after %d", unitp->pos); pos 2015 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 2019 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos before %d", unitp->pos); pos 2073 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 2076 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Backspace One File pos after %d", unitp->pos); pos 2127 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 2131 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos before %d", unitp->pos); pos 2171 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 2174 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape Write EOF pos after %d", unitp->pos); pos 2313 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 2316 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos before %d", unitp->pos); pos 2323 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 2326 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT Read pos after %d", unitp->pos); pos 2334 src/dps8/dps8_mt.c sim_printf ("// pos before %d\r\n", unitp->pos); pos 2337 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos before %d", unitp->pos); pos 2341 src/dps8/dps8_mt.c sim_printf ("// pos after %d\r\n", unitp->pos); pos 2344 src/dps8/dps8_mt.c hdbgNote ("tape", "Tape IOT write pos after %d", unitp->pos); pos 138 src/simh/linehistory.c size_t pos; /* Current cursor position. */ pos 475 src/simh/linehistory.c ls->len = ls->pos = strlen(lc.cvec[i]); pos 479 src/simh/linehistory.c ls->pos = saved.pos; pos 511 src/simh/linehistory.c ls->len = ls->pos = nwritten; pos 712 src/simh/linehistory.c size_t pos = l->pos; pos 715 src/simh/linehistory.c while (( plen + pos ) >= l->cols) pos 719 src/simh/linehistory.c pos--; pos 755 src/simh/linehistory.c (void)snprintf(seq, sizeof ( seq ), "\r\x1b[%dC", (int)( pos + plen )); pos 843 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) pos 856 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; pos 866 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; pos 878 src/simh/linehistory.c l->oldpos = l->pos; pos 916 src/simh/linehistory.c if (l->len == l->pos) pos 918 src/simh/linehistory.c l->buf[l->pos] = c; pos 919 src/simh/linehistory.c l->pos++; pos 942 src/simh/linehistory.c memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos); pos 943 src/simh/linehistory.c l->buf[l->pos] = c; pos 945 src/simh/linehistory.c l->pos++; pos 958 src/simh/linehistory.c if (l->pos > 0) pos 960 src/simh/linehistory.c l->pos--; pos 969 src/simh/linehistory.c if (l->pos != l->len) pos 971 src/simh/linehistory.c l->pos++; pos 980 src/simh/linehistory.c if (l->len == 0 || l->pos >= l->len) pos 985 src/simh/linehistory.c if (l->buf[l->pos] == ' ') pos 987 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] == ' ') pos 989 src/simh/linehistory.c ++l->pos; pos 993 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] != ' ') pos 995 src/simh/linehistory.c ++l->pos; pos 1009 src/simh/linehistory.c if (l->buf[l->pos - 1] == ' ') pos 1011 src/simh/linehistory.c --l->pos; pos 1014 src/simh/linehistory.c if (l->buf[l->pos] == ' ') pos 1016 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos] == ' ') pos 1018 src/simh/linehistory.c --l->pos; pos 1022 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') pos 1024 src/simh/linehistory.c --l->pos; pos 1033 src/simh/linehistory.c if (l->pos != 0) pos 1035 src/simh/linehistory.c l->pos = 0; pos 1044 src/simh/linehistory.c if (l->pos != l->len) pos 1046 src/simh/linehistory.c l->pos = l->len; pos 1097 src/simh/linehistory.c l->len = l->pos = strlen(l->buf); pos 1146 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) pos 1174 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) pos 1203 src/simh/linehistory.c if (l->len > 0 && l->pos < l->len) pos 1205 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1); pos 1216 src/simh/linehistory.c if (l->pos > 0 && l->len > 0) pos 1218 src/simh/linehistory.c memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos); pos 1219 src/simh/linehistory.c l->pos--; pos 1234 src/simh/linehistory.c size_t old_pos = l->pos; pos 1237 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] == ' ') pos 1239 src/simh/linehistory.c l->pos--; pos 1241 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') pos 1243 src/simh/linehistory.c l->pos--; pos 1245 src/simh/linehistory.c diff = old_pos - l->pos; pos 1246 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1); pos 1255 src/simh/linehistory.c size_t next_word_end = l->pos; pos 1265 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end); pos 1266 src/simh/linehistory.c l->len -= next_word_end - l->pos; pos 1298 src/simh/linehistory.c l.oldpos = l.pos = 0; pos 1526 src/simh/linehistory.c l.pos = l.len = 0; pos 1531 src/simh/linehistory.c buf[l.pos] = '\0'; pos 1532 src/simh/linehistory.c l.len = l.pos; pos 6139 src/simh/scp.c uptr->pos = 0; pos 6431 src/simh/scp.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); pos 433 src/simh/sim_defs.h t_addr pos; /* file position */ pos 718 src/simh/sim_defs.h # define FLDATA(nm,loc,pos) #nm, &(loc), 2, 1, (pos), 1, NULL, NULL pos 720 src/simh/sim_defs.h # define GRDATA(nm,loc,rdx,wd,pos) #nm, &(loc), (rdx), (wd), (pos), 1, NULL, NULL pos 728 src/simh/sim_defs.h # define FLDATAD(nm,loc,pos,desc) #nm, &(loc), 2, 1, (pos), 1, (desc), NULL pos 729 src/simh/sim_defs.h # define GRDATAD(nm,loc,rdx,wd,pos,desc) #nm, &(loc), (rdx), (wd), (pos), 1, (desc), NULL pos 736 src/simh/sim_defs.h # define FLDATADF(nm,loc,pos,desc,flds) #nm, &(loc), 2, 1, (pos), 1, (desc), (flds) pos 737 src/simh/sim_defs.h # define GRDATADF(nm,loc,rdx,wd,pos,desc,flds) #nm, &(loc), (rdx), (wd), (pos), 1, (desc), (flds) pos 752 src/simh/sim_defs.h # define FLDATA(nm,loc,pos) "nm", &(loc), 2, 1, (pos), 1, NULL, NULL pos 753 src/simh/sim_defs.h # define GRDATA(nm,loc,rdx,wd,pos) "nm", &(loc), (rdx), (wd), (pos), 1, NULL, NULL pos 759 src/simh/sim_defs.h # define FLDATAD(nm,loc,pos,desc) "nm", &(loc), 2, 1, (pos), 1, (desc), NULL pos 760 src/simh/sim_defs.h # define GRDATAD(nm,loc,rdx,wd,pos,desc) "nm", &(loc), (rdx), (wd), (pos), 1, (desc), NULL pos 766 src/simh/sim_defs.h # define FLDATADF(nm,loc,pos,desc,flds) "nm", &(loc), 2, 1, (pos), 1, (desc), (flds) pos 767 src/simh/sim_defs.h # define GRDATADF(nm,loc,rdx,wd,pos,desc,flds) "nm", &(loc), (rdx), (wd), (pos), 1, (desc), (flds) pos 870 src/simh/sim_disk.c uptr->pos = 0; pos 1180 src/simh/sim_disk.c char pos[32]; pos 1182 src/simh/sim_disk.c (void)sprintf (pos, "lbn: %08X ", (unsigned int)lba); pos 1183 src/simh/sim_disk.c sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason); pos 203 src/simh/sim_fio.c t_offset pos, sz; pos 207 src/simh/sim_fio.c pos = sim_ftell (fp); pos 211 src/simh/sim_fio.c if (sim_fseeko (fp, pos, SEEK_SET)) pos 416 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* set the initial tape position */ pos 494 src/simh/sim_tape.c uptr->pos = uptr->pos + sizeof (t_mtrlnt); /* space over the marker */ pos 505 src/simh/sim_tape.c uptr->pos = uptr->pos - sizeof (t_mtrlnt) / 2; /* then back up */ pos 506 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* to resync */ pos 515 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* then seek to the data area */ pos 518 src/simh/sim_tape.c uptr->pos = uptr->pos + sizeof (t_mtrlnt) /* position to the start */ pos 541 src/simh/sim_tape.c uptr->pos = uptr->pos + sizeof (t_tpclnt); /* spc over reclnt */ pos 544 src/simh/sim_tape.c uptr->pos = uptr->pos + ((tpcbc + 1) & ~1); /* spc over record */ pos 565 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* for read */ pos 566 src/simh/sim_tape.c uptr->pos = uptr->pos + sbc; /* spc over record */ pos 576 src/simh/sim_tape.c (long long)r, (long long)*bc, uptr->pos); pos 659 src/simh/sim_tape.c else if (uptr->pos < sizeof (buffer)) /* if less than a full buffer remains */ pos 660 src/simh/sim_tape.c bufcap = (size_t) uptr->pos /* then reduce the capacity accordingly */ pos 664 src/simh/sim_tape.c uptr->pos - bufcap * sizeof (t_mtrlnt), /* corresponding to the start */ pos 683 src/simh/sim_tape.c uptr->pos = uptr->pos - sizeof (t_mtrlnt); /* backspace over the marker */ pos 695 src/simh/sim_tape.c uptr->pos = uptr->pos + sizeof (t_mtrlnt) / 2; /* then position forward to resync */ pos 704 src/simh/sim_tape.c uptr->pos = uptr->pos - sizeof (t_mtrlnt) /* position to the start */ pos 707 src/simh/sim_tape.c uptr->pos + sizeof (t_mtrlnt), SEEK_SET); pos 728 src/simh/sim_tape.c uptr->pos = ppos; /* spc over record */ pos 733 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos + sizeof (t_tpclnt), SEEK_SET); pos 737 src/simh/sim_tape.c for (sbc = 1, all_eof = 1; (t_addr) sbc <= uptr->pos ; sbc++) { pos 738 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos - sbc, SEEK_SET); pos 751 src/simh/sim_tape.c uptr->pos = uptr->pos - sbc; /* update position */ pos 753 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* for read */ pos 762 src/simh/sim_tape.c (long long)r, (long long)*bc, uptr->pos); pos 800 src/simh/sim_tape.c opos = uptr->pos; /* old position */ pos 806 src/simh/sim_tape.c uptr->pos = opos; pos 812 src/simh/sim_tape.c uptr->pos = opos; pos 924 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* set pos */ pos 938 src/simh/sim_tape.c uptr->pos = uptr->pos + sbc + (2 * sizeof (t_mtrlnt)); /* move tape */ pos 949 src/simh/sim_tape.c uptr->pos = uptr->pos + sbc; /* move tape */ pos 976 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* set pos */ pos 983 src/simh/sim_tape.c (long long)dat, uptr->pos); pos 984 src/simh/sim_tape.c uptr->pos = uptr->pos + sizeof (uint32_t); /* move tape */ pos 1026 src/simh/sim_tape.c uptr->pos = uptr->pos - sizeof (t_mtrlnt); /* restore original tape position */ pos 1169 src/simh/sim_tape.c t_addr gap_pos = uptr->pos; pos 1199 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* position tape */ pos 1216 src/simh/sim_tape.c uptr->pos = gap_pos; /* restore original position */ pos 1221 src/simh/sim_tape.c uptr->pos = uptr->pos + meta_size; /* move tape over datum */ pos 1234 src/simh/sim_tape.c uptr->pos = uptr->pos - meta_size / 2; /* backup to resync */ pos 1235 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* position tape */ pos 1240 src/simh/sim_tape.c else if (uptr->pos + pos 1257 src/simh/sim_tape.c uptr->pos = uptr->pos - meta_size + rec_size; /* position past record */ pos 1258 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* move tape */ pos 1264 src/simh/sim_tape.c uptr->pos = uptr->pos - meta_size + gap_needed; /* position to end of gap */ pos 1269 src/simh/sim_tape.c uptr->pos = gap_pos; /* restore orig pos */ pos 1273 src/simh/sim_tape.c uptr->pos = uptr->pos + sbc - gap_needed; /* position to end of data */ pos 1277 src/simh/sim_tape.c uptr->pos = gap_pos; /* restore orig pos */ pos 1288 src/simh/sim_tape.c uptr->pos = gap_pos; /* reposition to gap start */ pos 1293 src/simh/sim_tape.c uptr->pos = gap_pos; /* restore orig pos */ pos 1296 src/simh/sim_tape.c uptr->pos = uptr->pos - meta_size / 2; /* realign position */ pos 1305 src/simh/sim_tape.c uptr->pos = gap_pos; /* restore orig pos */ pos 1721 src/simh/sim_tape.c uptr->pos = 0; pos 1822 src/simh/sim_tape.c return (uptr->pos <= fmts[f].bot)? TRUE: FALSE; pos 1829 src/simh/sim_tape.c return (uptr->capac && (uptr->pos >= uptr->capac))? TRUE: FALSE; pos 2028 src/simh/sim_tape.c if (uptr->pos == map[p]) pos 2030 src/simh/sim_tape.c else if (uptr->pos < map[p])