word36 20 src/dps8/doAppendCycleABSA.h word24 doAppendCycleABSA (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleAPUDataRMW.h word24 doAppendCycleAPUDataRMW (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleAPUDataRead.h word24 doAppendCycleAPUDataRead (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleAPUDataStore.h word24 doAppendCycleAPUDataStore (cpu_state_t * cpup, word36 * data, uint nWords) { word36 54 src/dps8/doAppendCycleIndirectWordFetch.h word24 doAppendCycleIndirectWordFetch (cpu_state_t * cpup, word36 * data, uint nWords) { word36 62 src/dps8/doAppendCycleInstructionFetch.h word24 doAppendCycleInstructionFetch (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleOperandRMW.h word24 doAppendCycleOperandRMW (cpu_state_t * cpup, word36 * data, uint nWords) { word36 58 src/dps8/doAppendCycleOperandRead.h word24 doAppendCycleOperandRead (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleOperandStore.h word24 doAppendCycleOperandStore (cpu_state_t * cpup, word36 * data, uint nWords) { word36 18 src/dps8/doAppendCycleRTCDOperandFetch.h word24 doAppendCycleRTCDOperandFetch (cpu_state_t * cpup, word36 * data, uint nWords) { word36 263 src/dps8/dps8.h typedef word36 float36; // single precision float word36 317 src/dps8/dps8.h # define GETCHAR(src, pos) (word6)(((word36)src >> (word36)((5 - pos) * 6)) & 077) word36 319 src/dps8/dps8.h # define GETBYTE(src, pos) (word9)(((word36)src >> (word36)((3 - pos) * 9)) & 0777) word36 320 src/dps8/dps8_addrmods.c word36 * wb; word36 838 src/dps8/dps8_addrmods.c word36 indword; word36 998 src/dps8/dps8_addrmods.c word36 indword_new; word36 1067 src/dps8/dps8_addrmods.c word36 indword; word36 1094 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1095 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | word36 1134 src/dps8/dps8_addrmods.c word36 indword; word36 1162 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1163 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | word36 1205 src/dps8/dps8_addrmods.c word36 indword; word36 1229 src/dps8/dps8_addrmods.c indword = (word36) (((word36) cpu.TPR.CA << 18) | word36 1230 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 1273 src/dps8/dps8_addrmods.c word36 indword; word36 1300 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1301 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 1356 src/dps8/dps8_addrmods.c word36 indword; word36 1384 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1385 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | idwtag); word36 1468 src/dps8/dps8_addrmods.c word36 indword; word36 1494 src/dps8/dps8_addrmods.c indword = (word36) (((word36) Yi << 18) | word36 1495 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | word36 168 src/dps8/dps8_append.c void do_ldbr (cpu_state_t * cpup, word36 * Ypair) word36 257 src/dps8/dps8_append.c word36 PTWx1; word36 295 src/dps8/dps8_append.c word36 PTWx1; word36 429 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 493 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 770 src/dps8/dps8_append.c word36 PTWx2; word36 929 src/dps8/dps8_append.c word36 PTWx2; word36 964 src/dps8/dps8_append.c word36 PTWx2n; word36 1061 src/dps8/dps8_append.c word24 do_append_cycle (cpu_state_t * cpup, processor_cycle_type thisCycle, word36 * data, uint nWords) { word36 1191 src/dps8/dps8_append.c word24 do_append_cycle (processor_cycle_type thisCycle, word36 * data, word36 2247 src/dps8/dps8_append.c word36 PTWx1; word36 2267 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 2295 src/dps8/dps8_append.c word36 SDWeven, SDWodd; word36 2346 src/dps8/dps8_append.c word36 PTWx2; word36 125 src/dps8/dps8_append.h word24 do_append_cycle (cpu_state_t * cpup, processor_cycle_type thisCycle, word36 * data, uint nWords); word36 127 src/dps8/dps8_append.h word24 doAppendCycleUnknown (cpu_state_t * cpup, word36 * data, uint nWords); word36 128 src/dps8/dps8_append.h word24 doAppendCycleOperandStore (cpu_state_t * cpup, word36 * data, uint nWords); word36 129 src/dps8/dps8_append.h word24 doAppendCycleOperandRead (cpu_state_t * cpup, word36 * data, uint nWords); word36 130 src/dps8/dps8_append.h word24 doAppendCycleIndirectWordFetch (cpu_state_t * cpup, word36 * data, uint nWords); word36 131 src/dps8/dps8_append.h word24 doAppendCycleRTCDOperandFetch (cpu_state_t * cpup, word36 * data, uint nWords); word36 132 src/dps8/dps8_append.h word24 doAppendCycleInstructionFetch (cpu_state_t * cpup, word36 * data, uint nWords); word36 133 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRead (cpu_state_t * cpup, word36 * data, uint nWords); word36 134 src/dps8/dps8_append.h word24 doAppendCycleAPUDataStore (cpu_state_t * cpup, word36 * data, uint nWords); word36 135 src/dps8/dps8_append.h word24 doAppendCycleABSA (cpu_state_t * cpup, word36 * data, uint nWords); word36 137 src/dps8/dps8_append.h word24 doAppendCycleOperandRMW (cpu_state_t * cpup, word36 * data, uint nWords); word36 138 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRMW (cpu_state_t * cpup, word36 * data, uint nWords); word36 156 src/dps8/dps8_append.h void do_ldbr (cpu_state_t * cpup, word36 * Ypair); word36 157 src/dps8/dps8_append.h void do_sdbr (word36 * Ypair); word36 158 src/dps8/dps8_append.h void do_camp (word36 Y); word36 159 src/dps8/dps8_append.h void do_cams (word36 Y); word36 733 src/dps8/dps8_console.c word36 buf[n_words + 1]; word36 735 src/dps8/dps8_console.c (void)memset (buf, 0, sizeof (word36) * (n_words + 1)); word36 736 src/dps8/dps8_console.c word36 * bufp = buf; word36 1498 src/dps8/dps8_console.c word36 buf[tally]; word36 1535 src/dps8/dps8_console.c word36 * bufp = buf; word36 1546 src/dps8/dps8_console.c word36 datum = * bufp ++; word36 1551 src/dps8/dps8_console.c word36 narrow_char = datum >> 30; // slide leftmost char word36 1593 src/dps8/dps8_console.c word36 wide_char = datum >> 27; // slide leftmost char word36 497 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = (word36) v; word36 506 src/dps8/dps8_cpu.c word36 d = 0123000000000; word36 3346 src/dps8/dps8_cpu.c word36 tmpIRODD = cpu.scu_data[7]; word36 3720 src/dps8/dps8_cpu.c int core_read (cpu_state_t * cpup, word24 addr, word36 *data, const char * ctx) word36 3744 src/dps8/dps8_cpu.c word36 v; word36 3762 src/dps8/dps8_cpu.c int core_read_lock (cpu_state_t * cpup, word24 addr, word36 *data, UNUSED const char * ctx) word36 3774 src/dps8/dps8_cpu.c word36 v; word36 3783 src/dps8/dps8_cpu.c int core_write (cpu_state_t * cpup, word24 addr, word36 data, const char * ctx) word36 3827 src/dps8/dps8_cpu.c int core_write_unlock (cpu_state_t * cpup, word24 addr, word36 data, UNUSED const char * ctx) word36 3861 src/dps8/dps8_cpu.c int core_write_zone (cpu_state_t * cpup, word24 addr, word36 data, const char * ctx) word36 3880 src/dps8/dps8_cpu.c word36 v; word36 3907 src/dps8/dps8_cpu.c int core_read2 (cpu_state_t * cpup, word24 addr, word36 *even, word36 *odd, const char * ctx) word36 3912 src/dps8/dps8_cpu.c word36 v; word36 3999 src/dps8/dps8_cpu.c int core_write2 (cpu_state_t * cpup, word24 addr, word36 even, word36 odd, const char * ctx) { word36 4074 src/dps8/dps8_cpu.c void decode_instruction (cpu_state_t * cpup, word36 inst, DCDstruct * p) word36 4270 src/dps8/dps8_cpu.c static void add_history (cpu_state_t * cpup, uint hset, word36 w0, word36 w1) word36 4280 src/dps8/dps8_cpu.c void add_history_force (cpu_state_t * cpup, uint hset, word36 w0, word36 w1) word36 4298 src/dps8/dps8_cpu.c word36 flags = 0; // XXX fill out word36 4301 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4304 src/dps8/dps8_cpu.c w1 |= ((word36)(cpu.iefpFinalAddress & MASK24) << 12); word36 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) word36 4313 src/dps8/dps8_cpu.c word36 w0 = flags, w1 = 0; word36 4322 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4333 src/dps8/dps8_cpu.c word36 w0 = 0; word36 4389 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4505 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4614 src/dps8/dps8_cpu.c word36 w0 = 0, w1 = 0; word36 4782 src/dps8/dps8_cpu.c word36 rsw2 = 0; word36 438 src/dps8/dps8_cpu.h word36 r; word36 481 src/dps8/dps8_cpu.h word36 data; word36 524 src/dps8/dps8_cpu.h word36 cachedParagraph [paragraphSz]; word36 532 src/dps8/dps8_cpu.h word36 op [3]; // raw operand descriptors word36 704 src/dps8/dps8_cpu.h word36 data_switches; word36 765 src/dps8/dps8_cpu.h word36 directOperand; word36 769 src/dps8/dps8_cpu.h word36 character_data; word36 1027 src/dps8/dps8_cpu.h word36 IWB; word36 1030 src/dps8/dps8_cpu.h word36 IRODD; /* Instr holding register; odd word of last pair fetched */ word36 1483 src/dps8/dps8_cpu.h word36 image [8]; word36 1577 src/dps8/dps8_cpu.h word36 rA; // accumulator word36 1578 src/dps8/dps8_cpu.h word36 rQ; // quotient word36 1585 src/dps8/dps8_cpu.h word36 zone; word36 1589 src/dps8/dps8_cpu.h word36 CY; // C(Y) operand data from memory word36 1597 src/dps8/dps8_cpu.h word36 faultRegister [2]; word36 1599 src/dps8/dps8_cpu.h word36 itxPair [2]; word36 1615 src/dps8/dps8_cpu.h word36 Ypair[2]; // 2-words word36 1616 src/dps8/dps8_cpu.h word36 Yblock8[8]; // 8-words word36 1617 src/dps8/dps8_cpu.h word36 Yblock16[16]; // 16-words word36 1618 src/dps8/dps8_cpu.h word36 Yblock32[32]; // 32-words word36 1620 src/dps8/dps8_cpu.h word36 scu_data[8]; // For SCU instruction word36 1636 src/dps8/dps8_cpu.h word36 history [N_HIST_SETS] [N_MAX_HIST_SIZE] [2]; word36 1883 src/dps8/dps8_cpu.h word36 portAddr [N_CPU_PORTS]; word36 1884 src/dps8/dps8_cpu.h word36 portData [N_CPU_PORTS]; word36 1886 src/dps8/dps8_cpu.h word36 IWRAddr; word36 2013 src/dps8/dps8_cpu.h static inline void trackport (word24 a, word36 d) word36 2032 src/dps8/dps8_cpu.h static inline int core_read (word24 addr, word36 *data, \ word36 2043 src/dps8/dps8_cpu.h static inline int core_write (word24 addr, word36 data, \ word36 2067 src/dps8/dps8_cpu.h static inline int core_write_zone (word24 addr, word36 data, \ word36 2092 src/dps8/dps8_cpu.h static inline int core_read2 (word24 addr, word36 *even, word36 *odd, word36 2104 src/dps8/dps8_cpu.h static inline int core_write2 (word24 addr, word36 even, word36 odd, word36 2129 src/dps8/dps8_cpu.h int core_read (cpu_state_t * cpup, word24 addr, word36 *data, const char * ctx); word36 2130 src/dps8/dps8_cpu.h int core_write (cpu_state_t * cpup, word24 addr, word36 data, const char * ctx); word36 2131 src/dps8/dps8_cpu.h int core_write_zone (cpu_state_t * cpup, word24 addr, word36 data, const char * ctx); word36 2132 src/dps8/dps8_cpu.h int core_read2 (cpu_state_t * cpup, word24 addr, word36 *even, word36 *odd, const char * ctx); word36 2133 src/dps8/dps8_cpu.h int core_write2 (cpu_state_t * cpup, word24 addr, word36 even, word36 odd, const char * ctx); word36 2197 src/dps8/dps8_cpu.h int core_read_lock (cpu_state_t * cpup, word24 addr, word36 *data, const char * ctx); word36 2198 src/dps8/dps8_cpu.h int core_write_unlock (cpu_state_t * cpup, word24 addr, word36 data, const char * ctx); word36 2409 src/dps8/dps8_cpu.h static inline void core_readN (cpu_state_t * cpup, word24 addr, word36 * data, uint n, word36 2419 src/dps8/dps8_cpu.h static inline void core_writeN (cpu_state_t * cpup, word24 addr, word36 * data, uint n, word36 2436 src/dps8/dps8_cpu.h void decode_instruction (cpu_state_t * cpup, word36 inst, DCDstruct * p); word36 2445 src/dps8/dps8_cpu.h void add_dps8m_DUOU_history (word36 flags, word18 ICT, word9 RS_REG, word9 flags2); word36 2452 src/dps8/dps8_cpu.h void add_history_force (cpu_state_t * cpup, uint hset, word36 w0, word36 w1); word36 235 src/dps8/dps8_crdpun.c word36 card_data[WORDS_PER_CARD]; word36 289 src/dps8/dps8_crdpun.c static word36 eodCard [WORDS_PER_CARD] = word36 333 src/dps8/dps8_crdpun.c static word36 bannerCard [WORDS_PER_CARD] = word36 545 src/dps8/dps8_crdpun.c static char get_lace_char(word36* buffer, uint char_pos) word36 589 src/dps8/dps8_crdpun.c static void scan_card_for_glyphs(pun_state_t * state, word36* buffer) word36 637 src/dps8/dps8_crdpun.c static void write_punch_files (pun_state_t * state, word36* in_buffer, int word_count, word36 697 src/dps8/dps8_crdpun.c static void log_card(word12 tally, word36 * buffer) word36 831 src/dps8/dps8_crdpun.c static void save_card_in_cache(pun_state_t * state, word12 tally, word36 * card_buffer) word36 848 src/dps8/dps8_crdpun.c memcpy(&new_entry -> card_data, card_buffer, sizeof(word36) * tally); word36 885 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 899 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 913 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 962 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 974 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 986 src/dps8/dps8_crdpun.c word36 * card_buffer) word36 1024 src/dps8/dps8_crdpun.c static void parse_card(pun_state_t * state, word12 tally, word36 * card_buffer) word36 1168 src/dps8/dps8_crdpun.c word36 buffer [p -> DDCW_TALLY]; word36 683 src/dps8/dps8_crdrdr.c word36 buffer [27]; word36 60 src/dps8/dps8_dia.c static inline void fnp_core_read (word24 addr, word36 *data, UNUSED const char * ctx) word36 335 src/dps8/dps8_dia.c word36 word1; // dn355_no; is_hsla; la_no; slot_no word36 336 src/dps8/dps8_dia.c word36 word2; // cmd_data_len; op_code; io_cmd word36 337 src/dps8/dps8_dia.c word36 command_data [3]; word36 338 src/dps8/dps8_dia.c word36 word6; // data_addr, word_cnt; word36 339 src/dps8/dps8_dia.c word36 pad3 [2]; word36 345 src/dps8/dps8_dia.c word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 346 src/dps8/dps8_dia.c word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 347 src/dps8/dps8_dia.c word36 mystery [26]; // word2... word36 352 src/dps8/dps8_dia.c word36 dia_pcw; word36 353 src/dps8/dps8_dia.c word36 mailbox_requests; word36 354 src/dps8/dps8_dia.c word36 term_inpt_mpx_wd; word36 355 src/dps8/dps8_dia.c word36 last_mbx_req_count; word36 356 src/dps8/dps8_dia.c word36 num_in_use; word36 357 src/dps8/dps8_dia.c word36 mbx_used_flags; word36 358 src/dps8/dps8_dia.c word36 crash_data [2]; word36 363 src/dps8/dps8_dia.c #define MAILBOX_WORDS (sizeof (struct mailbox) / sizeof (word36)) word36 364 src/dps8/dps8_dia.c #define TERM_INPT_MPX_WD (offsetof (struct mailbox, term_inpt_mpx_wd) / sizeof (word36)) word36 381 src/dps8/dps8_dia.c static inline void fnp_core_write (word24 addr, word36 data, UNUSED const char * ctx) word36 401 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 49 src/dps8/dps8_dia.h word36 50 src/dps8/dps8_dia.h word36 51 src/dps8/dps8_dia.h word36 52 src/dps8/dps8_dia.h word36 53 src/dps8/dps8_dia.h word36 715 src/dps8/dps8_disk.c word36 seekData[1]; word36 766 src/dps8/dps8_disk.c word36 seekData[1]; word36 809 src/dps8/dps8_disk.c word36 seekData[1]; word36 922 src/dps8/dps8_disk.c word36 buffer[tally]; word36 925 src/dps8/dps8_disk.c word36 w; word36 991 src/dps8/dps8_disk.c word36 buffer[tally]; word36 1043 src/dps8/dps8_disk.c word36 buffer[tally]; word36 1149 src/dps8/dps8_disk.c word36 buffer[tally]; word36 130 src/dps8/dps8_eis.c static word4 get4 (word36 w, int pos) word36 164 src/dps8/dps8_eis.c static word4 get6 (word36 w, int pos) word36 192 src/dps8/dps8_eis.c static word9 get9(word36 w, int pos) word36 214 src/dps8/dps8_eis.c static word36 put4 (word36 w, int pos, word4 c) word36 257 src/dps8/dps8_eis.c static word36 put6 (word36 w, int pos, word6 c) word36 291 src/dps8/dps8_eis.c static word36 put9 (word36 w, int pos, word9 c) word36 321 src/dps8/dps8_eis.c static word36 getCrAR (cpu_state_t * cpup, word4 reg) word36 477 src/dps8/dps8_eis.c static word36 getMFReg36 (cpu_state_t * cpup, uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) word36 683 src/dps8/dps8_eis.c static void EISWriteIdx (cpu_state_t * cpup, EISaddr *p, uint n, word36 data, bool flush) word36 721 src/dps8/dps8_eis.c static word36 EISReadIdx (cpu_state_t * cpup, EISaddr * p, uint n) word36 751 src/dps8/dps8_eis.c static word36 EISRead (cpu_state_t * cpup, EISaddr * p) word36 765 src/dps8/dps8_eis.c word36 781 src/dps8/dps8_eis.c static void EISReadPage (cpu_state_t * cpup, EISaddr * p, uint n, word36 * data) word36 843 src/dps8/dps8_eis.c static void EISWritePage (cpu_state_t * cpup, EISaddr * p, uint n, word36 * data) word36 937 src/dps8/dps8_eis.c word36 data = EISRead (cpup, & e -> addr [k - 1]); // read it from memory word36 999 src/dps8/dps8_eis.c word36 data = EISRead (cpup, & e -> addr [k - 1]); // read it from memory word36 1001 src/dps8/dps8_eis.c word36 w = 0; word36 1182 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1341 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1466 src/dps8/dps8_eis.c word36 r = getMFReg36 (cpup, MFk & 017, allowDU, true, mod_fault); // allow du based on instruction, allow n,ic word36 1595 src/dps8/dps8_eis.c word36 opDesc = e -> op [k - 1]; word36 1601 src/dps8/dps8_eis.c word36 r = getMFReg36 (cpup, yREG, false, true, mod_fault); // disallow du, allow n,ic word36 1654 src/dps8/dps8_eis.c word36 opDesc = e->op[k-1]; word36 1715 src/dps8/dps8_eis.c word36 r = getMFReg36(cpup, MFk & 017, false, true, mod_fault); // disallow du, allow n, ic word36 1781 src/dps8/dps8_eis.c effCHAR = ((word36) CN + (word36) ARn_CHAR + r) % 4u; word36 1834 src/dps8/dps8_eis.c word36 opDesc = e->op[k-1]; word36 1876 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 1895 src/dps8/dps8_eis.c word36 r = getMFReg36(cpup, MFk & 017, false, true, mod_fault); // disallow du, allow n,ic word36 1967 src/dps8/dps8_eis.c word36 ur = getCrAR (cpup, reg); word36 2048 src/dps8/dps8_eis.c word36 ur = getCrAR (cpup, reg); word36 2095 src/dps8/dps8_eis.c word36 rcnt = getCrAR (cpup, reg); word36 2802 src/dps8/dps8_eis.c word36 rcnt = getCrAR (cpup, reg); word36 3301 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3487 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3653 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3824 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); word36 3840 src/dps8/dps8_eis.c word36 3843 src/dps8/dps8_eis.c word36 3863 src/dps8/dps8_eis.c word36 entry = EISReadIdx(cpup, xlatTbl, idx); word36 4012 src/dps8/dps8_eis.c word36 4018 src/dps8/dps8_eis.c word36 CY3 = 0; word36 4207 src/dps8/dps8_eis.c word36 4213 src/dps8/dps8_eis.c word36 CY3 = 0; word36 4516 src/dps8/dps8_eis.c word36 pg [PGSZ]; word36 4554 src/dps8/dps8_eis.c word36 pg [PGSZ]; word36 4557 src/dps8/dps8_eis.c word36 w = (word36) fill | ((word36) fill << 9) | ((word36) fill << 18) | ((word36) fill << 27); word36 4597 src/dps8/dps8_eis.c word36 w = EISReadIdx (cpup, & e -> ADDR1, n); word36 4624 src/dps8/dps8_eis.c word36 w = (word36) fill | ((word36) fill << 9) | ((word36) fill << 18) | ((word36) fill << 27); word36 4893 src/dps8/dps8_eis.c word36 w = EISReadIdx (cpup, & e -> ADDR1, n); word36 4920 src/dps8/dps8_eis.c word36 w = (word36) fill | word36 4921 src/dps8/dps8_eis.c ((word36) fill << 9) | word36 4922 src/dps8/dps8_eis.c ((word36) fill << 18) | word36 4923 src/dps8/dps8_eis.c ((word36) fill << 27); word36 7210 src/dps8/dps8_eis.c word36 7533 src/dps8/dps8_eis.c word36 w; word36 7596 src/dps8/dps8_eis.c word36 w; word36 9051 src/dps8/dps8_eis.c word36 9117 src/dps8/dps8_eis.c word36 9335 src/dps8/dps8_eis.c word36 data = EISRead(cpup, addr); word36 10095 src/dps8/dps8_eis.c word36 303 src/dps8/dps8_fnp2.c word36 data; word36 413 src/dps8/dps8_fnp2.c word36 data = 0; word36 446 src/dps8/dps8_fnp2.c word36 data = 0; word36 468 src/dps8/dps8_fnp2.c word36 data = 0; word36 490 src/dps8/dps8_fnp2.c word36 data = 0; word36 516 src/dps8/dps8_fnp2.c word36 data = 0; word36 554 src/dps8/dps8_fnp2.c word36 v = 0; word36 597 src/dps8/dps8_fnp2.c word36 data = 0; word36 625 src/dps8/dps8_fnp2.c word36 data = 0; word36 668 src/dps8/dps8_fnp2.c word36 data = 0; word36 690 src/dps8/dps8_fnp2.c word36 data = 0; word36 713 src/dps8/dps8_fnp2.c word36 data = 0; word36 737 src/dps8/dps8_fnp2.c word36 data = 0; word36 804 src/dps8/dps8_fnp2.c word36 data = 0; word36 165 src/dps8/dps8_fnp2.h word36 lineStatus0, lineStatus1; word36 253 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no word36 254 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd word36 255 src/dps8/dps8_fnp2.h word36 command_data [3]; word36 256 src/dps8/dps8_fnp2.h word36 word6; // data_addr, word_cnt; word36 257 src/dps8/dps8_fnp2.h word36 pad3 [2]; word36 263 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 264 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 265 src/dps8/dps8_fnp2.h word36 mystery [26]; // word2... word36 270 src/dps8/dps8_fnp2.h word36 word1; // dn355_no; is_hsla; la_no; slot_no // 0 word0 word36 271 src/dps8/dps8_fnp2.h word36 word2; // cmd_data_len; op_code; io_cmd // 1 word1 word36 272 src/dps8/dps8_fnp2.h word36 n_buffers; word36 273 src/dps8/dps8_fnp2.h word36 dcws [24]; word36 274 src/dps8/dps8_fnp2.h word36 command_data; word36 279 src/dps8/dps8_fnp2.h word36 dia_pcw; word36 280 src/dps8/dps8_fnp2.h word36 mailbox_requests; word36 281 src/dps8/dps8_fnp2.h word36 term_inpt_mpx_wd; word36 282 src/dps8/dps8_fnp2.h word36 last_mbx_req_count; word36 283 src/dps8/dps8_fnp2.h word36 num_in_use; word36 284 src/dps8/dps8_fnp2.h word36 mbx_used_flags; word36 285 src/dps8/dps8_fnp2.h word36 crash_data [2]; word36 290 src/dps8/dps8_fnp2.h #define MAILBOX_WORDS (sizeof (struct mailbox) / sizeof (word36)) word36 292 src/dps8/dps8_fnp2.h #define DIA_PCW (offsetof (struct mailbox, dia_pcw) / sizeof (word36)) word36 293 src/dps8/dps8_fnp2.h #define TERM_INPT_MPX_WD (offsetof (struct mailbox, term_inpt_mpx_wd) / sizeof (word36)) word36 294 src/dps8/dps8_fnp2.h #define CRASH_DATA (offsetof (struct mailbox, crash_data) / sizeof (word36)) word36 295 src/dps8/dps8_fnp2.h #define DN355_SUB_MBXES (offsetof (struct mailbox, dn355_sub_mbxes) / sizeof (word36)) word36 296 src/dps8/dps8_fnp2.h #define FNP_SUB_MBXES (offsetof (struct mailbox, fnp_sub_mbxes) / sizeof (word36)) word36 298 src/dps8/dps8_fnp2.h #define FNP_SUB_MBX_SIZE (sizeof (struct fnp_submailbox) / sizeof (word36)) word36 299 src/dps8/dps8_fnp2.h #define DN355_SUB_MBX_SIZE (sizeof (struct dn355_submailbox) / sizeof (word36)) word36 57 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) word36 71 src/dps8/dps8_fnp2_iomcmd.c static inline void l_putbits36_1 (vol word36 * x, uint p, word1 val) word36 79 src/dps8/dps8_fnp2_iomcmd.c word36 mask = ~ (~0U<<n); // n low bits on word36 80 src/dps8/dps8_fnp2_iomcmd.c word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 84 src/dps8/dps8_fnp2_iomcmd.c * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 116 src/dps8/dps8_fnp2_iomcmd.c fnp_core_read_n (mailboxAddress, (word36 *) & mbx, MAILBOX_WORDS, "dmpmbx"); word36 170 src/dps8/dps8_fnp2_iomcmd.c word36 command_data[3]; word36 461 src/dps8/dps8_fnp2_iomcmd.c word36 word6; word36 483 src/dps8/dps8_fnp2_iomcmd.c word36 echoTable [echoTableLen]; word36 508 src/dps8/dps8_fnp2_iomcmd.c word36 w = echoTable [i]; word36 623 src/dps8/dps8_fnp2_iomcmd.c word36 suspendStr = command_data[0]; word36 636 src/dps8/dps8_fnp2_iomcmd.c word36 resumeStr = command_data[1]; word36 659 src/dps8/dps8_fnp2_iomcmd.c word36 suspendStr = command_data[0]; word36 672 src/dps8/dps8_fnp2_iomcmd.c word36 resumeStr = command_data[1]; word36 1005 src/dps8/dps8_fnp2_iomcmd.c word36 dia_request_q_len; //-V779 word36 1007 src/dps8/dps8_fnp2_iomcmd.c word36 dia_rql_updates; //-V779 word36 1009 src/dps8/dps8_fnp2_iomcmd.c word36 pending_status; //-V779 word36 1011 src/dps8/dps8_fnp2_iomcmd.c word36 pending_status_updates; //-V779 word36 1014 src/dps8/dps8_fnp2_iomcmd.c word36 output_overlaps___parity_errors; //-V779 word36 1017 src/dps8/dps8_fnp2_iomcmd.c word36 software_status_overflows___hardware_status_overflows; //-V779 word36 1020 src/dps8/dps8_fnp2_iomcmd.c word36 input_alloc_failures___dia_current_q_len; //-V779 word36 1022 src/dps8/dps8_fnp2_iomcmd.c word36 exhaust; //-V779 word36 1025 src/dps8/dps8_fnp2_iomcmd.c word36 software_xte___sync_or_async; //-V779 word36 1028 src/dps8/dps8_fnp2_iomcmd.c word36 sync_or_async; //-V779 word36 1048 src/dps8/dps8_fnp2_iomcmd.c word36 pre_exhaust; //-V779 word36 1050 src/dps8/dps8_fnp2_iomcmd.c word36 echo_buf_overflow; //-V779 word36 1053 src/dps8/dps8_fnp2_iomcmd.c word36 bell_quits___pad; //-V779 word36 1055 src/dps8/dps8_fnp2_iomcmd.c word36 pad; //-V779 word36 1173 src/dps8/dps8_fnp2_iomcmd.c word36 word = 0; word36 1252 src/dps8/dps8_fnp2_iomcmd.c word36 data; word36 1263 src/dps8/dps8_fnp2_iomcmd.c word36 dcw; word36 1320 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1324 src/dps8/dps8_fnp2_iomcmd.c word36 n_buffers; word36 1335 src/dps8/dps8_fnp2_iomcmd.c word36 data; word36 1357 src/dps8/dps8_fnp2_iomcmd.c word36 v = 0; word36 1377 src/dps8/dps8_fnp2_iomcmd.c word36 v; word36 1407 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1413 src/dps8/dps8_fnp2_iomcmd.c word36 word1; word36 1489 src/dps8/dps8_fnp2_iomcmd.c word36 word2; word36 1495 src/dps8/dps8_fnp2_iomcmd.c word36 word1; word36 1693 src/dps8/dps8_fnp2_iomcmd.c word36 dia_pcw; word36 1804 src/dps8/dps8_fnp2_iomcmd.c word36 word; word36 1830 src/dps8/dps8_fnp2_iomcmd.c word36 dia_pcw; word36 1937 src/dps8/dps8_fnp2_iomcmd.c word36 bootloadStatus = 0; word36 1961 src/dps8/dps8_fnp2_iomcmd.c word36 dcw; word36 1975 src/dps8/dps8_fnp2_iomcmd.c word36 1982 src/dps8/dps8_fnp2_iomcmd.c word36 1989 src/dps8/dps8_fnp2_iomcmd.c word36 191 src/dps8/dps8_hw_consts.h # define SETHI36(a,b) (((a) &= MASKLO18), ((a) |= ((((word36)(b) & MASKLO18) << 18)))) word36 192 src/dps8/dps8_hw_consts.h # define SETLO36(a,b) (((a) &= MASKHI18), ((a) |= ((word36)(b) & MASKLO18))) word36 198 src/dps8/dps8_hw_consts.h # define GETHI72(a) ((word36) (((a) >> 36) & MASK36)) word36 199 src/dps8/dps8_hw_consts.h # define GETLO72(a) ((word36) ((a) & MASK36)) word36 275 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT36_64 (word36 w) word36 284 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT18_64 (word36 w) word36 293 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT21_64 (word36 w) word36 302 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT22_64 (word36 w) word36 311 src/dps8/dps8_hw_consts.h static inline t_int64 SIGNEXT24_64 (word36 w) word36 346 src/dps8/dps8_hw_consts.h static inline int128 SIGNEXT36_128 (word36 w) word36 379 src/dps8/dps8_hw_consts.h static inline word72 SIGNEXT36_72 (word36 w) word36 830 src/dps8/dps8_hw_consts.h word36 bits; word36 51 src/dps8/dps8_iefp.c void Read (cpu_state_t * cpup, word18 address, word36 * result, processor_cycle_type cyctyp) word36 155 src/dps8/dps8_iefp.c void ReadAPUDataRead (cpu_state_t * cpup, word18 address, word36 * result) { word36 225 src/dps8/dps8_iefp.c void ReadOperandRead (cpu_state_t * cpup, word18 address, word36 * result) { word36 297 src/dps8/dps8_iefp.c void ReadOperandRMW (cpu_state_t * cpup, word18 address, word36 * result) { word36 367 src/dps8/dps8_iefp.c void ReadAPUDataRMW (cpu_state_t * cpup, word18 address, word36 * result) { word36 439 src/dps8/dps8_iefp.c void ReadInstructionFetch (cpu_state_t * cpup, word18 address, word36 * result) { word36 509 src/dps8/dps8_iefp.c void ReadIndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result) { word36 581 src/dps8/dps8_iefp.c void Read2 (cpu_state_t * cpup, word18 address, word36 * result, processor_cycle_type cyctyp) { word36 677 src/dps8/dps8_iefp.c void Read2OperandRead (cpu_state_t * cpup, word18 address, word36 * result) { word36 769 src/dps8/dps8_iefp.c void Read2OperandRMW (cpu_state_t * cpup, word18 address, word36 * result) { word36 855 src/dps8/dps8_iefp.c void Read2InstructionFetch (cpu_state_t * cpup, word18 address, word36 * result) { word36 940 src/dps8/dps8_iefp.c void Read2RTCDOperandFetch (cpu_state_t * cpup, word18 address, word36 * result) { word36 979 src/dps8/dps8_iefp.c void Read2IndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result) { word36 1065 src/dps8/dps8_iefp.c void Read8 (cpu_state_t * cpup, word18 address, word36 * result, bool isAR) word36 1176 src/dps8/dps8_iefp.c void Read16 (cpu_state_t * cpup, word18 address, word36 * result) word36 1184 src/dps8/dps8_iefp.c void ReadPage (cpu_state_t * cpup, word18 address, word36 * result, bool isAR) word36 1302 src/dps8/dps8_iefp.c void Write (cpu_state_t * cpup, word18 address, word36 data, processor_cycle_type cyctyp) { word36 1376 src/dps8/dps8_iefp.c void WriteAPUDataStore (cpu_state_t * cpup, word18 address, word36 data) { word36 1444 src/dps8/dps8_iefp.c void WriteOperandStore (cpu_state_t * cpup, word18 address, word36 data) { word36 1520 src/dps8/dps8_iefp.c void Write2 (cpu_state_t * cpup, word18 address, word36 * data, processor_cycle_type cyctyp) word36 1608 src/dps8/dps8_iefp.c void Write2OperandStore (cpu_state_t * cpup, word18 address, word36 * data) { word36 1680 src/dps8/dps8_iefp.c void Write1 (cpu_state_t * cpup, word18 address, word36 data, bool isAR) word36 1761 src/dps8/dps8_iefp.c void Write8 (cpu_state_t * cpup, word18 address, word36 * data, bool isAR) word36 1868 src/dps8/dps8_iefp.c void Write16 (cpu_state_t * cpup, word18 address, word36 * data) word36 1875 src/dps8/dps8_iefp.c void Write32 (cpu_state_t * cpup, word18 address, word36 * data) word36 1886 src/dps8/dps8_iefp.c void WritePage (cpu_state_t * cpup, word18 address, word36 * data, bool isAR) word36 21 src/dps8/dps8_iefp.h void Read (word18 addr, word36 *dat, processor_cycle_type cyctyp); word36 22 src/dps8/dps8_iefp.h void Read2 (word18 addr, word36 *dat, processor_cycle_type cyctyp); word36 23 src/dps8/dps8_iefp.h void Write (word18 addr, word36 dat, processor_cycle_type cyctyp); word36 24 src/dps8/dps8_iefp.h void Write2 (word18 address, word36 * data, processor_cycle_type cyctyp); word36 47 src/dps8/dps8_iefp.h void ReadAPUDataRead (cpu_state_t * cpup, word18 addr, word36 *dat); word36 48 src/dps8/dps8_iefp.h void ReadOperandRead (cpu_state_t * cpup, word18 addr, word36 *dat); word36 50 src/dps8/dps8_iefp.h void ReadOperandRMW (cpu_state_t * cpup, word18 addr, word36 *dat); word36 51 src/dps8/dps8_iefp.h void ReadAPUDataRMW (cpu_state_t * cpup, word18 addr, word36 *dat); word36 56 src/dps8/dps8_iefp.h void ReadInstructionFetch (cpu_state_t * cpup, word18 addr, word36 *dat); word36 57 src/dps8/dps8_iefp.h void ReadIndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result); word36 58 src/dps8/dps8_iefp.h void Read2OperandRead (cpu_state_t * cpup, word18 address, word36 * result); word36 60 src/dps8/dps8_iefp.h void Read2OperandRMW (cpu_state_t * cpup, word18 address, word36 * result); word36 62 src/dps8/dps8_iefp.h void Read2InstructionFetch (cpu_state_t * cpup, word18 address, word36 * result); word36 63 src/dps8/dps8_iefp.h void Read2RTCDOperandFetch (cpu_state_t * cpup, word18 address, word36 * result); word36 64 src/dps8/dps8_iefp.h void Read2IndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result); word36 65 src/dps8/dps8_iefp.h void WriteAPUDataStore (cpu_state_t * cpup, word18 addr, word36 dat); word36 66 src/dps8/dps8_iefp.h void WriteOperandStore (cpu_state_t * cpup, word18 addr, word36 dat); word36 67 src/dps8/dps8_iefp.h void Write2OperandStore (cpu_state_t * cpup, word18 address, word36 * data); word36 69 src/dps8/dps8_iefp.h void Write1 (cpu_state_t * cpup, word18 address, word36 data, bool isAR); word36 70 src/dps8/dps8_iefp.h void Write8 (cpu_state_t * cpup, word18 address, word36 * data, bool isAR); word36 71 src/dps8/dps8_iefp.h void Write16 (cpu_state_t * cpup, word18 address, word36 * data); word36 72 src/dps8/dps8_iefp.h void Write32 (cpu_state_t * cpup, word18 address, word36 * data); word36 73 src/dps8/dps8_iefp.h void Read8 (cpu_state_t * cpup, word18 address, word36 * result, bool isAR); word36 74 src/dps8/dps8_iefp.h void Read16 (cpu_state_t * cpup, word18 address, word36 * result); word36 75 src/dps8/dps8_iefp.h void WritePage (cpu_state_t * cpup, word18 address, word36 * data, bool isAR); word36 76 src/dps8/dps8_iefp.h void ReadPage (cpu_state_t * cpup, word18 address, word36 * result, bool isAR); word36 61 src/dps8/dps8_ins.c static int doABSA (cpu_state_t * cpup, word36 * result); word36 66 src/dps8/dps8_ins.c static word36 barrelLeftMaskTable[37] = { word36 81 src/dps8/dps8_ins.c static word36 barrelRightMaskTable[37] = { word36 147 src/dps8/dps8_ins.c word36 tmpdata; word36 336 src/dps8/dps8_ins.c static void dump_words (cpu_state_t * cpup, word36 * words) word36 353 src/dps8/dps8_ins.c static void scu2words (cpu_state_t * cpup, word36 *words) word36 510 src/dps8/dps8_ins.c word36 should_be[8]; word36 511 src/dps8/dps8_ins.c word36 was[8]; word36 586 src/dps8/dps8_ins.c if (memcmp (words, rewrite_table[i].was, 8*sizeof (word36)) == 0) word36 588 src/dps8/dps8_ins.c memcpy (words, rewrite_table[i].should_be, 8*sizeof (word36)); word36 629 src/dps8/dps8_ins.c static void words2scu (cpu_state_t * cpup, word36 * words) word36 751 src/dps8/dps8_ins.c static void du2words (cpu_state_t * cpup, word36 * words) word36 820 src/dps8/dps8_ins.c static void words2du (cpu_state_t * cpup, word36 * words) word36 1175 src/dps8/dps8_ins.c word36 tmp[2]; word36 1196 src/dps8/dps8_ins.c word36 tmp[2]; word36 2760 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; word36 2761 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; word36 2763 src/dps8/dps8_ins.c cpu.Ypair[1] = (word36) cpu.PR[n].WORDNO << 18; word36 2764 src/dps8/dps8_ins.c cpu.Ypair[1] |= (word36) GET_PR_BITNO (n) << 9; word36 3063 src/dps8/dps8_ins.c word36 trZ = cpu.rA & cpu.CY; word36 3162 src/dps8/dps8_ins.c word36 capture; word36 3186 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 3188 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; word36 3243 src/dps8/dps8_ins.c cpu.CY = ((word36) cpu.rX[n]) << 18; word36 3412 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; word36 3413 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; word36 3466 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.TPR.TSR & MASK15) << 18; word36 3472 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; word36 3492 src/dps8/dps8_ins.c word36 capture; word36 3515 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 3516 src/dps8/dps8_ins.c word36 tmpSign = cpu.rQ & SIGN36; word36 3835 src/dps8/dps8_ins.c cpu.Yblock8[6] = ((word36)(cpu.rE & MASK8)) << 28; word36 3941 src/dps8/dps8_ins.c cpu.CY = ((word36) ((cpu.PPR.IC + 2) & MASK18)) << 18; word36 4082 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; word36 4089 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4119 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4193 src/dps8/dps8_ins.c word36 tmp = cpu.rA; word36 4197 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; word36 4198 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); word36 4199 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; word36 4200 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); word36 4204 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4242 src/dps8/dps8_ins.c word36 captureA, captureQ; word36 4271 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); word36 4272 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; word36 4273 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); word36 4284 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4285 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; word36 4332 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; word36 4353 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4397 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; word36 4424 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4465 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; word36 4472 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4501 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 4543 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 word36 5225 src/dps8/dps8_ins.c cpu.rQ = ((word36) (- (word36s) cpu.rQ)) & MASK36; word36 5303 src/dps8/dps8_ins.c cpu.rA = (word36) remainder & DMASK; word36 5304 src/dps8/dps8_ins.c cpu.rQ = (word36) quotient & DMASK; word36 5360 src/dps8/dps8_ins.c cpu.rA = (word36) (- (word36s) cpu.rA); word36 5464 src/dps8/dps8_ins.c word36 Z = ~cpu.rQ & (cpu.rA ^ cpu.CY); word36 5946 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & cpu.CY; word36 5990 src/dps8/dps8_ins.c word36 trZ = cpu.rA & ~cpu.CY; word36 6030 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & ~cpu.CY; word36 6102 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36)cpu.rE << 28) | word36 6123 src/dps8/dps8_ins.c cpu.CY = ((word36)cpu.rE << 28) | (((cpu.rA >> 8) & 01777777777LL)); word36 6441 src/dps8/dps8_ins.c cpu.CY = ((word36) (cpu.rE & 0377)) << 28; word36 6980 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].SNR) << 18; word36 6981 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].RNR) << 15; word36 6983 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] = (word36) cpu.PR[n].WORDNO << 18; word36 6984 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] |= (word36) GET_PR_BITNO(n) << 9; word36 7023 src/dps8/dps8_ins.c cpu.CY = ((word36) (GET_PR_BITNO(n) & 077)) << 30; word36 7025 src/dps8/dps8_ins.c cpu.CY |= ((word36) (cpu.PR[n].SNR & 07777)) << 18; word36 7317 src/dps8/dps8_ins.c cpu.CY = (word36)cpu.rRALR; word36 7327 src/dps8/dps8_ins.c cpu.CY = ((((word36) cpu.BAR.BASE) << 9) | cpu.BAR.BOUND) << 18; word36 7343 src/dps8/dps8_ins.c word36 tmp1 = cpu.rA & SIGN36; // A0 word36 7344 src/dps8/dps8_ins.c word36 tmp36 = (cpu.rA << 3) & DMASK; word36 7345 src/dps8/dps8_ins.c word36 tmp36q = tmp36 / cpu.CY; // this may be more than 4 bits, keep it for remainder calculation word36 7346 src/dps8/dps8_ins.c word36 tmp36r = 0; word36 7385 src/dps8/dps8_ins.c word36 tmp = cpu.rA & MASK36; word36 7386 src/dps8/dps8_ins.c word36 mask = SIGN36; word36 7795 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36) (cpu.DSBR.ADDR & PAMASK)) << (35 - 23); word36 7802 src/dps8/dps8_ins.c cpu.Ypair[1] = ((word36) (cpu.DSBR.BND & 037777)) << (71 - 50) | word36 7803 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.U & 1)) << (71 - 55) | word36 7804 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.STACK & 07777)) << (71 - 71); word36 8196 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [0] & 07LL) word36 8198 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [0] & 01LL) word36 8200 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [0] & 01LL) word36 8202 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] ? 1LL:0LL) word36 8204 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [0] & 07LL) word36 8207 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [1] & 07LL) word36 8209 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [1] & 01LL) word36 8211 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [1] & 01LL) word36 8213 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] ? 1LL:0LL) word36 8215 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [1] & 07LL) word36 8218 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [2] & 07LL) word36 8220 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [2] & 01LL) word36 8222 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [2] & 01LL) word36 8224 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] ? 1LL:0LL) word36 8226 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [2] & 07LL) word36 8229 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [3] & 07LL) word36 8231 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [3] & 01LL) word36 8233 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [3] & 01LL) word36 8235 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] ? 1LL:0LL) word36 8237 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [3] & 07LL) word36 8310 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[0] == 2 ? word36 8312 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[1] == 2 ? word36 8314 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[2] == 2 ? word36 8316 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[3] == 2 ? word36 8326 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) /* 0b01 DPS8M */ word36 8328 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.FLT_BASE & 0177LL) word36 8330 src/dps8/dps8_ins.c DPS8M_ (cpu.rA |= (word36) ((01L) /* 0b1 ID_PROM installed */ word36 8347 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) // 0b1 L68/DPS option: DPS word36 8353 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.enable_cache ? 1 : 0) word36 8358 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode) /* 0b1 DPS8M */ word36 8360 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode & 1U) word36 8368 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.options.proc_speed & 017LL) word36 8379 src/dps8/dps8_ins.c cpu.rA |= (word36) ((016L) // 0b1110 CPU ID word36 8382 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.cpu_num & 07LL) word36 8419 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [4] & 07LL) word36 8421 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [4] & 01LL) word36 8423 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [4] & 01LL) word36 8425 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] ? 1LL:0LL) word36 8427 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [4] & 07LL) word36 8430 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [5] & 07LL) word36 8432 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [5] & 01LL) word36 8434 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [5] & 01LL) word36 8436 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] ? 1LL:0LL) word36 8438 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [5] & 07LL) word36 8441 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [6] & 07LL) word36 8443 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [6] & 01LL) word36 8445 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [6] & 01LL) word36 8447 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] ? 1LL:0LL) word36 8449 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [6] & 07LL) word36 8452 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [7] & 07LL) word36 8454 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [7] & 01LL) word36 8456 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [7] & 01LL) word36 8458 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] ? 1LL:0LL) word36 8460 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [7] & 07LL) word36 8481 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] == 2 ? word36 8483 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] == 2 ? word36 8485 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] == 2 ? word36 8487 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] == 2 ? word36 8490 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] == 2 ? word36 8492 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] == 2 ? word36 8494 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] == 2 ? word36 8496 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] == 2 ? word36 8663 src/dps8/dps8_ins.c word36 result; word36 9029 src/dps8/dps8_ins.c word36 tmp36 = cpu.Yblock8[n]; word36 9282 src/dps8/dps8_ins.c word36 arx = 0; word36 9555 src/dps8/dps8_ins.c word36 op = M[i->address]; word36 9734 src/dps8/dps8_ins.c word36 9739 src/dps8/dps8_ins.c word36 9749 src/dps8/dps8_ins.c word36 9816 src/dps8/dps8_ins.c static int doABSA (cpu_state_t * cpup, word36 * result) word36 9818 src/dps8/dps8_ins.c word36 res; word36 9825 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format word36 9836 src/dps8/dps8_ins.c res = (word36) doAppendCycleABSA (cpup, 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 (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 1725 src/dps8/dps8_iom.c word36 word1, word2; word36 1761 src/dps8/dps8_iom.c word36 scw; word36 1871 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, pgte, (word36 *) & p -> PTW_DCW, __func__); word36 1909 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, pgte, (word36 *) & p -> PTW_DCW, __func__); word36 1944 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> PTW_LPW, __func__); word36 1953 src/dps8/dps8_iom.c void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word36 1995 src/dps8/dps8_iom.c void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, uint * cnt, bool write) { word36 2204 src/dps8/dps8_iom.c void dumpDCW (word36 DCW, word1 LPW_23_REL) { word36 2360 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, chanLoc + IOM_MBX_LPW, (word36 *) & p -> LPW, __func__); word36 2381 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, chanLoc + IOM_MBX_LPWX, (word36 *) & p -> LPWX, __func__); word36 2461 src/dps8/dps8_iom.c putbits36_3 ((word36 *) & p -> DCW, 18, p -> DCW_18_20_CP); word36 2467 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPW, 0, p -> LPW_DCW_PTR); word36 2468 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 18, p -> LPW_18_RES); word36 2469 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 19, p -> LPW_19_REL); word36 2470 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 20, p -> LPW_20_AE); word36 2471 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 21, p -> LPW_21_NC); word36 2472 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 22, p -> LPW_22_TAL); word36 2473 src/dps8/dps8_iom.c putbits36_1 ((word36 *) & p-> LPW, 23, p -> LPW_23_REL); word36 2474 src/dps8/dps8_iom.c putbits36_12 ((word36 *) & p-> LPW, 24, p -> LPW_TALLY); word36 2475 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPWX, 0, p -> LPWX_BOUND); word36 2476 src/dps8/dps8_iom.c putbits36_18 ((word36 *) & p-> LPWX, 18, p -> LPWX_SIZE); word36 2483 src/dps8/dps8_iom.c iom_core_read2 (iom_unit_idx, p -> LPW_DCW_PTR, (word36 *) & p -> PCW0, (word36 *) & p -> PCW1, __func__); word36 2512 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> DCW, __func__); word36 2522 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr, (word36 *) & p -> DCW, __func__); word36 2541 src/dps8/dps8_iom.c iom_core_read (iom_unit_idx, addr_, (word36 *) & p -> DCW, __func__); word36 2602 src/dps8/dps8_iom.c word36 imw; word36 2652 src/dps8/dps8_iom.c word36 faultWord = 0; word36 2660 src/dps8/dps8_iom.c word36 lpw; word36 2663 src/dps8/dps8_iom.c word36 scw; word36 2666 src/dps8/dps8_iom.c word36 dcw; word36 2754 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 2809 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 2833 src/dps8/dps8_iom.c (((word36) p -> LPW_DCW_PTR) + ((word36) p -> LPW_TALLY)) > word36 3081 src/dps8/dps8_iom.c word36 PCW_DCW = p->DCW; word36 3446 src/dps8/dps8_iom.c word36 lpw; word36 3449 src/dps8/dps8_iom.c word36 scw; word36 3452 src/dps8/dps8_iom.c word36 dcw; word36 3455 src/dps8/dps8_iom.c word36 status = 0400000000000ull; word36 3456 src/dps8/dps8_iom.c status |= (((word36) chan) & MASK6) << 27; word36 3457 src/dps8/dps8_iom.c status |= (((word36) devCode) & MASK8) << 18; word36 3458 src/dps8/dps8_iom.c status |= (((word36) status0) & MASK8) << 9; word36 3459 src/dps8/dps8_iom.c status |= (((word36) status1) & MASK8) << 0; word36 116 src/dps8/dps8_iom.h word36 LPW; word36 128 src/dps8/dps8_iom.h word36 LPWX; word36 140 src/dps8/dps8_iom.h word36 PCW0, PCW1; word36 152 src/dps8/dps8_iom.h word36 DCW; word36 232 src/dps8/dps8_iom.h word36 PTW_DCW; // pg B8. word36 233 src/dps8/dps8_iom.h word36 PTW_LPW; // pg B6. word36 402 src/dps8/dps8_iom.h void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word36 404 src/dps8/dps8_iom.h void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, word36 415 src/dps8/dps8_iom.h void iom_core_read (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word36 416 src/dps8/dps8_iom.h void iom_core_read2 (uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx); word36 417 src/dps8/dps8_iom.h void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word36 418 src/dps8/dps8_iom.h void iom_core_write2 (uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx); word36 419 src/dps8/dps8_iom.h void iom_core_read_lock (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word36 420 src/dps8/dps8_iom.h void iom_core_write_unlock (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word36 429 src/dps8/dps8_iom.h void dumpDCW (word36 DCW, word1 LPW_23_REL); word36 350 src/dps8/dps8_math.c word36 402 src/dps8/dps8_math.c word36 716 src/dps8/dps8_math.c void fno (cpu_state_t * cpup, word8 * E, word36 * A, word36 * Q) { word36 721 src/dps8/dps8_math.c void fno_ext (cpu_state_t * cpup, int * e0, word8 * E, word36 * A, word36 * Q) { word36 977 src/dps8/dps8_math.c word36 1603 src/dps8/dps8_math.c void fstr (cpu_state_t * cpup, word36 *Y) word36 1612 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; word36 1946 src/dps8/dps8_math.c word36 1956 src/dps8/dps8_math.c word36 1958 src/dps8/dps8_math.c word36 2311 src/dps8/dps8_math.c e1, e1, (word36) (m1 >> 36) & MASK36, (word36) m1 & MASK36); word36 2327 src/dps8/dps8_math.c e2, e2, (word36) (m2 >> 36) & MASK36, (word36) m2 & MASK36); word36 2860 src/dps8/dps8_math.c word36 quot = 0; word36 2876 src/dps8/dps8_math.c word36 remainder = sn; word36 3214 src/dps8/dps8_math.c void dfstr (cpu_state_t * cpup, word36 *Ypair) word36 3238 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; word36 3254 src/dps8/dps8_math.c Ypair[0] = ((word36) E & MASK8) << 28; word36 3299 src/dps8/dps8_math.c Ypair[0] = (((word36)E & MASK8) << 28) | ((A & 0777777777400LL) >> 8); word36 31 src/dps8/dps8_math.h void fno (cpu_state_t * cpup, word8 * E, word36 * A, word36 * Q); word36 32 src/dps8/dps8_math.h void fno_ext (cpu_state_t * cpup, int * e0, word8 * E, word36 * A, word36 * Q); word36 54 src/dps8/dps8_math.h void dfstr (cpu_state_t * cpup, word36 *Ypair); word36 55 src/dps8/dps8_math.h void fstr(cpu_state_t * cpup, word36 *CY); word36 70 src/dps8/dps8_mgp.c static void dumppkt(char *hdr, word36 *buf, uint words); word36 71 src/dps8/dps8_mgp.c static int handle_mgp_packet(word36 *buf, uint words); word36 72 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 1383 src/dps8/dps8_mgp.c handle_packet(int opcode, struct mgp_packet_header *p, word36 *buf, word36 1406 src/dps8/dps8_mgp.c handle_close(struct mgp_packet_header *p, word36 *buf, uint words) word36 1414 src/dps8/dps8_mgp.c word36 eof[1]; word36 1421 src/dps8/dps8_mgp.c handle_lose(int conni, struct mgp_packet_header *p, word36 *buf, uint words) word36 1432 src/dps8/dps8_mgp.c handle_connect(struct mgp_packet_header *p, word36 *buf, uint words) word36 1554 src/dps8/dps8_mgp.c handle_mgp_packet(word36 *buf, uint words) word36 1758 src/dps8/dps8_mgp.c make_mgp_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, word36 1783 src/dps8/dps8_mgp.c make_status_packet(int conni, word36 *buf, uint words) word36 1806 src/dps8/dps8_mgp.c make_noop_packet(word36 *buf, uint words) word36 1829 src/dps8/dps8_mgp.c make_open_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, word36 1862 src/dps8/dps8_mgp.c make_connect_packet(u_char *pkt, uint pklen, word36 *buf, uint words, word36 1909 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf, word36 1966 src/dps8/dps8_mgp.c poll_from_cbridge(word36 *buf, uint words, uint probe_only) word36 24 src/dps8/dps8_mp.h word36 inst; word36 26 src/dps8/dps8_mp.h word36 A, Q, E, X [8], IR, TR, RALR; word36 1076 src/dps8/dps8_mt.c word36 buffer [tally]; word36 1127 src/dps8/dps8_mt.c word36 control[1]; word36 1193 src/dps8/dps8_mt.c word36 buf [tally]; word36 1195 src/dps8/dps8_mt.c (void)memset (buf, 0, sizeof (word36) * tally); word36 1226 src/dps8/dps8_mt.c word36 control[1]; word36 1268 src/dps8/dps8_mt.c word36 buffer [tally]; word36 1419 src/dps8/dps8_mt.c word36 buffer [bufsz]; word36 1450 src/dps8/dps8_mt.c buffer [cnt / 2] = ((word36) handler) << 18; word36 375 src/dps8/dps8_prt.c static word9 gc (word36 * b, uint os) word36 391 src/dps8/dps8_prt.c static int parseID (word36 * b, uint tally, char * qno, char * name) word36 430 src/dps8/dps8_prt.c static int openPrtFile (int prt_unit_num, word36 * buffer, uint tally) word36 477 src/dps8/dps8_prt.c static int eoj (word36 * buffer, uint tally) word36 571 src/dps8/dps8_prt.c word36 616 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 980 src/dps8/dps8_prt.c word36 buffer[tally]; word36 1069 src/dps8/dps8_prt.c word36 buffer[tally]; word36 1506 src/dps8/dps8_scu.c uint UNUSED cpu_port_num, word36 rega) word36 1604 src/dps8/dps8_scu.c word36 rega, word36 regq) word36 1844 src/dps8/dps8_scu.c word36 b16_51 = cpu.rQ; word36 1876 src/dps8/dps8_scu.c word36 * rega, word36 * regq) word36 2003 src/dps8/dps8_scu.c word36 a, q; word36 2494 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, word36 2495 src/dps8/dps8_scu.c word36 * regq) word36 2593 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) word36 95 src/dps8/dps8_scu.h word36 rega, word36 regq); word36 96 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 97 src/dps8/dps8_scu.h t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_idx, word18 addr, word36 * rega, word36 * regq); word36 99 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); word36 100 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq); word36 288 src/dps8/dps8_socket_dev.c static void set_error_str (word36 * error_str, const char * str) word36 312 src/dps8/dps8_socket_dev.c static void set_error (word36 * error_str, int _errno) word36 330 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) word36 397 src/dps8/dps8_socket_dev.c buffer[3] = ((word36) ((word36s) fd)) & MASK36; // fd word36 402 src/dps8/dps8_socket_dev.c static void skt_gethostbyname (word36 * buffer) word36 467 src/dps8/dps8_socket_dev.c buffer[65] = ((word36) addr) << 4; word36 489 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) word36 554 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) word36 618 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc word36 622 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) word36 648 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) word36 692 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) rc)) & MASK36; // rc word36 696 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) word36 730 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 770 src/dps8/dps8_socket_dev.c word36 count36 = buffer[1]; word36 798 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc word36 885 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 910 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 943 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 969 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 995 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 1025 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; word36 1050 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 1079 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ word36 1166 src/dps8/dps8_socket_dev.c word36 buffer [7]; word36 1168 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].accept_fd)) & MASK36; word36 1169 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) fd)) & MASK36; word36 1170 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) from.sin_family)) & MASK36; word36 1174 src/dps8/dps8_socket_dev.c buffer[4] = ((word36) addr) << 4; word36 1194 src/dps8/dps8_socket_dev.c word36 buffer [buffer_size_wds]; word36 1196 src/dps8/dps8_socket_dev.c (void)memset (buffer, 0, sizeof (word36) * buffer_size_wds); word36 1208 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].read_fd)) & MASK36; word36 1209 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) (sk_data.unit_data[unit_idx][dev_code].read_buffer_sz)) & MASK36; word36 1210 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) nread)) & MASK36; word36 85 src/dps8/dps8_state.h vol word36 M [MEMSIZE]; word36 101 src/dps8/dps8_sys.c vol word36 * M = NULL; //-V707 // memory word36 2033 src/dps8/dps8_sys.c word36 2092 src/dps8/dps8_sys.c word36 2116 src/dps8/dps8_sys.c word36 2177 src/dps8/dps8_sys.c word36 2868 src/dps8/dps8_sys.c word36 argv = M[argnop]; word36 3164 src/dps8/dps8_sys.c word36 SDWeven, SDWodd; word36 3212 src/dps8/dps8_sys.c word36 PTWx1; word36 3229 src/dps8/dps8_sys.c word36 SDWeven, SDWodd; word36 3272 src/dps8/dps8_sys.c word36 PTWx2; word36 3576 src/dps8/dps8_sys.c word36 value; word36 4049 src/dps8/dps8_sys.c { "sizeof(*M)", SYM_STRUCT_SZ, SYM_SZ, sizeof (word36) }, word36 4746 src/dps8/dps8_sys.c word36 word1 = *val; word36 96 src/dps8/dps8_sys.h extern vol word36 * M; //-V707 word36 88 src/dps8/dps8_utils.c char *disassemble(char * result, word36 instruction) word36 173 src/dps8/dps8_utils.c word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) word36 253 src/dps8/dps8_utils.c word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) word36 617 src/dps8/dps8_utils.c (word36) ((rshift_128 (op1, 36).l) & MASK36), word36 618 src/dps8/dps8_utils.c (word36) (op1.l & MASK36), word36 619 src/dps8/dps8_utils.c (word36) (rshift_128 (op2, 36).l & MASK36), word36 620 src/dps8/dps8_utils.c (word36) (op2.l & MASK36), word36 625 src/dps8/dps8_utils.c (word36) ((op1 >> 36) & MASK36), word36 626 src/dps8/dps8_utils.c (word36) (op1 & MASK36), word36 627 src/dps8/dps8_utils.c (word36) ((op2 >> 36) & MASK36), word36 628 src/dps8/dps8_utils.c (word36) (op2 & MASK36), word36 671 src/dps8/dps8_utils.c (word36) ((rshift_128 (op1e, 36).l) & MASK36), word36 672 src/dps8/dps8_utils.c (word36) (op1e.l & MASK36), word36 673 src/dps8/dps8_utils.c (word36) (rshift_128 (op2e, 36).l & MASK36), word36 674 src/dps8/dps8_utils.c (word36) (op2e.l & MASK36), word36 679 src/dps8/dps8_utils.c (word36) ((op1e >> 36) & MASK36), word36 680 src/dps8/dps8_utils.c (word36) (op1e & MASK36), word36 681 src/dps8/dps8_utils.c (word36) ((op2e >> 36) & MASK36), word36 682 src/dps8/dps8_utils.c (word36) (op2e & MASK36), word36 694 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); word36 697 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); word36 776 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); word36 779 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); word36 785 src/dps8/dps8_utils.c word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf) word36 794 src/dps8/dps8_utils.c word36 res = ((word36) (- ((word36s) op1))) & DMASK; word36 854 src/dps8/dps8_utils.c void copyBytes(int posn, word36 src, word36 *dst) word36 856 src/dps8/dps8_utils.c word36 mask = 0; word36 870 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits word36 879 src/dps8/dps8_utils.c void copyChars(int posn, word36 src, word36 *dst) word36 881 src/dps8/dps8_utils.c word36 mask = 0; word36 901 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits word36 913 src/dps8/dps8_utils.c void putByte(word36 *dst, word9 data, int posn) word36 936 src/dps8/dps8_utils.c void putChar(word36 *dst, word6 data, int posn) word36 965 src/dps8/dps8_utils.c word72 convert_to_word72(word36 even, word36 odd) word36 974 src/dps8/dps8_utils.c void convert_to_word36 (word72 src, word36 *even, word36 *odd) word36 980 src/dps8/dps8_utils.c *even = (word36)(src >> 36) & DMASK; word36 981 src/dps8/dps8_utils.c *odd = (word36)src & DMASK; word36 985 src/dps8/dps8_utils.c void cmp36(cpu_state_t * cpup, word36 oP1, word36 oP2, word18 *flags) word36 992 src/dps8/dps8_utils.c word36 sign1 = (word36) op1 & SIGN36; word36 993 src/dps8/dps8_utils.c word36 sign2 = (word36) op2 & SIGN36; word36 1073 src/dps8/dps8_utils.c void cmp36wl(cpu_state_t * cpup, word36 A, word36 Y, word36 Q, word18 *flags) word36 1766 src/dps8/dps8_utils.c static word36 extrASCII36 (uint8 * bits, uint woffset) word36 1776 src/dps8/dps8_utils.c return (word36) (w & MASK36); word36 1788 src/dps8/dps8_utils.c word36 extr36 (uint8 * bits, uint woffset) word36 1812 src/dps8/dps8_utils.c return (word36) (w & MASK36); word36 1815 src/dps8/dps8_utils.c static void putASCII36 (word36 val, uint8 * bits, uint woffset) word36 1824 src/dps8/dps8_utils.c void put36 (word36 val, uint8 * bits, uint woffset) word36 1861 src/dps8/dps8_utils.c int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) word36 1880 src/dps8/dps8_utils.c int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) word36 1899 src/dps8/dps8_utils.c int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) word36 1917 src/dps8/dps8_utils.c int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) word36 45 src/dps8/dps8_utils.h char *disassemble(char * result, word36 instruction); word36 47 src/dps8/dps8_utils.h word72 convert_to_word72 (word36 even, word36 odd); word36 48 src/dps8/dps8_utils.h void convert_to_word36 (word72 src, word36 *even, word36 *odd); word36 50 src/dps8/dps8_utils.h word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf); word36 53 src/dps8/dps8_utils.h void copyBytes(int posn, word36 src, word36 *dst); word36 54 src/dps8/dps8_utils.h void copyChars(int posn, word36 src, word36 *dst); word36 56 src/dps8/dps8_utils.h void putByte(word36 *dst, word9 data, int posn); word36 57 src/dps8/dps8_utils.h void putChar(word36 *dst, word6 data, int posn); word36 59 src/dps8/dps8_utils.h void cmp36(cpu_state_t * cpup, word36 op1, word36 op2, word18 *flags); word36 60 src/dps8/dps8_utils.h void cmp36wl(cpu_state_t * cpup, word36 A, word36 Y, word36 Q, word18 *flags); word36 118 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { word36 128 src/dps8/dps8_utils.h static inline word1 getbits36_1 (word36 x, uint i) word36 139 src/dps8/dps8_utils.h static inline word2 getbits36_2 (word36 x, uint i) word36 150 src/dps8/dps8_utils.h static inline word3 getbits36_3 (word36 x, uint i) word36 161 src/dps8/dps8_utils.h static inline word4 getbits36_4 (word36 x, uint i) word36 172 src/dps8/dps8_utils.h static inline word5 getbits36_5 (word36 x, uint i) word36 183 src/dps8/dps8_utils.h static inline word6 getbits36_6 (word36 x, uint i) word36 194 src/dps8/dps8_utils.h static inline word7 getbits36_7 (word36 x, uint i) word36 205 src/dps8/dps8_utils.h static inline word8 getbits36_8 (word36 x, uint i) word36 216 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) word36 227 src/dps8/dps8_utils.h static inline word10 getbits36_10 (word36 x, uint i) word36 238 src/dps8/dps8_utils.h static inline word12 getbits36_12 (word36 x, uint i) word36 249 src/dps8/dps8_utils.h static inline word14 getbits36_14 (word36 x, uint i) word36 260 src/dps8/dps8_utils.h static inline word15 getbits36_15 (word36 x, uint i) word36 271 src/dps8/dps8_utils.h static inline word16 getbits36_16 (word36 x, uint i) word36 282 src/dps8/dps8_utils.h static inline word18 getbits36_18 (word36 x, uint i) word36 293 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) word36 304 src/dps8/dps8_utils.h static inline word28 getbits36_28 (word36 x, uint i) word36 315 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) word36 322 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 326 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); word36 330 src/dps8/dps8_utils.h static inline word36 setbits36_1 (word36 x, uint p, word1 val) word36 338 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 339 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 342 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 346 src/dps8/dps8_utils.h static inline word36 setbits36_4 (word36 x, uint p, word4 val) word36 354 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 355 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 358 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 362 src/dps8/dps8_utils.h static inline word36 setbits36_5 (word36 x, uint p, word5 val) word36 370 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 371 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 374 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 378 src/dps8/dps8_utils.h static inline word36 setbits36_6 (word36 x, uint p, word6 val) word36 386 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 387 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 390 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 394 src/dps8/dps8_utils.h static inline word36 setbits36_8 (word36 x, uint p, word8 val) word36 402 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 403 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 406 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 410 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) word36 418 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 419 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 422 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 426 src/dps8/dps8_utils.h static inline word36 setbits36_16 (word36 x, uint p, word16 val) word36 434 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 435 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 438 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 442 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) word36 450 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 451 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 454 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); word36 458 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) word36 466 src/dps8/dps8_utils.h word36 mask = ~ ((word36)~0U << n); // n low bits on word36 474 src/dps8/dps8_utils.h static inline void putbits36_1 (word36 * x, uint p, word1 val) word36 482 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 483 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 486 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 489 src/dps8/dps8_utils.h static inline void putbits36_2 (word36 * x, uint p, word2 val) word36 497 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 498 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 501 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 504 src/dps8/dps8_utils.h static inline void putbits36_3 (word36 * x, uint p, word3 val) word36 512 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 513 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 516 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 519 src/dps8/dps8_utils.h static inline void putbits36_4 (word36 * x, uint p, word4 val) word36 527 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 528 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 531 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 534 src/dps8/dps8_utils.h static inline void putbits36_5 (word36 * x, uint p, word5 val) word36 542 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 543 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 546 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 549 src/dps8/dps8_utils.h static inline void putbits36_6 (word36 * x, uint p, word6 val) word36 557 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 558 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 561 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 564 src/dps8/dps8_utils.h static inline void putbits36_7 (word36 * x, uint p, word7 val) word36 572 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 573 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 576 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 579 src/dps8/dps8_utils.h static inline void putbits36_8 (word36 * x, uint p, word8 val) word36 587 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 588 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 591 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 594 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val) word36 602 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 603 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 616 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 628 src/dps8/dps8_utils.h static inline void putbits36_10 (word36 * x, uint p, word10 val) word36 636 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 637 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 640 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 643 src/dps8/dps8_utils.h static inline void putbits36_12 (word36 * x, uint p, word12 val) word36 651 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 652 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 655 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 658 src/dps8/dps8_utils.h static inline void putbits36_13 (word36 * x, uint p, word13 val) word36 666 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 667 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 670 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 673 src/dps8/dps8_utils.h static inline void putbits36_14 (word36 * x, uint p, word14 val) word36 681 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 682 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 685 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 688 src/dps8/dps8_utils.h static inline void putbits36_15 (word36 * x, uint p, word15 val) word36 696 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 697 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 700 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 703 src/dps8/dps8_utils.h static inline void putbits36_16 (word36 * x, uint p, word16 val) word36 711 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 712 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 715 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 718 src/dps8/dps8_utils.h static inline void putbits36_17 (word36 * x, uint p, word17 val) word36 726 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 727 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 730 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 733 src/dps8/dps8_utils.h static inline void putbits36_18 (word36 * x, uint p, word18 val) word36 741 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 742 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 745 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 748 src/dps8/dps8_utils.h static inline void putbits36_23 (word36 * x, uint p, word23 val) word36 756 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 757 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 760 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 763 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) word36 771 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 772 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 775 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 778 src/dps8/dps8_utils.h static inline void putbits36_28 (word36 * x, uint p, word28 val) word36 786 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on word36 787 src/dps8/dps8_utils.h word36 smask = mask << (unsigned) shift; // shift 1s to proper position; result 0*1{n}0* word36 790 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); word36 866 src/dps8/dps8_utils.h static inline void setmask (word36 * v, word36 mask) word36 875 src/dps8/dps8_utils.h static inline void clrmask (word36 * v, word36 mask) word36 881 src/dps8/dps8_utils.h word36 extr36 (uint8 * bits, uint woffset); word36 882 src/dps8/dps8_utils.h void put36 (word36 val, uint8 * bits, uint woffset); word36 883 src/dps8/dps8_utils.h int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); word36 884 src/dps8/dps8_utils.h int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); word36 885 src/dps8/dps8_utils.h int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); word36 886 src/dps8/dps8_utils.h int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); word36 889 src/dps8/dps8_utils.h word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); word36 890 src/dps8/dps8_utils.h word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); word36 959 src/dps8/fnpuv.c void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3) word36 52 src/dps8/fnpuv.h void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3); word36 70 src/dps8/hdbg.c word36 inst; word36 75 src/dps8/hdbg.c word36 data; word36 96 src/dps8/hdbg.c word36 data; word36 120 src/dps8/hdbg.c word36 data; word36 200 src/dps8/hdbg.c void hdbgMRead (word24 addr, word36 data, const char * ctx) { word36 208 src/dps8/hdbg.c void hdbgMWrite (word24 addr, word36 data, const char * ctx) { word36 216 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word36 226 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word36 266 src/dps8/hdbg.c void hdbgRegR (enum hregs_t type, word36 data, const char * ctx) { word36 274 src/dps8/hdbg.c void hdbgRegW (enum hregs_t type, word36 data, const char * ctx) { word36 664 src/dps8/hdbg.c /* ssize_t n = */ write (fd, (const void *) M, MEMSIZE * sizeof (word36)); word36 42 src/dps8/hdbg.h void hdbgMRead (word24 addr, word36 data, const char * ctx); word36 43 src/dps8/hdbg.h void hdbgMWrite (word24 addr, word36 data, const char * ctx); word36 66 src/dps8/hdbg.h void hdbgRegR (enum hregs_t type, word36 data, const char * ctx); word36 67 src/dps8/hdbg.h void hdbgRegW (enum hregs_t type, word36 data, const char * ctx); word36 72 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word36 73 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word36 84 src/dps8/hdbg.h # define HDBGRegXR(i, c) hdbgRegR (hreg_X0+(i), (word36) cpu.rX[i], c) word36 85 src/dps8/hdbg.h # define HDBGRegXW(i, c) hdbgRegW (hreg_X0+(i), (word36) cpu.rX[i], c) word36 86 src/dps8/hdbg.h # define HDBGRegYR(c) hdbgRegR (hreg_Y, (word36) cpu.rY, c) word36 87 src/dps8/hdbg.h # define HDBGRegYW(c) hdbgRegW (hreg_Y, (word36) cpu.rY, c) word36 88 src/dps8/hdbg.h # define HDBGRegZR(r, c) hdbgRegR (hreg_Z, (word36) r, c) word36 89 src/dps8/hdbg.h # define HDBGRegZW(r, c) hdbgRegW (hreg_Z, (word36) r, c) word36 94 src/dps8/hdbg.h # define HDBGRegIR(c) hdbgRegW (hreg_IR, (word36) cpu.cu.IR, c) word36 502 src/dps8/panelScraper.c SETL (bank_a, 0+3, (word36) t, 36); word36 85 src/dps8/segldr.c word36 * ptwp = (word36 *) M + x1 + ADDR_DSPT; word36 118 src/dps8/segldr.c putbits36_24 ((word36 *) & M[sdw0], 0, pgTblAddr); // ADDR word36 123 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 24, 0); // R1 word36 124 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 27, 0); // R2 word36 125 src/dps8/segldr.c putbits36_3 ((word36 *) & M[sdw0], 30, 0); // R3 word36 126 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw0], 33, 1); // F word36 127 src/dps8/segldr.c putbits36_2 ((word36 *) & M[sdw0], 34, 0); // FC word36 128 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 0, 0); // 0 word36 129 src/dps8/segldr.c putbits36_14 ((word36 *) & M[sdw1], 1, bound); // BOUND word36 130 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 15, 1); // R word36 131 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 16, 1); // E word36 132 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 17, 1); // W word36 133 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 18, 0); // P word36 134 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 19, 0); // U word36 135 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 20, 1); // G word36 136 src/dps8/segldr.c putbits36_1 ((word36 *) & M[sdw1], 21, 1); // C word36 137 src/dps8/segldr.c putbits36_14 ((word36 *) & M[sdw1], 21, 0); // EB word36 146 src/dps8/segldr.c putbits36_18 ((word36 *) & M[ptw], 0, pgAddr); // points to the Segment Page word36 147 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 26, 0); // unused 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], 29, 0); // unmodified word36 150 src/dps8/segldr.c putbits36_1 ((word36 *) & M[ptw], 33, 1); // page is in memory word36 151 src/dps8/segldr.c putbits36_2 ((word36 *) & M[ptw], 34, 0); // fault code word36 163 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 338 src/dps8/segldr.c #define msize (MEMSIZE * sizeof (word36)) word36 342 src/dps8/segldr.c uint wrsz = sz * sizeof (word36); word36 401 src/dps8/segldr.c (unsigned long long) (n / sizeof (word36)),