word9 319 src/dps8/dps8.h # define GETBYTE(src, pos) (word9)(((word36)src >> (word36)((3 - pos) * 9)) & 0777) word9 1507 src/dps8/dps8_console.c word9 4311 src/dps8/dps8_cpu.c void add_dps8m_DU_OU_history (cpu_state_t * cpup, word36 flags, word18 ICT, word9 RS_REG, word9 flags2) word9 4320 src/dps8/dps8_cpu.c void add_dps8m_APU_history (cpu_state_t * cpup, word15 ESN, word21 flags, word24 RMA, word3 RTRR, word9 flags2) word9 185 src/dps8/dps8_cpu.h word9 BASE; // Contains the 9 high-order bits of an 18-bit address word9 188 src/dps8/dps8_cpu.h word9 BOUND; // Contains the 9 high-order bits of the unrelocated word9 444 src/dps8/dps8_cpu.h word9 OPCODE; // 0 OPCODE 18 - 26 word9 603 src/dps8/dps8_cpu.h word9 editInsertionTable [8]; // 8 9-bit chars word9 608 src/dps8/dps8_cpu.h word9 inBuffer [64]; // decimal unit input buffer word9 609 src/dps8/dps8_cpu.h word9 *in; // pointer to current read position in inBuffer word9 611 src/dps8/dps8_cpu.h word9 outBuffer [64]; // output buffer word9 612 src/dps8/dps8_cpu.h word9 *out; // pointer to current write position in outBuffer; word9 777 src/dps8/dps8_cpu.h word9 cycle; word9 782 src/dps8/dps8_cpu.h word9 RS; word9 2445 src/dps8/dps8_cpu.h void add_dps8m_DUOU_history (word36 flags, word18 ICT, word9 RS_REG, word9 flags2); word9 2446 src/dps8/dps8_cpu.h void add_dps8m_APU_history (word15 ESN, word21 flags, word24 RMA, word3 RTRR, word9 flags2); word9 97 src/dps8/dps8_decimal.c decNumber * decBCD9ToNumber(const word9 *bcd, Int length, const Int scale, decNumber *dn) word9 99 src/dps8/dps8_decimal.c const word9 *last=bcd+length-1; // -> last byte word9 100 src/dps8/dps8_decimal.c const word9 *first; // -> first non-zero byte word9 45 src/dps8/dps8_decimal.h decNumber * decBCD9ToNumber(const word9 *bcd, Int length, const Int scale, decNumber *dn); word9 1156 src/dps8/dps8_disk.c for (word9 dev_num = 0; dev_num < N_DEV_CODES; dev_num ++) word9 1163 src/dps8/dps8_disk.c word9 dau_type = (word9) diskTypes[dsk_states[dsk_unit_idx].typeIdx].dau_type; word9 192 src/dps8/dps8_eis.c static word9 get9(word36 w, int pos) word9 291 src/dps8/dps8_eis.c static word36 put9 (word36 w, int pos, word9 c) word9 905 src/dps8/dps8_eis.c static word9 EISget469 (cpu_state_t * cpup, int k, uint i) word9 939 src/dps8/dps8_eis.c word9 c = 0; word9 947 src/dps8/dps8_eis.c c = (word9) get4 (data, (int) residue); word9 951 src/dps8/dps8_eis.c c = (word9) get6 (data, (int) residue); word9 967 src/dps8/dps8_eis.c static void EISput469 (cpu_state_t * cpup, int k, uint i, word9 c469) word9 1028 src/dps8/dps8_eis.c static word9 EISget49 (cpu_state_t * cpup, EISaddr * p, int * pos, int tn) word9 1050 src/dps8/dps8_eis.c word9 c = 0; word9 3064 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); word9 3074 src/dps8/dps8_eis.c word9 c1 = EISget469 (cpup, 1, cpu.du.CHTALLY); // get Y-char1n word9 3075 src/dps8/dps8_eis.c word9 c2 = EISget469 (cpup, 2, cpu.du.CHTALLY); // get Y-char2n word9 3091 src/dps8/dps8_eis.c word9 c1 = fill; // use fill for Y-char1n word9 3092 src/dps8/dps8_eis.c word9 c2 = EISget469 (cpup, 2, cpu.du.CHTALLY); // get Y-char2n word9 3108 src/dps8/dps8_eis.c word9 c1 = EISget469 (cpup, 1, cpu.du.CHTALLY); // get Y-char1n word9 3109 src/dps8/dps8_eis.c word9 c2 = fill; // use fill for Y-char2n word9 3207 src/dps8/dps8_eis.c word9 c1 = 0; word9 3208 src/dps8/dps8_eis.c word9 c2 = 0; word9 3281 src/dps8/dps8_eis.c word9 yCharn11; word9 3282 src/dps8/dps8_eis.c word9 yCharn12; word9 3390 src/dps8/dps8_eis.c word9 c1 = 0; word9 3391 src/dps8/dps8_eis.c word9 c2 = 0; word9 3461 src/dps8/dps8_eis.c word9 yCharn11; word9 3462 src/dps8/dps8_eis.c word9 yCharn12; word9 3592 src/dps8/dps8_eis.c word9 ctest = 0; word9 3642 src/dps8/dps8_eis.c word9 yCharn1 = EISget469 (cpup, 1, cpu.du.CHTALLY); word9 3643 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; word9 3764 src/dps8/dps8_eis.c word9 ctest = 0; word9 3813 src/dps8/dps8_eis.c word9 yCharn1 = EISget469 (cpup, 1, limit - cpu.du.CHTALLY - 1); word9 3814 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; word9 3840 src/dps8/dps8_eis.c word9 3846 src/dps8/dps8_eis.c word9 3860 src/dps8/dps8_eis.c static word9 xlate (cpu_state_t * cpup, EISaddr * xlatTbl, uint dstTA, uint c) word9 3866 src/dps8/dps8_eis.c word9 cout = GETBYTE (entry, pos9); word9 4028 src/dps8/dps8_eis.c word9 c = EISget469 (cpup, 1, cpu.du.CHTALLY); // get src char word9 4045 src/dps8/dps8_eis.c word9 cout = xlate (cpup, &e->ADDR2, CTA9, m); word9 4224 src/dps8/dps8_eis.c word9 c = EISget469 (cpup, 1, limit - cpu.du.CHTALLY - 1); // get src char word9 4241 src/dps8/dps8_eis.c word9 cout = xlate (cpup, &e->ADDR2, CTA9, m); word9 4279 src/dps8/dps8_eis.c word9 4284 src/dps8/dps8_eis.c word9 4420 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); word9 4421 src/dps8/dps8_eis.c word9 fillT = fill; // possibly truncated fill pattern word9 4640 src/dps8/dps8_eis.c word9 c = EISget469 (cpup, 1, cpu.du.CHTALLY); // get src char word9 4641 src/dps8/dps8_eis.c word9 cout = 0; word9 4822 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); word9 4823 src/dps8/dps8_eis.c word9 fillT = fill; // possibly truncated fill pattern word9 4940 src/dps8/dps8_eis.c word9 c = EISget469 (cpup, 1, e -> N1 - cpu.du.CHTALLY - 1); // get src char word9 4941 src/dps8/dps8_eis.c word9 cout = 0; word9 5063 src/dps8/dps8_eis.c word9 *p = e->inBuffer; // p points to position in inBuffer where 4-bit chars are stored word9 5081 src/dps8/dps8_eis.c word9 c = EISget49(cpup, a, &pos, TN); word9 5209 src/dps8/dps8_eis.c for (word9 *q = e->inBuffer; q < p; q ++) word9 5226 src/dps8/dps8_eis.c word9 * p = e -> inBuffer; word9 5239 src/dps8/dps8_eis.c word9 c = EISget469 (cpup, k, n); word9 5250 src/dps8/dps8_eis.c word9 c49 = e -> outBuffer [n]; word9 5255 src/dps8/dps8_eis.c static void writeToOutputBuffer (cpu_state_t *cpup, word9 **dstAddr, int szSrc, int szDst, word9 c49) word9 5386 src/dps8/dps8_eis.c word9 entry = EISget49(cpup, &e->ADDR2, &e->mopPos, CTN9); // get mop table entries word9 5388 src/dps8/dps8_eis.c word9 entry = EISget49(cpup, e->mopAddress, &e->mopPos, CTN9); // get mop table entries word9 5545 src/dps8/dps8_eis.c word9 c = EISget49(cpup, &e->ADDR2, &e->mopPos, CTN9); word9 5547 src/dps8/dps8_eis.c word9 c = EISget49(cpup, e->mopAddress, &e->mopPos, CTN9); word9 5584 src/dps8/dps8_eis.c word9 5586 src/dps8/dps8_eis.c word9 5876 src/dps8/dps8_eis.c word9 next = EISget49(cpup, &e->ADDR2, &e->mopPos, CTN9); word9 5878 src/dps8/dps8_eis.c word9 next = EISget49(cpup, e->mopAddress, &e->mopPos, CTN9); word9 5956 src/dps8/dps8_eis.c word9 c = *(e->in); word9 6052 src/dps8/dps8_eis.c word9 c = *(e->in); word9 6169 src/dps8/dps8_eis.c word9 c = (*e->in | (!e->mopSN ? e->editInsertionTable[2] : e->editInsertionTable[3])); word9 6278 src/dps8/dps8_eis.c word9 c = *(e->in); word9 6324 src/dps8/dps8_eis.c word9 c = *e->in; word9 6390 src/dps8/dps8_eis.c word9 c = *e->in; word9 6544 src/dps8/dps8_eis.c word9 mop9 = (word9) get9 (p -> data, e -> mopPos); // get 9-bit mop word9 6582 src/dps8/dps8_eis.c word9 *p9 = e->editInsertionTable; // re-initialize edit insertion table word9 6584 src/dps8/dps8_eis.c while((*p9++ = (word9) (*q++))) word9 7231 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); word9 7232 src/dps8/dps8_eis.c word9 fillT = fill; // possibly truncated fill pattern word9 7254 src/dps8/dps8_eis.c word9 c = EISget469(cpup, 1, cpu.du.CHTALLY); // get src char word9 7270 src/dps8/dps8_eis.c word9 cout = xlate(cpup, &e->ADDR3, dstTA, (uint) cidx); word9 7317 src/dps8/dps8_eis.c word9 cfill = xlate(cpup, &e->ADDR3, dstTA, fillT); word9 7594 src/dps8/dps8_eis.c static void EISwrite9(cpu_state_t *cpup, EISaddr *p, int *pos, word9 char9) word9 7641 src/dps8/dps8_eis.c static void EISwrite49(cpu_state_t * cpup, EISaddr *p, int *pos, int tn, word9 c49) word9 7880 src/dps8/dps8_eis.c (word9) (res[i] - '0')); word9 7883 src/dps8/dps8_eis.c EISwrite49 (cpup, & e->ADDR2, & pos, (int) dstTN, (word9) res[i]); word9 9111 src/dps8/dps8_eis.c word9 9161 src/dps8/dps8_eis.c word9 9375 src/dps8/dps8_eis.c word9 9448 src/dps8/dps8_eis.c word9 9723 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 9726 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR2, &pos, (int) dstTN, (word9) res[i]); word9 9965 src/dps8/dps8_eis.c word9 10140 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); word9 10142 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) (x >> shift )& 0777); word9 10404 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[j] - '0')); word9 10407 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[j]); word9 10795 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 10798 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 11116 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 11119 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 11455 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 11458 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 11734 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 11737 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 12048 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 12051 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 13025 src/dps8/dps8_eis.c word9 inBufferop1 [64]; word9 13200 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 13203 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 13451 src/dps8/dps8_eis.c word9 inBufferop1 [64]; word9 13647 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) (res[i] - '0')); word9 13650 src/dps8/dps8_eis.c EISwrite49(cpup, &e->ADDR3, &pos, (int) dstTN, (word9) res[i]); word9 517 src/dps8/dps8_fnp2.c l_putbits36_9 (& data, 9, (word9) n_chars); // n_chars word9 164 src/dps8/dps8_fnp2.h word9 lineType; word9 212 src/dps8/dps8_fnp2_iomcmd.c linep->lineType = (word9) getbits36_18 (command_data[0], 0); word9 300 src/dps8/dps8_fnp2_iomcmd.c word9 c1 = getbits36_9 (command_data[0], 27); word9 302 src/dps8/dps8_fnp2_iomcmd.c word9 c3 = getbits36_9 (command_data[1], 9); word9 323 src/dps8/dps8_fnp2_iomcmd.c word9 c1 = getbits36_9 (command_data[0], 27); word9 325 src/dps8/dps8_fnp2_iomcmd.c word9 c3 = getbits36_9 (command_data[1], 9); word9 430 src/dps8/dps8_hw_consts.h # define GET_OP(x) ((word9) (((x) >> INST_V_OP) & INST_M_OP )) word9 2393 src/dps8/dps8_ins.c PNL (cpu.ou.RS = (word9) i->opcode); word9 628 src/dps8/dps8_iom.c word9 configSwMultiplexBaseAddress; word9 1187 src/dps8/dps8_iom.c p -> configSwMultiplexBaseAddress = (word9) v; word9 2653 src/dps8/dps8_iom.c putbits36_9 (& faultWord, 9, (word9) chan); word9 375 src/dps8/dps8_prt.c static word9 gc (word36 * b, uint os) word9 379 src/dps8/dps8_prt.c return (word9) getbits36_9 (b[wordno], charno * 9); word9 402 src/dps8/dps8_prt.c word9 ch = gc (b, 2 + i); word9 414 src/dps8/dps8_prt.c word9 ch = gc (b, 9 + i); word9 485 src/dps8/dps8_prt.c word9 ch = getbits36_9 (buffer[0], 18); word9 1664 src/dps8/dps8_scu.c word9 mask = ((maskab ? regq : rega) >> 27) & 0777; word9 1962 src/dps8/dps8_scu.c word9 maskab [2]; word9 418 src/dps8/dps8_socket_dev.c word9 cnt = getbits36_9 (buffer [0], 27); word9 427 src/dps8/dps8_socket_dev.c word9 447 src/dps8/dps8_socket_dev.c word9 ch = getbits36_9 (buffer[wordno], offset); word9 1217 src/dps8/dps8_socket_dev.c putbits36_9 (& buffer [5 + wordno], charno * 9, (word9) netdata [n]); word9 913 src/dps8/dps8_utils.c void putByte(word36 *dst, word9 data, int posn) word9 56 src/dps8/dps8_utils.h void putByte(word36 *dst, word9 data, int posn); word9 216 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) word9 410 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) word9 594 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val)