word36 23 src/dps8/doAppendCycleABSA.h word24 doAppendCycleABSA (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleAPUDataRMW.h word24 doAppendCycleAPUDataRMW (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleAPUDataRead.h word24 doAppendCycleAPUDataRead (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleAPUDataStore.h word24 doAppendCycleAPUDataStore (word36 * data, uint nWords) { word36 57 src/dps8/doAppendCycleIndirectWordFetch.h word24 doAppendCycleIndirectWordFetch (word36 * data, uint nWords) { word36 65 src/dps8/doAppendCycleInstructionFetch.h word24 doAppendCycleInstructionFetch (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleOperandRMW.h word24 doAppendCycleOperandRMW (word36 * data, uint nWords) { word36 61 src/dps8/doAppendCycleOperandRead.h word24 doAppendCycleOperandRead (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleOperandStore.h word24 doAppendCycleOperandStore (word36 * data, uint nWords) { word36 21 src/dps8/doAppendCycleRTCDOperandFetch.h word24 doAppendCycleRTCDOperandFetch (word36 * data, uint nWords) { word36 220 src/dps8/dps8.h typedef word36 float36; // single precision float word36 274 src/dps8/dps8.h # define GETCHAR(src, pos) (word6)(((word36)src >> (word36)((5 - pos) * 6)) & 077) word36 276 src/dps8/dps8.h # define GETBYTE(src, pos) (word9)(((word36)src >> (word36)((3 - pos) * 9)) & 0777) word36 323 src/dps8/dps8_addrmods.c word36 * wb; word36 846 src/dps8/dps8_addrmods.c word36 indword; word36 1006 src/dps8/dps8_addrmods.c word36 indword_new; word36 1075 src/dps8/dps8_addrmods.c word36 indword; word36 1102 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1103 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | word36 1142 src/dps8/dps8_addrmods.c word36 indword; word36 1170 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1171 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | word36 1213 src/dps8/dps8_addrmods.c word36 indword; word36 1237 src/dps8/dps8_addrmods.c indword = (word36) (((word36) cpu.TPR.CA << 18) | word36 1238 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 1281 src/dps8/dps8_addrmods.c word36 indword; word36 1308 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1309 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 1364 src/dps8/dps8_addrmods.c word36 indword; word36 1392 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1393 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | idwtag); word36 1476 src/dps8/dps8_addrmods.c word36 indword; word36 1502 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1503 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 171 src/dps8/dps8_append.c void do_ldbr (word36 * Ypair) word36 260 src/dps8/dps8_append.c word36 PTWx1; word36 299 src/dps8/dps8_append.c word36 PTWx1; word36 430 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 494 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 773 src/dps8/dps8_append.c word36 PTWx2; word36 932 src/dps8/dps8_append.c word36 PTWx2; word36 967 src/dps8/dps8_append.c word36 PTWx2n; word36 1066 src/dps8/dps8_append.c word24 do_append_cycle (processor_cycle_type thisCycle, word36 * data, uint nWords) { word36 1196 src/dps8/dps8_append.c word24 do_append_cycle (processor_cycle_type thisCycle, word36 * data, word36 2251 src/dps8/dps8_append.c word36 PTWx1; word36 2271 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 2299 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 2350 src/dps8/dps8_append.c word36 PTWx2; word36 128 src/dps8/dps8_append.h word24 do_append_cycle (processor_cycle_type thisCycle, word36 * data, uint nWords); word36 130 src/dps8/dps8_append.h word24 doAppendCycleUnknown (word36 * data, uint nWords); word36 131 src/dps8/dps8_append.h word24 doAppendCycleOperandStore (word36 * data, uint nWords); word36 132 src/dps8/dps8_append.h word24 doAppendCycleOperandRead (word36 * data, uint nWords); word36 133 src/dps8/dps8_append.h word24 doAppendCycleIndirectWordFetch (word36 * data, uint nWords); word36 134 src/dps8/dps8_append.h word24 doAppendCycleRTCDOperandFetch (word36 * data, uint nWords); word36 135 src/dps8/dps8_append.h word24 doAppendCycleInstructionFetch (word36 * data, uint nWords); word36 136 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRead (word36 * data, uint nWords); word36 137 src/dps8/dps8_append.h word24 doAppendCycleAPUDataStore (word36 * data, uint nWords); word36 138 src/dps8/dps8_append.h word24 doAppendCycleABSA (word36 * data, uint nWords); word36 140 src/dps8/dps8_append.h word24 doAppendCycleOperandRMW (word36 * data, uint nWords); word36 141 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRMW (word36 * data, uint nWords); word36 159 src/dps8/dps8_append.h void do_ldbr (word36 * Ypair); word36 160 src/dps8/dps8_append.h void do_sdbr (word36 * Ypair); word36 161 src/dps8/dps8_append.h void do_camp (word36 Y); word36 162 src/dps8/dps8_append.h void do_cams (word36 Y); word36 727 src/dps8/dps8_console.c word36 buf[n_words + 1]; word36 729 src/dps8/dps8_console.c memset (buf, 0, sizeof (word36) * (n_words + 1)); word36 730 src/dps8/dps8_console.c word36 * bufp = buf; word36 1489 src/dps8/dps8_console.c word36 buf[tally]; word36 1526 src/dps8/dps8_console.c word36 * bufp = buf; word36 1537 src/dps8/dps8_console.c word36 datum = * bufp ++; word36 1542 src/dps8/dps8_console.c word36 narrow_char = datum >> 30; // slide leftmost char word36 1584 src/dps8/dps8_console.c word36 wide_char = datum >> 27; // slide leftmost char word36 507 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = (word36) v; word36 516 src/dps8/dps8_cpu.c word36 d = 0123000000000; word36 3176 src/dps8/dps8_cpu.c word36 tmpIRODD = cpu.scu_data[7]; word36 3545 src/dps8/dps8_cpu.c int core_read (word24 addr, word36 *data, const char * ctx) word36 3569 src/dps8/dps8_cpu.c word36 v; word36 3589 src/dps8/dps8_cpu.c int core_read_lock (word24 addr, word36 *data, UNUSED const char * ctx) word36 3601 src/dps8/dps8_cpu.c word36 v; word36 3610 src/dps8/dps8_cpu.c int core_write (word24 addr, word36 data, const char * ctx) word36 3656 src/dps8/dps8_cpu.c int core_write_unlock (word24 addr, word36 data, UNUSED const char * ctx) word36 3690 src/dps8/dps8_cpu.c int core_write_zone (word24 addr, word36 data, const char * ctx) word36 3709 src/dps8/dps8_cpu.c word36 v; word36 3738 src/dps8/dps8_cpu.c int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx) word36 3743 src/dps8/dps8_cpu.c word36 v; word36 3832 src/dps8/dps8_cpu.c int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx) { word36 3909 src/dps8/dps8_cpu.c void decode_instruction (word36 inst, DCDstruct * p) word36 4106 src/dps8/dps8_cpu.c static void add_history (uint hset, word36 w0, word36 w1) word36 4116 src/dps8/dps8_cpu.c void add_history_force (uint hset, word36 w0, word36 w1) word36 4134 src/dps8/dps8_cpu.c word36 flags = 0; // XXX fill out word36 4137 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4147 src/dps8/dps8_cpu.c void add_dps8m_DU_OU_history (word36 flags, word18 ICT, word9 RS_REG, word9 flags2) word36 4149 src/dps8/dps8_cpu.c word36 w0 = flags, w1 = 0; word36 4158 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4169 src/dps8/dps8_cpu.c word36 w0 = 0; word36 4225 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4341 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4450 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4631 src/dps8/dps8_cpu.c word36 rsw2 = 0; word36 438 src/dps8/dps8_cpu.h word36 r; word36 487 src/dps8/dps8_cpu.h word36 data; word36 530 src/dps8/dps8_cpu.h word36 cachedParagraph [paragraphSz]; word36 538 src/dps8/dps8_cpu.h word36 op [3]; // raw operand descriptors word36 710 src/dps8/dps8_cpu.h word36 data_switches; word36 768 src/dps8/dps8_cpu.h word36 directOperand; word36 772 src/dps8/dps8_cpu.h word36 character_data; word36 1030 src/dps8/dps8_cpu.h word36 IWB; word36 1033 src/dps8/dps8_cpu.h word36 IRODD; /* Instr holding register; odd word of last pair fetched */ word36 1487 src/dps8/dps8_cpu.h word36 image [8]; word36 1550 src/dps8/dps8_cpu.h word36 rA; // accumulator word36 1551 src/dps8/dps8_cpu.h word36 rQ; // quotient word36 1558 src/dps8/dps8_cpu.h word36 zone; word36 1562 src/dps8/dps8_cpu.h word36 CY; // C(Y) operand data from memory word36 1570 src/dps8/dps8_cpu.h word36 faultRegister [2]; word36 1572 src/dps8/dps8_cpu.h word36 itxPair [2]; word36 1588 src/dps8/dps8_cpu.h word36 Ypair[2]; // 2-words word36 1589 src/dps8/dps8_cpu.h word36 Yblock8[8]; // 8-words word36 1590 src/dps8/dps8_cpu.h word36 Yblock16[16]; // 16-words word36 1591 src/dps8/dps8_cpu.h word36 Yblock32[32]; // 32-words word36 1593 src/dps8/dps8_cpu.h word36 scu_data[8]; // For SCU instruction word36 1609 src/dps8/dps8_cpu.h word36 history [N_HIST_SETS] [N_MAX_HIST_SIZE] [2]; word36 1860 src/dps8/dps8_cpu.h word36 portAddr [N_CPU_PORTS]; word36 1861 src/dps8/dps8_cpu.h word36 portData [N_CPU_PORTS]; word36 1863 src/dps8/dps8_cpu.h word36 IWRAddr; word36 1981 src/dps8/dps8_cpu.h static inline void trackport (word24 a, word36 d) word36 1998 src/dps8/dps8_cpu.h static inline int core_read (word24 addr, word36 *data, \ word36 2011 src/dps8/dps8_cpu.h static inline int core_write (word24 addr, word36 data, \ word36 2037 src/dps8/dps8_cpu.h static inline int core_write_zone (word24 addr, word36 data, \ word36 2064 src/dps8/dps8_cpu.h static inline int core_read2 (word24 addr, word36 *even, word36 *odd, word36 2078 src/dps8/dps8_cpu.h static inline int core_write2 (word24 addr, word36 even, word36 odd, word36 2105 src/dps8/dps8_cpu.h int core_read (word24 addr, word36 *data, const char * ctx); word36 2106 src/dps8/dps8_cpu.h int core_write (word24 addr, word36 data, const char * ctx); word36 2107 src/dps8/dps8_cpu.h int core_write_zone (word24 addr, word36 data, const char * ctx); word36 2108 src/dps8/dps8_cpu.h int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx); word36 2109 src/dps8/dps8_cpu.h int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx); word36 2173 src/dps8/dps8_cpu.h int core_read_lock (word24 addr, word36 *data, const char * ctx); word36 2174 src/dps8/dps8_cpu.h int core_write_unlock (word24 addr, word36 data, const char * ctx); word36 2341 src/dps8/dps8_cpu.h static inline void core_readN (word24 addr, word36 * data, uint n, word36 2351 src/dps8/dps8_cpu.h static inline void core_writeN (word24 addr, word36 * data, uint n, word36 2368 src/dps8/dps8_cpu.h void decode_instruction (word36 inst, DCDstruct * p); word36 2377 src/dps8/dps8_cpu.h void add_dps8m_DUOU_history (word36 flags, word18 ICT, word9 RS_REG, word9 flags2); word36 2384 src/dps8/dps8_cpu.h void add_history_force (uint hset, word36 w0, word36 w1); word36 234 src/dps8/dps8_crdpun.c word36 card_data[WORDS_PER_CARD]; word36 288 src/dps8/dps8_crdpun.c static word36 eodCard [WORDS_PER_CARD] = word36 332 src/dps8/dps8_crdpun.c static word36 bannerCard [WORDS_PER_CARD] = word36 544 src/dps8/dps8_crdpun.c static char get_lace_char(word36* buffer, uint char_pos) word36 588 src/dps8/dps8_crdpun.c static void scan_card_for_glyphs(pun_state_t * state, word36* buffer) word36 636 src/dps8/dps8_crdpun.c static void write_punch_files (pun_state_t * state, word36* in_buffer, int word_count, word36 696 src/dps8/dps8_crdpun.c static void log_card(word12 tally, word36 * buffer) word36 830 src/dps8/dps8_crdpun.c static void save_card_in_cache(pun_state_t * state, word12 tally, word36 * card_buffer) word36 847 src/dps8/dps8_crdpun.c memcpy(&new_entry -> card_data, card_buffer, sizeof(word36) * tally); word36 884 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 898 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 912 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 959 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 971 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 983 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 1021 src/dps8/dps8_crdpun.c static void parse_card(pun_state_t * state, word12 tally, word36 * card_buffer) word36 1165 src/dps8/dps8_crdpun.c word36 buffer [p -> DDCW_TALLY]; word36 682 src/dps8/dps8_crdrdr.c word36 buffer [27]; word36 59 src/dps8/dps8_dia.c static inline void fnp_core_read (word24 addr, word36 *data, UNUSED const char * ctx) word36 334 src/dps8/dps8_dia.c word36 word1; // dn355_no; is_hsla; la_no; slot_no word36 335 src/dps8/dps8_dia.c word36 word2; // cmd_data_len; op_code; io_cmd word36 336 src/dps8/dps8_dia.c word36 command_data [3]; word36 337 src/dps8/dps8_dia.c word36 word6; // data_addr, word_cnt; word36 338 src/dps8/dps8_dia.c word36 pad3 [2]; word36 344 src/dps8/dps8_dia.c word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 345 src/dps8/dps8_dia.c word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 346 src/dps8/dps8_dia.c word36 mystery [26]; // word2... word36 351 src/dps8/dps8_dia.c word36 dia_pcw; word36 352 src/dps8/dps8_dia.c word36 mailbox_requests; word36 353 src/dps8/dps8_dia.c word36 term_inpt_mpx_wd; word36 354 src/dps8/dps8_dia.c word36 last_mbx_req_count; word36 355 src/dps8/dps8_dia.c word36 num_in_use; word36 356 src/dps8/dps8_dia.c word36 mbx_used_flags; word36 357 src/dps8/dps8_dia.c word36 crash_data [2]; word36 362 src/dps8/dps8_dia.c #define MAILBOX_WORDS (sizeof (struct mailbox) / sizeof (word36)) word36 363 src/dps8/dps8_dia.c #define TERM_INPT_MPX_WD (offsetof (struct mailbox, term_inpt_mpx_wd) / sizeof (word36)) word36 380 src/dps8/dps8_dia.c static inline void fnp_core_write (word24 addr, word36 data, UNUSED const char * ctx) word36 400 src/dps8/dps8_dia.c word36 ptw; word36 446 src/dps8/dps8_dia.c word36 dia_pcw = mbxp -> dia_pcw; word36 523 src/dps8/dps8_dia.c word36 dia_pcw; word36 630 src/dps8/dps8_dia.c word36 bootloadStatus = 0; word36 655 src/dps8/dps8_dia.c word36 tcw; word36 52 src/dps8/dps8_dia.h word36 53 src/dps8/dps8_dia.h word36 54 src/dps8/dps8_dia.h word36 55 src/dps8/dps8_dia.h word36 56 src/dps8/dps8_dia.h word36 717 src/dps8/dps8_disk.c word36 seekData; word36 768 src/dps8/dps8_disk.c word36 seekData; word36 811 src/dps8/dps8_disk.c word36 seekData; word36 924 src/dps8/dps8_disk.c word36 buffer[tally]; word36 927 src/dps8/dps8_disk.c word36 w; word36 993 src/dps8/dps8_disk.c word36 buffer[tally]; word36 1045 src/dps8/dps8_disk.c word36 buffer[tally]; word36 1151 src/dps8/dps8_disk.c word36 buffer[tally]; word36 133 src/dps8/dps8_eis.c static word4 get4 (word36 w, int pos) word36 167 src/dps8/dps8_eis.c static word4 get6 (word36 w, int pos) word36 195 src/dps8/dps8_eis.c static word9 get9(word36 w, int pos) word36 218 src/dps8/dps8_eis.c static word36 put4 (word36 w, int pos, word4 c) word36 262 src/dps8/dps8_eis.c static word36 put6 (word36 w, int pos, word6 c) word36 296 src/dps8/dps8_eis.c static word36 put9 (word36 w, int pos, word9 c) word36 327 src/dps8/dps8_eis.c static word36 getCrAR (word4 reg) word36 483 src/dps8/dps8_eis.c static word36 getMFReg36 (uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) word36 689 src/dps8/dps8_eis.c static void EISWriteIdx (EISaddr *p, uint n, word36 data, bool flush) word36 727 src/dps8/dps8_eis.c static word36 EISReadIdx (EISaddr * p, uint n) word36 757 src/dps8/dps8_eis.c static word36 EISRead (EISaddr * p) word36 771 src/dps8/dps8_eis.c word36 787 src/dps8/dps8_eis.c static void EISReadPage (EISaddr * p, uint n, word36 * data) word36 849 src/dps8/dps8_eis.c static void EISWritePage (EISaddr * p, uint n, word36 * data) word36 943 src/dps8/dps8_eis.c word36 data = EISRead (& e -> addr [k - 1]); // read it from memory word36 1005 src/dps8/dps8_eis.c word36 data = EISRead (& e -> addr [k - 1]); // read it from memory word36 1007 src/dps8/dps8_eis.c word36 w = 0; word36 1188 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1347 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1472 src/dps8/dps8_eis.c word36 r = getMFReg36 (MFk & 017, allowDU, true, mod_fault); // allow du based on instruction, allow n,ic word36 1601 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1607 src/dps8/dps8_eis.c word36 r = getMFReg36 (yREG, false, true, mod_fault); // disallow du, allow n,ic word36 1660 src/dps8/dps8_eis.c word36 opDesc = e->op[k-1]; word36 1721 src/dps8/dps8_eis.c word36 r = getMFReg36(MFk & 017, false, true, mod_fault); // disallow du, allow n, ic word36 1787 src/dps8/dps8_eis.c effCHAR = ((word36) CN + (word36) ARn_CHAR + r) % 4u; word36 1835 src/dps8/dps8_eis.c word36 opDesc = e->op[k-1]; word36 1877 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "bitstring k %d RL reg %u val %"PRIo64"\n", k, reg, (word36)e->N[k-1]); word36 1896 src/dps8/dps8_eis.c word36 r = getMFReg36(MFk & 017, false, true, mod_fault); // disallow du, allow n,ic word36 1968 src/dps8/dps8_eis.c word36 ur = getCrAR (reg); word36 2047 src/dps8/dps8_eis.c word36 ur = getCrAR (reg); word36 2094 src/dps8/dps8_eis.c word36 rcnt = getCrAR (reg); word36 2766 src/dps8/dps8_eis.c word36 rcnt = getCrAR (reg); word36 3265 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3451 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3617 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3788 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3804 src/dps8/dps8_eis.c word36 3807 src/dps8/dps8_eis.c word36 3827 src/dps8/dps8_eis.c word36 entry = EISReadIdx(xlatTbl, idx); word36 3976 src/dps8/dps8_eis.c word36 3982 src/dps8/dps8_eis.c word36 CY3 = 0; word36 4171 src/dps8/dps8_eis.c word36 4177 src/dps8/dps8_eis.c word36 CY3 = 0; word36 4476 src/dps8/dps8_eis.c word36 pg [PGSZ]; word36 4514 src/dps8/dps8_eis.c word36 pg [PGSZ]; word36 4517 src/dps8/dps8_eis.c word36 w = (word36) fill | ((word36) fill << 9) | ((word36) fill << 18) | ((word36) fill << 27); word36 4557 src/dps8/dps8_eis.c word36 w = EISReadIdx (& e -> ADDR1, n); word36 4584 src/dps8/dps8_eis.c word36 w = (word36) fill | ((word36) fill << 9) | ((word36) fill << 18) | ((word36) fill << 27); word36 4853 src/dps8/dps8_eis.c word36 w = EISReadIdx (& e -> ADDR1, n); word36 4880 src/dps8/dps8_eis.c word36 w = (word36) fill | word36 4881 src/dps8/dps8_eis.c ((word36) fill << 9) | word36 4882 src/dps8/dps8_eis.c ((word36) fill << 18) | word36 4883 src/dps8/dps8_eis.c ((word36) fill << 27); word36 7148 src/dps8/dps8_eis.c word36 7467 src/dps8/dps8_eis.c word36 w; word36 7530 src/dps8/dps8_eis.c word36 w; word36 8987 src/dps8/dps8_eis.c word36 9053 src/dps8/dps8_eis.c word36 9272 src/dps8/dps8_eis.c word36 data = EISRead(addr); word36 10021 src/dps8/dps8_eis.c word36 308 src/dps8/dps8_fnp2.c word36 data; word36 415 src/dps8/dps8_fnp2.c word36 data = 0; word36 445 src/dps8/dps8_fnp2.c word36 data = 0; word36 464 src/dps8/dps8_fnp2.c word36 data = 0; word36 483 src/dps8/dps8_fnp2.c word36 data = 0; word36 506 src/dps8/dps8_fnp2.c word36 data = 0; word36 544 src/dps8/dps8_fnp2.c word36 v = 0; word36 587 src/dps8/dps8_fnp2.c word36 data = 0; word36 612 src/dps8/dps8_fnp2.c word36 data = 0; word36 652 src/dps8/dps8_fnp2.c word36 data = 0; word36 671 src/dps8/dps8_fnp2.c word36 data = 0; word36 691 src/dps8/dps8_fnp2.c word36 data = 0; word36 712 src/dps8/dps8_fnp2.c word36 data = 0; word36 776 src/dps8/dps8_fnp2.c word36 data = 0; word36 168 src/dps8/dps8_fnp2.h word36 lineStatus0, lineStatus1; word36 256 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no word36 257 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd word36 258 src/dps8/dps8_fnp2.h word36 command_data [3]; word36 259 src/dps8/dps8_fnp2.h word36 word6; // data_addr, word_cnt; word36 260 src/dps8/dps8_fnp2.h word36 pad3 [2]; word36 266 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 267 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 268 src/dps8/dps8_fnp2.h word36 mystery [26]; // word2... word36 273 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 274 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 275 src/dps8/dps8_fnp2.h word36 n_buffers; word36 276 src/dps8/dps8_fnp2.h word36 dcws [24]; word36 277 src/dps8/dps8_fnp2.h word36 command_data; word36 282 src/dps8/dps8_fnp2.h word36 dia_pcw; word36 283 src/dps8/dps8_fnp2.h word36 mailbox_requests; word36 284 src/dps8/dps8_fnp2.h word36 term_inpt_mpx_wd; word36 285 src/dps8/dps8_fnp2.h word36 last_mbx_req_count; word36 286 src/dps8/dps8_fnp2.h word36 num_in_use; word36 287 src/dps8/dps8_fnp2.h word36 mbx_used_flags; word36 288 src/dps8/dps8_fnp2.h word36 crash_data [2]; word36 293 src/dps8/dps8_fnp2.h #define MAILBOX_WORDS (sizeof (struct mailbox) / sizeof (word36)) word36 295 src/dps8/dps8_fnp2.h #define DIA_PCW (offsetof (struct mailbox, dia_pcw) / sizeof (word36)) word36 296 src/dps8/dps8_fnp2.h #define TERM_INPT_MPX_WD (offsetof (struct mailbox, term_inpt_mpx_wd) / sizeof (word36)) word36 297 src/dps8/dps8_fnp2.h #define CRASH_DATA (offsetof (struct mailbox, crash_data) / sizeof (word36)) word36 298 src/dps8/dps8_fnp2.h #define DN355_SUB_MBXES (offsetof (struct mailbox, dn355_sub_mbxes) / sizeof (word36)) word36 299 src/dps8/dps8_fnp2.h #define FNP_SUB_MBXES (offsetof (struct mailbox, fnp_sub_mbxes) / sizeof (word36)) word36 301 src/dps8/dps8_fnp2.h #define FNP_SUB_MBX_SIZE (sizeof (struct fnp_submailbox) / sizeof (word36)) word36 302 src/dps8/dps8_fnp2.h #define DN355_SUB_MBX_SIZE (sizeof (struct dn355_submailbox) / sizeof (word36)) word36 60 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) word36 74 src/dps8/dps8_fnp2_iomcmd.c static inline void l_putbits36_1 (vol word36 * x, uint p, word1 val) word36 82 src/dps8/dps8_fnp2_iomcmd.c word36 mask = ~ (~0U<<n); // n low bits on word36 83 src/dps8/dps8_fnp2_iomcmd.c word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 87 src/dps8/dps8_fnp2_iomcmd.c * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 119 src/dps8/dps8_fnp2_iomcmd.c fnp_core_read_n (mailboxAddress, (word36 *) & mbx, MAILBOX_WORDS, "dmpmbx"); word36 169 src/dps8/dps8_fnp2_iomcmd.c word36 command_data[3]; word36 454 src/dps8/dps8_fnp2_iomcmd.c word36 word6; word36 476 src/dps8/dps8_fnp2_iomcmd.c word36 echoTable [echoTableLen]; word36 501 src/dps8/dps8_fnp2_iomcmd.c word36 w = echoTable [i]; word36 612 src/dps8/dps8_fnp2_iomcmd.c word36 suspendStr = command_data[0]; word36 624 src/dps8/dps8_fnp2_iomcmd.c word36 resumeStr = command_data[1]; word36 645 src/dps8/dps8_fnp2_iomcmd.c word36 suspendStr = command_data[0]; word36 657 src/dps8/dps8_fnp2_iomcmd.c word36 resumeStr = command_data[1]; word36 963 src/dps8/dps8_fnp2_iomcmd.c word36 dia_request_q_len; //-V779 word36 965 src/dps8/dps8_fnp2_iomcmd.c word36 dia_rql_updates; //-V779 word36 967 src/dps8/dps8_fnp2_iomcmd.c word36 pending_status; //-V779 word36 969 src/dps8/dps8_fnp2_iomcmd.c word36 pending_status_updates; //-V779 word36 972 src/dps8/dps8_fnp2_iomcmd.c word36 output_overlaps___parity_errors; //-V779 word36 975 src/dps8/dps8_fnp2_iomcmd.c word36 software_status_overflows___hardware_status_overflows; //-V779 word36 978 src/dps8/dps8_fnp2_iomcmd.c word36 input_alloc_failures___dia_current_q_len; //-V779 word36 980 src/dps8/dps8_fnp2_iomcmd.c word36 exhaust; //-V779 word36 983 src/dps8/dps8_fnp2_iomcmd.c word36 software_xte___sync_or_async; //-V779 word36 986 src/dps8/dps8_fnp2_iomcmd.c word36 sync_or_async; //-V779 word36 1006 src/dps8/dps8_fnp2_iomcmd.c word36 pre_exhaust; //-V779 word36 1008 src/dps8/dps8_fnp2_iomcmd.c word36 echo_buf_overflow; //-V779 word36 1011 src/dps8/dps8_fnp2_iomcmd.c word36 bell_quits___pad; //-V779 word36 1013 src/dps8/dps8_fnp2_iomcmd.c word36 pad; //-V779 word36 1127 src/dps8/dps8_fnp2_iomcmd.c word36 word = 0; word36 1200 src/dps8/dps8_fnp2_iomcmd.c word36 data; word36 1211 src/dps8/dps8_fnp2_iomcmd.c word36 dcw; word36 1265 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1269 src/dps8/dps8_fnp2_iomcmd.c word36 n_buffers; word36 1280 src/dps8/dps8_fnp2_iomcmd.c word36 data; word36 1302 src/dps8/dps8_fnp2_iomcmd.c word36 v = 0; word36 1322 src/dps8/dps8_fnp2_iomcmd.c word36 v; word36 1349 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1355 src/dps8/dps8_fnp2_iomcmd.c word36 word1; word36 1428 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1434 src/dps8/dps8_fnp2_iomcmd.c word36 word1; word36 1617 src/dps8/dps8_fnp2_iomcmd.c word36 dia_pcw; word36 1724 src/dps8/dps8_fnp2_iomcmd.c word36 word; word36 1747 src/dps8/dps8_fnp2_iomcmd.c word36 dia_pcw; word36 1854 src/dps8/dps8_fnp2_iomcmd.c word36 bootloadStatus = 0; word36 1878 src/dps8/dps8_fnp2_iomcmd.c word36 dcw; word36 1892 src/dps8/dps8_fnp2_iomcmd.c word36 1899 src/dps8/dps8_fnp2_iomcmd.c word36 1906 src/dps8/dps8_fnp2_iomcmd.c word36 194 src/dps8/dps8_hw_consts.h # define SETHI36(a,b) (((a) &= MASKLO18), ((a) |= ((((word36)(b) & MASKLO18) << 18)))) word36 195 src/dps8/dps8_hw_consts.h # define SETLO36(a,b) (((a) &= MASKHI18), ((a) |= ((word36)(b) & MASKLO18))) word36 201 src/dps8/dps8_hw_consts.h # define GETHI72(a) ((word36) (((a) >> 36) & MASK36)) word36 202 src/dps8/dps8_hw_consts.h # define GETLO72(a) ((word36) ((a) & MASK36)) word36 278 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT36_64 (word36 w) word36 287 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT18_64 (word36 w) word36 296 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT21_64 (word36 w) word36 305 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT22_64 (word36 w) word36 314 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT24_64 (word36 w) word36 349 src/dps8/dps8_hw_consts.h static inline int128 SIGNEXT36_128 (word36 w) word36 382 src/dps8/dps8_hw_consts.h static inline word72 SIGNEXT36_72 (word36 w) word36 832 src/dps8/dps8_hw_consts.h word36 bits; word36 54 src/dps8/dps8_iefp.c void Read (word18 address, word36 * result, processor_cycle_type cyctyp) word36 158 src/dps8/dps8_iefp.c void ReadAPUDataRead (word18 address, word36 * result) { word36 220 src/dps8/dps8_iefp.c void ReadOperandRead (word18 address, word36 * result) { word36 284 src/dps8/dps8_iefp.c void ReadOperandRMW (word18 address, word36 * result) { word36 346 src/dps8/dps8_iefp.c void ReadAPUDataRMW (word18 address, word36 * result) { word36 410 src/dps8/dps8_iefp.c void ReadInstructionFetch (word18 address, word36 * result) { word36 472 src/dps8/dps8_iefp.c void ReadIndirectWordFetch (word18 address, word36 * result) { word36 536 src/dps8/dps8_iefp.c void Read2 (word18 address, word36 * result, processor_cycle_type cyctyp) { word36 622 src/dps8/dps8_iefp.c void Read2OperandRead (word18 address, word36 * result) { word36 704 src/dps8/dps8_iefp.c void Read2OperandRMW (word18 address, word36 * result) { word36 782 src/dps8/dps8_iefp.c void Read2InstructionFetch (word18 address, word36 * result) { word36 859 src/dps8/dps8_iefp.c void Read2RTCDOperandFetch (word18 address, word36 * result) { word36 894 src/dps8/dps8_iefp.c void Read2IndirectWordFetch (word18 address, word36 * result) { word36 972 src/dps8/dps8_iefp.c void Read8 (word18 address, word36 * result, bool isAR) word36 1083 src/dps8/dps8_iefp.c void Read16 (word18 address, word36 * result) word36 1091 src/dps8/dps8_iefp.c void ReadPage (word18 address, word36 * result, bool isAR) word36 1209 src/dps8/dps8_iefp.c void Write (word18 address, word36 data, processor_cycle_type cyctyp) { word36 1277 src/dps8/dps8_iefp.c void WriteAPUDataStore (word18 address, word36 data) { word36 1337 src/dps8/dps8_iefp.c void WriteOperandStore (word18 address, word36 data) { word36 1405 src/dps8/dps8_iefp.c void Write2 (word18 address, word36 * data, processor_cycle_type cyctyp) word36 1493 src/dps8/dps8_iefp.c void Write2OperandStore (word18 address, word36 * data) { word36 1557 src/dps8/dps8_iefp.c void Write1 (word18 address, word36 data, bool isAR) word36 1638 src/dps8/dps8_iefp.c void Write8 (word18 address, word36 * data, bool isAR) word36 1745 src/dps8/dps8_iefp.c void Write16 (word18 address, word36 * data) word36 1752 src/dps8/dps8_iefp.c void Write32 (word18 address, word36 * data) word36 1763 src/dps8/dps8_iefp.c void WritePage (word18 address, word36 * data, bool isAR) word36 24 src/dps8/dps8_iefp.h void Read (word18 addr, word36 *dat, processor_cycle_type cyctyp); word36 25 src/dps8/dps8_iefp.h void Read2 (word18 addr, word36 *dat, processor_cycle_type cyctyp); word36 26 src/dps8/dps8_iefp.h void Write (word18 addr, word36 dat, processor_cycle_type cyctyp); word36 27 src/dps8/dps8_iefp.h void Write2 (word18 address, word36 * data, processor_cycle_type cyctyp); word36 50 src/dps8/dps8_iefp.h void ReadAPUDataRead (word18 addr, word36 *dat); word36 51 src/dps8/dps8_iefp.h void ReadOperandRead (word18 addr, word36 *dat); word36 53 src/dps8/dps8_iefp.h void ReadOperandRMW (word18 addr, word36 *dat); word36 54 src/dps8/dps8_iefp.h void ReadAPUDataRMW (word18 addr, word36 *dat); word36 59 src/dps8/dps8_iefp.h void ReadInstructionFetch (word18 addr, word36 *dat); word36 60 src/dps8/dps8_iefp.h void ReadIndirectWordFetch (word18 address, word36 * result); word36 61 src/dps8/dps8_iefp.h void Read2OperandRead (word18 address, word36 * result); word36 63 src/dps8/dps8_iefp.h void Read2OperandRMW (word18 address, word36 * result); word36 65 src/dps8/dps8_iefp.h void Read2InstructionFetch (word18 address, word36 * result); word36 66 src/dps8/dps8_iefp.h void Read2RTCDOperandFetch (word18 address, word36 * result); word36 67 src/dps8/dps8_iefp.h void Read2IndirectWordFetch (word18 address, word36 * result); word36 68 src/dps8/dps8_iefp.h void WriteAPUDataStore (word18 addr, word36 dat); word36 69 src/dps8/dps8_iefp.h void WriteOperandStore (word18 addr, word36 dat); word36 70 src/dps8/dps8_iefp.h void Write2OperandStore (word18 address, word36 * data); word36 72 src/dps8/dps8_iefp.h void Write1 (word18 address, word36 data, bool isAR); word36 73 src/dps8/dps8_iefp.h void Write8 (word18 address, word36 * data, bool isAR); word36 74 src/dps8/dps8_iefp.h void Write16 (word18 address, word36 * data); word36 75 src/dps8/dps8_iefp.h void Write32 (word18 address, word36 * data); word36 76 src/dps8/dps8_iefp.h void Read8 (word18 address, word36 * result, bool isAR); word36 77 src/dps8/dps8_iefp.h void Read16 (word18 address, word36 * result); word36 78 src/dps8/dps8_iefp.h void WritePage (word18 address, word36 * data, bool isAR); word36 79 src/dps8/dps8_iefp.h void ReadPage (word18 address, word36 * result, bool isAR); word36 64 src/dps8/dps8_ins.c static int doABSA (word36 * result); word36 116 src/dps8/dps8_ins.c word36 tmpdata; word36 305 src/dps8/dps8_ins.c static void dump_words (word36 * words) word36 319 src/dps8/dps8_ins.c static void scu2words (word36 *words) word36 475 src/dps8/dps8_ins.c word36 should_be[8]; word36 476 src/dps8/dps8_ins.c word36 was[8]; word36 529 src/dps8/dps8_ins.c if (memcmp (words, rewrite_table[i].was, 8*sizeof (word36)) == 0) word36 531 src/dps8/dps8_ins.c memcpy (words, rewrite_table[i].should_be, 8*sizeof (word36)); word36 573 src/dps8/dps8_ins.c static void words2scu (word36 * words) word36 695 src/dps8/dps8_ins.c static void du2words (word36 * words) word36 764 src/dps8/dps8_ins.c static void words2du (word36 * words) word36 1119 src/dps8/dps8_ins.c word36 tmp[2]; word36 1140 src/dps8/dps8_ins.c word36 tmp[2]; word36 2675 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; word36 2676 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; word36 2678 src/dps8/dps8_ins.c cpu.Ypair[1] = (word36) cpu.PR[n].WORDNO << 18; word36 2679 src/dps8/dps8_ins.c cpu.Ypair[1] |= (word36) GET_PR_BITNO (n) << 9; word36 2978 src/dps8/dps8_ins.c word36 trZ = cpu.rA & cpu.CY; word36 3073 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 3075 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; word36 3129 src/dps8/dps8_ins.c cpu.CY = ((word36) cpu.rX[n]) << 18; word36 3298 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; word36 3299 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; word36 3352 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.TPR.TSR & MASK15) << 18; word36 3358 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; word36 3374 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 3375 src/dps8/dps8_ins.c word36 tmpSign = cpu.rQ & SIGN36; word36 3693 src/dps8/dps8_ins.c cpu.Yblock8[6] = ((word36)(cpu.rE & MASK8)) << 28; word36 3799 src/dps8/dps8_ins.c cpu.CY = ((word36) ((cpu.PPR.IC + 2) & MASK18)) << 18; word36 3936 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 3965 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4015 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4055 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4056 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; word36 4093 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4125 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4161 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4189 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4213 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4894 src/dps8/dps8_ins.c cpu.rQ = ((word36) (- (word36s) cpu.rQ)) & MASK36; word36 4972 src/dps8/dps8_ins.c cpu.rA = (word36) remainder & DMASK; word36 4973 src/dps8/dps8_ins.c cpu.rQ = (word36) quotient & DMASK; word36 5029 src/dps8/dps8_ins.c cpu.rA = (word36) (- (word36s) cpu.rA); word36 5133 src/dps8/dps8_ins.c word36 Z = ~cpu.rQ & (cpu.rA ^ cpu.CY); word36 5615 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & cpu.CY; word36 5659 src/dps8/dps8_ins.c word36 trZ = cpu.rA & ~cpu.CY; word36 5699 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & ~cpu.CY; word36 5771 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36)cpu.rE << 28) | word36 5792 src/dps8/dps8_ins.c cpu.CY = ((word36)cpu.rE << 28) | (((cpu.rA >> 8) & 01777777777LL)); word36 6110 src/dps8/dps8_ins.c cpu.CY = ((word36) (cpu.rE & 0377)) << 28; word36 6649 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].SNR) << 18; word36 6650 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].RNR) << 15; word36 6652 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] = (word36) cpu.PR[n].WORDNO << 18; word36 6653 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] |= (word36) GET_PR_BITNO(n) << 9; word36 6692 src/dps8/dps8_ins.c cpu.CY = ((word36) (GET_PR_BITNO(n) & 077)) << 30; word36 6694 src/dps8/dps8_ins.c cpu.CY |= ((word36) (cpu.PR[n].SNR & 07777)) << 18; word36 6986 src/dps8/dps8_ins.c cpu.CY = (word36)cpu.rRALR; word36 6996 src/dps8/dps8_ins.c cpu.CY = ((((word36) cpu.BAR.BASE) << 9) | cpu.BAR.BOUND) << 18; word36 7012 src/dps8/dps8_ins.c word36 tmp1 = cpu.rA & SIGN36; // A0 word36 7013 src/dps8/dps8_ins.c word36 tmp36 = (cpu.rA << 3) & DMASK; word36 7014 src/dps8/dps8_ins.c word36 tmp36q = tmp36 / cpu.CY; // this may be more than 4 bits, keep it for remainder calculation word36 7015 src/dps8/dps8_ins.c word36 tmp36r = 0; word36 7054 src/dps8/dps8_ins.c word36 tmp = cpu.rA & MASK36; word36 7055 src/dps8/dps8_ins.c word36 mask = SIGN36; word36 7464 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36) (cpu.DSBR.ADDR & PAMASK)) << (35 - 23); word36 7471 src/dps8/dps8_ins.c cpu.Ypair[1] = ((word36) (cpu.DSBR.BND & 037777)) << (71 - 50) | word36 7472 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.U & 1)) << (71 - 55) | word36 7473 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.STACK & 07777)) << (71 - 71); word36 7865 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [0] & 07LL) word36 7867 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [0] & 01LL) word36 7869 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [0] & 01LL) word36 7871 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] ? 1LL:0LL) word36 7873 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [0] & 07LL) word36 7876 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [1] & 07LL) word36 7878 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [1] & 01LL) word36 7880 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [1] & 01LL) word36 7882 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] ? 1LL:0LL) word36 7884 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [1] & 07LL) word36 7887 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [2] & 07LL) word36 7889 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [2] & 01LL) word36 7891 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [2] & 01LL) word36 7893 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] ? 1LL:0LL) word36 7895 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [2] & 07LL) word36 7898 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [3] & 07LL) word36 7900 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [3] & 01LL) word36 7902 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [3] & 01LL) word36 7904 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] ? 1LL:0LL) word36 7906 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [3] & 07LL) word36 7979 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[0] == 2 ? word36 7981 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[1] == 2 ? word36 7983 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[2] == 2 ? word36 7985 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[3] == 2 ? word36 7995 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) /* 0b01 DPS8M */ word36 7997 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.FLT_BASE & 0177LL) word36 7999 src/dps8/dps8_ins.c DPS8M_ (cpu.rA |= (word36) ((01L) /* 0b1 ID_PROM installed */ word36 8016 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) // 0b1 L68/DPS option: DPS word36 8022 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.enable_cache ? 1 : 0) word36 8027 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode) /* 0b1 DPS8M */ word36 8029 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode & 1U) word36 8037 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.options.proc_speed & 017LL) word36 8048 src/dps8/dps8_ins.c cpu.rA |= (word36) ((016L) // 0b1110 CPU ID word36 8051 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.cpu_num & 07LL) word36 8088 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [4] & 07LL) word36 8090 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [4] & 01LL) word36 8092 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [4] & 01LL) word36 8094 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] ? 1LL:0LL) word36 8096 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [4] & 07LL) word36 8099 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [5] & 07LL) word36 8101 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [5] & 01LL) word36 8103 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [5] & 01LL) word36 8105 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] ? 1LL:0LL) word36 8107 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [5] & 07LL) word36 8110 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [6] & 07LL) word36 8112 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [6] & 01LL) word36 8114 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [6] & 01LL) word36 8116 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] ? 1LL:0LL) word36 8118 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [6] & 07LL) word36 8121 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [7] & 07LL) word36 8123 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [7] & 01LL) word36 8125 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [7] & 01LL) word36 8127 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] ? 1LL:0LL) word36 8129 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [7] & 07LL) word36 8150 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] == 2 ? word36 8152 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] == 2 ? word36 8154 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] == 2 ? word36 8156 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] == 2 ? word36 8159 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] == 2 ? word36 8161 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] == 2 ? word36 8163 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] == 2 ? word36 8165 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] == 2 ? word36 8317 src/dps8/dps8_ins.c word36 result; word36 8612 src/dps8/dps8_ins.c word36 tmp36 = cpu.Yblock8[n]; word36 8865 src/dps8/dps8_ins.c word36 arx = 0; word36 9138 src/dps8/dps8_ins.c word36 op = M[i->address]; word36 9316 src/dps8/dps8_ins.c word36 9321 src/dps8/dps8_ins.c word36 9331 src/dps8/dps8_ins.c word36 9398 src/dps8/dps8_ins.c static int doABSA (word36 * result) word36 9400 src/dps8/dps8_ins.c word36 res; word36 9407 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format word36 9418 src/dps8/dps8_ins.c res = (word36) doAppendCycleABSA (NULL, 0) << 12; word36 812 src/dps8/dps8_iom.c void iom_core_read (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) word36 816 src/dps8/dps8_iom.c word36 v; word36 825 src/dps8/dps8_iom.c void iom_core_read2 (UNUSED uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx) word36 829 src/dps8/dps8_iom.c word36 v; word36 844 src/dps8/dps8_iom.c void iom_core_write (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) word36 856 src/dps8/dps8_iom.c void iom_core_write2 (UNUSED uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx) word36 874 src/dps8/dps8_iom.c void iom_core_read_lock (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) word36 879 src/dps8/dps8_iom.c word36 v; word36 888 src/dps8/dps8_iom.c void iom_core_write_unlock (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) word36 1404 src/dps8/dps8_iom.c word36 pi_base = (((word36) iom_unit_data[iom_unit_idx].configSwMultiplexBaseAddress) << 3) | word36 1405 src/dps8/dps8_iom.c (((word36) (iom_unit_data[iom_unit_idx].configSwIomBaseAddress & 07700U)) << 6) ; word36 1406 src/dps8/dps8_iom.c word3 iom_num = ((word36) iom_unit_data[iom_unit_idx].configSwMultiplexBaseAddress) & 3; word36 1407 src/dps8/dps8_iom.c word36 cmd = 5; // 6 bits; 05 for tape, 01 for cards word36 1408 src/dps8/dps8_iom.c word36 dev = 0; // 6 bits: drive number word36 1411 src/dps8/dps8_iom.c word36 imu = iom_unit_data[iom_unit_idx].config_sw_model == CONFIG_SW_MODEL_IMU ? 1 : 0; // 1 bit word36 1434 src/dps8/dps8_iom.c word36 dis0 = 0616200; word36 1460 src/dps8/dps8_iom.c M[base_addr + 7] = ((word36) base_addr << 18) | 02000002; word36 1492 src/dps8/dps8_iom.c M[mbx + 2] = ((word36)base_addr << 18); word36 1526 src/dps8/dps8_iom.c M[1] = ((word36) (bootchan) << 27) | port; word36 1531 src/dps8/dps8_iom.c M[2] = ((word36) base_addr << 18) | (pi_base) | iom_num; word36 1722 src/dps8/dps8_iom.c word36 word1, word2; word36 1758 src/dps8/dps8_iom.c word36 scw; word36 1869 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, pgte, (word36 *) & p -> PTW_DCW, __func__); word36 1907 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, pgte, (word36 *) & p -> PTW_DCW, __func__); word36 1943 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> PTW_LPW, __func__); word36 1952 src/dps8/dps8_iom.c void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word36 1994 src/dps8/dps8_iom.c void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, uint * cnt, bool write) { word36 2206 src/dps8/dps8_iom.c void dumpDCW (word36 DCW, word1 LPW_23_REL) { word36 2353 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, chanLoc + IOM_MBX_LPW, (word36 *) & p -> LPW, __func__); word36 2374 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, chanLoc + IOM_MBX_LPWX, (word36 *) & p -> LPWX, __func__); word36 2451 src/dps8/dps8_iom.c putbits36_3 ((word36 *) & p -> DCW, 18, p -> DCW_18_20_CP); word36 2457 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPW, 0, p -> LPW_DCW_PTR); word36 2458 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 18, p -> LPW_18_RES); word36 2459 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 19, p -> LPW_19_REL); word36 2460 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 20, p -> LPW_20_AE); word36 2461 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 21, p -> LPW_21_NC); word36 2462 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 22, p -> LPW_22_TAL); word36 2463 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 23, p -> LPW_23_REL); word36 2464 src/dps8/dps8_iom.c putbits36_12 ((word36 *) & p-> LPW, 24, p -> LPW_TALLY); word36 2465 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPWX, 0, p -> LPWX_BOUND); word36 2466 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPWX, 18, p -> LPWX_SIZE); word36 2473 src/dps8/dps8_iom.c iom_core_read2 (iom_unit_idx, p -> LPW_DCW_PTR, (word36 *) & p -> PCW0, (word36 *) & p -> PCW1, __func__); word36 2499 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> DCW, __func__); word36 2509 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> DCW, __func__); word36 2528 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr_, (word36 *) & p -> DCW, __func__); word36 2586 src/dps8/dps8_iom.c word36 imw; word36 2633 src/dps8/dps8_iom.c word36 faultWord = 0; word36 2641 src/dps8/dps8_iom.c word36 lpw; word36 2644 src/dps8/dps8_iom.c word36 scw; word36 2647 src/dps8/dps8_iom.c word36 dcw; word36 2735 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 2790 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 2814 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 3061 src/dps8/dps8_iom.c word36 PCW_DCW = p->DCW; word36 3413 src/dps8/dps8_iom.c word36 lpw; word36 3416 src/dps8/dps8_iom.c word36 scw; word36 3419 src/dps8/dps8_iom.c word36 dcw; word36 3422 src/dps8/dps8_iom.c word36 status = 0400000000000; word36 3423 src/dps8/dps8_iom.c status |= (((word36) chan) & MASK6) << 27; word36 3424 src/dps8/dps8_iom.c status |= (((word36) devCode) & MASK8) << 18; word36 3425 src/dps8/dps8_iom.c status |= (((word36) status0) & MASK8) << 9; word36 3426 src/dps8/dps8_iom.c status |= (((word36) status1) & MASK8) << 0; word36 120 src/dps8/dps8_iom.h word36 LPW; word36 132 src/dps8/dps8_iom.h word36 LPWX; word36 144 src/dps8/dps8_iom.h word36 PCW0, PCW1; word36 156 src/dps8/dps8_iom.h word36 DCW; word36 236 src/dps8/dps8_iom.h word36 PTW_DCW; // pg B8. word36 237 src/dps8/dps8_iom.h word36 PTW_LPW; // pg B6. word36 406 src/dps8/dps8_iom.h void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word36 408 src/dps8/dps8_iom.h void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, word36 419 src/dps8/dps8_iom.h void iom_core_read (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word36 420 src/dps8/dps8_iom.h void iom_core_read2 (uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx); word36 421 src/dps8/dps8_iom.h void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word36 422 src/dps8/dps8_iom.h void iom_core_write2 (uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx); word36 423 src/dps8/dps8_iom.h void iom_core_read_lock (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word36 424 src/dps8/dps8_iom.h void iom_core_write_unlock (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word36 433 src/dps8/dps8_iom.h void dumpDCW (word36 DCW, word1 LPW_23_REL); word36 345 src/dps8/dps8_math.c word36 397 src/dps8/dps8_math.c word36 711 src/dps8/dps8_math.c void fno (word8 * E, word36 * A, word36 * Q) { word36 716 src/dps8/dps8_math.c void fno_ext (int * e0, word8 * E, word36 * A, word36 * Q) { word36 972 src/dps8/dps8_math.c word36 1599 src/dps8/dps8_math.c void fstr (word36 *Y) word36 1608 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; word36 1942 src/dps8/dps8_math.c word36 1952 src/dps8/dps8_math.c word36 1954 src/dps8/dps8_math.c word36 2308 src/dps8/dps8_math.c sim_debug (DBG_TRACEEXT, & cpu_dev, "dufm e1 %d %03o m1 %012"PRIo64" %012"PRIo64"\n", e1, e1, (word36) (m1 >> 36) & MASK36, (word36) m1 & MASK36); word36 2323 src/dps8/dps8_math.c sim_debug (DBG_TRACEEXT, & cpu_dev, "dufm e2 %d %03o m2 %012"PRIo64" %012"PRIo64"\n", e2, e2, (word36) (m2 >> 36) & MASK36, (word36) m2 & MASK36); word36 2853 src/dps8/dps8_math.c word36 quot = 0; word36 2869 src/dps8/dps8_math.c word36 remainder = sn; word36 3203 src/dps8/dps8_math.c void dfstr (word36 *Ypair) word36 3227 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; word36 3243 src/dps8/dps8_math.c Ypair[0] = ((word36) E & MASK8) << 28; word36 3288 src/dps8/dps8_math.c Ypair[0] = (((word36)E & MASK8) << 28) | ((A & 0777777777400LL) >> 8); word36 34 src/dps8/dps8_math.h void fno (word8 * E, word36 * A, word36 * Q); word36 35 src/dps8/dps8_math.h void fno_ext (int * e0, word8 * E, word36 * A, word36 * Q); word36 57 src/dps8/dps8_math.h void dfstr (word36 *Ypair); word36 58 src/dps8/dps8_math.h void fstr(word36 *CY); word36 76 src/dps8/dps8_mgp.c static void dumppkt(char *hdr, word36 *buf, uint words); word36 77 src/dps8/dps8_mgp.c static int handle_mgp_packet(word36 *buf, uint words); word36 78 src/dps8/dps8_mgp.c static int poll_from_cbridge(word36 *buf, uint words, uint probe_only); word36 487 src/dps8/dps8_mgp.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 550 src/dps8/dps8_mgp.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 674 src/dps8/dps8_mgp.c word36 buffer[128]; word36 841 src/dps8/dps8_mgp.c copy_packet9_to_cbridge8(word36 *buf, uint words, u_char *dest, int dlen) word36 856 src/dps8/dps8_mgp.c copy_cbridge8_to_packet9(u_char *src, int slen, word36 *buf, uint words) word36 869 src/dps8/dps8_mgp.c mgp_checksum_raw(word36 *buf, uint words) word36 915 src/dps8/dps8_mgp.c parse_packet_header(word36 *buf, uint words) word36 990 src/dps8/dps8_mgp.c unparse_packet_header(struct mgp_packet_header *p, word36 *buf, uint words) word36 1030 src/dps8/dps8_mgp.c dumppkt(char *hdr, word36 *buf, uint words) word36 1381 src/dps8/dps8_mgp.c handle_packet(int opcode, struct mgp_packet_header *p, word36 *buf, word36 1404 src/dps8/dps8_mgp.c handle_close(struct mgp_packet_header *p, word36 *buf, uint words) word36 1412 src/dps8/dps8_mgp.c word36 eof[1]; word36 1419 src/dps8/dps8_mgp.c handle_lose(int conni, struct mgp_packet_header *p, word36 *buf, uint words) word36 1430 src/dps8/dps8_mgp.c handle_connect(struct mgp_packet_header *p, word36 *buf, uint words) word36 1552 src/dps8/dps8_mgp.c handle_mgp_packet(word36 *buf, uint words) word36 1756 src/dps8/dps8_mgp.c make_mgp_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, word36 1781 src/dps8/dps8_mgp.c make_status_packet(int conni, word36 *buf, uint words) word36 1804 src/dps8/dps8_mgp.c make_noop_packet(word36 *buf, uint words) word36 1827 src/dps8/dps8_mgp.c make_open_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, word36 1860 src/dps8/dps8_mgp.c make_connect_packet(u_char *pkt, uint pklen, word36 *buf, uint words, word36 1907 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf, word36 1964 src/dps8/dps8_mgp.c poll_from_cbridge(word36 *buf, uint words, uint probe_only) word36 27 src/dps8/dps8_mp.h word36 inst; word36 29 src/dps8/dps8_mp.h word36 A, Q, E, X [8], IR, TR, RALR; word36 1072 src/dps8/dps8_mt.c word36 buffer [tally]; word36 1123 src/dps8/dps8_mt.c word36 control; word36 1189 src/dps8/dps8_mt.c word36 buf [tally]; word36 1191 src/dps8/dps8_mt.c memset (buf, 0, sizeof (word36) * tally); word36 1222 src/dps8/dps8_mt.c word36 control; word36 1262 src/dps8/dps8_mt.c word36 buffer [tally]; word36 1410 src/dps8/dps8_mt.c word36 buffer [bufsz]; word36 1441 src/dps8/dps8_mt.c buffer [cnt / 2] = ((word36) handler) << 18; word36 378 src/dps8/dps8_prt.c static word9 gc (word36 * b, uint os) word36 394 src/dps8/dps8_prt.c static int parseID (word36 * b, uint tally, char * qno, char * name) word36 433 src/dps8/dps8_prt.c static int openPrtFile (int prt_unit_num, word36 * buffer, uint tally) word36 480 src/dps8/dps8_prt.c static int eoj (word36 * buffer, uint tally) word36 574 src/dps8/dps8_prt.c word36 619 src/dps8/dps8_prt.c static int print_buf (int prt_unit_num, bool isBCD, bool is_edited, int slew, word36 * buffer, uint tally) word36 983 src/dps8/dps8_prt.c word36 buffer[tally]; word36 1069 src/dps8/dps8_prt.c word36 buffer[tally]; word36 1492 src/dps8/dps8_scu.c uint UNUSED cpu_port_num, word36 rega) word36 1587 src/dps8/dps8_scu.c word36 rega, word36 regq) word36 1827 src/dps8/dps8_scu.c word36 b16_51 = cpu.rQ; word36 1859 src/dps8/dps8_scu.c word36 * rega, word36 * regq) word36 1986 src/dps8/dps8_scu.c word36 a, q; word36 2468 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, word36 2469 src/dps8/dps8_scu.c word36 * regq) word36 2564 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) word36 98 src/dps8/dps8_scu.h word36 rega, word36 regq); word36 99 src/dps8/dps8_scu.h t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_idx, uint cpu_port_num, word36 rega); word36 100 src/dps8/dps8_scu.h t_stat scu_rscr (uint scu_unit_idx, uint cpu_unit_idx, word18 addr, word36 * rega, word36 * regq); word36 102 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); word36 103 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq); word36 291 src/dps8/dps8_socket_dev.c static void set_error_str (word36 * error_str, const char * str) word36 315 src/dps8/dps8_socket_dev.c static void set_error (word36 * error_str, int _errno) word36 333 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) word36 400 src/dps8/dps8_socket_dev.c buffer[3] = ((word36) ((word36s) fd)) & MASK36; // fd word36 405 src/dps8/dps8_socket_dev.c static void skt_gethostbyname (word36 * buffer) word36 466 src/dps8/dps8_socket_dev.c buffer[65] = ((word36) addr) << 4; word36 488 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) word36 553 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) word36 616 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc word36 620 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) word36 646 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) word36 690 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) rc)) & MASK36; // rc word36 694 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) word36 728 src/dps8/dps8_socket_dev.c static int skt_write8 (uint iom_unit_idx, uint chan, uint unit_idx, word6 dev_code, uint tally, word36 * buffer) word36 768 src/dps8/dps8_socket_dev.c word36 count36 = buffer[1]; word36 796 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc word36 883 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 908 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 941 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 967 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 993 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 1023 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 1048 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 1077 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 1164 src/dps8/dps8_socket_dev.c word36 buffer [7]; word36 1166 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].accept_fd)) & MASK36; word36 1167 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) fd)) & MASK36; word36 1168 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) from.sin_family)) & MASK36; word36 1172 src/dps8/dps8_socket_dev.c buffer[4] = ((word36) addr) << 4; word36 1192 src/dps8/dps8_socket_dev.c word36 buffer [buffer_size_wds]; word36 1194 src/dps8/dps8_socket_dev.c memset (buffer, 0, sizeof (word36) * buffer_size_wds); word36 1206 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].read_fd)) & MASK36; word36 1207 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) (sk_data.unit_data[unit_idx][dev_code].read_buffer_sz)) & MASK36; word36 1208 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) nread)) & MASK36; word36 88 src/dps8/dps8_state.h vol word36 M [MEMSIZE]; word36 120 src/dps8/dps8_sys.c vol word36 * M = NULL; //-V707 // memory word36 2085 src/dps8/dps8_sys.c word36 2144 src/dps8/dps8_sys.c word36 2168 src/dps8/dps8_sys.c word36 2229 src/dps8/dps8_sys.c word36 2918 src/dps8/dps8_sys.c word36 argv = M[argnop]; word36 3213 src/dps8/dps8_sys.c word36 SDWeven, SDWodd; word36 3260 src/dps8/dps8_sys.c word36 PTWx1; word36 3277 src/dps8/dps8_sys.c word36 SDWeven, SDWodd; word36 3320 src/dps8/dps8_sys.c word36 PTWx2; word36 3624 src/dps8/dps8_sys.c word36 value; word36 4110 src/dps8/dps8_sys.c { "sizeof(*M)", SYM_STRUCT_SZ, SYM_SZ, sizeof (word36) }, word36 4856 src/dps8/dps8_sys.c word36 word1 = *val; word36 68 src/dps8/dps8_sys.h extern vol word36 * M; //-V707 word36 91 src/dps8/dps8_utils.c char *disassemble(char * result, word36 instruction) word36 175 src/dps8/dps8_utils.c word36 Add36b (word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) word36 253 src/dps8/dps8_utils.c word36 Sub36b (word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) word36 616 src/dps8/dps8_utils.c (word36) ((rshift_128 (op1, 36).l) & MASK36), (word36) (op1.l & MASK36), (word36) (rshift_128 (op2, 36).l & MASK36), (word36) (op2.l & MASK36), carryin, flagsToSet, * flags); word36 619 src/dps8/dps8_utils.c (word36) ((op1 >> 36) & MASK36), (word36) (op1 & MASK36), (word36) ((op2 >> 36) & MASK36), (word36) (op2 & MASK36), carryin, flagsToSet, * flags); word36 660 src/dps8/dps8_utils.c (word36) ((rshift_128 (op1e, 36).l) & MASK36), (word36) (op1e.l & MASK36), (word36) (rshift_128 (op2e, 36).l & MASK36), (word36) (op2e.l & MASK36), carryin, flagsToSet, * flags); word36 663 src/dps8/dps8_utils.c (word36) ((op1e >> 36) & MASK36), (word36) (op1e & MASK36), (word36) ((op2e >> 36) & MASK36), (word36) (op2e & MASK36), carryin, flagsToSet, * flags); word36 673 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); word36 675 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); word36 753 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); word36 755 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); word36 761 src/dps8/dps8_utils.c word36 compl36(word36 op1, word18 *flags, bool * ovf) word36 770 src/dps8/dps8_utils.c word36 res = ((word36) (- ((word36s) op1))) & DMASK; word36 830 src/dps8/dps8_utils.c void copyBytes(int posn, word36 src, word36 *dst) word36 832 src/dps8/dps8_utils.c word36 mask = 0; word36 846 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits word36 855 src/dps8/dps8_utils.c void copyChars(int posn, word36 src, word36 *dst) word36 857 src/dps8/dps8_utils.c word36 mask = 0; word36 877 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits word36 889 src/dps8/dps8_utils.c void putByte(word36 *dst, word9 data, int posn) word36 912 src/dps8/dps8_utils.c void putChar(word36 *dst, word6 data, int posn) word36 941 src/dps8/dps8_utils.c word72 convert_to_word72(word36 even, word36 odd) word36 950 src/dps8/dps8_utils.c void convert_to_word36 (word72 src, word36 *even, word36 *odd) word36 956 src/dps8/dps8_utils.c *even = (word36)(src >> 36) & DMASK; word36 957 src/dps8/dps8_utils.c *odd = (word36)src & DMASK; word36 961 src/dps8/dps8_utils.c void cmp36(word36 oP1, word36 oP2, word18 *flags) word36 968 src/dps8/dps8_utils.c word36 sign1 = (word36) op1 & SIGN36; word36 969 src/dps8/dps8_utils.c word36 sign2 = (word36) op2 & SIGN36; word36 1049 src/dps8/dps8_utils.c void cmp36wl(word36 A, word36 Y, word36 Q, word18 *flags) word36 1742 src/dps8/dps8_utils.c static word36 extrASCII36 (uint8 * bits, uint woffset) word36 1752 src/dps8/dps8_utils.c return (word36) (w & MASK36); word36 1764 src/dps8/dps8_utils.c word36 extr36 (uint8 * bits, uint woffset) word36 1788 src/dps8/dps8_utils.c return (word36) (w & MASK36); word36 1791 src/dps8/dps8_utils.c static void putASCII36 (word36 val, uint8 * bits, uint woffset) word36 1800 src/dps8/dps8_utils.c void put36 (word36 val, uint8 * bits, uint woffset) word36 1837 src/dps8/dps8_utils.c int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) word36 1856 src/dps8/dps8_utils.c int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) word36 1875 src/dps8/dps8_utils.c int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) word36 1893 src/dps8/dps8_utils.c int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) word36 48 src/dps8/dps8_utils.h char *disassemble(char * result, word36 instruction); word36 50 src/dps8/dps8_utils.h word72 convert_to_word72 (word36 even, word36 odd); word36 51 src/dps8/dps8_utils.h void convert_to_word36 (word72 src, word36 *even, word36 *odd); word36 53 src/dps8/dps8_utils.h word36 compl36(word36 op1, word18 *flags, bool * ovf); word36 56 src/dps8/dps8_utils.h void copyBytes(int posn, word36 src, word36 *dst); word36 57 src/dps8/dps8_utils.h void copyChars(int posn, word36 src, word36 *dst); word36 59 src/dps8/dps8_utils.h void putByte(word36 *dst, word9 data, int posn); word36 60 src/dps8/dps8_utils.h void putChar(word36 *dst, word6 data, int posn); word36 62 src/dps8/dps8_utils.h void cmp36(word36 op1, word36 op2, word18 *flags); word36 63 src/dps8/dps8_utils.h void cmp36wl(word36 A, word36 Y, word36 Q, word18 *flags); word36 121 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { word36 131 src/dps8/dps8_utils.h static inline word1 getbits36_1 (word36 x, uint i) word36 142 src/dps8/dps8_utils.h static inline word2 getbits36_2 (word36 x, uint i) word36 153 src/dps8/dps8_utils.h static inline word3 getbits36_3 (word36 x, uint i) word36 164 src/dps8/dps8_utils.h static inline word4 getbits36_4 (word36 x, uint i) word36 175 src/dps8/dps8_utils.h static inline word5 getbits36_5 (word36 x, uint i) word36 186 src/dps8/dps8_utils.h static inline word6 getbits36_6 (word36 x, uint i) word36 197 src/dps8/dps8_utils.h static inline word7 getbits36_7 (word36 x, uint i) word36 208 src/dps8/dps8_utils.h static inline word8 getbits36_8 (word36 x, uint i) word36 219 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) word36 230 src/dps8/dps8_utils.h static inline word10 getbits36_10 (word36 x, uint i) word36 241 src/dps8/dps8_utils.h static inline word12 getbits36_12 (word36 x, uint i) word36 252 src/dps8/dps8_utils.h static inline word14 getbits36_14 (word36 x, uint i) word36 263 src/dps8/dps8_utils.h static inline word15 getbits36_15 (word36 x, uint i) word36 274 src/dps8/dps8_utils.h static inline word16 getbits36_16 (word36 x, uint i) word36 285 src/dps8/dps8_utils.h static inline word18 getbits36_18 (word36 x, uint i) word36 296 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) word36 307 src/dps8/dps8_utils.h static inline word28 getbits36_28 (word36 x, uint i) word36 318 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) word36 325 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 329 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); word36 333 src/dps8/dps8_utils.h static inline word36 setbits36_1 (word36 x, uint p, word1 val) word36 341 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 342 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 345 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 349 src/dps8/dps8_utils.h static inline word36 setbits36_4 (word36 x, uint p, word4 val) word36 357 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 358 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 361 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 365 src/dps8/dps8_utils.h static inline word36 setbits36_5 (word36 x, uint p, word5 val) word36 373 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 374 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 377 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 381 src/dps8/dps8_utils.h static inline word36 setbits36_6 (word36 x, uint p, word6 val) word36 389 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 390 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 393 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 397 src/dps8/dps8_utils.h static inline word36 setbits36_8 (word36 x, uint p, word8 val) word36 405 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 406 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 409 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 413 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) word36 421 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 422 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 425 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 429 src/dps8/dps8_utils.h static inline word36 setbits36_16 (word36 x, uint p, word16 val) word36 437 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 438 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 441 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 445 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) word36 453 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 454 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 457 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 461 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) word36 469 src/dps8/dps8_utils.h word36 mask = ~ (~0U << n); // n low bits on word36 477 src/dps8/dps8_utils.h static inline void putbits36_1 (word36 * x, uint p, word1 val) word36 485 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 486 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 489 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 492 src/dps8/dps8_utils.h static inline void putbits36_2 (word36 * x, uint p, word2 val) word36 500 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 501 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 504 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 507 src/dps8/dps8_utils.h static inline void putbits36_3 (word36 * x, uint p, word3 val) word36 515 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 516 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 519 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 522 src/dps8/dps8_utils.h static inline void putbits36_4 (word36 * x, uint p, word4 val) word36 530 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 531 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 534 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 537 src/dps8/dps8_utils.h static inline void putbits36_5 (word36 * x, uint p, word5 val) word36 545 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 546 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 549 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 552 src/dps8/dps8_utils.h static inline void putbits36_6 (word36 * x, uint p, word6 val) word36 560 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 561 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 564 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 567 src/dps8/dps8_utils.h static inline void putbits36_7 (word36 * x, uint p, word7 val) word36 575 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 576 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 579 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 582 src/dps8/dps8_utils.h static inline void putbits36_8 (word36 * x, uint p, word8 val) word36 590 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 591 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 594 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 597 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val) word36 605 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 606 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 619 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 631 src/dps8/dps8_utils.h static inline void putbits36_10 (word36 * x, uint p, word10 val) word36 639 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 640 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 643 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 646 src/dps8/dps8_utils.h static inline void putbits36_12 (word36 * x, uint p, word12 val) word36 654 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 655 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 658 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 661 src/dps8/dps8_utils.h static inline void putbits36_13 (word36 * x, uint p, word13 val) word36 669 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 670 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 673 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 676 src/dps8/dps8_utils.h static inline void putbits36_14 (word36 * x, uint p, word14 val) word36 684 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 685 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 688 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 691 src/dps8/dps8_utils.h static inline void putbits36_15 (word36 * x, uint p, word15 val) word36 699 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 700 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 703 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 706 src/dps8/dps8_utils.h static inline void putbits36_16 (word36 * x, uint p, word16 val) word36 714 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 715 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 718 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 721 src/dps8/dps8_utils.h static inline void putbits36_17 (word36 * x, uint p, word17 val) word36 729 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 730 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 733 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 736 src/dps8/dps8_utils.h static inline void putbits36_18 (word36 * x, uint p, word18 val) word36 744 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 745 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 748 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 751 src/dps8/dps8_utils.h static inline void putbits36_23 (word36 * x, uint p, word23 val) word36 759 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 760 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 763 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 766 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) word36 774 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 775 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 778 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 781 src/dps8/dps8_utils.h static inline void putbits36_28 (word36 * x, uint p, word28 val) word36 789 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 790 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 793 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 869 src/dps8/dps8_utils.h static inline void setmask (word36 * v, word36 mask) word36 878 src/dps8/dps8_utils.h static inline void clrmask (word36 * v, word36 mask) word36 884 src/dps8/dps8_utils.h word36 extr36 (uint8 * bits, uint woffset); word36 885 src/dps8/dps8_utils.h void put36 (word36 val, uint8 * bits, uint woffset); word36 886 src/dps8/dps8_utils.h int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); word36 887 src/dps8/dps8_utils.h int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); word36 888 src/dps8/dps8_utils.h int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); word36 889 src/dps8/dps8_utils.h int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); word36 892 src/dps8/dps8_utils.h word36 Add36b (word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); word36 893 src/dps8/dps8_utils.h word36 Sub36b (word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); word36 1007 src/dps8/fnpuv.c void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3) word36 55 src/dps8/fnpuv.h void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3); word36 67 src/dps8/hdbg.c word36 inst; word36 72 src/dps8/hdbg.c word36 data; word36 93 src/dps8/hdbg.c word36 data; word36 117 src/dps8/hdbg.c word36 data; word36 196 src/dps8/hdbg.c void hdbgMRead (word24 addr, word36 data, const char * ctx) { word36 203 src/dps8/hdbg.c void hdbgMWrite (word24 addr, word36 data, const char * ctx) { word36 210 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word36 219 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word36 255 src/dps8/hdbg.c void hdbgRegR (enum hregs_t type, word36 data, const char * ctx) { word36 262 src/dps8/hdbg.c void hdbgRegW (enum hregs_t type, word36 data, const char * ctx) { word36 647 src/dps8/hdbg.c /* ssize_t n = */ write (fd, (const void *) M, MEMSIZE * sizeof (word36)); word36 48 src/dps8/hdbg.h void hdbgMRead (word24 addr, word36 data, const char * ctx); word36 49 src/dps8/hdbg.h void hdbgMWrite (word24 addr, word36 data, const char * ctx); word36 72 src/dps8/hdbg.h void hdbgRegR (enum hregs_t type, word36 data, const char * ctx); word36 73 src/dps8/hdbg.h void hdbgRegW (enum hregs_t type, word36 data, const char * ctx); word36 82 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word36 83 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word36 94 src/dps8/hdbg.h # define HDBGRegXR(i, c) hdbgRegR (hreg_X0+(i), (word36) cpu.rX[i], c) word36 95 src/dps8/hdbg.h # define HDBGRegXW(i, c) hdbgRegW (hreg_X0+(i), (word36) cpu.rX[i], c) word36 96 src/dps8/hdbg.h # define HDBGRegYR(c) hdbgRegR (hreg_Y, (word36) cpu.rY, c) word36 97 src/dps8/hdbg.h # define HDBGRegYW(c) hdbgRegW (hreg_Y, (word36) cpu.rY, c) word36 98 src/dps8/hdbg.h # define HDBGRegZR(r, c) hdbgRegR (hreg_Z, (word36) r, c) word36 99 src/dps8/hdbg.h # define HDBGRegZW(r, c) hdbgRegW (hreg_Z, (word36) r, c) word36 108 src/dps8/hdbg.h # define HDBGRegIR(c) hdbgRegW (hreg_IR, (word36) cpu.cu.IR, c) word36 85 src/dps8/segldr.c word36 * ptwp = (word36 *) M + x1 + ADDR_DSPT; word36 117 src/dps8/segldr.c putbits36_24 ((word36 *) & M[sdw0], 0, pgTblAddr); // ADDR word36 122 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 24, 0); // R1 word36 123 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 27, 0); // R2 word36 124 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 30, 0); // R3 word36 125 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw0], 33, 1); // F word36 126 src/dps8/segldr.c putbits36_2 ((word36 *) & M[sdw0], 34, 0); // FC word36 127 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 0, 0); // 0 word36 128 src/dps8/segldr.c putbits36_14 ((word36 *) & M[sdw1], 1, bound); // BOUND word36 129 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 15, 1); // R word36 130 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 16, 1); // E word36 131 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 17, 1); // W word36 132 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 18, 0); // P word36 133 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 19, 0); // U word36 134 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 20, 1); // G word36 135 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 21, 1); // C word36 136 src/dps8/segldr.c putbits36_14 ((word36 *) & M[sdw1], 21, 0); // EB word36 145 src/dps8/segldr.c putbits36_18 ((word36 *) & M[ptw], 0, pgAddr); // points to the Segment Page word36 146 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 26, 0); // unused word36 147 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 29, 0); // unmodified word36 148 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 29, 0); // unmodified word36 149 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 33, 1); // page is in memory word36 150 src/dps8/segldr.c putbits36_2 ((word36 *) & M[ptw], 34, 0); // fault code word36 162 src/dps8/segldr.c word36 306 src/dps8/segldr.c word36 even = extr36 (bytes, 0); word36 307 src/dps8/segldr.c word36 odd = extr36 (bytes, 1); word36 337 src/dps8/segldr.c #define msize (MEMSIZE * sizeof (word36)) word36 341 src/dps8/segldr.c uint wrsz = sz * sizeof (word36); word36 399 src/dps8/segldr.c (unsigned long long) (n / sizeof (word36)),