word24 786 src/dps8/dps8_addrmods.c word24 Yi = (word24) -1; word24 852 src/dps8/dps8_addrmods.c word24 phys_address = cpu.iefpFinalAddress; word24 1380 src/dps8/dps8_addrmods.c word24 YiSafe2 = Yi; // save indirect address for later use word24 1492 src/dps8/dps8_addrmods.c word24 YiSafe = Yi; // save indirect address for later use word24 255 src/dps8/dps8_append.c word24 x1 = (2u * segno) / 1024u; // floor word24 291 src/dps8/dps8_append.c word24 x1 = (2u * segno) / 1024u; // floor word24 428 src/dps8/dps8_append.c word24 y1 = (2 * segno) % 1024; word24 432 src/dps8/dps8_append.c core_read2 (((((word24) cpu.PTW0.ADDR & 0777760) << 6) + y1) & PAMASK, word24 771 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor word24 930 src/dps8/dps8_append.c word24 x2 = offset / 1024; // floor word24 965 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor word24 1144 src/dps8/dps8_append.c word24 do_append_cycle (processor_cycle_type thisCycle, word36 * data, word24 1198 src/dps8/dps8_append.c word24 finalAddress = (word24) -1; // not everything requires a final word24 1822 src/dps8/dps8_append.c word24 y2 = cpu.TPR.CA % 1024; word24 1826 src/dps8/dps8_append.c finalAddress = (((word24)cpu.PTW->ADDR & 0777760) << 6) + y2; word24 2179 src/dps8/dps8_append.c int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, word24 2198 src/dps8/dps8_append.c word24 y1 = (2 * segno) % 1024; word24 2199 src/dps8/dps8_append.c word24 x1 = (2 * segno) / 1024; // floor word24 2223 src/dps8/dps8_append.c core_read2 (((((word24)PTW1. ADDR & 0777760) << 6) + y1) & PAMASK, word24 2297 src/dps8/dps8_append.c word24 y2 = offset % 1024; word24 2298 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor word24 2319 src/dps8/dps8_append.c * finalAddress = ((((word24)PTW1.ADDR & 0777760) << 6) + y2) & PAMASK; word24 128 src/dps8/dps8_append.h word24 do_append_cycle (processor_cycle_type thisCycle, word24 135 src/dps8/dps8_append.h int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, word24 1346 src/dps8/dps8_cpu.c int lookup_cpu_mem_map (word24 addr) word24 3109 src/dps8/dps8_cpu.c word24 addr = fltAddress + 2 * cpu.faultNumber; word24 3365 src/dps8/dps8_cpu.c static void nem_check (word24 addr, const char * context) word24 3386 src/dps8/dps8_cpu.c int core_read (word24 addr, word36 *data, const char * ctx) word24 3430 src/dps8/dps8_cpu.c int core_read_lock (word24 addr, word36 *data, UNUSED const char * ctx) word24 3451 src/dps8/dps8_cpu.c int core_write (word24 addr, word36 data, const char * ctx) word24 3497 src/dps8/dps8_cpu.c int core_write_unlock (word24 addr, word36 data, UNUSED const char * ctx) word24 3531 src/dps8/dps8_cpu.c int core_write_zone (word24 addr, word36 data, const char * ctx) word24 3547 src/dps8/dps8_cpu.c word24 mapAddr = 0; word24 3579 src/dps8/dps8_cpu.c int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx) word24 3591 src/dps8/dps8_cpu.c addr &= (word24)~1; /* make it an even address */ word24 3673 src/dps8/dps8_cpu.c int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx) { word24 3679 src/dps8/dps8_cpu.c addr &= (word24)~1; /* make it even a dress, or iron a skirt ;) */ word24 3997 src/dps8/dps8_cpu.c void add_dps8m_APU_history (word15 ESN, word21 flags, word24 RMA, word3 RTRR, word9 flags2) word24 198 src/dps8/dps8_cpu.h word24 ADDR; // If DSBR.U = 1, the 24-bit absolute main memory address word24 221 src/dps8/dps8_cpu.h word24 ADDR; // The 24-bit absolute main memory address of the page word24 290 src/dps8/dps8_cpu.h word24 1364 src/dps8/dps8_cpu.h word24 CHTALLY; // 12-35 24 CHTALLY The number of characters examined word24 1468 src/dps8/dps8_cpu.h word24 Dk_RES [3]; word24 1619 src/dps8/dps8_cpu.h word24 rY; // address operand word24 1626 src/dps8/dps8_cpu.h word24 iefpFinalAddress; word24 1639 src/dps8/dps8_cpu.h word24 locked_addr; word24 1640 src/dps8/dps8_cpu.h word24 char_word_address; word24 1643 src/dps8/dps8_cpu.h word24 rmw_address; word24 1689 src/dps8/dps8_cpu.h word24 pad[16]; word24 1814 src/dps8/dps8_cpu.h word24 APUDataBusAddr; word24 1815 src/dps8/dps8_cpu.h word24 APUMemAddr; word24 1976 src/dps8/dps8_cpu.h static inline void trackport (word24 a, word36 d) word24 1993 src/dps8/dps8_cpu.h static inline int core_read (word24 addr, word36 *data, \ word24 2006 src/dps8/dps8_cpu.h static inline int core_write (word24 addr, word36 data, \ word24 2032 src/dps8/dps8_cpu.h static inline int core_write_zone (word24 addr, word36 data, \ word24 2059 src/dps8/dps8_cpu.h static inline int core_read2 (word24 addr, word36 *even, word36 *odd, word24 2073 src/dps8/dps8_cpu.h static inline int core_write2 (word24 addr, word36 even, word36 odd, word24 2100 src/dps8/dps8_cpu.h int core_read (word24 addr, word36 *data, const char * ctx); word24 2101 src/dps8/dps8_cpu.h int core_write (word24 addr, word36 data, const char * ctx); word24 2102 src/dps8/dps8_cpu.h int core_write_zone (word24 addr, word36 data, const char * ctx); word24 2103 src/dps8/dps8_cpu.h int core_read2 (word24 addr, word36 *even, word36 *odd, const char * ctx); word24 2104 src/dps8/dps8_cpu.h int core_write2 (word24 addr, word36 even, word36 odd, const char * ctx); word24 2169 src/dps8/dps8_cpu.h int core_read_lock (word24 addr, word36 *data, const char * ctx); word24 2170 src/dps8/dps8_cpu.h int core_write_unlock (word24 addr, word36 data, const char * ctx); word24 2337 src/dps8/dps8_cpu.h static inline void core_readN (word24 addr, word36 * data, uint n, word24 2347 src/dps8/dps8_cpu.h static inline void core_writeN (word24 addr, word36 * data, uint n, word24 2369 src/dps8/dps8_cpu.h int lookup_cpu_mem_map (word24 addr); word24 2374 src/dps8/dps8_cpu.h void add_dps8m_APU_history (word15 ESN, word21 flags, word24 RMA, word3 RTRR, word9 flags2); word24 59 src/dps8/dps8_dia.c static inline void fnp_core_read (word24 addr, word36 *data, UNUSED const char * ctx) word24 380 src/dps8/dps8_dia.c static inline void fnp_core_write (word24 addr, word36 data, UNUSED const char * ctx) word24 414 src/dps8/dps8_dia.c static void cmd_bootload (uint iom_unit_idx, uint dev_unit_idx, uint chan, word24 l66_addr) word24 649 src/dps8/dps8_dia.c word24 l66_addr = (word24) getbits36_18 (dia_pcw, 0); word24 30 src/dps8/dps8_dia.h word24 l66_addr; word24 2099 src/dps8/dps8_eis.c r = SIGNEXT24_32 ((word24) rcnt); word24 2166 src/dps8/dps8_eis.c word24 r = getCrAR ((word4) reg) & MASK24; word24 2182 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) + r; word24 2404 src/dps8/dps8_eis.c word24 r = getCrAR ((word4) reg) & MASK24; word24 2410 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) - r; word24 305 src/dps8/dps8_fnp2.c void setTIMW (uint iom_unit_idx, uint chan, word24 mailboxAddress, int mbx) word24 307 src/dps8/dps8_fnp2.c word24 timwAddress = mailboxAddress + TERM_INPT_MPX_WD; word24 409 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 439 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 458 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 477 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 497 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 581 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 604 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 646 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 665 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 685 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 706 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 770 src/dps8/dps8_fnp2.c word24 fsmbx = fudp->mailboxAddress + FNP_SUB_MBXES + mbx*FNP_SUB_MBX_SIZE; word24 215 src/dps8/dps8_fnp2.h word24 mailboxAddress; word24 353 src/dps8/dps8_fnp2.h void setTIMW (uint iom_unit_idx, uint chan, word24 mailboxAddress, int mbx); word24 60 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) word24 105 src/dps8/dps8_fnp2_iomcmd.c word24 smbx; word24 106 src/dps8/dps8_fnp2_iomcmd.c word24 fsmbx; word24 1283 src/dps8/dps8_fnp2_iomcmd.c word24 addr = getbits36_24 (data, 0); word24 1722 src/dps8/dps8_fnp2_iomcmd.c static word18 getl6core (uint iom_unit_idx, uint chan, word24 l66addr, uint addr) word24 1724 src/dps8/dps8_fnp2_iomcmd.c word24 wos = addr / 2; word24 1866 src/dps8/dps8_fnp2_iomcmd.c word24 l66addr = (((word24) getbits36_6 (dia_pcw, 24)) << 18) | word24 1867 src/dps8/dps8_fnp2_iomcmd.c (word24) getbits36_18 (dia_pcw, 0); word24 1886 src/dps8/dps8_fnp2_iomcmd.c word24 image_off = (tally + 64) & 077777700; word24 203 src/dps8/dps8_hw_consts.h # define GET24(a) ((word24) ((a) & MASK24)) word24 266 src/dps8/dps8_hw_consts.h static inline int32 SIGNEXT24_32 (word24 w) word24 370 src/dps8/dps8_hw_consts.h static inline word24 SIGNEXT18_24 (word18 w) word24 374 src/dps8/dps8_hw_consts.h return (w | ((word24) -1) << 18) & MASK24; word24 812 src/dps8/dps8_iom.c void iom_core_read (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) word24 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) word24 844 src/dps8/dps8_iom.c void iom_core_write (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) word24 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) word24 874 src/dps8/dps8_iom.c void iom_core_read_lock (UNUSED uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx) word24 888 src/dps8/dps8_iom.c void iom_core_write_unlock (UNUSED uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx) word24 1459 src/dps8/dps8_iom.c word24 base_addr = (word24) base << 6; // 01400 word24 1475 src/dps8/dps8_iom.c word24 mbx = base_addr + 4u * bootchan; word24 1634 src/dps8/dps8_iom.c word24 base_addr = ((word24) base) << 6; // 01400 word24 1635 src/dps8/dps8_iom.c word24 mbx = base_addr + 4 * chan; word24 1757 src/dps8/dps8_iom.c word24 scwAddr = chanloc + IOM_MBX_SCW; word24 1827 src/dps8/dps8_iom.c static word24 UNUSED build_AUXPTW_address (uint iom_unit_idx, int chan) word24 1839 src/dps8/dps8_iom.c word24 addr = (((word24) IOMBaseAddress) & MASK12) << 6; word24 1845 src/dps8/dps8_iom.c static word24 build_DDSPTW_address (word18 PCW_PAGE_TABLE_PTR, word8 pageNumber) word24 1857 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; word24 1867 src/dps8/dps8_iom.c word24 pgte = build_DDSPTW_address (p -> PCW_PAGE_TABLE_PTR, word24 1876 src/dps8/dps8_iom.c static word24 build_IDSPTW_address (word18 PCW_PAGE_TABLE_PTR, word1 seg, word8 pageNumber) word24 1893 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; word24 1894 src/dps8/dps8_iom.c addr += (((word24) seg) & 01) << 8; word24 1904 src/dps8/dps8_iom.c word24 pgte = build_IDSPTW_address (p -> PCW_PAGE_TABLE_PTR, word24 1913 src/dps8/dps8_iom.c static word24 build_LPWPTW_address (word18 PCW_PAGE_TABLE_PTR, word1 seg, word8 pageNumber) word24 1931 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; word24 1932 src/dps8/dps8_iom.c addr += (((word24) seg) & 01) << 8; word24 1940 src/dps8/dps8_iom.c word24 addr = build_LPWPTW_address (p -> PCW_PAGE_TABLE_PTR, word24 1952 src/dps8/dps8_iom.c void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word24 2020 src/dps8/dps8_iom.c word24 addr = ((word24) (getbits36_14 (p -> PTW_DCW, 4) << 10)) | (daddr & MASK10); word24 2047 src/dps8/dps8_iom.c word24 addr = ((word24) (getbits36_14 (p -> PTW_DCW, 4) << 10)) | (daddr & MASK10); word24 2490 src/dps8/dps8_iom.c word24 addr = p -> LPW_DCW_PTR & MASK18; word24 2508 src/dps8/dps8_iom.c addr += ((word24) p -> LPWX_BOUND << 1); word24 2527 src/dps8/dps8_iom.c word24 addr_ = ((word24) (getbits36_14 (p -> PTW_LPW, 4) << 10)) | ((p -> LPW_DCW_PTR) & MASK10); word24 406 src/dps8/dps8_iom.h void iom_direct_data_service (uint iom_unit_idx, uint chan, word24 daddr, word36 * data, word24 419 src/dps8/dps8_iom.h void iom_core_read (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word24 420 src/dps8/dps8_iom.h void iom_core_read2 (uint iom_unit_idx, word24 addr, word36 *even, word36 *odd, UNUSED const char * ctx); word24 421 src/dps8/dps8_iom.h void iom_core_write (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word24 422 src/dps8/dps8_iom.h void iom_core_write2 (uint iom_unit_idx, word24 addr, word36 even, word36 odd, UNUSED const char * ctx); word24 423 src/dps8/dps8_iom.h void iom_core_read_lock (uint iom_unit_idx, word24 addr, word36 *data, UNUSED const char * ctx); word24 424 src/dps8/dps8_iom.h void iom_core_write_unlock (uint iom_unit_idx, word24 addr, word36 data, UNUSED const char * ctx); word24 2031 src/dps8/dps8_sys.c word24 2033 src/dps8/dps8_sys.c word24 2081 src/dps8/dps8_sys.c word24 2082 src/dps8/dps8_sys.c word24 2105 src/dps8/dps8_sys.c word24 2106 src/dps8/dps8_sys.c word24 2190 src/dps8/dps8_sys.c word24 2191 src/dps8/dps8_sys.c word24 2221 src/dps8/dps8_sys.c word24 2229 src/dps8/dps8_sys.c word24 2244 src/dps8/dps8_sys.c word24 res; word24 2773 src/dps8/dps8_sys.c word24 fp; word24 2835 src/dps8/dps8_sys.c word24 ap; word24 2877 src/dps8/dps8_sys.c word24 argnop; word24 3224 src/dps8/dps8_sys.c word24 y1 = (2u * segno) % 1024u; word24 3225 src/dps8/dps8_sys.c word24 x1 = (2u * segno - y1) / 1024u; word24 3280 src/dps8/dps8_sys.c word24 y2 = offset % 1024; word24 3281 src/dps8/dps8_sys.c word24 x2 = (offset - y2) / 1024; word24 3397 src/dps8/dps8_sys.c word24 pa; word24 3451 src/dps8/dps8_sys.c word24 pa; word24 3475 src/dps8/dps8_sys.c word24 3510 src/dps8/dps8_sys.c word24 pa; word24 3554 src/dps8/dps8_sys.c word24 pa; word24 4550 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) (offset + PRoffset)); word24 4561 src/dps8/dps8_sys.c word24 offset = 0; word24 4576 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) offset); word24 296 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) word24 445 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) word24 766 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) word24 71 src/dps8/hdbg.c word24 addr; word24 116 src/dps8/hdbg.c word24 final; word24 196 src/dps8/hdbg.c void hdbgMRead (word24 addr, word36 data, const char * ctx) { word24 203 src/dps8/hdbg.c void hdbgMWrite (word24 addr, word36 data, const char * ctx) { word24 210 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word24 219 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { word24 48 src/dps8/hdbg.h void hdbgMRead (word24 addr, word36 data, const char * ctx); word24 49 src/dps8/hdbg.h void hdbgMWrite (word24 addr, word36 data, const char * ctx); word24 82 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word24 83 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); word24 76 src/dps8/segldr.c static word24 nextSegAddr = ADDR_SEGS; word24 77 src/dps8/segldr.c static word24 nextPageAddr = ADDR_PGS; word24 94 src/dps8/segldr.c static void addSDW (word24 addr, long segnum, long length) word24 106 src/dps8/segldr.c word24 y1 = (word24)((2u * segnum) % 1024u); word24 109 src/dps8/segldr.c word24 pgTblAddr = (word24)(nextPageAddr); word24 114 src/dps8/segldr.c word24 sdw0 = ADDR_DSP + y1 + 0; word24 115 src/dps8/segldr.c word24 sdw1 = ADDR_DSP + y1 + 1; word24 140 src/dps8/segldr.c for (word24 pg = 0; pg <= npages; pg ++) word24 143 src/dps8/segldr.c word24 ptw = pgTblAddr + pg; word24 155 src/dps8/segldr.c word24 287 src/dps8/segldr.c word24 addr; word24 288 src/dps8/segldr.c word24 startAddr; word24 312 src/dps8/segldr.c word24 length = addr - startAddr; word24 314 src/dps8/segldr.c word24 lengthp; word24 339 src/dps8/segldr.c static t_stat msave (char * p2, word24 sz)