uint 20 src/dps8/doAppendCycleABSA.h word24 doAppendCycleABSA (cpu_state_t * cpup, word36 * data, uint nWords) { uint 18 src/dps8/doAppendCycleAPUDataRMW.h word24 doAppendCycleAPUDataRMW (cpu_state_t * cpup, word36 * data, uint nWords) { uint 18 src/dps8/doAppendCycleAPUDataRead.h word24 doAppendCycleAPUDataRead (cpu_state_t * cpup, word36 * data, uint nWords) { uint 18 src/dps8/doAppendCycleAPUDataStore.h word24 doAppendCycleAPUDataStore (cpu_state_t * cpup, word36 * data, uint nWords) { uint 54 src/dps8/doAppendCycleIndirectWordFetch.h word24 doAppendCycleIndirectWordFetch (cpu_state_t * cpup, word36 * data, uint nWords) { uint 67 src/dps8/doAppendCycleIndirectWordFetch.h uint this = UC_INDIRECT_WORD_FETCH; uint 62 src/dps8/doAppendCycleInstructionFetch.h word24 doAppendCycleInstructionFetch (cpu_state_t * cpup, word36 * data, uint nWords) { uint 78 src/dps8/doAppendCycleInstructionFetch.h uint this = UC_INSTRUCTION_FETCH; uint 18 src/dps8/doAppendCycleOperandRMW.h word24 doAppendCycleOperandRMW (cpu_state_t * cpup, word36 * data, uint nWords) { uint 58 src/dps8/doAppendCycleOperandRead.h word24 doAppendCycleOperandRead (cpu_state_t * cpup, word36 * data, uint nWords) { uint 73 src/dps8/doAppendCycleOperandRead.h uint this = UC_OPERAND_READ; uint 18 src/dps8/doAppendCycleOperandStore.h word24 doAppendCycleOperandStore (cpu_state_t * cpup, word36 * data, uint nWords) { uint 18 src/dps8/doAppendCycleRTCDOperandFetch.h word24 doAppendCycleRTCDOperandFetch (cpu_state_t * cpup, word36 * data, uint nWords) { uint 428 src/dps8/dps8.h uint ndes; // number of operand descriptor words for instruction (mw EIS) uint 260 src/dps8/dps8_absi.c static iom_cmd_rc_t absi_cmd (uint iomUnitIdx, uint chan) uint 342 src/dps8/dps8_absi.c iom_cmd_rc_t absi_iom_cmd (uint iomUnitIdx, uint chan) uint 22 src/dps8/dps8_absi.h iom_cmd_rc_t absi_iom_cmd (uint iomUnitIdx, uint chan); uint 178 src/dps8/dps8_append.c for (uint i = 0; i < N_MODEL_WAM_ENTRIES; i ++) uint 191 src/dps8/dps8_append.c for (uint i = 0; i < N_MODEL_WAM_ENTRIES; i ++) uint 316 src/dps8/dps8_append.c static word6 calc_hit_am (word6 LRU, uint hit_level) uint 379 src/dps8/dps8_append.c uint setno = segno & 017; uint 380 src/dps8/dps8_append.c uint toffset; uint 562 src/dps8/dps8_append.c static uint to_be_discarded_am (word6 LRU) uint 565 src/dps8/dps8_append.c uint 644 src/dps8/dps8_append.c uint setno = segno & 017; uint 645 src/dps8/dps8_append.c uint toffset; uint 664 src/dps8/dps8_append.c for (uint toffset1 = 0; toffset1 < 64; toffset1 += 16) { // update LRU uint 724 src/dps8/dps8_append.c uint setno = (CA >> 10) & 017; uint 725 src/dps8/dps8_append.c uint toffset; uint 880 src/dps8/dps8_append.c uint setno = (offset >> 10) & 017; uint 881 src/dps8/dps8_append.c uint toffset; uint 905 src/dps8/dps8_append.c for (uint toffset1 = 0; toffset1 < 64; toffset1 += 16) // update LRU uint 1061 src/dps8/dps8_append.c word24 do_append_cycle (cpu_state_t * cpup, processor_cycle_type thisCycle, word36 * data, uint nWords) { uint 1192 src/dps8/dps8_append.c uint nWords) uint 125 src/dps8/dps8_append.h word24 do_append_cycle (cpu_state_t * cpup, processor_cycle_type thisCycle, word36 * data, uint nWords); uint 127 src/dps8/dps8_append.h word24 doAppendCycleUnknown (cpu_state_t * cpup, word36 * data, uint nWords); uint 128 src/dps8/dps8_append.h word24 doAppendCycleOperandStore (cpu_state_t * cpup, word36 * data, uint nWords); uint 129 src/dps8/dps8_append.h word24 doAppendCycleOperandRead (cpu_state_t * cpup, word36 * data, uint nWords); uint 130 src/dps8/dps8_append.h word24 doAppendCycleIndirectWordFetch (cpu_state_t * cpup, word36 * data, uint nWords); uint 131 src/dps8/dps8_append.h word24 doAppendCycleRTCDOperandFetch (cpu_state_t * cpup, word36 * data, uint nWords); uint 132 src/dps8/dps8_append.h word24 doAppendCycleInstructionFetch (cpu_state_t * cpup, word36 * data, uint nWords); uint 133 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRead (cpu_state_t * cpup, word36 * data, uint nWords); uint 134 src/dps8/dps8_append.h word24 doAppendCycleAPUDataStore (cpu_state_t * cpup, word36 * data, uint nWords); uint 135 src/dps8/dps8_append.h word24 doAppendCycleABSA (cpu_state_t * cpup, word36 * data, uint nWords); uint 137 src/dps8/dps8_append.h word24 doAppendCycleOperandRMW (cpu_state_t * cpup, word36 * data, uint nWords); uint 138 src/dps8/dps8_append.h word24 doAppendCycleAPUDataRMW (cpu_state_t * cpup, word36 * data, uint nWords); uint 200 src/dps8/dps8_cable.c static bool name_match (const char * str, const char * pattern, uint * val) uint 220 src/dps8/dps8_cable.c * val = (uint) (q - tags); uint 236 src/dps8/dps8_cable.c * val = (uint) l; uint 242 src/dps8/dps8_cable.c static t_stat back_cable_iom_to_scu (int uncable, uint iom_unit_idx, uint iom_port_num, uint scu_unit_idx, uint scu_port_num) uint 265 src/dps8/dps8_cable.c static t_stat cable_scu_to_iom (int uncable, uint scu_unit_idx, uint scu_port_num, uint iom_unit_idx, uint iom_port_num) uint 309 src/dps8/dps8_cable.c p->iom_port_num = (uint) iom_port_num; uint 323 src/dps8/dps8_cable.c static t_stat back_cable_cpu_to_scu (int uncable, uint cpu_unit_idx, uint cpu_port_num, uint 324 src/dps8/dps8_cable.c uint scu_unit_idx, uint scu_port_num, uint scu_subport_num) uint 348 src/dps8/dps8_cable.c static t_stat cable_scu_to_cpu (int uncable, uint scu_unit_idx, uint scu_port_num, uint 349 src/dps8/dps8_cable.c uint scu_subport_num, uint cpu_unit_idx, uint cpu_port_num, bool is_exp) uint 395 src/dps8/dps8_cable.c p->cpu_port_num = (uint) cpu_port_num; uint 414 src/dps8/dps8_cable.c static t_stat cable_scu (int uncable, uint scu_unit_idx, char * * name_save) uint 443 src/dps8/dps8_cable.c uint unit_idx; uint 475 src/dps8/dps8_cable.c return cable_scu_to_iom (uncable, scu_unit_idx, (uint) scu_port_num, uint 476 src/dps8/dps8_cable.c unit_idx, (uint) iom_port_num); uint 532 src/dps8/dps8_cable.c return cable_scu_to_cpu (uncable, scu_unit_idx, (uint) scu_port_num, uint 533 src/dps8/dps8_cable.c (uint) scu_subport_num, unit_idx, (uint) cpu_port_num, is_exp); uint 543 src/dps8/dps8_cable.c uint iom_unit_idx, uint chan_num) uint 575 src/dps8/dps8_cable.c uint iom_unit_idx, uint chan_num, uint 576 src/dps8/dps8_cable.c uint ctlr_unit_idx, uint port_num, uint 655 src/dps8/dps8_cable.c static t_stat cable_iom (int uncable, uint iom_unit_idx, char * * name_save) uint 680 src/dps8/dps8_cable.c uint unit_idx; uint 703 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 704 src/dps8/dps8_cable.c unit_idx, (uint) ipc_port_num, uint 733 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 734 src/dps8/dps8_cable.c unit_idx, (uint) msp_port_num, uint 763 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 764 src/dps8/dps8_cable.c unit_idx, (uint) mtp_port_num, uint 794 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 795 src/dps8/dps8_cable.c unit_idx, (uint) urp_port_num, uint 812 src/dps8/dps8_cable.c uint opc_port_num = 0; uint 814 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 832 src/dps8/dps8_cable.c uint fnp_port_num = 0; uint 834 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 854 src/dps8/dps8_cable.c uint absi_port_num = 0; uint 856 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 878 src/dps8/dps8_cable.c uint mgp_port_num = 0; uint 880 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 902 src/dps8/dps8_cable.c uint skc_port_num = 0; uint 904 src/dps8/dps8_cable.c iom_unit_idx, (uint) chan_num, uint 920 src/dps8/dps8_cable.c uint ctlr_unit_idx, uint dev_code, uint 956 src/dps8/dps8_cable.c uint ctlr_unit_idx, uint 957 src/dps8/dps8_cable.c uint dev_code, uint 960 src/dps8/dps8_cable.c uint unit_idx, uint 1014 src/dps8/dps8_cable.c static t_stat cable_mtp (int uncable, uint ctlr_unit_idx, char * * name_save) uint 1039 src/dps8/dps8_cable.c uint mt_unit_idx; uint 1052 src/dps8/dps8_cable.c (uint) dev_code, uint 1067 src/dps8/dps8_cable.c static t_stat cable_ipc (int uncable, uint ctlr_unit_idx, char * * name_save) uint 1092 src/dps8/dps8_cable.c uint dsk_unit_idx; uint 1105 src/dps8/dps8_cable.c (uint) dev_code, uint 1120 src/dps8/dps8_cable.c static t_stat cable_msp (int uncable, uint ctlr_unit_idx, char * * name_save) uint 1145 src/dps8/dps8_cable.c uint dsk_unit_idx; uint 1158 src/dps8/dps8_cable.c (uint) dev_code, uint 1173 src/dps8/dps8_cable.c static t_stat cable_urp (int uncable, uint ctlr_unit_idx, char * * name_save) uint 1198 src/dps8/dps8_cable.c uint unit_idx; uint 1211 src/dps8/dps8_cable.c (uint) dev_code, uint 1231 src/dps8/dps8_cable.c (uint) dev_code, uint 1251 src/dps8/dps8_cable.c (uint) dev_code, uint 1294 src/dps8/dps8_cable.c uint unit_num; uint 1338 src/dps8/dps8_cable.c for (uint i = 0; i < n; i ++) uint 103 src/dps8/dps8_cable.h uint iom_unit_idx; uint 104 src/dps8/dps8_cable.h uint iom_port_num; uint 110 src/dps8/dps8_cable.h uint scu_unit_idx; uint 111 src/dps8/dps8_cable.h uint scu_port_num; uint 112 src/dps8/dps8_cable.h uint scu_subport_num; uint 118 src/dps8/dps8_cable.h uint cpu_unit_idx; uint 119 src/dps8/dps8_cable.h uint cpu_port_num; uint 125 src/dps8/dps8_cable.h uint scu_unit_idx; uint 126 src/dps8/dps8_cable.h uint scu_port_num; uint 127 src/dps8/dps8_cable.h uint scu_subport_num; uint 149 src/dps8/dps8_cable.h uint ctlr_unit_idx; // unit number ("ctrl#") uint 150 src/dps8/dps8_cable.h uint port_num; // port# uint 161 src/dps8/dps8_cable.h uint iom_unit_idx; uint 162 src/dps8/dps8_cable.h uint chan_num; uint 199 src/dps8/dps8_cable.h uint unit_idx; uint 206 src/dps8/dps8_cable.h uint ctlr_unit_idx; uint 207 src/dps8/dps8_cable.h uint dev_code; uint 298 src/dps8/dps8_console.c uint tally; uint 299 src/dps8/dps8_console.c uint daddr; uint 360 src/dps8/dps8_console.c static uint ta_cnt = 0; uint 361 src/dps8/dps8_console.c static uint ta_next = 0; uint 403 src/dps8/dps8_console.c for (uint i = 0; i < N_OPC_UNITS_MAX; i ++) uint 417 src/dps8/dps8_console.c for (uint i = 0; i < opc_dev.numunits; i ++) uint 435 src/dps8/dps8_console.c for (uint i = 0; i < N_OPC_UNITS_MAX; i ++) uint 458 src/dps8/dps8_console.c for (uint i = 0; i < N_OPC_UNITS_MAX; i ++) { uint 591 src/dps8/dps8_console.c uint con_unit_idx = (uint) (uptr - attn_unit); uint 592 src/dps8/dps8_console.c uint ctlr_port_num = 0; // Consoles are single ported uint 593 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; uint 594 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; uint 595 src/dps8/dps8_console.c uint dev_code = 0; // Only a single console on the controller uint 648 src/dps8/dps8_console.c static void handleRCP (uint con_unit_idx, char * text) uint 711 src/dps8/dps8_console.c uint tally = csp->tally; uint 712 src/dps8/dps8_console.c uint ctlr_port_num = 0; // Consoles are single ported uint 713 src/dps8/dps8_console.c uint iomUnitIdx = cables->opc_to_iom[conUnitIdx][ctlr_port_num].iom_unit_idx; uint 714 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[conUnitIdx][ctlr_port_num].chan_num; uint 725 src/dps8/dps8_console.c uint n_chars = (uint) (csp->tailp - csp->readp); uint 726 src/dps8/dps8_console.c uint n_words; uint 757 src/dps8/dps8_console.c for (uint charno = 0; charno < 4; ++ charno) uint 793 src/dps8/dps8_console.c for (uint charno = 0; charno < 4; ++ charno) uint 1287 src/dps8/dps8_console.c iom_cmd_rc_t opc_iom_cmd (uint iomUnitIdx, uint chan) { uint 1298 src/dps8/dps8_console.c uint con_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1449 src/dps8/dps8_console.c uint tally = p->DDCW_TALLY; uint 1450 src/dps8/dps8_console.c uint daddr = p->DDCW_ADDR; uint 1489 src/dps8/dps8_console.c uint tally = p->DDCW_TALLY; uint 1504 src/dps8/dps8_console.c uint 1506 src/dps8/dps8_console.c uint 1520 src/dps8/dps8_console.c uint 1522 src/dps8/dps8_console.c uint 1563 src/dps8/dps8_console.c uint lp = (uint)narrow_char; uint 1576 src/dps8/dps8_console.c for (uint i = 0; i < lp; i ++) { uint 1654 src/dps8/dps8_console.c uint ctlr_port_num = 0; // Consoles are single ported uint 1655 src/dps8/dps8_console.c uint iom_unit_idx = cables->opc_to_iom[con_unit_idx][ctlr_port_num].iom_unit_idx; uint 1656 src/dps8/dps8_console.c uint chan_num = cables->opc_to_iom[con_unit_idx][ctlr_port_num].chan_num; uint 25 src/dps8/dps8_console.h iom_cmd_rc_t opc_iom_cmd (uint iomUnitIdx, uint chan); uint 66 src/dps8/dps8_cpu.c __thread uint current_running_cpu_idx; uint 104 src/dps8/dps8_cpu.c static uint kips = LOCKUP_KIPS; uint 492 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE = (uint) v; uint 494 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num = (uint) v; uint 517 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed = (uint) v; uint 526 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [port_num] = (uint) v; uint 528 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [port_num] = (uint) v; uint 530 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [port_num] = (uint) v; uint 532 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [port_num] = (uint) v; uint 559 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [port_num] = (uint) v; uint 562 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache = (uint) v ? true : false; uint 564 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable = (uint) v ? true : false; uint 566 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable = (uint) v ? true : false; uint 568 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable = (uint) v; uint 570 src/dps8/dps8_cpu.c scu [0].steady_clock = (uint) v; uint 572 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp = (uint) v; uint 574 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = (uint) v; uint 576 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults = (uint) v; uint 578 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable = (uint) v; uint 580 src/dps8/dps8_cpu.c scu [0].y2k = (uint) v; uint 582 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal = (uint) v; uint 604 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].affinity = (uint) v; uint 612 src/dps8/dps8_cpu.c uint store_sz; uint 673 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); uint 682 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); uint 737 src/dps8/dps8_cpu.c kips = (uint) n; uint 829 src/dps8/dps8_cpu.c for (uint port_num = 0; port_num < N_DPS8M_CPU_PORTS; port_num ++) { uint 836 src/dps8/dps8_cpu.c for (uint port_num = N_DPS8M_CPU_PORTS; port_num < N_L68_CPU_PORTS; port_num ++) { uint 854 src/dps8/dps8_cpu.c for (uint port_num = 0; port_num < N_DPS8M_CPU_PORTS; port_num ++) { uint 861 src/dps8/dps8_cpu.c for (uint port_num = N_DPS8M_CPU_PORTS; port_num < N_L68_CPU_PORTS; port_num ++) { uint 909 src/dps8/dps8_cpu.c uint set_cpu_idx (UNUSED uint cpu_idx) uint 911 src/dps8/dps8_cpu.c uint prev = current_running_cpu_idx; uint 922 src/dps8/dps8_cpu.c void cpu_reset_unit_idx (UNUSED uint cpun, bool clear_mem) uint 924 src/dps8/dps8_cpu.c uint save = set_cpu_idx (cpun); uint 928 src/dps8/dps8_cpu.c for (uint i = 0; i < MEMSIZE; i ++) uint 1004 src/dps8/dps8_cpu.c for (uint pgnum = 0; pgnum < N_SCBANKS; pgnum ++) uint 1009 src/dps8/dps8_cpu.c for (uint addr = 0; addr < SCBANK_SZ; addr ++) uint 1010 src/dps8/dps8_cpu.c M [addr + (uint) base] = MEM_UNINITIALIZED; uint 1015 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); uint 1025 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); // no clear memory uint 1282 src/dps8/dps8_cpu.c for (uint pg = 0; pg < N_SCBANKS; pg ++) uint 1287 src/dps8/dps8_cpu.c for (uint u = 0; u < N_SCU_UNITS_MAX; u ++) uint 1306 src/dps8/dps8_cpu.c uint store_size = cpu.switches.store_size [port_num]; uint 1307 src/dps8/dps8_cpu.c uint dps8m_store_table [8] = uint 1323 src/dps8/dps8_cpu.c uint l68_store_table [8] = uint 1325 src/dps8/dps8_cpu.c uint l68_isolts_store_table [8] = uint 1328 src/dps8/dps8_cpu.c uint sz_wds = uint 1336 src/dps8/dps8_cpu.c uint base_addr_wds = sz_wds * cpu.switches.assignment[port_num]; uint 1339 src/dps8/dps8_cpu.c uint num_banks = sz_wds / SCBANK_SZ; uint 1341 src/dps8/dps8_cpu.c uint base_addr_bks = base_addr_wds / SCBANK_SZ; uint 1344 src/dps8/dps8_cpu.c for (uint pg = 0; pg < num_banks; pg ++) uint 1347 src/dps8/dps8_cpu.c uint addr_bks = base_addr_bks + pg; uint 1381 src/dps8/dps8_cpu.c uint scpg = addr / SCBANK_SZ; uint 1409 src/dps8/dps8_cpu.c uint cpun, sn; uint 1468 src/dps8/dps8_cpu.c for (uint i = 0; i < 8; i ++) uint 1490 src/dps8/dps8_cpu.c static uint oneHz = 0; uint 1570 src/dps8/dps8_cpu.c for (uint i = 0; i < N_CPU_UNITS_MAX; i ++) uint 1709 src/dps8/dps8_cpu.c uint current_running_cpu_idx; uint 1718 src/dps8/dps8_cpu.c static uint get_highest_intr (cpu_state_t *cpup) uint 1720 src/dps8/dps8_cpu.c uint fp = 1; uint 1721 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) uint 1736 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) uint 1846 src/dps8/dps8_cpu.c uint 1848 src/dps8/dps8_cpu.c uint 1863 src/dps8/dps8_cpu.c uint 1875 src/dps8/dps8_cpu.c uint 1907 src/dps8/dps8_cpu.c uint 1908 src/dps8/dps8_cpu.c uint 1978 src/dps8/dps8_cpu.c for (uint cpuNo = 0; cpuNo < N_CPU_UNITS_MAX; cpuNo ++) { uint 1990 src/dps8/dps8_cpu.c static uint fast_queue_subsample = 0; uint 2045 src/dps8/dps8_cpu.c set_cpu_idx ((uint) myid); uint 2163 src/dps8/dps8_cpu.c uint current = current_running_cpu_idx; uint 2164 src/dps8/dps8_cpu.c uint c; uint 2352 src/dps8/dps8_cpu.c uint intr_pair_addr = get_highest_intr (cpup); uint 2842 src/dps8/dps8_cpu.c uint ms = sys_opts.sys_poll_interval; uint 2851 src/dps8/dps8_cpu.c ms = (uint) (rem.tv_nsec / 1000 + req.tv_sec * 1000); uint 3148 src/dps8/dps8_cpu.c uint fltAddress = (cpu.switches.FLT_BASE << 5) & 07740; uint 3368 src/dps8/dps8_cpu.c for (uint j = 0 ; j < 32 ; j += 1) uint 3399 src/dps8/dps8_cpu.c for (uint j = 0 ; j < 32 ; j += 1) uint 4064 src/dps8/dps8_cpu.c static void add_history (cpu_state_t * cpup, uint hset, word36 w0, word36 w1) uint 4074 src/dps8/dps8_cpu.c void add_history_force (cpu_state_t * cpup, uint hset, word36 w0, word36 w1) uint 4538 src/dps8/dps8_cpu.c void setupPROM (uint cpuNo, unsigned char * PROM) { uint 4891 src/dps8/dps8_cpu.c void cpuStats (uint cpuNo) { uint 536 src/dps8/dps8_cpu.h uint MF [3]; uint 541 src/dps8/dps8_cpu.h uint CN [3]; uint 546 src/dps8/dps8_cpu.h uint WN [3]; uint 551 src/dps8/dps8_cpu.h uint C [3]; uint 556 src/dps8/dps8_cpu.h uint B [3]; uint 561 src/dps8/dps8_cpu.h uint N [3]; uint 566 src/dps8/dps8_cpu.h uint TN [3]; // type numeric uint 577 src/dps8/dps8_cpu.h uint TA [3]; // type alphanumeric uint 583 src/dps8/dps8_cpu.h uint S [3]; // Sign and decimal type of number uint 607 src/dps8/dps8_cpu.h uint inBufferCnt; // number of characters in inBuffer uint 699 src/dps8/dps8_cpu.h uint FLT_BASE; // normally 7 MSB of 12bit fault base addr uint 700 src/dps8/dps8_cpu.h uint cpu_num; // zero for CPU 'A', one for 'B' etc. uint 703 src/dps8/dps8_cpu.h uint assignment [N_CPU_PORTS]; uint 704 src/dps8/dps8_cpu.h uint interlace [N_CPU_PORTS]; // 0/2/4 uint 705 src/dps8/dps8_cpu.h uint enable [N_CPU_PORTS]; uint 706 src/dps8/dps8_cpu.h uint init_enable [N_CPU_PORTS]; uint 707 src/dps8/dps8_cpu.h uint store_size [N_CPU_PORTS]; // 0-7 encoding 32K-4M uint 715 src/dps8/dps8_cpu.h uint serno; uint 720 src/dps8/dps8_cpu.h uint proc_speed; // 4 bits Read by rsw instruction; format unknown uint 729 src/dps8/dps8_cpu.h uint report_faults; // If set, faults are reported and ignored uint 730 src/dps8/dps8_cpu.h uint tro_enable; // If set, Timer runout faults are generated. uint 731 src/dps8/dps8_cpu.h uint drl_fatal; // If set, DRL instructions halt the CPU uint 734 src/dps8/dps8_cpu.h uint dis_enable; // If non-zero, DIS instruction works uint 735 src/dps8/dps8_cpu.h uint halt_on_unimp; // If non-zero, halt CPU on unimplemented instruction instead of faulting uint 737 src/dps8/dps8_cpu.h uint enable_wam; // If zero, the simulated cache is ignored and always returns "miss"; uint 1623 src/dps8/dps8_cpu.h uint rTRsample; uint 1629 src/dps8/dps8_cpu.h uint g7FaultsPreset; uint 1630 src/dps8/dps8_cpu.h uint g7Faults; uint 1635 src/dps8/dps8_cpu.h uint rTRlsb; uint 1636 src/dps8/dps8_cpu.h uint shadowTR; uint 1637 src/dps8/dps8_cpu.h uint TR0; // The value that the TR was set to. uint 1650 src/dps8/dps8_cpu.h uint restart_address; uint 1658 src/dps8/dps8_cpu.h uint rTRticks; uint 1665 src/dps8/dps8_cpu.h uint history_cyclic [N_HIST_SETS]; // 0..63 uint 1673 src/dps8/dps8_cpu.h uint sc_num_banks [N_SCU_UNITS_MAX]; uint 1680 src/dps8/dps8_cpu.h uint scu_port[N_SCU_UNITS_MAX]; uint 1684 src/dps8/dps8_cpu.h uint FFV_faults_preset; uint 1685 src/dps8/dps8_cpu.h uint FFV_faults; uint 1686 src/dps8/dps8_cpu.h uint FFV_fault_number; uint 1689 src/dps8/dps8_cpu.h uint affinity; uint 1780 src/dps8/dps8_cpu.h uint pgnum = addr / SCBANK_SZ; \ uint 1781 src/dps8/dps8_cpu.h uint os = addr % SCBANK_SZ; \ uint 1787 src/dps8/dps8_cpu.h real_addr = (uint) base + os; \ uint 1795 src/dps8/dps8_cpu.h uint pgnum = addr / SCBANK_SZ; \ uint 1796 src/dps8/dps8_cpu.h uint os = addr % SCBANK_SZ; \ uint 1802 src/dps8/dps8_cpu.h real_addr = (uint) base + os; \ uint 1951 src/dps8/dps8_cpu.h uint set_cpu_idx (uint cpuNum); uint 1953 src/dps8/dps8_cpu.h extern __thread uint current_running_cpu_idx; uint 1957 src/dps8/dps8_cpu.h extern uint current_running_cpu_idx; uint 1968 src/dps8/dps8_cpu.h static inline void SET_PR_BITNO (cpu_state_t * restrict cpup, uint n, word6 b) uint 1975 src/dps8/dps8_cpu.h static inline void SET_AR_CHAR_BITNO (cpu_state_t * restrict cpup, uint n, word2 c, word4 b) uint 2356 src/dps8/dps8_cpu.h static inline void core_readN (cpu_state_t * cpup, word24 addr, word36 * data, uint n, uint 2359 src/dps8/dps8_cpu.h for (uint i = 0; i < n; i ++) uint 2366 src/dps8/dps8_cpu.h static inline void core_writeN (cpu_state_t * cpup, word24 addr, word36 * data, uint n, uint 2369 src/dps8/dps8_cpu.h for (uint i = 0; i < n; i ++) uint 2399 src/dps8/dps8_cpu.h void add_history_force (cpu_state_t * cpup, uint hset, word36 w0, word36 w1); uint 2407 src/dps8/dps8_cpu.h void cpu_reset_unit_idx (UNUSED uint cpun, bool clear_mem); uint 2408 src/dps8/dps8_cpu.h void setupPROM (uint cpuNo, unsigned char * PROM); uint 2409 src/dps8/dps8_cpu.h void cpuStats (uint cpuNo); uint 504 src/dps8/dps8_crdpun.c for (uint col_offset = 0; col_offset < CHAR_MATRIX_BYTES; col_offset++) uint 510 src/dps8/dps8_crdpun.c for (uint row = 0; row < 5; row++) uint 512 src/dps8/dps8_crdpun.c for (uint col = 0; col < CHAR_MATRIX_BYTES; col++) uint 545 src/dps8/dps8_crdpun.c static char get_lace_char(word36* buffer, uint char_pos) uint 554 src/dps8/dps8_crdpun.c uint char_offset = (char_pos < 11) ? char_pos : char_pos - 11; // Character num in the line uint 555 src/dps8/dps8_crdpun.c uint word_offset = glyph_char_word_offset[char_offset]; // Starting word in the buffer uint 556 src/dps8/dps8_crdpun.c uint nibble_offset = glyph_nibble_offset[char_offset]; // Starting nibble in the word uint 562 src/dps8/dps8_crdpun.c for (uint col_offset = 0; col_offset < 5; col_offset++) uint 579 src/dps8/dps8_crdpun.c for (uint col_offset = 0; col_offset < CHAR_MATRIX_BYTES; col_offset++) uint 591 src/dps8/dps8_crdpun.c for (uint c_pos = 0; c_pos < 22; c_pos++) uint 594 src/dps8/dps8_crdpun.c uint current_length = (uint)strlen(state -> glyph_buffer); uint 679 src/dps8/dps8_crdpun.c for (uint i = 0; i < 80; i++) uint 701 src/dps8/dps8_crdpun.c for (uint i = 0; i < tally; i ++) uint 713 src/dps8/dps8_crdpun.c for (uint row = 0; row < 12; row ++) uint 715 src/dps8/dps8_crdpun.c for (uint col = 0; col < 80; col ++) uint 718 src/dps8/dps8_crdpun.c uint wordno = col / 3; uint 719 src/dps8/dps8_crdpun.c uint fieldno = col % 3; uint 730 src/dps8/dps8_crdpun.c for (uint row = 0; row < 12; row ++) uint 736 src/dps8/dps8_crdpun.c uint wordno = (uint) col / 3; uint 737 src/dps8/dps8_crdpun.c uint fieldno = (uint) col % 3; uint 1144 src/dps8/dps8_crdpun.c static int punWriteRecord (uint iomUnitIdx, uint chan) uint 1147 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; uint 1148 src/dps8/dps8_crdpun.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1149 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; uint 1168 src/dps8/dps8_crdpun.c uint wordsProcessed = 0; uint 1183 src/dps8/dps8_crdpun.c iom_cmd_rc_t pun_iom_cmd (uint iomUnitIdx, uint chan) { uint 1186 src/dps8/dps8_crdpun.c uint dev_code = p->IDCW_DEV_CODE; uint 1194 src/dps8/dps8_crdpun.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1195 src/dps8/dps8_crdpun.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][dev_code].unit_idx; uint 20 src/dps8/dps8_crdpun.h iom_cmd_rc_t pun_iom_cmd (uint iomUnitIdx, uint chan); uint 220 src/dps8/dps8_crdrdr.c for (uint i = 0; i < N_RDR_UNITS_MAX; i ++) uint 227 src/dps8/dps8_crdrdr.c uint 268 src/dps8/dps8_crdrdr.c uint 271 src/dps8/dps8_crdrdr.c uint 346 src/dps8/dps8_crdrdr.c uint 378 src/dps8/dps8_crdrdr.c static void asciiToH (char * str, uint * hstr, size_t l) uint 419 src/dps8/dps8_crdrdr.c uint n = 0; uint 463 src/dps8/dps8_crdrdr.c static int rdrReadRecord (uint iomUnitIdx, uint chan) { uint 469 src/dps8/dps8_crdrdr.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 470 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 674 src/dps8/dps8_crdrdr.c for (uint i = 0; i < 80; i ++) { uint 688 src/dps8/dps8_crdrdr.c for (uint i = 0; i < 27; i ++) uint 700 src/dps8/dps8_crdrdr.c uint 713 src/dps8/dps8_crdrdr.c uint hbuf [l]; uint 717 src/dps8/dps8_crdrdr.c uint nbits = (uint) l * 12; uint 719 src/dps8/dps8_crdrdr.c uint tally = (nbits + 35) / 36; uint 729 src/dps8/dps8_crdrdr.c for (uint col = 0; col < l; col ++) { uint 730 src/dps8/dps8_crdrdr.c uint wordno = col / 3; uint 731 src/dps8/dps8_crdrdr.c uint fieldno = col % 3; uint 739 src/dps8/dps8_crdrdr.c uint 751 src/dps8/dps8_crdrdr.c uint tally = 27; uint 902 src/dps8/dps8_crdrdr.c uint ctlr_unit_idx = cables->rdr_to_urp [unitNum].ctlr_unit_idx; uint 903 src/dps8/dps8_crdrdr.c uint ctlr_port_num = 0; // Single port device uint 904 src/dps8/dps8_crdrdr.c uint iom_unit_idx = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; uint 905 src/dps8/dps8_crdrdr.c uint chan_num = cables->urp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; uint 906 src/dps8/dps8_crdrdr.c uint dev_code = cables->rdr_to_urp[unitNum].dev_code; uint 910 src/dps8/dps8_crdrdr.c iom_cmd_rc_t rdr_iom_cmd (uint iomUnitIdx, uint chan) { uint 913 src/dps8/dps8_crdrdr.c uint dev_code = p->IDCW_DEV_CODE; uint 920 src/dps8/dps8_crdrdr.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 921 src/dps8/dps8_crdrdr.c uint unitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 23 src/dps8/dps8_crdrdr.h iom_cmd_rc_t rdr_iom_cmd (uint iomUnitIdx, uint chan); uint 82 src/dps8/dps8_dia.c uint dia_unit_idx = (uint) DIA_UNIT_IDX (uptr); uint 111 src/dps8/dps8_dia.c dudp -> mailbox_address = (uint) v; uint 374 src/dps8/dps8_dia.c for (uint unit_num = 0; unit_num < N_DIA_UNITS_MAX; unit_num ++) uint 396 src/dps8/dps8_dia.c static uint virtToPhys (uint ptPtr, uint l66Address) uint 398 src/dps8/dps8_dia.c uint pageTable = ptPtr * 64u; uint 399 src/dps8/dps8_dia.c uint l66AddressPage = l66Address / 1024u; uint 403 src/dps8/dps8_dia.c uint page = getbits36_14 (ptw, 4); uint 404 src/dps8/dps8_dia.c uint addr = page * 1024u + l66Address % 1024u; uint 415 src/dps8/dps8_dia.c static void cmd_bootload (uint iom_unit_idx, uint dev_unit_idx, uint chan, word24 l66_addr) uint 417 src/dps8/dps8_dia.c uint fnpno = dev_unit_idx; // XXX uint 438 src/dps8/dps8_dia.c static int interruptL66 (uint iom_unit_idx, uint chan) uint 443 src/dps8/dps8_dia.c uint dev_unit_idx = d->devUnitIdx; uint 505 src/dps8/dps8_dia.c static void processMBX (uint iom_unit_idx, uint chan) uint 510 src/dps8/dps8_dia.c uint dev_unit_idx = d->devUnitIdx; uint 629 src/dps8/dps8_dia.c uint command = getbits36_6 (dia_pcw, 30); uint 652 src/dps8/dps8_dia.c uint phys_addr = virtToPhys (p->PCW_PAGE_TABLE_PTR, l66_addr); uint 815 src/dps8/dps8_dia.c static int dia_cmd (uint iom_unit_idx, uint chan) uint 853 src/dps8/dps8_dia.c int dia_iom_cmd (uint iom_unit_idx, uint chan) uint 895 src/dps8/dps8_dia.c static int poll_coupler (uint unitno, uint8_t * * pktp) uint 907 src/dps8/dps8_dia.c void dia_unit_process_events (uint unit_num) uint 941 src/dps8/dps8_dia.c for (uint unit_num = 0; unit_num < N_DIA_UNITS_MAX; unit_num ++) uint 26 src/dps8/dps8_dia.h uint mailbox_address; uint 58 src/dps8/dps8_dia.h int dia_iom_cmd (uint iomUnitIdx, uint chan); uint 156 src/dps8/dps8_disk.c static uint tAndDCapac[N_DISK_TYPES] = { 451860, 639920, 619400, 312360, 242250, 72360, 1077760, 225675 }; uint 382 src/dps8/dps8_disk.c uint i; uint 441 src/dps8/dps8_disk.c t_stat signal_disk_ready (uint dsk_unit_idx) { uint 458 src/dps8/dps8_disk.c uint ctlr_unit_idx = cables->dsk_to_ctlr[dsk_unit_idx].ctlr_unit_idx; uint 472 src/dps8/dps8_disk.c uint 478 src/dps8/dps8_disk.c uint 479 src/dps8/dps8_disk.c uint 480 src/dps8/dps8_disk.c uint 490 src/dps8/dps8_disk.c uint 491 src/dps8/dps8_disk.c uint 492 src/dps8/dps8_disk.c uint 507 src/dps8/dps8_disk.c for (uint ctlr_port_num = 0; ctlr_port_num < MAX_CTLR_PORTS; ctlr_port_num ++) { uint 510 src/dps8/dps8_disk.c uint iom_unit_idx = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; uint 511 src/dps8/dps8_disk.c uint chan_num = cables->msp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; uint 512 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; uint 519 src/dps8/dps8_disk.c uint iom_unit_idx = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; uint 520 src/dps8/dps8_disk.c uint chan_num = cables->ipc_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; uint 521 src/dps8/dps8_disk.c uint dev_code = cables->dsk_to_ctlr[dsk_unit_idx].dev_code; uint 542 src/dps8/dps8_disk.c return signal_disk_ready ((uint) disk_unit_idx); uint 545 src/dps8/dps8_disk.c t_stat unloadDisk (uint dsk_unit_idx) { uint 553 src/dps8/dps8_disk.c return signal_disk_ready ((uint) dsk_unit_idx); uint 556 src/dps8/dps8_disk.c t_stat loadDisk (uint dsk_unit_idx, const char * disk_filename, bool ro) { uint 566 src/dps8/dps8_disk.c return signal_disk_ready ((uint) dsk_unit_idx); uint 634 src/dps8/dps8_disk.c return loadDisk ((uint) diskUnitIdx, cptr, false); uint 684 src/dps8/dps8_disk.c for (uint i = 0; i < N_DSK_UNITS_MAX; i ++) uint 695 src/dps8/dps8_disk.c static iom_cmd_rc_t diskSeek64 (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 700 src/dps8/dps8_disk.c uint typeIdx = disk_statep->typeIdx; uint 704 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 716 src/dps8/dps8_disk.c uint count; uint 740 src/dps8/dps8_disk.c disk_statep->seekPosition = (uint) seekData; uint 745 src/dps8/dps8_disk.c static int diskSeek512 (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 749 src/dps8/dps8_disk.c uint typeIdx = disk_statep->typeIdx; uint 753 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 767 src/dps8/dps8_disk.c uint count; uint 782 src/dps8/dps8_disk.c disk_statep->seekPosition = (uint)seekData; uint 787 src/dps8/dps8_disk.c static iom_cmd_rc_t diskSeekSpecial (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 792 src/dps8/dps8_disk.c uint typeIdx = disk_statep->typeIdx; uint 796 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 810 src/dps8/dps8_disk.c uint count; uint 833 src/dps8/dps8_disk.c disk_statep->seekPosition = (uint) seekData; uint 838 src/dps8/dps8_disk.c static int diskRead (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 843 src/dps8/dps8_disk.c uint typeIdx = disk_statep->typeIdx; uint 844 src/dps8/dps8_disk.c uint sectorSizeWords = diskTypes[typeIdx].sectorSizeWords; uint 845 src/dps8/dps8_disk.c uint sectorSizeBytes = ((36 * sectorSizeWords) / 8); uint 864 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 890 src/dps8/dps8_disk.c uint tallySectors = (tally + sectorSizeWords - 1) / uint 892 src/dps8/dps8_disk.c uint tallyWords = tallySectors * sectorSizeWords; uint 894 src/dps8/dps8_disk.c uint p72ByteCnt = (tallyWords * 36) / 8; uint 921 src/dps8/dps8_disk.c uint wordsProcessed = 0; uint 923 src/dps8/dps8_disk.c for (uint i = 0; i < tally; i ++) uint 940 src/dps8/dps8_disk.c static int diskWrite (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 945 src/dps8/dps8_disk.c uint typeIdx = disk_statep->typeIdx; uint 946 src/dps8/dps8_disk.c uint sectorSizeWords = diskTypes[typeIdx].sectorSizeWords; uint 947 src/dps8/dps8_disk.c uint sectorSizeBytes = ((36 * sectorSizeWords) / 8); uint 960 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 983 src/dps8/dps8_disk.c uint tallySectors = (tally + sectorSizeWords - 1) / uint 985 src/dps8/dps8_disk.c uint tallyWords = tallySectors * sectorSizeWords; uint 986 src/dps8/dps8_disk.c uint p72ByteCnt = (tallyWords * 36) / 8; uint 989 src/dps8/dps8_disk.c uint wordsProcessed = 0; uint 995 src/dps8/dps8_disk.c for (uint i = 0; i < tally; i ++) uint 1020 src/dps8/dps8_disk.c static int readStatusRegister (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1025 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 1048 src/dps8/dps8_disk.c uint wordsProcessed = tally; uint 1058 src/dps8/dps8_disk.c static int diskRdCtrlReg (uint dev_unit_idx, uint iom_unit_idx, uint chan) { uint 1068 src/dps8/dps8_disk.c static int read_configuration (uint dev_unit_idx, uint iom_unit_idx, uint chan) uint 1073 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; uint 1141 src/dps8/dps8_disk.c uint ctlr_unit_idx = get_ctlr_idx (iom_unit_idx, chan); uint 1160 src/dps8/dps8_disk.c uint dsk_unit_idx = dev_p[dev_num].unit_idx; uint 1170 src/dps8/dps8_disk.c uint wordsProcessed = tally; uint 1180 src/dps8/dps8_disk.c static int read_and_clear_statistics (uint dev_unit_idx, uint iom_unit_idx, uint chan) uint 1204 src/dps8/dps8_disk.c iom_cmd_rc_t dsk_iom_cmd (uint iomUnitIdx, uint chan) { uint 1212 src/dps8/dps8_disk.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1213 src/dps8/dps8_disk.c uint devUnitIdx; uint 30 src/dps8/dps8_disk.h uint typeIdx; uint 37 src/dps8/dps8_disk.h uint tAndDCapac; uint 39 src/dps8/dps8_disk.h uint seekPosition; uint 61 src/dps8/dps8_disk.h uint capac; uint 62 src/dps8/dps8_disk.h uint firstDevNumber; uint 65 src/dps8/dps8_disk.h uint sectorSizeWords; uint 66 src/dps8/dps8_disk.h uint dau_type; uint 80 src/dps8/dps8_disk.h iom_cmd_rc_t dsk_iom_cmd (uint iomUnitIdx, uint chan); uint 81 src/dps8/dps8_disk.h t_stat loadDisk (uint dsk_unit_idx, const char * disk_filename, bool ro); uint 82 src/dps8/dps8_disk.h t_stat unloadDisk (uint dsk_unit_idx); uint 83 src/dps8/dps8_disk.h t_stat signal_disk_ready (uint dsk_unit_idx); uint 384 src/dps8/dps8_eis.c static word18 getMFReg18 (cpu_state_t * cpup, uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) uint 477 src/dps8/dps8_eis.c static word36 getMFReg36 (cpu_state_t * cpup, uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) uint 568 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 578 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 596 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 606 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 649 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 669 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 677 src/dps8/dps8_eis.c for (uint i = 0; i < 8; i ++) uint 683 src/dps8/dps8_eis.c static void EISWriteIdx (cpu_state_t * cpup, EISaddr *p, uint n, word36 data, bool flush) uint 721 src/dps8/dps8_eis.c static word36 EISReadIdx (cpu_state_t * cpup, EISaddr * p, uint n) uint 765 src/dps8/dps8_eis.c uint 774 src/dps8/dps8_eis.c uint 781 src/dps8/dps8_eis.c static void EISReadPage (cpu_state_t * cpup, EISaddr * p, uint n, word36 * data) uint 810 src/dps8/dps8_eis.c for (uint i = 0; i < PGSZ; i ++) uint 834 src/dps8/dps8_eis.c for (uint i = 0; i < PGSZ; i ++) uint 843 src/dps8/dps8_eis.c static void EISWritePage (cpu_state_t * cpup, EISaddr * p, uint n, word36 * data) uint 858 src/dps8/dps8_eis.c addressN &= (uint) ~PGMK; uint 872 src/dps8/dps8_eis.c for (uint i = 0; i < PGSZ; i ++) uint 896 src/dps8/dps8_eis.c for (uint i = 0; i < PGSZ; i ++) uint 905 src/dps8/dps8_eis.c static word9 EISget469 (cpu_state_t * cpup, int k, uint i) uint 909 src/dps8/dps8_eis.c uint nPos = 4; // CTA9 uint 926 src/dps8/dps8_eis.c uint nChars = i + e -> CN [k - 1]; uint 929 src/dps8/dps8_eis.c uint residue = nChars % nPos; uint 967 src/dps8/dps8_eis.c static void EISput469 (cpu_state_t * cpup, int k, uint i, word9 c469) uint 971 src/dps8/dps8_eis.c uint nPos = 4; // CTA9 uint 988 src/dps8/dps8_eis.c uint nChars = i + e -> CN [k - 1]; uint 991 src/dps8/dps8_eis.c uint residue = nChars % nPos; uint 1081 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] += (uint) woff; uint 1085 src/dps8/dps8_eis.c p -> address += (uint) woff; uint 1092 src/dps8/dps8_eis.c p -> bit = getbits36_1 (p -> data, (uint) bitPosn); uint 1096 src/dps8/dps8_eis.c p -> data = setbits36_1 (p -> data, (uint) bitPosn, p -> bit); uint 1287 src/dps8/dps8_eis.c uint reg = opDesc & 017; uint 1327 src/dps8/dps8_eis.c static void parseAlphanumericOperandDescriptor (cpu_state_t * cpup, uint k, uint useTA, bool allowDU, fault_ipr_subtype_ *mod_fault) uint 1427 src/dps8/dps8_eis.c uint CN = getbits36_3 (opDesc, 18); // character number uint 1433 src/dps8/dps8_eis.c uint reg = opDesc & 017; uint 1435 src/dps8/dps8_eis.c e -> N [k - 1] = (uint) getMFReg36 (cpup, reg, false, false, mod_fault); // RL=1: disallow du,n,ic uint 1478 src/dps8/dps8_eis.c uint effBITNO = 0; uint 1479 src/dps8/dps8_eis.c uint effCHAR = 0; uint 1480 src/dps8/dps8_eis.c uint effWORDNO = 0; uint 1491 src/dps8/dps8_eis.c uint bitoffset = ARn_CHAR * 9u + ARn_BITNO; uint 1492 src/dps8/dps8_eis.c uint arn_char4 = bitoffset * 2 / 9; // / 4.5 uint 1496 src/dps8/dps8_eis.c uint nchars = address * 8 + (uint) r + arn_char4 + CN; uint 1523 src/dps8/dps8_eis.c effWORDNO = (uint) (address + uint 1549 src/dps8/dps8_eis.c effWORDNO = (uint) (address + uint 1585 src/dps8/dps8_eis.c static void parseArgOperandDescriptor (cpu_state_t * cpup, uint k, fault_ipr_subtype_ *mod_fault) uint 1599 src/dps8/dps8_eis.c uint yREG = opDesc & 0xf; uint 1707 src/dps8/dps8_eis.c uint reg = opDesc & 017; uint 1725 src/dps8/dps8_eis.c uint 1740 src/dps8/dps8_eis.c uint effBITNO = 0; uint 1741 src/dps8/dps8_eis.c uint effCHAR = 0; uint 1742 src/dps8/dps8_eis.c uint effWORDNO = 0; uint 1754 src/dps8/dps8_eis.c uint bitoffset = ARn_CHAR * 9u + ARn_BITNO; uint 1755 src/dps8/dps8_eis.c uint arn_char4 = bitoffset * 2u / 9u; // / 4.5 uint 1761 src/dps8/dps8_eis.c uint nchars = (uint) (address * 8u + r + arn_char4 + CN); uint 1782 src/dps8/dps8_eis.c effWORDNO = (uint) (address + (9u*CN + 9u*ARn_CHAR + 9u*r + ARn_BITNO) / 36); uint 1874 src/dps8/dps8_eis.c uint reg = opDesc & 017; uint 1905 src/dps8/dps8_eis.c uint effBITNO = (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 9u; uint 1906 src/dps8/dps8_eis.c uint effCHAR = ((9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 36u) / 9u; uint 1907 src/dps8/dps8_eis.c uint effWORDNO = (uint) (address + (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) / 36u); uint 1958 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 1972 src/dps8/dps8_eis.c uint augend = 0; // in 4bit characters uint 2026 src/dps8/dps8_eis.c uint char4no = (uint) (sum % 8); uint 2042 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2051 src/dps8/dps8_eis.c uint minuend = 0; uint 2078 src/dps8/dps8_eis.c uint bitno = (uint) (difference % 32); uint 2087 src/dps8/dps8_eis.c void axbd (cpu_state_t * cpup, uint sz) uint 2089 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2113 src/dps8/dps8_eis.c uint augend = 0; uint 2167 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2230 src/dps8/dps8_eis.c uint 2239 src/dps8/dps8_eis.c uint 2254 src/dps8/dps8_eis.c uint 2256 src/dps8/dps8_eis.c uint 2377 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2392 src/dps8/dps8_eis.c uint augend = 0; uint 2424 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2460 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2475 src/dps8/dps8_eis.c uint minued = 0; uint 2506 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2581 src/dps8/dps8_eis.c void asxbd (cpu_state_t * cpup, uint sz, bool sub) uint 2584 src/dps8/dps8_eis.c uint map4 [64] = uint 2652 src/dps8/dps8_eis.c uint map6 [64] = uint 2720 src/dps8/dps8_eis.c uint map9 [64] = uint 2792 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); uint 2793 src/dps8/dps8_eis.c uint address = SIGNEXT15_18 (GET_OFFSET (cpu.cu.IWB)); uint 2807 src/dps8/dps8_eis.c uint r = 0; uint 2810 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK24); uint 2812 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK22); uint 2814 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); uint 2816 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); uint 2818 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK18); uint 2827 src/dps8/dps8_eis.c uint augend = 0; uint 2837 src/dps8/dps8_eis.c uint bitno = GET_AR_BITNO (ARn); uint 2838 src/dps8/dps8_eis.c uint charno = GET_AR_CHAR (ARn); uint 2844 src/dps8/dps8_eis.c uint * map; uint 2861 src/dps8/dps8_eis.c uint addend = 0; uint 2883 src/dps8/dps8_eis.c uint sum = 0; uint 2924 src/dps8/dps8_eis.c static uint tab [36] [2] = uint 2971 src/dps8/dps8_eis.c uint charno = tab [sum % 36u] [0]; uint 2972 src/dps8/dps8_eis.c uint bitno = tab [sum % 36u] [1]; uint 2977 src/dps8/dps8_eis.c uint charno = (sum % 36u) / 9; uint 2978 src/dps8/dps8_eis.c uint bitno = sum % 9; uint 3285 src/dps8/dps8_eis.c uint limit = e -> N1 - 1; uint 3469 src/dps8/dps8_eis.c uint limit = e -> N1 - 1; uint 3584 src/dps8/dps8_eis.c uint mask = (uint) getbits36_9 (cpu.cu.IWB, 0); uint 3638 src/dps8/dps8_eis.c uint limit = e -> N1; uint 3756 src/dps8/dps8_eis.c uint mask = (uint) getbits36_9 (cpu.cu.IWB, 0); uint 3810 src/dps8/dps8_eis.c uint limit = e -> N1; uint 3840 src/dps8/dps8_eis.c uint 3842 src/dps8/dps8_eis.c uint 3845 src/dps8/dps8_eis.c uint 3860 src/dps8/dps8_eis.c static word9 xlate (cpu_state_t * cpup, EISaddr * xlatTbl, uint dstTA, uint c) uint 3862 src/dps8/dps8_eis.c uint idx = (c / 4) & 0177; // max 128-words (7-bit index) uint 3865 src/dps8/dps8_eis.c uint pos9 = c % 4; // lower 2-bits uint 3960 src/dps8/dps8_eis.c uint srcSZ = 0; uint 3994 src/dps8/dps8_eis.c uint 4030 src/dps8/dps8_eis.c uint m = 0; uint 4155 src/dps8/dps8_eis.c uint srcSZ = 0; uint 4189 src/dps8/dps8_eis.c uint 4221 src/dps8/dps8_eis.c uint limit = e -> N1; uint 4226 src/dps8/dps8_eis.c uint m = 0; uint 4279 src/dps8/dps8_eis.c uint 4303 src/dps8/dps8_eis.c static bool isGBCDOvp (uint c, bool * isNeg) uint 4558 src/dps8/dps8_eis.c for (uint i = 0; i < PGSZ; i ++) uint 4596 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; uint 4627 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; uint 4889 src/dps8/dps8_eis.c uint limit = e -> N2; uint 4892 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; uint 4924 src/dps8/dps8_eis.c uint limit = e -> N2; uint 4927 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; uint 5235 src/dps8/dps8_eis.c uint N = min (e-> N1, 63); uint 5237 src/dps8/dps8_eis.c for (uint n = 0 ; n < N ; n ++) uint 5248 src/dps8/dps8_eis.c for (uint n = 0 ; n < (uint) e -> dstTally; n ++) uint 6792 src/dps8/dps8_eis.c uint dstTA = TA3; // type of chars in dst uint 6794 src/dps8/dps8_eis.c uint dstTA = e -> TA3; // type of chars in dst uint 6893 src/dps8/dps8_eis.c uint srcTN = e -> TN1; // type of chars in src uint 6983 src/dps8/dps8_eis.c uint dstTA = TA3; // type of chars in dst uint 6985 src/dps8/dps8_eis.c uint dstTA = e->TA3; // type of chars in dst uint 7132 src/dps8/dps8_eis.c uint dstTA = TA2; uint 7137 src/dps8/dps8_eis.c uint dstTA = e->TA2; uint 7183 src/dps8/dps8_eis.c uint xlatSize = 0; // size of xlation table in words ..... uint 7213 src/dps8/dps8_eis.c EISReadIdx(cpup, &e->ADDR1, (uint)lastpageidx); uint 7259 src/dps8/dps8_eis.c word9 cout = xlate(cpup, &e->ADDR3, dstTA, (uint) cidx); uint 7398 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 7707 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 7709 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 7710 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 8076 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit uint 8244 src/dps8/dps8_eis.c p -> bit = getbits36_1 (p -> data, (uint) bitPosn); uint 8249 src/dps8/dps8_eis.c p -> data = setbits36_1 (p -> data, (uint) bitPosn, p -> bit); uint 8373 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit uint 8560 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit uint 8758 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit uint 8876 src/dps8/dps8_eis.c bool b = getbits36_1 (p->data, (uint) bitPosn) != 0; uint 8964 src/dps8/dps8_eis.c uint i; uint 9266 src/dps8/dps8_eis.c word72 sgnmask = lshift_128 (construct_128 (0, 1), (uint) (N * 9 - 1)); uint 9289 src/dps8/dps8_eis.c uint128 extBits = lshift_128 (construct_128 (MASK64, MASK64), (uint) bits); uint 9298 src/dps8/dps8_eis.c uint128 zeroBits = complement_128 (lshift_128 (construct_128 (MASK64, MASK64), (uint) bits)); uint 9589 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 9590 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 9784 src/dps8/dps8_eis.c uint 9995 src/dps8/dps8_eis.c uint mbz = (uint) getbits36 (IWB_IRODD, 0, 11); uint 10096 src/dps8/dps8_eis.c x = add_128 (x, construct_128 (0, (uint) e->inBuffer[i])); uint 10129 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); uint 10210 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 10212 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 10213 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 10571 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 10573 src/dps8/dps8_eis.c uint dstTN = e->TN3; // type of chars in dst uint 10574 src/dps8/dps8_eis.c uint dstCN = e->CN3; // starting at char pos CN uint 10923 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 10925 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 10926 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 11242 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 11244 src/dps8/dps8_eis.c uint dstTN = e->TN3; // type of chars in dst uint 11245 src/dps8/dps8_eis.c uint dstCN = e->CN3; // starting at char pos CN uint 11580 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 11582 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 11583 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 11860 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 11862 src/dps8/dps8_eis.c uint dstTN = e->TN3; // type of chars in dst uint 11863 src/dps8/dps8_eis.c uint dstCN = e->CN3; // starting at char pos CN uint 12922 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 12924 src/dps8/dps8_eis.c uint dstTN = e->TN2; // type of chars in dst uint 12925 src/dps8/dps8_eis.c uint dstCN = e->CN2; // starting at char pos CN uint 13327 src/dps8/dps8_eis.c uint srcTN = e->TN1; // type of chars in src uint 13329 src/dps8/dps8_eis.c uint dstTN = e->TN3; // type of chars in dst uint 13330 src/dps8/dps8_eis.c uint dstCN = e->CN3; // starting at char pos CN uint 23 src/dps8/dps8_eis.h void axbd (cpu_state_t * cpup, uint sz); uint 29 src/dps8/dps8_eis.h void sxbd (cpu_state_t * cpup, uint sz); uint 30 src/dps8/dps8_eis.h void asxbd (cpu_state_t * cpup, uint sz, bool sub); uint 724 src/dps8/dps8_faults.c void do_FFV_fault (cpu_state_t * cpup, uint fault_number, const char * fault_msg) uint 897 src/dps8/dps8_faults.c void setG7fault (uint cpuNo, _fault faultNo, _fault_subtype subFault) uint 910 src/dps8/dps8_faults.c void set_FFV_fault (cpu_state_t * cpup, uint f_fault_no) uint 129 src/dps8/dps8_faults.h void setG7fault (uint cpuNo, _fault faultNo, _fault_subtype subFault); uint 133 src/dps8/dps8_faults.h void set_FFV_fault (cpu_state_t * cpup, uint f_fault_no); uint 134 src/dps8/dps8_faults.h void do_FFV_fault (cpu_state_t * cpup, uint fault_number, const char * fault_msg); uint 137 src/dps8/dps8_fnp2.c static int findMbx (uint fnpUnitIdx); uint 300 src/dps8/dps8_fnp2.c void setTIMW (uint iom_unit_idx, uint chan, word24 mailboxAddress, int mbx) uint 305 src/dps8/dps8_fnp2.c l_putbits36_1 (& data, (uint) mbx, 1); uint 353 src/dps8/dps8_fnp2.c for (uint fnpUnitIdx = 0; fnpUnitIdx < N_FNP_UNITS_MAX; fnpUnitIdx ++) { uint 356 src/dps8/dps8_fnp2.c for (uint lineNum = 0; lineNum < MAX_LINES; lineNum ++) { uint 392 src/dps8/dps8_fnp2.c static int findMbx (uint fnpUnitIdx) uint 395 src/dps8/dps8_fnp2.c for (uint i = 0; i < 4; i ++) uint 401 src/dps8/dps8_fnp2.c static void notifyCS (uint mbx, int fnp_unit_idx, int lineno) uint 409 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 410 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 411 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 433 src/dps8/dps8_fnp2.c static void fnp_rcd_ack_echnego_init (uint mbx, int fnp_unit_idx, int lineno) uint 442 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 443 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 444 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 455 src/dps8/dps8_fnp2.c static void fnp_rcd_ack_echnego_stop (uint mbx, int fnp_unit_idx, int lineno) uint 464 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 465 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 466 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 477 src/dps8/dps8_fnp2.c static void fnp_rcd_line_disconnected (uint mbx, int fnp_unit_idx, int lineno) uint 486 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 487 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 488 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 499 src/dps8/dps8_fnp2.c static void fnp_rcd_input_in_mailbox (uint mbx, int fnp_unit_idx, int lineno) uint 509 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 510 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 511 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 513 src/dps8/dps8_fnp2.c uint n_chars = min(linep->nPos, 100); uint 551 src/dps8/dps8_fnp2.c uint j = 0; uint 552 src/dps8/dps8_fnp2.c for (uint i = 0; i < n_chars; i += 4, j++) uint 587 src/dps8/dps8_fnp2.c static void fnp_rcd_line_status (uint mbx, int fnp_unit_idx, int lineno) uint 593 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 594 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 595 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 609 src/dps8/dps8_fnp2.c static void fnp_rcd_accept_input (uint mbx, int fnp_unit_idx, int lineno) uint 619 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 620 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 621 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 655 src/dps8/dps8_fnp2.c static void fnp_rcd_line_break (uint mbx, int fnp_unit_idx, int lineno) uint 664 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 665 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 666 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 677 src/dps8/dps8_fnp2.c static void fnp_rcd_send_output (uint mbx, int fnp_unit_idx, int lineno) uint 686 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 687 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 688 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 699 src/dps8/dps8_fnp2.c static void fnp_rcd_acu_dial_failure (uint mbx, int fnp_unit_idx, int lineno) uint 709 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 710 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 711 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 722 src/dps8/dps8_fnp2.c static void fnp_rcd_accept_new_terminal (uint mbx, int fnp_unit_idx, int lineno) uint 733 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 734 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 735 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 790 src/dps8/dps8_fnp2.c static void fnp_rcd_wru_timeout (uint mbx, int fnp_unit_idx, int lineno) uint 800 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 801 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 802 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 867 src/dps8/dps8_fnp2.c uint nCol = linep->nPos; uint 1087 src/dps8/dps8_fnp2.c uint frsz = linep->block_xfer_in_frame_sz; uint 1273 src/dps8/dps8_fnp2.c uint numunits = (uint) fnp_dev.numunits; uint 1274 src/dps8/dps8_fnp2.c for (uint fnp_unit_idx = 0; fnp_unit_idx < numunits; fnp_unit_idx ++) uint 1278 src/dps8/dps8_fnp2.c for (uint lineno = 0; lineno < MAX_LINES; lineno ++) uint 1335 src/dps8/dps8_fnp2.c static void send_3270_msg (uint ctlr_no, unsigned char * msg, size_t len, bool brk) uint 1345 src/dps8/dps8_fnp2.c uint fnpno = fnpData.ibm3270ctlr[ctlr_no].fnpno; uint 1346 src/dps8/dps8_fnp2.c uint lineno = fnpData.ibm3270ctlr[ctlr_no].lineno; uint 1396 src/dps8/dps8_fnp2.c uint fnpno = fnpData.ibm3270ctlr[ASSUME0].fnpno; uint 1397 src/dps8/dps8_fnp2.c uint lineno = fnpData.ibm3270ctlr[ASSUME0].lineno; uint 1409 src/dps8/dps8_fnp2.c uint left = linep->sync_msg_size; uint 1425 src/dps8/dps8_fnp2.c uint n_to_send = stnp->stn_in_size - stnp->stn_in_used; uint 1454 src/dps8/dps8_fnp2.c uint sz = (uint) (bufp - linep->buffer); uint 1474 src/dps8/dps8_fnp2.c uint fnpno = fnpData.ibm3270ctlr[ASSUME0].fnpno; uint 1475 src/dps8/dps8_fnp2.c uint lineno = fnpData.ibm3270ctlr[ASSUME0].lineno; uint 1511 src/dps8/dps8_fnp2.c uint stn_cnt; uint 1561 src/dps8/dps8_fnp2.c uint numunits = (uint) fnp_dev.numunits; uint 1562 src/dps8/dps8_fnp2.c for (uint fnp_unit_idx = 0; fnp_unit_idx < numunits; fnp_unit_idx ++) uint 1605 src/dps8/dps8_fnp2.c fnp_rcd_send_output ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1613 src/dps8/dps8_fnp2.c fnp_rcd_acu_dial_failure ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1628 src/dps8/dps8_fnp2.c fnp_rcd_accept_new_terminal ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1637 src/dps8/dps8_fnp2.c fnp_rcd_ack_echnego_init ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1647 src/dps8/dps8_fnp2.c fnp_rcd_ack_echnego_stop ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1658 src/dps8/dps8_fnp2.c fnp_rcd_line_disconnected ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1666 src/dps8/dps8_fnp2.c fnp_rcd_line_disconnected ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1677 src/dps8/dps8_fnp2.c fnp_rcd_wru_timeout ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1728 src/dps8/dps8_fnp2.c fnp_rcd_accept_input ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1736 src/dps8/dps8_fnp2.c fnp_rcd_input_in_mailbox ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1754 src/dps8/dps8_fnp2.c fnp_rcd_line_break ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1763 src/dps8/dps8_fnp2.c fnp_rcd_line_status ((uint)mbx, (int) fnp_unit_idx, lineno); uint 1783 src/dps8/dps8_fnp2.c uint ctlr_port_num = 0; // FNPs are single ported uint 1784 src/dps8/dps8_fnp2.c uint iom_unit_idx = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].iom_unit_idx; uint 1785 src/dps8/dps8_fnp2.c uint chan_num = cables->fnp_to_iom[fnp_unit_idx][ctlr_port_num].chan_num; uint 1848 src/dps8/dps8_fnp2.c for (uint linenum = 0; linenum < MAX_LINES; linenum ++) uint 1889 src/dps8/dps8_fnp2.c uint linenum; uint 1903 src/dps8/dps8_fnp2.c fnpData.ibm3270ctlr[ASSUME0].fnpno = (uint) devnum; uint 1910 src/dps8/dps8_fnp2.c uint pn; uint 2110 src/dps8/dps8_fnp2.c fw_entries[n_fw_entries].line_0 = (uint) line_0; uint 2111 src/dps8/dps8_fnp2.c fw_entries[n_fw_entries].line_1 = (uint) line_1; uint 2113 src/dps8/dps8_fnp2.c fw_entries[n_fw_entries].cidr = (uint) cidr; uint 2114 src/dps8/dps8_fnp2.c fw_entries[n_fw_entries].cidr_mask = (uint) cidr_mask; uint 2316 src/dps8/dps8_fnp2.c uint fnpUnitIdx = (uint) FNP_UNIT_IDX (uptr); uint 2343 src/dps8/dps8_fnp2.c fudp -> mailboxAddress = (uint) v; uint 2370 src/dps8/dps8_fnp2.c uint 2371 src/dps8/dps8_fnp2.c uint 2391 src/dps8/dps8_fnp2.c uint 2548 src/dps8/dps8_fnp2.c uint numunits = (uint) fnp_dev.numunits; uint 2549 src/dps8/dps8_fnp2.c for (uint fnp_unit_idx = 0; fnp_unit_idx < numunits; fnp_unit_idx ++) uint 2553 src/dps8/dps8_fnp2.c for (uint lineno = 0; lineno < MAX_LINES; lineno ++) uint 2634 src/dps8/dps8_fnp2.c for (uint i = 0; i < l; i ++) uint 2658 src/dps8/dps8_fnp2.c uint fnpno = fnpData.ibm3270ctlr[ASSUME0].fnpno; uint 2659 src/dps8/dps8_fnp2.c uint lineno = fnpData.ibm3270ctlr[ASSUME0].lineno; uint 2686 src/dps8/dps8_fnp2.c uint fnpno = p -> fnpno; uint 2687 src/dps8/dps8_fnp2.c uint lineno = p -> lineno; uint 2730 src/dps8/dps8_fnp2.c linep->inSize = (uint) nread; uint 2750 src/dps8/dps8_fnp2.c uint fnpno = p->fnpno; uint 2751 src/dps8/dps8_fnp2.c uint lineno = p->lineno; uint 2752 src/dps8/dps8_fnp2.c uint stn_no = p->stationNo; uint 2811 src/dps8/dps8_fnp2.c stn_p->stn_in_size = (uint) nread; uint 2977 src/dps8/dps8_fnp2.c uint fnp_unit_idx = 0; uint 2978 src/dps8/dps8_fnp2.c uint lineno = 0; uint 2990 src/dps8/dps8_fnp2.c fnp_unit_idx = (uint) (fnpcode - 'a'); uint 65 src/dps8/dps8_fnp2.h uint inputBufferSize; uint 66 src/dps8/dps8_fnp2.h uint ctrlStrIdx; uint 82 src/dps8/dps8_fnp2.h uint block_xfer_in_frame_sz, block_xfer_out_frame_sz; uint 83 src/dps8/dps8_fnp2.h uint delay_table [6]; uint 85 src/dps8/dps8_fnp2.h uint inputSuspendLen; uint 87 src/dps8/dps8_fnp2.h uint inputResumeLen; uint 89 src/dps8/dps8_fnp2.h uint outputSuspendLen; uint 91 src/dps8/dps8_fnp2.h uint outputResumeLen; uint 93 src/dps8/dps8_fnp2.h uint frame_begin; uint 94 src/dps8/dps8_fnp2.h uint frame_end; uint 100 src/dps8/dps8_fnp2.h uint echnego_unechoed_cnt; uint 104 src/dps8/dps8_fnp2.h uint sync_msg_size; uint 112 src/dps8/dps8_fnp2.h uint send_output; uint 115 src/dps8/dps8_fnp2.h uint line_disconnected; uint 124 src/dps8/dps8_fnp2.h uint accept_input; // If non-zero, the number of centiseconds until uint 141 src/dps8/dps8_fnp2.h uint nPos; // position where *next* user input is to be stored uint 145 src/dps8/dps8_fnp2.h uint inSize; // Number of bytes in inBuffer uint 146 src/dps8/dps8_fnp2.h uint inUsed; // Number of consumed bytes in buffer uint 161 src/dps8/dps8_fnp2.h uint frameLen; uint 178 src/dps8/dps8_fnp2.h uint fnpno; uint 179 src/dps8/dps8_fnp2.h uint lineno; uint 187 src/dps8/dps8_fnp2.h uint stn_no; uint 194 src/dps8/dps8_fnp2.h uint stn_in_size; // Number of bytes in inBuffer uint 195 src/dps8/dps8_fnp2.h uint stn_in_used; uint 322 src/dps8/dps8_fnp2.h uint line_0, line_1; // range of lines uint 324 src/dps8/dps8_fnp2.h uint cidr; uint 337 src/dps8/dps8_fnp2.h iom_cmd_rc_t fnp_iom_cmd (uint iomUnitIdx, uint chan); uint 350 src/dps8/dps8_fnp2.h void setTIMW (uint iom_unit_idx, uint chan, word24 mailboxAddress, int mbx); uint 57 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) uint 62 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < n; i ++) uint 71 src/dps8/dps8_fnp2_iomcmd.c static inline void l_putbits36_1 (vol word36 * x, uint p, word1 val) uint 97 src/dps8/dps8_fnp2_iomcmd.c uint devUnitIdx; uint 98 src/dps8/dps8_fnp2_iomcmd.c uint op_code; uint 99 src/dps8/dps8_fnp2_iomcmd.c uint slot_no; uint 100 src/dps8/dps8_fnp2_iomcmd.c uint iom_unit; uint 101 src/dps8/dps8_fnp2_iomcmd.c uint chan_num; uint 105 src/dps8/dps8_fnp2_iomcmd.c uint cell; uint 113 src/dps8/dps8_fnp2_iomcmd.c static void dmpmbx (uint mailboxAddress) uint 123 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < 8; i ++) uint 139 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < 4; i ++) uint 171 src/dps8/dps8_fnp2_iomcmd.c for (uint i=0; i < 3; i++) uint 220 src/dps8/dps8_fnp2_iomcmd.c uint d1 = getbits36_9 (command_data[0], 0); uint 221 src/dps8/dps8_fnp2_iomcmd.c uint d2 = getbits36_9 (command_data[0], 9); uint 346 src/dps8/dps8_fnp2_iomcmd.c uint stn_no; uint 413 src/dps8/dps8_fnp2_iomcmd.c linep->sync_msg_size = (uint) getbits36_18 (command_data[0], 0); uint 465 src/dps8/dps8_fnp2_iomcmd.c uint data_addr = getbits36_18 (word6, 0); uint 466 src/dps8/dps8_fnp2_iomcmd.c uint data_len = getbits36_18 (word6, 18); uint 496 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < echoTableLen; i ++) uint 505 src/dps8/dps8_fnp2_iomcmd.c uint offset = 0; uint 506 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < 8; i ++) uint 509 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < 16; j ++) uint 512 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < 16; j ++) uint 627 src/dps8/dps8_fnp2_iomcmd.c uint suspendLen = getbits36_9 (suspendStr, 0); uint 640 src/dps8/dps8_fnp2_iomcmd.c uint resumeLen = getbits36_9 (resumeStr, 0); uint 663 src/dps8/dps8_fnp2_iomcmd.c uint suspendLen = getbits36_9 (suspendStr, 0); uint 676 src/dps8/dps8_fnp2_iomcmd.c uint resumeLen = getbits36_9 (resumeStr, 0); uint 694 src/dps8/dps8_fnp2_iomcmd.c uint subtype = getbits36_9 (command_data[0], 0); uint 695 src/dps8/dps8_fnp2_iomcmd.c uint flag = getbits36_1 (command_data[0], 17); uint 752 src/dps8/dps8_fnp2_iomcmd.c uint bufsz = getbits36_18 (command_data[0], 18); uint 783 src/dps8/dps8_fnp2_iomcmd.c uint idx = getbits36_9 (command_data[0], 9); uint 842 src/dps8/dps8_fnp2_iomcmd.c uint bufsiz1 = getbits36_18 (command_data[0], 18); uint 843 src/dps8/dps8_fnp2_iomcmd.c uint bufsiz2 = getbits36_18 (command_data[1], 0); uint 860 src/dps8/dps8_fnp2_iomcmd.c uint sz = getbits36_18 (command_data[0], 18); uint 966 src/dps8/dps8_fnp2_iomcmd.c uint d1 = getbits36_18 (command_data[0], 0); uint 967 src/dps8/dps8_fnp2_iomcmd.c uint d2 = getbits36_18 (command_data[0], 18); uint 969 src/dps8/dps8_fnp2_iomcmd.c uint d3 = getbits36_18 (command_data[1], 0); uint 970 src/dps8/dps8_fnp2_iomcmd.c uint d4 = getbits36_18 (command_data[1], 18); uint 972 src/dps8/dps8_fnp2_iomcmd.c uint d5 = getbits36_18 (command_data[2], 0); uint 973 src/dps8/dps8_fnp2_iomcmd.c uint d6 = getbits36_18 (command_data[2], 18); uint 1118 src/dps8/dps8_fnp2_iomcmd.c static void tun_write (struct t_line * linep, uint16_t * data, uint tally) uint 1121 src/dps8/dps8_fnp2_iomcmd.c uint 1128 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < tally; i ++) uint 1164 src/dps8/dps8_fnp2_iomcmd.c static void fnp_wtx_output (struct decoded_t *decoded_p, uint tally, uint dataAddr) uint 1172 src/dps8/dps8_fnp2_iomcmd.c uint wordOff = 0; uint 1174 src/dps8/dps8_fnp2_iomcmd.c uint lastWordOff = (uint) -1; uint 1180 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < tally; i ++) uint 1182 src/dps8/dps8_fnp2_iomcmd.c uint byteOff = i % 4; uint 1183 src/dps8/dps8_fnp2_iomcmd.c uint byte = 0; uint 1203 src/dps8/dps8_fnp2_iomcmd.c uint 1254 src/dps8/dps8_fnp2_iomcmd.c uint dcwAddr = getbits36_18 (data, 0); uint 1255 src/dps8/dps8_fnp2_iomcmd.c uint dcwCnt = getbits36_9 (data, 27); uint 1259 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < dcwCnt; i ++) uint 1267 src/dps8/dps8_fnp2_iomcmd.c uint dataAddr = getbits36_18 (dcw, 0); uint 1268 src/dps8/dps8_fnp2_iomcmd.c uint tally = getbits36_9 (dcw, 27); uint 1322 src/dps8/dps8_fnp2_iomcmd.c uint n_chars = getbits36_18 (word2, 0); uint 1332 src/dps8/dps8_fnp2_iomcmd.c uint off = 0; uint 1333 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < n_buffers && off < n_chars; j++) uint 1342 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < linep->nPos; i ++) uint 1354 src/dps8/dps8_fnp2_iomcmd.c uint n_chars_in_buf = min(n_chars-off, tally); uint 1355 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < n_chars_in_buf; i += 4) uint 1398 src/dps8/dps8_fnp2_iomcmd.c uint mbx = decoded_p->cell; uint 1411 src/dps8/dps8_fnp2_iomcmd.c uint io_cmd = getbits36_9 (word2, 27); uint 1473 src/dps8/dps8_fnp2_iomcmd.c uint mbx = decoded_p->cell - 8; uint 1492 src/dps8/dps8_fnp2_iomcmd.c uint op_code = getbits36_9 (word2, 18); uint 1493 src/dps8/dps8_fnp2_iomcmd.c uint io_cmd = getbits36_9 (word2, 27); uint 1649 src/dps8/dps8_fnp2_iomcmd.c uint mbx = decoded_p->cell - 12; uint 1682 src/dps8/dps8_fnp2_iomcmd.c static int interruptL66 (uint iomUnitIdx, uint chan) uint 1754 src/dps8/dps8_fnp2_iomcmd.c static void fnpcmdBootload (uint devUnitIdx) uint 1762 src/dps8/dps8_fnp2_iomcmd.c for (uint lineno = 0; lineno < MAX_LINES; lineno ++) uint 1801 src/dps8/dps8_fnp2_iomcmd.c static word18 getl6core (uint iom_unit_idx, uint chan, word24 l66addr, uint addr) uint 1813 src/dps8/dps8_fnp2_iomcmd.c static void processMBX (uint iomUnitIdx, uint chan) uint 1818 src/dps8/dps8_fnp2_iomcmd.c uint fnp_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1936 src/dps8/dps8_fnp2_iomcmd.c uint command = getbits36_6 (dia_pcw, 30); uint 1973 src/dps8/dps8_fnp2_iomcmd.c uint 1996 src/dps8/dps8_fnp2_iomcmd.c uint 2053 src/dps8/dps8_fnp2_iomcmd.c uint 2058 src/dps8/dps8_fnp2_iomcmd.c uint 2059 src/dps8/dps8_fnp2_iomcmd.c uint 2060 src/dps8/dps8_fnp2_iomcmd.c uint 2116 src/dps8/dps8_fnp2_iomcmd.c uint nfound = 0; uint 2118 src/dps8/dps8_fnp2_iomcmd.c for (uint lsla = 0; lsla < 6; lsla ++) uint 2120 src/dps8/dps8_fnp2_iomcmd.c uint slot = lsla + 9; uint 2121 src/dps8/dps8_fnp2_iomcmd.c uint os = slot * 2; uint 2124 src/dps8/dps8_fnp2_iomcmd.c uint device_type_code = (flags >> 4) & 037; uint 2132 src/dps8/dps8_fnp2_iomcmd.c for (uint slot = 0; slot < 52; slot ++) uint 2192 src/dps8/dps8_fnp2_iomcmd.c for (uint hsla = 0; hsla < 3; hsla ++) uint 2194 src/dps8/dps8_fnp2_iomcmd.c uint slot = hsla + 6; uint 2195 src/dps8/dps8_fnp2_iomcmd.c uint os = slot * 2; uint 2198 src/dps8/dps8_fnp2_iomcmd.c uint device_type_code = (flags >> 4) & 037; uint 2206 src/dps8/dps8_fnp2_iomcmd.c for (uint slot = 0; slot < 32; slot ++) uint 2370 src/dps8/dps8_fnp2_iomcmd.c uint lineno = hsla * 32u + slot; uint 2515 src/dps8/dps8_fnp2_iomcmd.c static int fnpCmd (uint iomUnitIdx, uint chan) { uint 2542 src/dps8/dps8_fnp2_iomcmd.c iom_cmd_rc_t fnp_iom_cmd (uint iomUnitIdx, uint chan) { uint 19 src/dps8/dps8_fnp2_iomcmd.h iom_cmd_rc_t fnp_iom_cmd (uint iomUnitIdx, uint chan); uint 216 src/dps8/dps8_hw_consts.h return ((int) w) | (int) (((uint) -1) << 6); uint 225 src/dps8/dps8_hw_consts.h return ((int) w) | (int) (((uint) -1) << 8); uint 599 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 615 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 637 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 651 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 658 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 694 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 710 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 732 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 746 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 752 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 786 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 802 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 824 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 838 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 872 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 888 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 910 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 924 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 951 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 965 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 996 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 1012 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 1034 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 1048 src/dps8/dps8_iefp.c for (uint i = 0; i < 2; i ++) uint 1089 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1097 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1109 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1117 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1136 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1144 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1158 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1166 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1213 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1221 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1233 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1241 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1260 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1268 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1283 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1291 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1783 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1791 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1803 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1811 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1830 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1838 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1850 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1858 src/dps8/dps8_iefp.c for (uint i = 0; i < 8; i ++) uint 1912 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1920 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1932 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1940 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1959 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1968 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1979 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1987 src/dps8/dps8_iefp.c for (uint i = 0; i < PGSZ; i ++) uint 1089 src/dps8/dps8_ins.c uint _opcode = opcode & 01777; uint 1212 src/dps8/dps8_ins.c void traceInstruction (uint flag) uint 1436 src/dps8/dps8_ins.c const uint ndes = info->ndes; uint 1864 src/dps8/dps8_ins.c uint Xn = X (Td); // Get Xn of next instruction uint 1895 src/dps8/dps8_ins.c for (uint n = 0; n < ndes; n += 1) { uint 2116 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); uint 2132 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); uint 2144 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IRODD, 36 - 3); uint 2188 src/dps8/dps8_ins.c uint x = (uint) getbits18 (cpu.rX[0], 0, 8); uint 2191 src/dps8/dps8_ins.c x = (uint) (((int) x) - 1); uint 2273 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); uint 2409 src/dps8/dps8_ins.c uint row = grp / 36; uint 2410 src/dps8/dps8_ins.c uint col = grp % 36; uint 2713 src/dps8/dps8_ins.c uint n = ((opcode10 & 020) >> 2) | (opcode10 & 03); uint 2754 src/dps8/dps8_ins.c uint n = ((opcode10 & 0400) >> 6) | (opcode10 & 03); uint 3025 src/dps8/dps8_ins.c uint n = ((opcode10 & 020) >> 2) | (opcode10 & 03); uint 3159 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 3190 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) uint 3408 src/dps8/dps8_ins.c uint n = ((opcode10 & 0400) >> 6) | (opcode10 & 03); uint 3488 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 3518 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) uint 4036 src/dps8/dps8_ins.c cpu.CY = (((uint) (((int) cpu.shadowTR) - 1)) & MASK27) << 9; uint 4078 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4089 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) uint 4140 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4161 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp18 ; j ++) uint 4188 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4204 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) uint 4238 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4252 src/dps8/dps8_ins.c uint cnt72 = cnt < 72 ? cnt : 71; uint 4285 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) uint 4321 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4353 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) uint 4386 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4428 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) uint 4461 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4472 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) uint 4524 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 uint 4544 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) uint 7086 src/dps8/dps8_ins.c uint cpu_port_num; uint 7097 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 7099 src/dps8/dps8_ins.c t_stat rc = scu_rscr (cpup, (uint) scuUnitIdx, current_running_cpu_idx, uint 7279 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; uint 7295 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; uint 7437 src/dps8/dps8_ins.c uint csh1_on = getbits36_1 (cpu.CY, 54 - 36); uint 7438 src/dps8/dps8_ins.c uint csh2_on = getbits36_1 (cpu.CY, 55 - 36); uint 7492 src/dps8/dps8_ins.c for (uint hset = 0; hset < N_HIST_SETS; hset ++) uint 7512 src/dps8/dps8_ins.c for (uint i = 0; i < N_HIST_SETS; i ++) uint 7526 src/dps8/dps8_ins.c for (uint i = 0; i < N_HIST_SETS; i ++) uint 7581 src/dps8/dps8_ins.c for (uint i = 0; i < 16; i ++) uint 7597 src/dps8/dps8_ins.c for (uint i = 0; i < 16; i ++) uint 7625 src/dps8/dps8_ins.c for (uint i = 0; i < 16; i ++) uint 7643 src/dps8/dps8_ins.c for (uint i = 0; i < 16; i ++) uint 7646 src/dps8/dps8_ins.c uint j = (uint)m * 2; uint 7673 src/dps8/dps8_ins.c uint tag = (i->tag) & MASK6; uint 7678 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_APU_HIST_REG : DPS8M_APU_HIST_REG; uint 7726 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_DU_HIST_REG : DPS8M_EAPU_HIST_REG; uint 7748 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_OU_HIST_REG : DPS8M_DU_OU_HIST_REG; uint 7812 src/dps8/dps8_ins.c uint level; uint 7815 src/dps8/dps8_ins.c uint toffset = level * 16; uint 7816 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) uint 7824 src/dps8/dps8_ins.c uint parity = 0; uint 7828 src/dps8/dps8_ins.c parity = ((uint) cpu.PTWAM[toffset + j].POINTER << 4) | (cpu.PTWAM[toffset + j].PAGENO >> 8); uint 7851 src/dps8/dps8_ins.c uint level; uint 7854 src/dps8/dps8_ins.c uint toffset = level * 16; uint 7855 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) uint 7871 src/dps8/dps8_ins.c uint level; uint 7874 src/dps8/dps8_ins.c uint toffset = level * 16; uint 7875 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) uint 7883 src/dps8/dps8_ins.c uint parity = 0; uint 7909 src/dps8/dps8_ins.c uint level = 0; uint 7912 src/dps8/dps8_ins.c uint toffset = level * 16; uint 7913 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) uint 7960 src/dps8/dps8_ins.c for (uint i = 0; i < N_MODEL_WAM_ENTRIES; i ++) uint 8006 src/dps8/dps8_ins.c for (uint i = 0; i < N_MODEL_WAM_ENTRIES; i ++) uint 8046 src/dps8/dps8_ins.c uint cpu_port_num; uint 8056 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8057 src/dps8/dps8_ins.c t_stat rc = scu_rmcm ((uint) scuUnitIdx, uint 8105 src/dps8/dps8_ins.c uint cpu_port_num; uint 8127 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8130 src/dps8/dps8_ins.c uint function = (cpu.iefpFinalAddress >> 3) & 07; uint 8134 src/dps8/dps8_ins.c t_stat rc = scu_rscr (cpup, (uint) scuUnitIdx, current_running_cpu_idx, uint 8160 src/dps8/dps8_ins.c uint select = cpu.TPR.CA & 0x7; uint 8531 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8547 src/dps8/dps8_ins.c uint scu_port_num = (uint) getbits36_3 (cpu.CY, 33); uint 8548 src/dps8/dps8_ins.c scu_cioc (current_running_cpu_idx, (uint) scuUnitIdx, scu_port_num, uint 8558 src/dps8/dps8_ins.c uint cpu_port_num; uint 8568 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8569 src/dps8/dps8_ins.c t_stat rc = scu_smcm ((uint) scuUnitIdx, uint 8586 src/dps8/dps8_ins.c uint cpu_port_num; uint 8605 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8606 src/dps8/dps8_ins.c t_stat rc = scu_smic ((uint) scuUnitIdx, current_running_cpu_idx, uint 8617 src/dps8/dps8_ins.c uint cpu_port_num; uint 8633 src/dps8/dps8_ins.c uint scuUnitIdx = get_scu_idx (current_running_cpu_idx, cpu_port_num); uint 8634 src/dps8/dps8_ins.c t_stat rc = scu_sscr (cpup, (uint) scuUnitIdx, current_running_cpu_idx, uint 8830 src/dps8/dps8_ins.c uint TA = getbits36_2 (cpu.CY, 21); uint 8831 src/dps8/dps8_ins.c uint CN = getbits36_3 (cpu.CY, 18); uint 8979 src/dps8/dps8_ins.c uint TN = getbits36_1 (cpu.CY, 21); // C(Y) 21 uint 8980 src/dps8/dps8_ins.c uint CN = getbits36_3 (cpu.CY, 18); // C(Y) 18-20 uint 9052 src/dps8/dps8_ins.c uint TA = getbits36_2 (cpu.CY, 21); uint 9126 src/dps8/dps8_ins.c uint TN = getbits36_1 (cpu.CY, 21); // C(Y) 21 uint 31 src/dps8/dps8_ins.h void traceInstruction (uint flag); uint 656 src/dps8/dps8_iom.c uint configSwPortAddress[N_IOM_PORTS]; // = { 0, 1, 2, 3, 4, 5, 6, 7 }; uint 659 src/dps8/dps8_iom.c uint configSwPortInterface[N_IOM_PORTS]; // = { 0, 0, 0, 0, 0, 0, 0, 0 }; uint 662 src/dps8/dps8_iom.c uint configSwPortEnable[N_IOM_PORTS]; // = { 0, 0, 0, 0, 0, 0, 0, 0 }; uint 665 src/dps8/dps8_iom.c uint configSwPortSysinitEnable[N_IOM_PORTS]; // = { 0, 0, 0, 0, 0, 0, 0, 0 }; uint 668 src/dps8/dps8_iom.c uint configSwPortHalfsize[N_IOM_PORTS]; // = { 0, 0, 0, 0, 0, 0, 0, 0 }; uint 670 src/dps8/dps8_iom.c uint configSwPortStoresize[N_IOM_PORTS]; // = { 0, 0, 0, 0, 0, 0, 0, 0 }; uint 677 src/dps8/dps8_iom.c uint invokingScuUnitIdx; // the unit number of the SCU that did the connect. uint 738 src/dps8/dps8_iom.c __thread uint this_iom_idx; uint 739 src/dps8/dps8_iom.c __thread uint this_chan_num; uint 812 src/dps8/dps8_iom.c void iom_core_read (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) uint 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) uint 844 src/dps8/dps8_iom.c void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) uint 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) uint 874 src/dps8/dps8_iom.c void iom_core_read_lock (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) uint 888 src/dps8/dps8_iom.c void iom_core_write_unlock (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) uint 902 src/dps8/dps8_iom.c uint scu_unit_idx = (uint) (up -> u3); uint 903 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) (up -> u4); uint 951 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) IOM_UNIT_IDX (uptr); uint 1117 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) IOM_UNIT_IDX (uptr); uint 1126 src/dps8/dps8_iom.c static uint port_num = 0; uint 1211 src/dps8/dps8_iom.c port_num = (uint) v; uint 1217 src/dps8/dps8_iom.c p -> configSwPortAddress[port_num] = (uint) v; uint 1223 src/dps8/dps8_iom.c p -> configSwPortInterface[port_num] = (uint) v; uint 1229 src/dps8/dps8_iom.c p -> configSwPortEnable[port_num] = (uint) v; uint 1235 src/dps8/dps8_iom.c p -> configSwPortSysinitEnable[port_num] = (uint) v; uint 1241 src/dps8/dps8_iom.c p -> configSwPortHalfsize[port_num] = (uint) v; uint 1247 src/dps8/dps8_iom.c p -> configSwPortStoresize[port_num] = (uint) v; uint 1262 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) (uptr - iom_unit); uint 1340 src/dps8/dps8_iom.c t_stat iom_unit_reset_idx (UNUSED uint iom_unit_idx) uint 1349 src/dps8/dps8_iom.c for (uint iom_unit_idx = 0; iom_unit_idx < iom_dev.numunits; iom_unit_idx ++) uint 1384 src/dps8/dps8_iom.c static void init_memory_iom (uint iom_unit_idx) uint 1541 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) (unitp - boot_channel_unit); uint 1557 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][port_num].scu_unit_idx; uint 1577 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][0].scu_unit_idx; uint 1629 src/dps8/dps8_iom.c static uint mbxLoc (uint iom_unit_idx, uint chan) uint 1715 src/dps8/dps8_iom.c static int status_service (uint iom_unit_idx, uint chan, bool marker) uint 1759 src/dps8/dps8_iom.c uint chanloc = mbxLoc (iom_unit_idx, chan); uint 1764 src/dps8/dps8_iom.c uint lq = getbits36_2 (scw, 18); uint 1765 src/dps8/dps8_iom.c uint tally = getbits36_12 (scw, 24); uint 1830 src/dps8/dps8_iom.c static word24 UNUSED build_AUXPTW_address (uint iom_unit_idx, int chan) uint 1842 src/dps8/dps8_iom.c addr |= ((uint) chan & MASK6) << 2; uint 1866 src/dps8/dps8_iom.c static void fetch_DDSPTW (uint iom_unit_idx, int chan, word18 addr) uint 1903 src/dps8/dps8_iom.c static void fetch_IDSPTW (uint iom_unit_idx, int chan, word18 addr) uint 1938 src/dps8/dps8_iom.c static void fetch_LPWPTW (uint iom_unit_idx, uint chan) uint 1953 src/dps8/dps8_iom.c void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, uint 1976 src/dps8/dps8_iom.c daddr = ((uint) getbits36_14 (p -> PTW_DCW, 4) << 10) | (daddr & MASK10); uint 1995 src/dps8/dps8_iom.c void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, uint * cnt, bool write) { uint 2005 src/dps8/dps8_iom.c uint tally = p->DDCW_TALLY; uint 2006 src/dps8/dps8_iom.c uint daddr = p->DDCW_ADDR; uint 2013 src/dps8/dps8_iom.c uint c = * cnt; uint 2031 src/dps8/dps8_iom.c uint daddr2 = daddr | (uint) p->ADDR_EXT << 18; uint 2041 src/dps8/dps8_iom.c uint c = 0; uint 2059 src/dps8/dps8_iom.c uint daddr2 = daddr | (uint) p -> ADDR_EXT << 18; uint 2072 src/dps8/dps8_iom.c static void update_chan_mode (uint iom_unit_idx, uint chan, bool tdcw) uint 2188 src/dps8/dps8_iom.c static void write_LPW (uint iom_unit_idx, uint chan) uint 2192 src/dps8/dps8_iom.c uint chanLoc = mbxLoc (iom_unit_idx, chan); uint 2264 src/dps8/dps8_iom.c static void dumpLPW (uint iom_unit_idx, uint chan) { uint 2352 src/dps8/dps8_iom.c static void fetch_and_parse_LPW (uint iom_unit_idx, uint chan) uint 2358 src/dps8/dps8_iom.c uint chanLoc = mbxLoc (iom_unit_idx, chan); uint 2388 src/dps8/dps8_iom.c static void unpack_DCW (uint iom_unit_idx, uint chan) uint 2457 src/dps8/dps8_iom.c static void pack_DCW (uint iom_unit_idx, uint chan) uint 2464 src/dps8/dps8_iom.c static void pack_LPW (uint iom_unit_idx, uint chan) uint 2479 src/dps8/dps8_iom.c static void fetch_and_parse_PCW (uint iom_unit_idx, uint chan) uint 2497 src/dps8/dps8_iom.c static void fetch_and_parse_DCW (uint iom_unit_idx, uint chan, UNUSED bool read_only) uint 2572 src/dps8/dps8_iom.c int send_general_interrupt (uint iom_unit_idx, uint chan, enum iomImwPics pic) uint 2577 src/dps8/dps8_iom.c uint imw_addr; uint 2578 src/dps8/dps8_iom.c uint chan_group = chan < 32 ? 1 : 0; uint 2579 src/dps8/dps8_iom.c uint chan_in_group = chan & 037; uint 2581 src/dps8/dps8_iom.c uint iomUnitNum = uint 2583 src/dps8/dps8_iom.c uint interrupt_num = iomUnitNum | (chan_group << 2) | ((uint) pic << 3); uint 2594 src/dps8/dps8_iom.c uint pi_base = iom_unit_data[iom_unit_idx].configSwMultiplexBaseAddress & ~3u; uint 2614 src/dps8/dps8_iom.c static void iom_fault (uint iom_unit_idx, uint chan, UNUSED const char * who, uint 2658 src/dps8/dps8_iom.c uint chanloc = mbxLoc (iom_unit_idx, IOM_SYSTEM_FAULT_CHAN); uint 2675 src/dps8/dps8_iom.c uint tally = dcw & MASK12; uint 2693 src/dps8/dps8_iom.c int iom_list_service (uint iom_unit_idx, uint chan, uint 3057 src/dps8/dps8_iom.c static int doPayloadChannel (uint iomUnitIdx, uint chan) { uint 3306 src/dps8/dps8_iom.c static int doConnectChan (uint iom_unit_idx) { uint 3414 src/dps8/dps8_iom.c int send_marker_interrupt (uint iom_unit_idx, int chan) uint 3418 src/dps8/dps8_iom.c status_service (iom_unit_idx, (uint) chan, true); uint 3419 src/dps8/dps8_iom.c return send_general_interrupt (iom_unit_idx, (uint) chan, imwMarkerPic); uint 3429 src/dps8/dps8_iom.c int send_special_interrupt (uint iom_unit_idx, uint chan, uint devCode, uint 3433 src/dps8/dps8_iom.c uint chanloc = mbxLoc (iom_unit_idx, IOM_SPECIAL_STATUS_CHAN); uint 3463 src/dps8/dps8_iom.c uint tally = dcw & MASK12; uint 3490 src/dps8/dps8_iom.c int send_terminate_interrupt (uint iom_unit_idx, uint chan) uint 3502 src/dps8/dps8_iom.c void iom_interrupt (uint scu_unit_idx, uint iom_unit_idx) uint 3527 src/dps8/dps8_iom.c uint myid = (uint) * (int *) arg; uint 3528 src/dps8/dps8_iom.c this_iom_idx = (uint) myid / MAX_CHANNELS; uint 3529 src/dps8/dps8_iom.c this_chan_num = (uint) myid % MAX_CHANNELS; uint 3555 src/dps8/dps8_iom.c this_iom_idx = (uint) myid; uint 3600 src/dps8/dps8_iom.c for (uint i = 0; i < N_IOM_UNITS_MAX; i++) uint 3601 src/dps8/dps8_iom.c for (uint j = 0; j < MAX_CHANNELS; j++) uint 3613 src/dps8/dps8_iom.c char iomChar (uint iomUnitIdx) uint 26 src/dps8/dps8_iom.h extern __thread uint this_iom_idx; uint 27 src/dps8/dps8_iom.h extern __thread uint this_chan_num; uint 174 src/dps8/dps8_iom.h /*word18*/ uint DDCW_ADDR; // Allow overflow detection uint 247 src/dps8/dps8_iom.h uint dev_code; uint 294 src/dps8/dps8_iom.h uint 295 src/dps8/dps8_iom.h uint 296 src/dps8/dps8_iom.h uint 297 src/dps8/dps8_iom.h uint 309 src/dps8/dps8_iom.h uint 310 src/dps8/dps8_iom.h uint 311 src/dps8/dps8_iom.h uint 314 src/dps8/dps8_iom.h uint 318 src/dps8/dps8_iom.h uint 319 src/dps8/dps8_iom.h uint 320 src/dps8/dps8_iom.h uint 321 src/dps8/dps8_iom.h uint 322 src/dps8/dps8_iom.h uint 369 src/dps8/dps8_iom.h int send_general_interrupt (uint iom_unit_idx, uint chan, enum iomImwPics pic); uint 371 src/dps8/dps8_iom.h int send_special_interrupt (uint iom_unit_idx, uint chanNum, uint devCode, uint 397 src/dps8/dps8_iom.h typedef iom_cmd_rc_t iom_cmd_t (uint iom_unit_idx, uint chan); uint 398 src/dps8/dps8_iom.h int iom_list_service (uint iom_unit_idx, uint chan, uint 400 src/dps8/dps8_iom.h int send_terminate_interrupt (uint iom_unit_idx, uint chanNum); uint 401 src/dps8/dps8_iom.h void iom_interrupt (uint scuUnitNum, uint iom_unit_idx); uint 402 src/dps8/dps8_iom.h void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, uint 404 src/dps8/dps8_iom.h void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, uint 405 src/dps8/dps8_iom.h uint * cnt, bool write); uint 407 src/dps8/dps8_iom.h int send_marker_interrupt (uint iom_unit_idx, int chan); uint 415 src/dps8/dps8_iom.h void iom_core_read (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); uint 416 src/dps8/dps8_iom.h void iom_core_read2 (uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx); uint 417 src/dps8/dps8_iom.h void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); uint 418 src/dps8/dps8_iom.h void iom_core_write2 (uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx); uint 419 src/dps8/dps8_iom.h void iom_core_read_lock (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); uint 420 src/dps8/dps8_iom.h void iom_core_write_unlock (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); uint 421 src/dps8/dps8_iom.h t_stat iom_unit_reset_idx (uint iom_unit_idx); uint 427 src/dps8/dps8_iom.h char iomChar (uint iomUnitIdx); uint 481 src/dps8/dps8_math.c uint shift_amt = isHex (cpup) ? 4 : 1; uint 483 src/dps8/dps8_math.c uint shift_amt = 1; uint 742 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 1263 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 1265 src/dps8/dps8_math.c uint shift_amt = 1; uint 1709 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 1711 src/dps8/dps8_math.c uint shift_amt = 1; uint 1824 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 1826 src/dps8/dps8_math.c uint shift_amt = 1; uint 1991 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 1993 src/dps8/dps8_math.c uint shift_amt = 1; uint 2468 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 2470 src/dps8/dps8_math.c uint shift_amt = 1; uint 2861 src/dps8/dps8_math.c for (uint i = 0; i < 35; i ++) { uint 3324 src/dps8/dps8_math.c uint shift_amt = isHex(cpup) ? 4 : 1; uint 3326 src/dps8/dps8_math.c uint shift_amt = 1; uint 3458 src/dps8/dps8_math.c uint shift_amt = isHex (cpup) ? 4 : 1; uint 3460 src/dps8/dps8_math.c uint shift_amt = 1; uint 70 src/dps8/dps8_mgp.c static void dumppkt(char *hdr, word36 *buf, uint words); uint 71 src/dps8/dps8_mgp.c static int handle_mgp_packet(word36 *buf, uint words); uint 72 src/dps8/dps8_mgp.c static int poll_from_cbridge(word36 *buf, uint words, uint probe_only); uint 73 src/dps8/dps8_mgp.c static void mgp_wants_to_read(uint iom_unit_idx, uint chan); uint 96 src/dps8/dps8_mgp.c uint read_unit_idx; uint 97 src/dps8/dps8_mgp.c uint read_unit_chan; uint 343 src/dps8/dps8_mgp.c get_ddcw(iom_chan_data_t *p, uint iom_unit_idx, uint chan, bool *ptro, uint 344 src/dps8/dps8_mgp.c uint expected_tally, uint *tally) uint 441 src/dps8/dps8_mgp.c mgp_cmd(uint iom_unit_idx, uint chan) uint 478 src/dps8/dps8_mgp.c const uint expected_tally = 0; uint 479 src/dps8/dps8_mgp.c uint tally; uint 488 src/dps8/dps8_mgp.c uint words_processed; uint 545 src/dps8/dps8_mgp.c const uint expected_tally = 0; uint 546 src/dps8/dps8_mgp.c uint tally; uint 551 src/dps8/dps8_mgp.c uint words_processed; uint 650 src/dps8/dps8_mgp.c mgp_iom_cmd(uint iom_unit_idx, uint chan) uint 671 src/dps8/dps8_mgp.c uint iom_unit_idx = mgp_dev_state.read_unit_idx; uint 672 src/dps8/dps8_mgp.c uint chan = mgp_dev_state.read_unit_chan; uint 675 src/dps8/dps8_mgp.c uint words_processed = 128; uint 699 src/dps8/dps8_mgp.c uint iom_unit_idx = mgp_dev_state.read_unit_idx; uint 700 src/dps8/dps8_mgp.c uint chan = mgp_dev_state.read_unit_chan; uint 764 src/dps8/dps8_mgp.c pktype_name(uint t) uint 781 src/dps8/dps8_mgp.c chop_name(uint c) uint 841 src/dps8/dps8_mgp.c copy_packet9_to_cbridge8(word36 *buf, uint words, u_char *dest, int dlen) uint 856 src/dps8/dps8_mgp.c copy_cbridge8_to_packet9(u_char *src, int slen, word36 *buf, uint words) uint 869 src/dps8/dps8_mgp.c mgp_checksum_raw(word36 *buf, uint words) uint 883 src/dps8/dps8_mgp.c mgp_checksum(struct mgp_packet_header *p, u_char *pkt, uint pklen) uint 885 src/dps8/dps8_mgp.c uint i, cks = 0; uint 915 src/dps8/dps8_mgp.c parse_packet_header(word36 *buf, uint words) uint 990 src/dps8/dps8_mgp.c unparse_packet_header(struct mgp_packet_header *p, word36 *buf, uint words) uint 1030 src/dps8/dps8_mgp.c dumppkt(char *hdr, word36 *buf, uint words) uint 1203 src/dps8/dps8_mgp.c mgp_wants_to_read(uint iom_unit_idx, uint chan) uint 1384 src/dps8/dps8_mgp.c uint words) uint 1406 src/dps8/dps8_mgp.c handle_close(struct mgp_packet_header *p, word36 *buf, uint words) uint 1421 src/dps8/dps8_mgp.c handle_lose(int conni, struct mgp_packet_header *p, word36 *buf, uint words) uint 1432 src/dps8/dps8_mgp.c handle_connect(struct mgp_packet_header *p, word36 *buf, uint words) uint 1554 src/dps8/dps8_mgp.c handle_mgp_packet(word36 *buf, uint words) uint 1718 src/dps8/dps8_mgp.c uint pklen, int i) uint 1758 src/dps8/dps8_mgp.c make_mgp_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, uint 1759 src/dps8/dps8_mgp.c uint words, uint conni) uint 1783 src/dps8/dps8_mgp.c make_status_packet(int conni, word36 *buf, uint words) uint 1806 src/dps8/dps8_mgp.c make_noop_packet(word36 *buf, uint words) uint 1829 src/dps8/dps8_mgp.c make_open_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf, uint 1830 src/dps8/dps8_mgp.c uint words, uint conni) uint 1862 src/dps8/dps8_mgp.c make_connect_packet(u_char *pkt, uint pklen, word36 *buf, uint words, uint 1863 src/dps8/dps8_mgp.c uint conni) uint 1909 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf, uint 1910 src/dps8/dps8_mgp.c uint words, int conni) uint 1966 src/dps8/dps8_mgp.c poll_from_cbridge(word36 *buf, uint words, uint probe_only) uint 22 src/dps8/dps8_mgp.h iom_cmd_rc_t mgp_iom_cmd(uint iomUnitIdx, uint chan); uint 38 src/dps8/dps8_mp.h uint intr_pair_addr; uint 151 src/dps8/dps8_mt.c uint boot_drive; uint 203 src/dps8/dps8_mt.c mtp_state[mtp_unit_idx].boot_drive = (uint) n; uint 671 src/dps8/dps8_mt.c t_stat signal_tape (uint tap_unit_idx, word8 status0, word8 status1) { uint 688 src/dps8/dps8_mt.c uint ctlr_unit_idx = cables->tape_to_mtp[tap_unit_idx].ctlr_unit_idx; uint 695 src/dps8/dps8_mt.c uint 698 src/dps8/dps8_mt.c uint 699 src/dps8/dps8_mt.c uint 700 src/dps8/dps8_mt.c uint 713 src/dps8/dps8_mt.c for (uint ctlr_port_num = 0; ctlr_port_num < MAX_CTLR_PORTS; ctlr_port_num ++) { uint 715 src/dps8/dps8_mt.c uint iom_unit_idx = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].iom_unit_idx; uint 716 src/dps8/dps8_mt.c uint chan_num = cables->mtp_to_iom[ctlr_unit_idx][ctlr_port_num].chan_num; uint 717 src/dps8/dps8_mt.c uint dev_code = cables->tape_to_mtp[tap_unit_idx].dev_code; uint 929 src/dps8/dps8_mt.c t_stat loadTape (uint driveNumber, char * tapeFilename, bool ro) uint 950 src/dps8/dps8_mt.c t_stat unloadTape (uint driveNumber) uint 983 src/dps8/dps8_mt.c static iom_cmd_rc_t mtReadRecord (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1064 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; uint 1077 src/dps8/dps8_mt.c uint i; uint 1095 src/dps8/dps8_mt.c uint 1096 src/dps8/dps8_mt.c uint 1097 src/dps8/dps8_mt.c uint 1098 src/dps8/dps8_mt.c uint 1124 src/dps8/dps8_mt.c static void mtReadCtrlMainMem (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1128 src/dps8/dps8_mt.c uint count; uint 1136 src/dps8/dps8_mt.c static void mtInitRdMem (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1140 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; uint 1151 src/dps8/dps8_mt.c const uint charTableOS = 0xE0; // Mtc500 characteristics table at 00E0 (hex) uint 1196 src/dps8/dps8_mt.c for (uint i = 0; i < tally; i ++) uint 1205 src/dps8/dps8_mt.c static void mtWRCtrlRegs (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1213 src/dps8/dps8_mt.c static void mtInitWrMem (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1221 src/dps8/dps8_mt.c static void mtMTPWr (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1227 src/dps8/dps8_mt.c uint count; uint 1236 src/dps8/dps8_mt.c static int mtWriteRecord (uint devUnitIdx, uint iomUnitIdx, uint chan) uint 1253 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; uint 1275 src/dps8/dps8_mt.c uint 1276 src/dps8/dps8_mt.c uint 1277 src/dps8/dps8_mt.c uint 1278 src/dps8/dps8_mt.c uint 1297 src/dps8/dps8_mt.c uint i; uint 1394 src/dps8/dps8_mt.c static int surveyDevices (uint iomUnitIdx, uint chan) uint 1418 src/dps8/dps8_mt.c uint bufsz = 8; uint 1420 src/dps8/dps8_mt.c uint cnt = 0; uint 1421 src/dps8/dps8_mt.c for (uint i = 0; i < bufsz; i ++) uint 1424 src/dps8/dps8_mt.c uint ctlr_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1426 src/dps8/dps8_mt.c for (uint dev_code = 0; dev_code < N_DEV_CODES; dev_code ++) uint 1434 src/dps8/dps8_mt.c uint unit_idx = p->unit_idx; uint 1478 src/dps8/dps8_mt.c iom_cmd_rc_t mt_iom_cmd (uint iomUnitIdx, uint chan) { uint 1496 src/dps8/dps8_mt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1497 src/dps8/dps8_mt.c uint dev_code = p->IDCW_DEV_CODE; uint 1506 src/dps8/dps8_mt.c uint devUnitIdx = cables->mtp_to_tape[ctlr_unit_idx][dev_code].unit_idx; uint 1843 src/dps8/dps8_mt.c uint tally = p->IDCW_COUNT; uint 1906 src/dps8/dps8_mt.c uint tally = 1; uint 1960 src/dps8/dps8_mt.c uint tally = p->IDCW_COUNT; uint 2025 src/dps8/dps8_mt.c uint tally = 1; uint 2443 src/dps8/dps8_mt.c loadTape ((uint) i, label, ! withring); uint 2488 src/dps8/dps8_mt.c unloadTape ((uint) i); uint 32 src/dps8/dps8_mt.h uint words_processed; // Number of Word36 processed from the buffer uint 53 src/dps8/dps8_mt.h t_stat loadTape (uint driveNumber, char * tapeFilename, bool ro); uint 58 src/dps8/dps8_mt.h iom_cmd_rc_t mt_iom_cmd (uint iomUnitIdx, uint chan); uint 59 src/dps8/dps8_mt.h t_stat unloadTape (uint driveNumber); uint 61 src/dps8/dps8_mt.h t_stat signal_tape (uint tap_unit_idx, word8 status0, word8 status1); uint 364 src/dps8/dps8_prt.c uint 375 src/dps8/dps8_prt.c static word9 gc (word36 * b, uint os) uint 377 src/dps8/dps8_prt.c uint wordno = os / 4; uint 378 src/dps8/dps8_prt.c uint charno = os % 4; uint 391 src/dps8/dps8_prt.c static int parseID (word36 * b, uint tally, char * qno, char * name) uint 399 src/dps8/dps8_prt.c uint i; uint 430 src/dps8/dps8_prt.c static int openPrtFile (int prt_unit_num, word36 * buffer, uint tally) uint 477 src/dps8/dps8_prt.c static int eoj (word36 * buffer, uint tally) uint 517 src/dps8/dps8_prt.c uint 548 src/dps8/dps8_prt.c uint 594 src/dps8/dps8_prt.c uint 599 src/dps8/dps8_prt.c uint 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) uint 683 src/dps8/dps8_prt.c uint 686 src/dps8/dps8_prt.c uint 692 src/dps8/dps8_prt.c uint 739 src/dps8/dps8_prt.c uint nchars = tally * 6; uint 745 src/dps8/dps8_prt.c for (uint i = 0; i < nchars; i ++) uint 765 src/dps8/dps8_prt.c for (uint i = 0; i < nchars; i ++) uint 845 src/dps8/dps8_prt.c uint nchars = tally * 4; uint 851 src/dps8/dps8_prt.c uint nbytes = 0; uint 852 src/dps8/dps8_prt.c for (uint i = 0; i < nchars; i ++) uint 866 src/dps8/dps8_prt.c uint col = 0; uint 867 src/dps8/dps8_prt.c for (uint i = 0; i < tally * 4; i ++) uint 955 src/dps8/dps8_prt.c static int loadImageBuffer (uint iom_unit_idx, uint chan) uint 963 src/dps8/dps8_prt.c static int readStatusRegister (uint iom_unit_idx, uint chan) uint 967 src/dps8/dps8_prt.c uint tally = p -> DDCW_TALLY; uint 1003 src/dps8/dps8_prt.c uint wordsProcessed = tally; uint 1011 src/dps8/dps8_prt.c static int loadVFCImage (uint iom_unit_idx, uint chan) uint 1019 src/dps8/dps8_prt.c static iom_cmd_rc_t print_cmd (uint iom_unit_idx, uint chan, int prt_unit_num, bool isBCD, bool is_edited, int slew) uint 1031 src/dps8/dps8_prt.c uint 1035 src/dps8/dps8_prt.c uint 1061 src/dps8/dps8_prt.c uint tally = p -> DDCW_TALLY; uint 1070 src/dps8/dps8_prt.c uint wordsProcessed = 0; uint 1076 src/dps8/dps8_prt.c uint 1083 src/dps8/dps8_prt.c uint 1084 src/dps8/dps8_prt.c uint 1085 src/dps8/dps8_prt.c uint 1086 src/dps8/dps8_prt.c uint 1122 src/dps8/dps8_prt.c iom_cmd_rc_t prt_cmd_202 (uint iomUnitIdx, uint chan) { uint 1127 src/dps8/dps8_prt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1128 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 1206 src/dps8/dps8_prt.c iom_cmd_rc_t prt_cmd_300 (uint iomUnitIdx, uint chan) { uint 1211 src/dps8/dps8_prt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1212 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 1302 src/dps8/dps8_prt.c iom_cmd_rc_t prt_cmd_300a (uint iomUnitIdx, uint chan) { uint 1307 src/dps8/dps8_prt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1308 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 1398 src/dps8/dps8_prt.c iom_cmd_rc_t prt_cmd_400 (uint iomUnitIdx, uint chan) { uint 1403 src/dps8/dps8_prt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1404 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 1744 src/dps8/dps8_prt.c iom_cmd_rc_t prt_iom_cmd (uint iomUnitIdx, uint chan) { uint 1746 src/dps8/dps8_prt.c uint ctlr_unit_idx = get_ctlr_idx (iomUnitIdx, chan); uint 1747 src/dps8/dps8_prt.c uint devUnitIdx = cables->urp_to_urd[ctlr_unit_idx][p->IDCW_DEV_CODE].unit_idx; uint 1784 src/dps8/dps8_prt.c prt_dev.numunits = (uint) n; uint 1923 src/dps8/dps8_prt.c static t_stat signal_prt_ready (uint prt_unit_idx) { uint 1927 src/dps8/dps8_prt.c uint ctlr_unit_idx = cables->prt_to_urp[prt_unit_idx].ctlr_unit_idx; uint 1931 src/dps8/dps8_prt.c uint 1936 src/dps8/dps8_prt.c uint 1937 src/dps8/dps8_prt.c uint 1938 src/dps8/dps8_prt.c uint 1952 src/dps8/dps8_prt.c for (uint ctlr_port_num = 0; ctlr_port_num < MAX_CTLR_PORTS; ctlr_port_num ++) { uint 1955 src/dps8/dps8_prt.c uint iom_unit_idx = urp_to_iom->iom_unit_idx; uint 1956 src/dps8/dps8_prt.c uint chan_num = urp_to_iom->chan_num; uint 1957 src/dps8/dps8_prt.c uint dev_code = cables->prt_to_urp[prt_unit_idx].dev_code; uint 1982 src/dps8/dps8_prt.c return signal_prt_ready ((uint) n); uint 23 src/dps8/dps8_prt.h iom_cmd_rc_t prt_iom_cmd (uint iomUnitIdx, uint chan); uint 587 src/dps8/dps8_scu.c uint mode; // program or manual uint 588 src/dps8/dps8_scu.c uint port_enable [N_SCU_PORTS]; // enable/disable uint 589 src/dps8/dps8_scu.c uint mask_enable [N_ASSIGNMENTS]; // enable/disable uint 590 src/dps8/dps8_scu.c uint mask_assignment [N_ASSIGNMENTS]; // assigned port number uint 591 src/dps8/dps8_scu.c uint lower_store_size; // In K words, power of 2; 32 - 4096 uint 592 src/dps8/dps8_scu.c uint cyclic; // 7 bits uint 593 src/dps8/dps8_scu.c uint nea; // 8 bits uint 594 src/dps8/dps8_scu.c uint onl; // 4 bits uint 595 src/dps8/dps8_scu.c uint interlace; // 1 bit uint 596 src/dps8/dps8_scu.c uint lwr; // 1 bit uint 620 src/dps8/dps8_scu.c scu_dev.numunits = (uint) n; uint 883 src/dps8/dps8_scu.c sw -> mode = (uint) v; uint 891 src/dps8/dps8_scu.c sw -> mask_assignment [0] = (uint) v; uint 901 src/dps8/dps8_scu.c sw -> mask_assignment [1] = (uint) v; uint 905 src/dps8/dps8_scu.c sw -> port_enable [0] = (uint) v; uint 907 src/dps8/dps8_scu.c sw -> port_enable [1] = (uint) v; uint 909 src/dps8/dps8_scu.c sw -> port_enable [2] = (uint) v; uint 911 src/dps8/dps8_scu.c sw -> port_enable [3] = (uint) v; uint 913 src/dps8/dps8_scu.c sw -> port_enable [4] = (uint) v; uint 915 src/dps8/dps8_scu.c sw -> port_enable [5] = (uint) v; uint 917 src/dps8/dps8_scu.c sw -> port_enable [6] = (uint) v; uint 919 src/dps8/dps8_scu.c sw -> port_enable [7] = (uint) v; uint 921 src/dps8/dps8_scu.c sw -> lower_store_size = (uint) v; uint 923 src/dps8/dps8_scu.c sw -> cyclic = (uint) v; uint 925 src/dps8/dps8_scu.c sw -> nea = (uint) v; uint 927 src/dps8/dps8_scu.c sw -> onl = (uint) v; uint 929 src/dps8/dps8_scu.c sw -> interlace = (uint) v; uint 931 src/dps8/dps8_scu.c sw -> lwr = (uint) v; uint 933 src/dps8/dps8_scu.c scu [scu_unit_idx].elapsed_days = (uint) v; uint 935 src/dps8/dps8_scu.c scu [scu_unit_idx].steady_clock = (uint) v; uint 937 src/dps8/dps8_scu.c scu [scu_unit_idx].bullet_time = (uint) v; uint 939 src/dps8/dps8_scu.c scu [scu_unit_idx].y2k = (uint) v; uint 1049 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx) uint 1065 src/dps8/dps8_scu.c uint 1073 src/dps8/dps8_scu.c uint 1094 src/dps8/dps8_scu.c uint 1102 src/dps8/dps8_scu.c uint 1138 src/dps8/dps8_scu.c for (uint port_num = 0; port_num < N_SCU_PORTS; port_num ++) uint 1145 src/dps8/dps8_scu.c iom_unit_reset_idx ((uint) portp->dev_idx); uint 1175 src/dps8/dps8_scu.c static uint64 set_SCU_clock (cpu_state_t * cpup, uint scu_unit_idx) uint 1317 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf) uint 1319 src/dps8/dps8_scu.c for (uint i = 0; i < N_CELL_INTERRUPTS; i ++) uint 1344 src/dps8/dps8_scu.c static void deliver_interrupts (uint scu_unit_idx) uint 1350 src/dps8/dps8_scu.c for (uint cpun = 0; cpun < cpu_dev.numunits; cpun ++) uint 1360 src/dps8/dps8_scu.c for (uint jnum = 0; jnum < N_CELL_INTERRUPTS; jnum ++) uint 1362 src/dps8/dps8_scu.c static const uint reorder[N_CELL_INTERRUPTS] = { uint 1367 src/dps8/dps8_scu.c uint inum = reorder[jnum]; uint 1374 src/dps8/dps8_scu.c for (uint pima = 0; pima < N_ASSIGNMENTS; pima ++) // A, B uint 1381 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; uint 1382 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; uint 1391 src/dps8/dps8_scu.c uint sn = 0; uint 1394 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; uint 1406 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; uint 1412 src/dps8/dps8_scu.c createCPUThread((uint) cpu_unit_udx); uint 1414 src/dps8/dps8_scu.c wakeCPU ((uint) cpu_unit_udx); uint 1433 src/dps8/dps8_scu.c for (uint inum = 0; inum < N_CELL_INTERRUPTS; inum ++) uint 1441 src/dps8/dps8_scu.c for (uint pima = 0; pima < N_ASSIGNMENTS; pima ++) // A, B uint 1448 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; uint 1449 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; uint 1458 src/dps8/dps8_scu.c uint sn = 0; uint 1461 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; uint 1473 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; uint 1479 src/dps8/dps8_scu.c createCPUThread((uint) cpu_unit_udx); uint 1481 src/dps8/dps8_scu.c wakeCPU ((uint) cpu_unit_udx); uint 1502 src/dps8/dps8_scu.c t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_udx, uint 1503 src/dps8/dps8_scu.c uint UNUSED cpu_port_num, word36 rega) uint 1515 src/dps8/dps8_scu.c for (uint i = 0; i < 16; i ++) uint 1527 src/dps8/dps8_scu.c for (uint i = 0; i < 16; i ++) uint 1540 src/dps8/dps8_scu.c uint 1551 src/dps8/dps8_scu.c uint 1599 src/dps8/dps8_scu.c t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_udx, uint 1600 src/dps8/dps8_scu.c UNUSED uint cpu_port_num, word18 addr, uint 1618 src/dps8/dps8_scu.c uint function = (addr >> 3) & 07; uint 1679 src/dps8/dps8_scu.c up -> mask_assignment [maskab] = (uint) pn; uint 1731 src/dps8/dps8_scu.c uint port_num = (addr >> 6) & 07; uint 1738 src/dps8/dps8_scu.c uint n_masks_found = 0; uint 1814 src/dps8/dps8_scu.c for (uint i = 0; i < 16; i ++) uint 1872 src/dps8/dps8_scu.c t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_udx, word18 addr, uint 1887 src/dps8/dps8_scu.c uint function = (addr >> 3) & 07; uint 2046 src/dps8/dps8_scu.c uint port_num = (addr >> 6) & MASK3; uint 2051 src/dps8/dps8_scu.c uint mask_contents = 0; uint 2095 src/dps8/dps8_scu.c for (uint i = 0; i < N_CELL_INTERRUPTS; i ++) uint 2188 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num, uint 2189 src/dps8/dps8_scu.c uint expander_command, uint sub_mask) uint 2221 src/dps8/dps8_scu.c for (uint i = 0; i < N_SCU_SUBPORTS; i++) uint 2232 src/dps8/dps8_scu.c for (uint i = 0; i < N_SCU_SUBPORTS; i++) uint 2259 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); uint 2268 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); uint 2300 src/dps8/dps8_scu.c for (uint sn = 0; sn < N_SCU_SUBPORTS; sn ++) uint 2310 src/dps8/dps8_scu.c uint cpu_unit_udx = cables-> uint 2312 src/dps8/dps8_scu.c setG7fault ((uint) cpu_unit_udx, FAULT_CON, fst_zero); uint 2324 src/dps8/dps8_scu.c uint cpu_unit_udx = uint 2326 src/dps8/dps8_scu.c setG7fault ((uint) cpu_unit_udx, FAULT_CON, fst_zero); uint 2376 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum) uint 2408 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx) uint 2419 src/dps8/dps8_scu.c for (uint pima = 0; pima < N_ASSIGNMENTS; pima ++) // A, B uint 2423 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; uint 2424 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; uint 2442 src/dps8/dps8_scu.c return (uint) inum * 2; uint 2456 src/dps8/dps8_scu.c uint scu_unit_idx = (uint) (uptr - scu_unit); uint 2491 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, uint 2551 src/dps8/dps8_scu.c uint mask_contents = 0; uint 2552 src/dps8/dps8_scu.c if (up -> mask_assignment [0] == (uint) scu_port_num) uint 2558 src/dps8/dps8_scu.c else if (up -> mask_assignment [1] == (uint) scu_port_num) uint 2590 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) uint 2640 src/dps8/dps8_scu.c uint imask = uint 2641 src/dps8/dps8_scu.c ((uint) getbits36_16(rega, 0) << 16) | uint 2642 src/dps8/dps8_scu.c ((uint) getbits36_16(regq, 0) << 0); uint 2646 src/dps8/dps8_scu.c if (up -> mask_assignment [0] == (uint) scu_port_num) uint 2652 src/dps8/dps8_scu.c else if (up -> mask_assignment [1] == (uint) scu_port_num) uint 2659 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32); uint 2660 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33); uint 2661 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34); uint 2662 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35); uint 2663 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32); uint 2664 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33); uint 2665 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34); uint 2666 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35); uint 24 src/dps8/dps8_scu.h vol uint port_enable [N_SCU_PORTS]; // enable/disable uint 40 src/dps8/dps8_scu.h vol uint mask_enable [N_ASSIGNMENTS]; // enable/disable uint 41 src/dps8/dps8_scu.h vol uint mask_assignment [N_ASSIGNMENTS]; // assigned port number uint 43 src/dps8/dps8_scu.h vol uint cells [N_CELL_INTERRUPTS]; uint 45 src/dps8/dps8_scu.h uint lower_store_size; // In K words, power of 2; 32 - 4096 uint 46 src/dps8/dps8_scu.h uint cyclic; // 7 bits uint 47 src/dps8/dps8_scu.h uint nea; // 8 bits uint 48 src/dps8/dps8_scu.h uint onl; // 4 bits uint 49 src/dps8/dps8_scu.h uint interlace; // 1 bit uint 50 src/dps8/dps8_scu.h uint lwr; // 1 bit uint 80 src/dps8/dps8_scu.h uint elapsed_days; uint 81 src/dps8/dps8_scu.h uint steady_clock; // If non-zero the clock is tied to the cycle counter uint 82 src/dps8/dps8_scu.h uint bullet_time; uint 83 src/dps8/dps8_scu.h uint y2k; uint 92 src/dps8/dps8_scu.h int scu_set_interrupt(uint scu_unit_idx, uint inum); uint 94 src/dps8/dps8_scu.h t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_idx, uint cpu_port_num, word18 addr, uint 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); uint 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); uint 98 src/dps8/dps8_scu.h int scu_cioc (uint cpu_unit_idx, uint scu_unit_idx, uint scu_port_num, uint expander_command, uint sub_mask); uint 99 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); uint 100 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq); uint 101 src/dps8/dps8_scu.h void scu_clear_interrupt (uint scu_unit_idx, uint inum); uint 102 src/dps8/dps8_scu.h uint scu_get_highest_intr (uint scu_unit_idx); uint 80 src/dps8/dps8_socket_dev.c uint read_buffer_sz; uint 81 src/dps8/dps8_socket_dev.c uint words_processed; uint 281 src/dps8/dps8_socket_dev.c for (uint i = 0; i < N_FDS; i ++) uint 293 src/dps8/dps8_socket_dev.c for (uint i = 0; i < 8; i ++) uint 298 src/dps8/dps8_socket_dev.c for (uint i = 0; i < l; i ++) uint 316 src/dps8/dps8_socket_dev.c for (uint i = 0; i < N_ERRNOS; i ++) uint 330 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) uint 423 src/dps8/dps8_socket_dev.c uint 425 src/dps8/dps8_socket_dev.c uint 426 src/dps8/dps8_socket_dev.c uint 443 src/dps8/dps8_socket_dev.c for (uint i = 0; i < cnt; i ++) uint 445 src/dps8/dps8_socket_dev.c uint wordno = (i+4) / 4; uint 446 src/dps8/dps8_socket_dev.c uint offset = ((i+4) % 4) * 9; uint 489 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) uint 554 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) uint 622 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) uint 648 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) uint 696 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) uint 714 src/dps8/dps8_socket_dev.c uint count = (uint) buffer[1]; uint 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) uint 776 src/dps8/dps8_socket_dev.c uint count = (uint) count36; uint 778 src/dps8/dps8_socket_dev.c uint count_words = (count + 3) / 4; uint 786 src/dps8/dps8_socket_dev.c for (uint n = 0; n < count; n ++) uint 788 src/dps8/dps8_socket_dev.c uint wordno = (uint) n / 4; uint 789 src/dps8/dps8_socket_dev.c uint charno = (uint) n % 4; uint 803 src/dps8/dps8_socket_dev.c static int get_ddcw (iom_chan_data_t * p, uint iom_unit_idx, uint chan, bool * ptro, uint expected_tally, uint * tally) uint 851 src/dps8/dps8_socket_dev.c static int sk_cmd (uint iom_unit_idx, uint chan) uint 856 src/dps8/dps8_socket_dev.c uint unit_idx = get_ctlr_idx (iom_unit_idx, chan); uint 877 src/dps8/dps8_socket_dev.c const uint expected_tally = 6; uint 878 src/dps8/dps8_socket_dev.c uint tally; uint 886 src/dps8/dps8_socket_dev.c uint words_processed; uint 902 src/dps8/dps8_socket_dev.c const uint expected_tally = 6; uint 903 src/dps8/dps8_socket_dev.c uint tally; uint 911 src/dps8/dps8_socket_dev.c uint words_processed; uint 935 src/dps8/dps8_socket_dev.c const uint expected_tally = 68; uint 936 src/dps8/dps8_socket_dev.c uint tally; uint 944 src/dps8/dps8_socket_dev.c uint words_processed; uint 961 src/dps8/dps8_socket_dev.c const uint expected_tally = 5; uint 962 src/dps8/dps8_socket_dev.c uint tally; uint 970 src/dps8/dps8_socket_dev.c uint words_processed; uint 987 src/dps8/dps8_socket_dev.c const uint expected_tally = 7; uint 988 src/dps8/dps8_socket_dev.c uint tally; uint 996 src/dps8/dps8_socket_dev.c uint words_processed; uint 1017 src/dps8/dps8_socket_dev.c const uint expected_tally = 4; uint 1018 src/dps8/dps8_socket_dev.c uint tally; uint 1026 src/dps8/dps8_socket_dev.c uint words_processed; uint 1042 src/dps8/dps8_socket_dev.c const uint expected_tally = 0; uint 1043 src/dps8/dps8_socket_dev.c uint tally; uint 1051 src/dps8/dps8_socket_dev.c uint words_processed; uint 1071 src/dps8/dps8_socket_dev.c const uint expected_tally = 0; uint 1072 src/dps8/dps8_socket_dev.c uint tally; uint 1080 src/dps8/dps8_socket_dev.c uint words_processed; uint 1124 src/dps8/dps8_socket_dev.c iom_cmd_rc_t skc_iom_cmd (uint iom_unit_idx, uint chan) uint 1142 src/dps8/dps8_socket_dev.c static void do_try_accept (uint unit_idx, word6 dev_code) uint 1178 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; uint 1179 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; uint 1180 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; uint 1189 src/dps8/dps8_socket_dev.c static void do_try_read (uint unit_idx, word6 dev_code) uint 1192 src/dps8/dps8_socket_dev.c uint count = sk_data.unit_data[unit_idx][dev_code].read_buffer_sz; uint 1193 src/dps8/dps8_socket_dev.c uint buffer_size_wds = (count + 3) / 4; uint 1215 src/dps8/dps8_socket_dev.c uint wordno = (uint) n / 4; uint 1216 src/dps8/dps8_socket_dev.c uint charno = (uint) n % 4; uint 1222 src/dps8/dps8_socket_dev.c uint iom_unit_idx = (uint) cables->sk_to_iom[unit_idx][0].iom_unit_idx; uint 1223 src/dps8/dps8_socket_dev.c uint chan = (uint) cables->sk_to_iom[unit_idx][0].chan_num; uint 1224 src/dps8/dps8_socket_dev.c uint words_processed = sk_data.unit_data[unit_idx][dev_code].words_processed; uint 1234 src/dps8/dps8_socket_dev.c for (uint unit_idx = 0; unit_idx < N_SKC_UNITS_MAX; unit_idx ++) uint 24 src/dps8/dps8_socket_dev.h iom_cmd_rc_t skc_iom_cmd (uint iomUnitIdx, uint chan); uint 1840 src/dps8/dps8_sys.c cpu.restart_address = (uint) n; uint 1857 src/dps8/dps8_sys.c sys_opts.sys_poll_interval = (uint) n; uint 1872 src/dps8/dps8_sys.c sys_opts.sys_slow_poll_interval = (uint) n; uint 1887 src/dps8/dps8_sys.c sys_opts.sys_poll_check_rate = (uint) n; uint 1925 src/dps8/dps8_sys.c uint dbgCPUMask = 0377; // default all 8 on uint 2012 src/dps8/dps8_sys.c uint 2024 src/dps8/dps8_sys.c uint 2033 src/dps8/dps8_sys.c uint 2035 src/dps8/dps8_sys.c uint 2076 src/dps8/dps8_sys.c uint 2086 src/dps8/dps8_sys.c uint 2087 src/dps8/dps8_sys.c uint 2223 src/dps8/dps8_sys.c static t_stat abs_addr_n (int segno, uint offset) uint 2240 src/dps8/dps8_sys.c uint segno; uint 2241 src/dps8/dps8_sys.c uint offset; uint 2268 src/dps8/dps8_sys.c uint txt_start, txt_length; uint 2308 src/dps8/dps8_sys.c static int add_book_component (int segnum, char * name, uint txt_start, uint 2309 src/dps8/dps8_sys.c uint txt_length, int intstat_start, uint 2358 src/dps8/dps8_sys.c uint bestoffset = 0; uint 2510 src/dps8/dps8_sys.c void list_source (char * compname, word18 offset, uint dflag) uint 2622 src/dps8/dps8_sys.c (char *) & linenos[0], (uint *) & loc[0], uint 2623 src/dps8/dps8_sys.c (char *) & linenos[1], (uint *) & loc[1], uint 2624 src/dps8/dps8_sys.c (char *) & linenos[2], (uint *) & loc[2], uint 2625 src/dps8/dps8_sys.c (char *) & linenos[3], (uint *) & loc[3], uint 2626 src/dps8/dps8_sys.c (char *) & linenos[4], (uint *) & loc[4], uint 2627 src/dps8/dps8_sys.c (char *) & linenos[5], (uint *) & loc[5], uint 2628 src/dps8/dps8_sys.c (char *) & linenos[6], (uint *) & loc[6]); uint 2751 src/dps8/dps8_sys.c for (uint frameNo = 1; ; frameNo ++) uint 2855 src/dps8/dps8_sys.c for (uint argno = 0; argno < argCount; argno ++) uint 2857 src/dps8/dps8_sys.c uint argnoos = ap + 2 + argno * 2; uint 2890 src/dps8/dps8_sys.c uint segno; uint 2891 src/dps8/dps8_sys.c uint offset; uint 2911 src/dps8/dps8_sys.c uint c3 = 0244; uint 2930 src/dps8/dps8_sys.c uint segno, p0, p1, p2; uint 2990 src/dps8/dps8_sys.c uint txt_start, txt_length; uint 3056 src/dps8/dps8_sys.c uint segno; uint 3057 src/dps8/dps8_sys.c uint txt_start, txt_len; uint 3058 src/dps8/dps8_sys.c uint intstat_start, intstat_length; uint 3059 src/dps8/dps8_sys.c uint symbol_start, symbol_length; uint 3146 src/dps8/dps8_sys.c sim_msg ("0%o:0%o\n", (uint) segno, (uint) (comp_offset + offset)); uint 3147 src/dps8/dps8_sys.c abs_addr_n ((int) segno, (uint) (comp_offset + offset)); uint 3194 src/dps8/dps8_sys.c static t_stat virtAddrN (uint address) uint 3309 src/dps8/dps8_sys.c uint address; uint 3579 src/dps8/dps8_sys.c uint i; uint 3588 src/dps8/dps8_sys.c uint msk; uint 3650 src/dps8/dps8_sys.c uint n_dbgevents; uint 3704 src/dps8/dps8_sys.c uint segno; uint 3705 src/dps8/dps8_sys.c uint offset; uint 3728 src/dps8/dps8_sys.c uint segno; uint 3729 src/dps8/dps8_sys.c uint offset; uint 3774 src/dps8/dps8_sys.c for (uint i = 0; i < N_MT_UNITS_MAX; i ++) { uint 3824 src/dps8/dps8_sys.c for (uint i = 0; i < N_DSK_UNITS_MAX; i ++) uint 3832 src/dps8/dps8_sys.c for (uint i = 0; i < N_MT_UNITS_MAX; i ++) uint 3852 src/dps8/dps8_sys.c for (uint i = 0; i < N_DSK_UNITS_MAX; i ++) { uint 3858 src/dps8/dps8_sys.c for (uint i = 0; i < N_MT_UNITS_MAX; i ++) { uint 4667 src/dps8/dps8_sys.c uint offset = (uint)strtoll(off, &endp, 8); uint 4740 src/dps8/dps8_sys.c if (!((uint) sw & SWMASK ('M'))) uint 4763 src/dps8/dps8_sys.c for(uint n = 0 ; n < p->info->ndes; n += 1) uint 43 src/dps8/dps8_sys.h uint sys_poll_interval; // Polling interval in milliseconds uint 44 src/dps8/dps8_sys.h uint sys_slow_poll_interval; // Polling interval in polling intervals uint 45 src/dps8/dps8_sys.h uint sys_poll_check_rate; // Check for pooling interval rate in CPU cycles uint 59 src/dps8/dps8_sys.h extern uint n_dbgevents; uint 80 src/dps8/dps8_sys.h extern uint dbgCPUMask; uint 84 src/dps8/dps8_sys.h void list_source (char * compname, word18 offset, uint dflag); uint 210 src/dps8/dps8_urp.c static iom_cmd_rc_t urpCmd (uint iomUnitIdx, uint chan) { uint 216 src/dps8/dps8_urp.c uint ctlrUnitIdx = get_ctlr_idx (iomUnitIdx, chan); uint 217 src/dps8/dps8_urp.c uint devUnitIdx = cables->urp_to_urd[ctlrUnitIdx][p->IDCW_DEV_CODE].unit_idx; uint 300 src/dps8/dps8_urp.c iom_cmd_rc_t urp_iom_cmd (uint iomUnitIdx, uint chan) { uint 302 src/dps8/dps8_urp.c uint devCode = p->IDCW_DEV_CODE; uint 305 src/dps8/dps8_urp.c uint urpUnitIdx = cables->iom_to_ctlr[iomUnitIdx][chan].ctlr_unit_idx; uint 23 src/dps8/dps8_urp.h iom_cmd_rc_t urp_iom_cmd (uint iomUnitIdx, uint chan); uint 123 src/dps8/dps8_utils.c for(uint n = 0 ; n < 0100 ; n++) uint 155 src/dps8/dps8_utils.c for(uint n = 0 ; n < 0100 ; n++) //-V536 uint 932 src/dps8/dps8_utils.c putbits36_9 (dst, (uint) posn * 9, data); uint 961 src/dps8/dps8_utils.c putbits36_6 (dst, (uint) posn * 6, data); uint 1765 src/dps8/dps8_utils.c static word36 extrASCII36 (uint8 * bits, uint woffset) uint 1787 src/dps8/dps8_utils.c word36 extr36 (uint8 * bits, uint woffset) uint 1789 src/dps8/dps8_utils.c uint isOdd = woffset % 2; uint 1790 src/dps8/dps8_utils.c uint dwoffset = woffset / 2; uint 1814 src/dps8/dps8_utils.c static void putASCII36 (word36 val, uint8 * bits, uint woffset) uint 1823 src/dps8/dps8_utils.c void put36 (word36 val, uint8 * bits, uint woffset) uint 1825 src/dps8/dps8_utils.c uint isOdd = woffset % 2; uint 1826 src/dps8/dps8_utils.c uint dwoffset = woffset / 2; uint 1860 src/dps8/dps8_utils.c int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) uint 1862 src/dps8/dps8_utils.c uint wp = * words_processed; // How many words have been processed uint 1866 src/dps8/dps8_utils.c uint bytes_processed = wp * 4; uint 1879 src/dps8/dps8_utils.c int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp) uint 1881 src/dps8/dps8_utils.c uint wp = * words_processed; // How many words have been processed uint 1885 src/dps8/dps8_utils.c uint bytes_processed = (wp * 9 + 1) / 2; uint 1898 src/dps8/dps8_utils.c int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) uint 1900 src/dps8/dps8_utils.c uint wp = * words_processed; // How many words have been processed uint 1904 src/dps8/dps8_utils.c uint bytes_processed = wp * 4; uint 1916 src/dps8/dps8_utils.c int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word) uint 1918 src/dps8/dps8_utils.c uint wp = * words_processed; // How many words have been processed uint 1922 src/dps8/dps8_utils.c uint bytes_processed = (wp * 9 + 1) / 2; uint 104 src/dps8/dps8_utils.h uint 118 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { uint 128 src/dps8/dps8_utils.h static inline word1 getbits36_1 (word36 x, uint i) uint 139 src/dps8/dps8_utils.h static inline word2 getbits36_2 (word36 x, uint i) uint 150 src/dps8/dps8_utils.h static inline word3 getbits36_3 (word36 x, uint i) uint 161 src/dps8/dps8_utils.h static inline word4 getbits36_4 (word36 x, uint i) uint 172 src/dps8/dps8_utils.h static inline word5 getbits36_5 (word36 x, uint i) uint 183 src/dps8/dps8_utils.h static inline word6 getbits36_6 (word36 x, uint i) uint 194 src/dps8/dps8_utils.h static inline word7 getbits36_7 (word36 x, uint i) uint 205 src/dps8/dps8_utils.h static inline word8 getbits36_8 (word36 x, uint i) uint 216 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) uint 227 src/dps8/dps8_utils.h static inline word10 getbits36_10 (word36 x, uint i) uint 238 src/dps8/dps8_utils.h static inline word12 getbits36_12 (word36 x, uint i) uint 249 src/dps8/dps8_utils.h static inline word14 getbits36_14 (word36 x, uint i) uint 260 src/dps8/dps8_utils.h static inline word15 getbits36_15 (word36 x, uint i) uint 271 src/dps8/dps8_utils.h static inline word16 getbits36_16 (word36 x, uint i) uint 282 src/dps8/dps8_utils.h static inline word18 getbits36_18 (word36 x, uint i) uint 293 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) uint 304 src/dps8/dps8_utils.h static inline word28 getbits36_28 (word36 x, uint i) uint 315 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) uint 330 src/dps8/dps8_utils.h static inline word36 setbits36_1 (word36 x, uint p, word1 val) uint 346 src/dps8/dps8_utils.h static inline word36 setbits36_4 (word36 x, uint p, word4 val) uint 362 src/dps8/dps8_utils.h static inline word36 setbits36_5 (word36 x, uint p, word5 val) uint 378 src/dps8/dps8_utils.h static inline word36 setbits36_6 (word36 x, uint p, word6 val) uint 394 src/dps8/dps8_utils.h static inline word36 setbits36_8 (word36 x, uint p, word8 val) uint 410 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) uint 426 src/dps8/dps8_utils.h static inline word36 setbits36_16 (word36 x, uint p, word16 val) uint 442 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) uint 458 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) uint 474 src/dps8/dps8_utils.h static inline void putbits36_1 (word36 * x, uint p, word1 val) uint 489 src/dps8/dps8_utils.h static inline void putbits36_2 (word36 * x, uint p, word2 val) uint 504 src/dps8/dps8_utils.h static inline void putbits36_3 (word36 * x, uint p, word3 val) uint 519 src/dps8/dps8_utils.h static inline void putbits36_4 (word36 * x, uint p, word4 val) uint 534 src/dps8/dps8_utils.h static inline void putbits36_5 (word36 * x, uint p, word5 val) uint 549 src/dps8/dps8_utils.h static inline void putbits36_6 (word36 * x, uint p, word6 val) uint 564 src/dps8/dps8_utils.h static inline void putbits36_7 (word36 * x, uint p, word7 val) uint 579 src/dps8/dps8_utils.h static inline void putbits36_8 (word36 * x, uint p, word8 val) uint 594 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val) uint 628 src/dps8/dps8_utils.h static inline void putbits36_10 (word36 * x, uint p, word10 val) uint 643 src/dps8/dps8_utils.h static inline void putbits36_12 (word36 * x, uint p, word12 val) uint 658 src/dps8/dps8_utils.h static inline void putbits36_13 (word36 * x, uint p, word13 val) uint 673 src/dps8/dps8_utils.h static inline void putbits36_14 (word36 * x, uint p, word14 val) uint 688 src/dps8/dps8_utils.h static inline void putbits36_15 (word36 * x, uint p, word15 val) uint 703 src/dps8/dps8_utils.h static inline void putbits36_16 (word36 * x, uint p, word16 val) uint 718 src/dps8/dps8_utils.h static inline void putbits36_17 (word36 * x, uint p, word17 val) uint 733 src/dps8/dps8_utils.h static inline void putbits36_18 (word36 * x, uint p, word18 val) uint 748 src/dps8/dps8_utils.h static inline void putbits36_23 (word36 * x, uint p, word23 val) uint 763 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) uint 778 src/dps8/dps8_utils.h static inline void putbits36_28 (word36 * x, uint p, word28 val) uint 793 src/dps8/dps8_utils.h static inline void putbits72 (word72 * x, uint p, uint n, word72 val) uint 816 src/dps8/dps8_utils.h mask = lshift_128 (mask, (uint) shift); uint 831 src/dps8/dps8_utils.h static inline word18 getbits18 (word18 x, uint i, uint n) uint 846 src/dps8/dps8_utils.h static inline void putbits18 (word18 * x, uint p, uint n, word18 val) uint 881 src/dps8/dps8_utils.h word36 extr36 (uint8 * bits, uint woffset); uint 882 src/dps8/dps8_utils.h void put36 (word36 val, uint8 * bits, uint woffset); uint 883 src/dps8/dps8_utils.h int extractASCII36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); uint 884 src/dps8/dps8_utils.h int extractWord36FromBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 *wordp); uint 885 src/dps8/dps8_utils.h int insertASCII36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); uint 886 src/dps8/dps8_utils.h int insertWord36toBuffer (uint8 * bufp, t_mtrlnt tbc, uint * words_processed, word36 word); uint 265 src/dps8/fnpuv.c * buf = uv_buf_init ((char *) malloc (suggested_size), (uint) suggested_size); uint 279 src/dps8/fnpuv.c uint fnpno = p -> fnpno; uint 280 src/dps8/fnpuv.c uint lineno = p -> lineno; uint 520 src/dps8/fnpuv.c uint stn_no; uint 552 src/dps8/fnpuv.c uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen); uint 590 src/dps8/fnpuv.c uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen); uint 956 src/dps8/fnpuv.c void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3) uint 963 src/dps8/fnpuv.c uint d01 = (d1 >> 30) & 017; uint 964 src/dps8/fnpuv.c uint d02 = (d1 >> 24) & 017; uint 965 src/dps8/fnpuv.c uint d03 = (d1 >> 18) & 017; uint 966 src/dps8/fnpuv.c uint d04 = (d1 >> 12) & 017; uint 967 src/dps8/fnpuv.c uint d05 = (d1 >> 6) & 017; uint 968 src/dps8/fnpuv.c uint d06 = (d1 >> 0) & 017; uint 969 src/dps8/fnpuv.c uint d07 = (d2 >> 30) & 017; uint 970 src/dps8/fnpuv.c uint d08 = (d2 >> 24) & 017; uint 971 src/dps8/fnpuv.c uint d09 = (d2 >> 18) & 017; uint 972 src/dps8/fnpuv.c uint d10 = (d2 >> 12) & 017; uint 973 src/dps8/fnpuv.c uint d11 = (d2 >> 6) & 017; uint 974 src/dps8/fnpuv.c uint d12 = (d2 >> 0) & 017; uint 975 src/dps8/fnpuv.c uint flags = (d3 >> 30) & 017; uint 976 src/dps8/fnpuv.c uint p1 = (d3 >> 24) & 017; uint 977 src/dps8/fnpuv.c uint p2 = (d3 >> 18) & 017; uint 978 src/dps8/fnpuv.c uint p3 = (d3 >> 12) & 017; uint 979 src/dps8/fnpuv.c uint p4 = (d3 >> 6) & 017; uint 980 src/dps8/fnpuv.c uint p5 = (d3 >> 0) & 017; uint 982 src/dps8/fnpuv.c uint oct1 = d01 * 100 + d02 * 10 + d03; uint 983 src/dps8/fnpuv.c uint oct2 = d04 * 100 + d05 * 10 + d06; uint 984 src/dps8/fnpuv.c uint oct3 = d07 * 100 + d08 * 10 + d09; uint 985 src/dps8/fnpuv.c uint oct4 = d10 * 100 + d11 * 10 + d12; uint 987 src/dps8/fnpuv.c uint port = ((((p1 * 10) + p2) * 10 + p3) * 10 + p4) * 10 + p5; uint 1031 src/dps8/fnpuv.c uint this_line = encodeline (fnpno, lineno); uint 1135 src/dps8/fnpuv.c void fnpuv_open_slave (uint fnpno, uint lineno) uint 1241 src/dps8/fnpuv.c linep->inSize = (uint) nread; uint 1268 src/dps8/fnpuv.c for (uint i = 0; i > nread; i ++) uint 1287 src/dps8/fnpuv.c uint version = (buffer [ip + 0] >> 4) & 0xf; uint 1288 src/dps8/fnpuv.c uint ihl = (buffer [ip + 0]) & 0xf; uint 1289 src/dps8/fnpuv.c uint payload_offset = ip + ihl * 4; uint 1290 src/dps8/fnpuv.c uint tos = buffer [ip + 1]; uint 1291 src/dps8/fnpuv.c uint tl = ((uint) (buffer [ip + 2]) << 8) + uint 1293 src/dps8/fnpuv.c uint id = ((uint) (buffer [ip + 4]) << 8) + uint 1295 src/dps8/fnpuv.c uint df = (buffer [ip + 6] & 0x40) ? 1 : 0; uint 1296 src/dps8/fnpuv.c uint mf = (buffer [ip + 6] & 0x20) ? 1 : 0; uint 1297 src/dps8/fnpuv.c uint fragment_offset = ((uint) (buffer [ip + 6] & 0x1f) << 8) + uint 1299 src/dps8/fnpuv.c uint ttl = buffer [ip + 8]; uint 1300 src/dps8/fnpuv.c uint protocol = buffer [ip + 9]; uint 1301 src/dps8/fnpuv.c uint header_checksum = (((uint) buffer [ip + 10]) << 8) + uint 1303 src/dps8/fnpuv.c uint source_address = (((uint) buffer [ip + 12]) << 24) + uint 1304 src/dps8/fnpuv.c (((uint) buffer [ip + 13]) << 16) + uint 1305 src/dps8/fnpuv.c (((uint) buffer [ip + 14]) << 8) + uint 1307 src/dps8/fnpuv.c uint dest_address = (((uint) buffer [ip + 16]) << 24) + uint 1308 src/dps8/fnpuv.c (((uint) buffer [ip + 17]) << 16) + uint 1309 src/dps8/fnpuv.c (((uint) buffer [ip + 18]) << 8) + uint 1313 src/dps8/fnpuv.c uint type = buffer [payload_offset + 0]; uint 1395 src/dps8/fnpuv.c uint stn_no; uint 1408 src/dps8/fnpuv.c uint fnpno = fnpData.ibm3270ctlr[ASSUME0].fnpno; uint 1409 src/dps8/fnpuv.c uint lineno = fnpData.ibm3270ctlr[ASSUME0].lineno; uint 22 src/dps8/fnpuv.h uint fnpno; uint 23 src/dps8/fnpuv.h uint lineno; uint 33 src/dps8/fnpuv.h uint stationNo; uint 52 src/dps8/fnpuv.h void fnpuv_dial_out (uint fnpno, uint lineno, word36 d1, word36 d2, word36 d3); uint 53 src/dps8/fnpuv.h void fnpuv_open_slave (uint fnpno, uint lineno); uint 61 src/dps8/hdbg.c uint cpu_idx; uint 85 src/dps8/hdbg.c uint inum; uint 86 src/dps8/hdbg.c uint cpuUnitIdx; uint 87 src/dps8/hdbg.c uint scuUnitIdx; uint 91 src/dps8/hdbg.c uint intr_pair_addr; uint 246 src/dps8/hdbg.c void hdbgIntrSet (uint inum, uint cpuUnitIdx, uint scuUnitIdx, const char * ctx) { uint 255 src/dps8/hdbg.c void hdbgIntr (uint intr_pair_addr, const char * ctx) { uint 707 src/dps8/hdbg.c uint low, high; uint 712 src/dps8/hdbg.c for (uint addr = low; addr <= high; addr ++) uint 46 src/dps8/hdbg.h void hdbgIntrSet (uint inum, uint cpuUnitIdx, uint scuUnitIdx, const char * ctx); uint 47 src/dps8/hdbg.h void hdbgIntr (uint intr_pair_addr, const char * ctx); uint 100 src/dps8/panelScraper.c for (uint i = 0; i < (n); i ++) \ uint 104 src/dps8/panelScraper.c for (uint i = 0; i < (n); i ++) \ uint 112 src/dps8/panelScraper.c uint n = cpu.APU_panel_scroll_select_n_sw; uint 1382 src/dps8/panelScraper.c for (uint i = 0; i < (n); i ++) \ uint 1470 src/dps8/panelScraper.c uint cpuNum = (uint) * (int *) arg; uint 81 src/dps8/segldr.c for (uint addr = ADDR_DSPT; addr < ADDR_SEGS; addr ++) uint 84 src/dps8/segldr.c uint x1 = 0; uint 342 src/dps8/segldr.c uint wrsz = sz * sizeof (word36); uint 393 src/dps8/threadz.c void createCPUThread (uint cpuNum) uint 562 src/dps8/threadz.c void wakeCPU (uint cpuNum) uint 600 src/dps8/threadz.c void createIOMThread (uint iomNum) uint 687 src/dps8/threadz.c void iomDoneWait (uint iomNum) uint 707 src/dps8/threadz.c void setIOMInterrupt (uint iomNum) uint 734 src/dps8/threadz.c void iomRdyWait (uint iomNum) uint 767 src/dps8/threadz.c void createChnThread (uint iomNum, uint chnNum, const char * devTypeStr) uint 855 src/dps8/threadz.c void setChnConnect (uint iomNum, uint chnNum) uint 882 src/dps8/threadz.c void chnRdyWait (uint iomNum, uint chnNum) uint 158 src/dps8/threadz.h void createCPUThread (uint cpuNum); uint 164 src/dps8/threadz.h void wakeCPU (uint cpuNum); uint 189 src/dps8/threadz.h void createIOMThread (uint iomNum); uint 192 src/dps8/threadz.h void iomDoneWait (uint iomNum); uint 193 src/dps8/threadz.h void setIOMInterrupt (uint iomNum); uint 194 src/dps8/threadz.h void iomRdyWait (uint iomNum); uint 221 src/dps8/threadz.h void createChnThread (uint iomNum, uint chnNum, const char * devTypeStr); uint 224 src/dps8/threadz.h void setChnConnect (uint iomNum, uint chnNum); uint 225 src/dps8/threadz.h void chnRdyWait (uint iomNum, uint chnNum); uint 27 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 bound, uint 49 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 * bound, uint 64 src/dps8/ucache.h (struct cpu_state_s * cpup, uint ucNum, word15 segno, uint 67 src/dps8/ucache.h (struct cpu_state_s * cpup, uint ucNum, word15 segno, uint 53 src/dps8/uvutil.c (uint) suggested_size); uint 171 src/dps8/uvutil.c (uint) datalen); uint 400 src/dps8/uvutil.c access->inSize = (uint) nread; uint 42 src/dps8/uvutil.h uint inSize; uint 43 src/dps8/uvutil.h uint inUsed;