pos 283 src/dps8/dps8.h # define GETCHAR(src, pos) (word6)(((word36)src >> (word36)((5 - pos) * 6)) & 077) pos 285 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 7520 src/dps8/dps8_eis.c static void EISwrite4(cpu_state_t * cpup, EISaddr *p, int *pos, word4 char4) pos 7523 src/dps8/dps8_eis.c if (*pos > 7) // out-of-range? pos 7525 src/dps8/dps8_eis.c *pos = 0; // reset to 1st byte pos 7538 src/dps8/dps8_eis.c switch (*pos) pos 7576 src/dps8/dps8_eis.c *pos += 1; // to next char. pos 7583 src/dps8/dps8_eis.c static void EISwrite9(cpu_state_t *cpup, EISaddr *p, int *pos, word9 char9) pos 7586 src/dps8/dps8_eis.c if (*pos > 3) // out-of-range? pos 7588 src/dps8/dps8_eis.c *pos = 0; // reset to 1st byte pos 7601 src/dps8/dps8_eis.c switch (*pos) pos 7623 src/dps8/dps8_eis.c *pos += 1; // to next byte. pos 7630 src/dps8/dps8_eis.c static void EISwrite49(cpu_state_t * cpup, EISaddr *p, int *pos, int tn, word9 c49) pos 7635 src/dps8/dps8_eis.c EISwrite4(cpup, p, pos, (word4) c49); pos 7638 src/dps8/dps8_eis.c EISwrite9(cpup, p, pos, c49); pos 7826 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 7841 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7846 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7851 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7868 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7872 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, (word9) res[i]); pos 7888 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7893 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7899 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7911 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7913 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 7917 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, pos 9034 src/dps8/dps8_eis.c pos 9042 src/dps8/dps8_eis.c pos 9044 src/dps8/dps8_eis.c pos 9054 src/dps8/dps8_eis.c pos 9093 src/dps8/dps8_eis.c pos 9100 src/dps8/dps8_eis.c pos 9107 src/dps8/dps8_eis.c pos 9109 src/dps8/dps8_eis.c pos 9120 src/dps8/dps8_eis.c pos 9143 src/dps8/dps8_eis.c pos 9158 src/dps8/dps8_eis.c pos 9224 src/dps8/dps8_eis.c pos 9239 src/dps8/dps8_eis.c pos 9242 src/dps8/dps8_eis.c pos 9311 src/dps8/dps8_eis.c static void load9x(cpu_state_t * cpup, int n, EISaddr *addr, int pos) pos 9335 src/dps8/dps8_eis.c if (pos > 3) // overflows to next word? pos 9337 src/dps8/dps8_eis.c pos = 0; // reset to 1st byte pos 9347 src/dps8/dps8_eis.c x = or_128 (x, construct_128 (0, GETBYTE (data, pos))); pos 9349 src/dps8/dps8_eis.c x |= GETBYTE(data, pos); // fetch byte at position pos and 'or' it in pos 9352 src/dps8/dps8_eis.c pos += 1; // onto next position pos 9677 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 9689 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9692 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9696 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9712 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 9715 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) res[i]); pos 9729 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9732 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9737 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, pos 9767 src/dps8/dps8_eis.c pos 9786 src/dps8/dps8_eis.c pos 9788 src/dps8/dps8_eis.c pos 9801 src/dps8/dps8_eis.c pos 9804 src/dps8/dps8_eis.c pos 9834 src/dps8/dps8_eis.c pos 9855 src/dps8/dps8_eis.c pos 9905 src/dps8/dps8_eis.c pos 9948 src/dps8/dps8_eis.c pos 9959 src/dps8/dps8_eis.c pos 10122 src/dps8/dps8_eis.c int pos = (int)e->CN2; pos 10129 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); pos 10131 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) (x >> shift )& 0777); pos 10357 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 10370 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10373 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10377 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10393 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[j] - '0')); pos 10396 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[j]); pos 10410 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10413 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10417 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 10429 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 10432 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 10748 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 10761 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10764 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10768 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10784 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 10787 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 10801 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10804 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 10808 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 10820 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 10824 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11069 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11082 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11085 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11089 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11105 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11108 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11122 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11125 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11129 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11141 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11145 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11408 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11421 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11424 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11428 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11444 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11447 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11461 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11464 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11468 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11480 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11484 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 11687 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 11700 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11703 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11707 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11723 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 11726 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 11740 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11743 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 11747 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 11759 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 11763 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 12000 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 12014 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12017 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12021 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12037 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 12040 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 12054 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12057 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 12061 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 12073 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 12076 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 13153 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 13166 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13169 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13173 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13189 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 13192 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 13206 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13209 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13213 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 13225 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 13228 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xff); // write 8-bit exponent pos 13600 src/dps8/dps8_eis.c int pos = (int) dstCN; pos 13613 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13616 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13620 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13636 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); pos 13639 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); pos 13653 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13656 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, pos 13660 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, (op3->exponent >> 4) & 0xf); // upper 4-bits pos 13672 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, op3->exponent & 0xf); // lower 4-bits pos 13675 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 131 src/simh/linehistory.c size_t pos; /* Current cursor position. */ pos 468 src/simh/linehistory.c ls->len = ls->pos = strlen(lc.cvec[i]); pos 472 src/simh/linehistory.c ls->pos = saved.pos; pos 504 src/simh/linehistory.c ls->len = ls->pos = nwritten; pos 705 src/simh/linehistory.c size_t pos = l->pos; pos 708 src/simh/linehistory.c while (( plen + pos ) >= l->cols) pos 712 src/simh/linehistory.c pos--; pos 748 src/simh/linehistory.c (void)snprintf(seq, sizeof ( seq ), "\r\x1b[%dC", (int)( pos + plen )); pos 836 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) pos 849 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; pos 859 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; pos 871 src/simh/linehistory.c l->oldpos = l->pos; pos 909 src/simh/linehistory.c if (l->len == l->pos) pos 911 src/simh/linehistory.c l->buf[l->pos] = c; pos 912 src/simh/linehistory.c l->pos++; pos 935 src/simh/linehistory.c memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos); pos 936 src/simh/linehistory.c l->buf[l->pos] = c; pos 938 src/simh/linehistory.c l->pos++; pos 951 src/simh/linehistory.c if (l->pos > 0) pos 953 src/simh/linehistory.c l->pos--; pos 962 src/simh/linehistory.c if (l->pos != l->len) pos 964 src/simh/linehistory.c l->pos++; pos 973 src/simh/linehistory.c if (l->len == 0 || l->pos >= l->len) pos 978 src/simh/linehistory.c if (l->buf[l->pos] == ' ') pos 980 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] == ' ') pos 982 src/simh/linehistory.c ++l->pos; pos 986 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] != ' ') pos 988 src/simh/linehistory.c ++l->pos; pos 1002 src/simh/linehistory.c if (l->buf[l->pos - 1] == ' ') pos 1004 src/simh/linehistory.c --l->pos; pos 1007 src/simh/linehistory.c if (l->buf[l->pos] == ' ') pos 1009 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos] == ' ') pos 1011 src/simh/linehistory.c --l->pos; pos 1015 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') pos 1017 src/simh/linehistory.c --l->pos; pos 1026 src/simh/linehistory.c if (l->pos != 0) pos 1028 src/simh/linehistory.c l->pos = 0; pos 1037 src/simh/linehistory.c if (l->pos != l->len) pos 1039 src/simh/linehistory.c l->pos = l->len; pos 1090 src/simh/linehistory.c l->len = l->pos = strlen(l->buf); pos 1139 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) pos 1167 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) pos 1196 src/simh/linehistory.c if (l->len > 0 && l->pos < l->len) pos 1198 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1); pos 1209 src/simh/linehistory.c if (l->pos > 0 && l->len > 0) pos 1211 src/simh/linehistory.c memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos); pos 1212 src/simh/linehistory.c l->pos--; pos 1227 src/simh/linehistory.c size_t old_pos = l->pos; pos 1230 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] == ' ') pos 1232 src/simh/linehistory.c l->pos--; pos 1234 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') pos 1236 src/simh/linehistory.c l->pos--; pos 1238 src/simh/linehistory.c diff = old_pos - l->pos; pos 1239 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1); pos 1248 src/simh/linehistory.c size_t next_word_end = l->pos; pos 1258 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end); pos 1259 src/simh/linehistory.c l->len -= next_word_end - l->pos; pos 1291 src/simh/linehistory.c l.oldpos = l.pos = 0; pos 1519 src/simh/linehistory.c l.pos = l.len = 0; pos 1524 src/simh/linehistory.c buf[l.pos] = '\0'; pos 1525 src/simh/linehistory.c l.len = l.pos; pos 6073 src/simh/scp.c uptr->pos = 0; pos 6365 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 872 src/simh/sim_disk.c uptr->pos = 0; pos 1182 src/simh/sim_disk.c char pos[32]; pos 1184 src/simh/sim_disk.c (void)sprintf (pos, "lbn: %08X ", (unsigned int)lba); pos 1185 src/simh/sim_disk.c sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason); pos 208 src/simh/sim_fio.c t_offset pos, sz; pos 212 src/simh/sim_fio.c pos = sim_ftell (fp); pos 216 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])