cpu 69 src/dps8/dps8.h # define L68_(x) if (cpu.tweaks.l68_mode) { x } cpu 70 src/dps8/dps8.h # define DPS8M_(x) if (! cpu.tweaks.l68_mode) { x } cpu 74 src/dps8/dps8.h # define IF1 if (cpu.tweaks.isolts_mode) cpu 40 src/dps8/dps8_addrmods.c #define DBG_CTR cpu.cycleCnt cpu 50 src/dps8/dps8_addrmods.c cpu.ou.directOperandFlag = false; cpu 56 src/dps8/dps8_addrmods.c return cpu.rX [X (Tdes)]; cpu 67 src/dps8/dps8_addrmods.c return GETHI (cpu.rA); cpu 73 src/dps8/dps8_addrmods.c return GETHI (cpu.rQ); cpu 76 src/dps8/dps8_addrmods.c cpu.ou.directOperand = 0; cpu 77 src/dps8/dps8_addrmods.c SETHI (cpu.ou.directOperand, cpu.rY); cpu 78 src/dps8/dps8_addrmods.c cpu.ou.directOperandFlag = true; cpu 82 src/dps8/dps8_addrmods.c __func__, cpu.rY, cpu.ou.directOperand); cpu 87 src/dps8/dps8_addrmods.c return cpu.PPR.IC; cpu 93 src/dps8/dps8_addrmods.c return GETLO (cpu.rA); cpu 99 src/dps8/dps8_addrmods.c return GETLO (cpu.rQ); cpu 102 src/dps8/dps8_addrmods.c cpu.ou.directOperand = 0; cpu 103 src/dps8/dps8_addrmods.c SETLO (cpu.ou.directOperand, cpu.rY); cpu 104 src/dps8/dps8_addrmods.c cpu.ou.directOperandFlag = true; cpu 108 src/dps8/dps8_addrmods.c __func__, cpu.rY, cpu.ou.directOperand); cpu 117 src/dps8/dps8_addrmods.c DCDstruct * i = & cpu.currentInstruction; cpu 200 src/dps8/dps8_addrmods.c GET_ITP_PRNUM (cpu.itxPair), GET_ITP_WORDNO (cpu.itxPair), cpu 201 src/dps8/dps8_addrmods.c GET_ITP_BITNO (cpu.itxPair), GET_ITP_MOD (cpu.itxPair)); cpu 219 src/dps8/dps8_addrmods.c word3 n = GET_ITP_PRNUM (cpu.itxPair); cpu 224 src/dps8/dps8_addrmods.c cpu.TPR.TSR = cpu.PR[n].SNR; cpu 225 src/dps8/dps8_addrmods.c cpu.TPR.TRR = max3 (cpu.PR[n].RNR, cpu.RSDWH_R1, cpu.TPR.TRR); cpu 226 src/dps8/dps8_addrmods.c cpu.TPR.TBR = GET_ITP_BITNO (cpu.itxPair); cpu 227 src/dps8/dps8_addrmods.c cpu.TPR.CA = cpu.PAR[n].WORDNO + GET_ITP_WORDNO (cpu.itxPair); cpu 228 src/dps8/dps8_addrmods.c cpu.TPR.CA &= AMASK; cpu 229 src/dps8/dps8_addrmods.c cpu.rY = cpu.TPR.CA; cpu 231 src/dps8/dps8_addrmods.c cpu.rTAG = GET_ITP_MOD (cpu.itxPair); cpu 233 src/dps8/dps8_addrmods.c cpu.cu.itp = 1; cpu 234 src/dps8/dps8_addrmods.c cpu.cu.TSN_PRNO[0] = n; cpu 235 src/dps8/dps8_addrmods.c cpu.cu.TSN_VALID[0] = 1; cpu 244 src/dps8/dps8_addrmods.c GET_ITS_SEGNO (cpu.itxPair), GET_ITS_RN (cpu.itxPair), cpu 245 src/dps8/dps8_addrmods.c GET_ITS_WORDNO (cpu.itxPair), GET_ITS_BITNO (cpu.itxPair), cpu 246 src/dps8/dps8_addrmods.c GET_ITS_MOD (cpu.itxPair)); cpu 260 src/dps8/dps8_addrmods.c cpu.TPR.TSR = GET_ITS_SEGNO (cpu.itxPair); cpu 264 src/dps8/dps8_addrmods.c GET_ITS_RN (cpu.itxPair), cpu.RSDWH_R1, cpu.TPR.TRR, cpu 265 src/dps8/dps8_addrmods.c max3 (GET_ITS_RN (cpu.itxPair), cpu.RSDWH_R1, cpu.TPR.TRR)); cpu 267 src/dps8/dps8_addrmods.c cpu.TPR.TRR = max3 (GET_ITS_RN (cpu.itxPair), cpu.RSDWH_R1, cpu.TPR.TRR); cpu 268 src/dps8/dps8_addrmods.c cpu.TPR.TBR = GET_ITS_BITNO (cpu.itxPair); cpu 269 src/dps8/dps8_addrmods.c cpu.TPR.CA = GET_ITS_WORDNO (cpu.itxPair); cpu 270 src/dps8/dps8_addrmods.c cpu.TPR.CA &= AMASK; cpu 272 src/dps8/dps8_addrmods.c cpu.rY = cpu.TPR.CA; cpu 274 src/dps8/dps8_addrmods.c cpu.rTAG = GET_ITS_MOD (cpu.itxPair); cpu 276 src/dps8/dps8_addrmods.c cpu.cu.its = 1; cpu 284 src/dps8/dps8_addrmods.c word6 ind_tag = GET_TAG (cpu.itxPair [0]); cpu 288 src/dps8/dps8_addrmods.c cpu.itxPair[0], cpu.itxPair[1]); cpu 317 src/dps8/dps8_addrmods.c cpu.cu.XSF = 1; cpu 325 src/dps8/dps8_addrmods.c wb = & cpu.cu.IRODD; cpu 327 src/dps8/dps8_addrmods.c wb = & cpu.cu.IWB; cpu 342 src/dps8/dps8_addrmods.c decode_instruction (IWB_IRODD, & cpu.currentInstruction); cpu 362 src/dps8/dps8_addrmods.c if (cpu.currentInstruction.b29 == 0) cpu 364 src/dps8/dps8_addrmods.c cpu.TPR.CA = GET_ADDR (IWB_IRODD); cpu 373 src/dps8/dps8_addrmods.c cpu.TPR.CA = (cpu.PAR[n].WORDNO + SIGNEXT15_18 (offset)) cpu 379 src/dps8/dps8_addrmods.c __func__, op_desc_str (buf), cpu.TPR.CA); cpu 382 src/dps8/dps8_addrmods.c __func__, cpu.cu.CT_HOLD); cpu 384 src/dps8/dps8_addrmods.c DCDstruct * i = & cpu.currentInstruction; cpu 391 src/dps8/dps8_addrmods.c cpu.ou.directOperandFlag = false; cpu 394 src/dps8/dps8_addrmods.c cpu.rTAG = 0; cpu 396 src/dps8/dps8_addrmods.c cpu.rTAG = GET_TAG (IWB_IRODD); cpu 408 src/dps8/dps8_addrmods.c Td = GET_TD (cpu.rTAG); cpu 409 src/dps8/dps8_addrmods.c Tm = GET_TM (cpu.rTAG); cpu 414 src/dps8/dps8_addrmods.c if (cpu.cu.CT_HOLD) cpu 418 src/dps8/dps8_addrmods.c __func__, cpu.cu.CT_HOLD); cpu 420 src/dps8/dps8_addrmods.c if (cpu.tweaks.isolts_mode && cpu 421 src/dps8/dps8_addrmods.c GET_TM(cpu.cu.CT_HOLD) == TM_IT && GET_TD (cpu.cu.CT_HOLD) == IT_DIC && cpu 422 src/dps8/dps8_addrmods.c cpu.cu.pot == 1 && GET_ADDR (IWB_IRODD) == cpu.TPR.CA) cpu 424 src/dps8/dps8_addrmods.c cpu.TPR.CA--; cpu 429 src/dps8/dps8_addrmods.c cpu.cu.pot = 1; cpu 435 src/dps8/dps8_addrmods.c cpu.cu.its = 0; cpu 436 src/dps8/dps8_addrmods.c cpu.cu.itp = 0; cpu 437 src/dps8/dps8_addrmods.c cpu.cu.pot = 0; cpu 441 src/dps8/dps8_addrmods.c __func__, cpu.rTAG, get_mod_string (buf, cpu.rTAG), Tm, Td, cpu.cu.CT_HOLD); cpu 458 src/dps8/dps8_addrmods.c __func__, GET_TM (cpu.rTAG)); cpu 475 src/dps8/dps8_addrmods.c if (cpu.ou.directOperandFlag) cpu 479 src/dps8/dps8_addrmods.c cpu.ou.directOperand); cpu 485 src/dps8/dps8_addrmods.c if (cpu.cu.rpt || cpu.cu.rd | cpu.cu.rl) cpu 487 src/dps8/dps8_addrmods.c if (cpu.currentInstruction.b29) cpu 494 src/dps8/dps8_addrmods.c cpu.TPR.CA = Cr + cpu.PR [PRn].WORDNO; cpu 495 src/dps8/dps8_addrmods.c cpu.TPR.CA &= AMASK; cpu 499 src/dps8/dps8_addrmods.c cpu.TPR.CA = Cr; cpu 504 src/dps8/dps8_addrmods.c cpu.TPR.CA += Cr; cpu 505 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits cpu 508 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 530 src/dps8/dps8_addrmods.c "RI_MOD: Cr=%06o CA(Before)=%06o\n", Cr, cpu.TPR.CA); cpu 532 src/dps8/dps8_addrmods.c if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 534 src/dps8/dps8_addrmods.c if (cpu.currentInstruction.b29) cpu 541 src/dps8/dps8_addrmods.c cpu.TPR.CA = Cr + cpu.PR [PRn].WORDNO; cpu 545 src/dps8/dps8_addrmods.c cpu.TPR.CA = Cr; cpu 547 src/dps8/dps8_addrmods.c cpu.TPR.CA &= AMASK; cpu 551 src/dps8/dps8_addrmods.c cpu.TPR.CA += Cr; cpu 552 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits cpu 555 src/dps8/dps8_addrmods.c "RI_MOD: CA(After)=%06o\n", cpu.TPR.CA); cpu 561 src/dps8/dps8_addrmods.c if (GET_TM(cpu.cu.CT_HOLD) == TM_IR) cpu 569 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 572 src/dps8/dps8_addrmods.c if ((saveCA & 1) == 0 && (ISITP (cpu.itxPair[0]) || ISITS (cpu.itxPair[0]))) cpu 575 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, cpu.rTAG); cpu 579 src/dps8/dps8_addrmods.c cpu.rTAG = GET_TAG (cpu.itxPair[0]); cpu 580 src/dps8/dps8_addrmods.c if (ISITP (cpu.itxPair[0]) || ISITS (cpu.itxPair[0])) cpu 587 src/dps8/dps8_addrmods.c if (!(cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl)) cpu 589 src/dps8/dps8_addrmods.c updateIWB (GET_ADDR (cpu.itxPair[0]), cpu.rTAG); cpu 592 src/dps8/dps8_addrmods.c if (GET_TM (cpu.rTAG) == TM_IT) cpu 594 src/dps8/dps8_addrmods.c if (GET_TD (cpu.rTAG) == IT_F2) cpu 598 src/dps8/dps8_addrmods.c if (GET_TD (cpu.rTAG) == IT_F3) cpu 603 src/dps8/dps8_addrmods.c cpu.TPR.CA = GETHI (cpu.itxPair[0]); cpu 604 src/dps8/dps8_addrmods.c cpu.rY = cpu.TPR.CA; cpu 618 src/dps8/dps8_addrmods.c cpu.itxPair[0], cpu.TPR.CA, cpu.rTAG); cpu 622 src/dps8/dps8_addrmods.c if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 634 src/dps8/dps8_addrmods.c "IR_MOD: CT_HOLD=%o %o\n", cpu.cu.CT_HOLD, Td); cpu 645 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 647 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 651 src/dps8/dps8_addrmods.c if (GET_TM(cpu.rTAG) == TM_IR) cpu 652 src/dps8/dps8_addrmods.c cpu.cu.CT_HOLD = cpu.rTAG; cpu 654 src/dps8/dps8_addrmods.c if ((saveCA & 1) == 0 && (ISITP (cpu.itxPair[0]) || ISITS (cpu.itxPair[0]))) cpu 660 src/dps8/dps8_addrmods.c if (ISITP (cpu.itxPair[0]) || ISITS (cpu.itxPair[0])) cpu 667 src/dps8/dps8_addrmods.c cpu.TPR.CA = GETHI (cpu.itxPair[0]); cpu 668 src/dps8/dps8_addrmods.c cpu.rY = cpu.TPR.CA; cpu 669 src/dps8/dps8_addrmods.c cpu.rTAG = GET_TAG (cpu.itxPair[0]); cpu 673 src/dps8/dps8_addrmods.c "IR_MOD: CT_HOLD=%o\n", cpu.cu.CT_HOLD); cpu 674 src/dps8/dps8_addrmods.c Td = GET_TD (cpu.rTAG); cpu 675 src/dps8/dps8_addrmods.c Tm = GET_TM (cpu.rTAG); cpu 680 src/dps8/dps8_addrmods.c cpu.itxPair[0], cpu.TPR.CA, Tm, Td, cpu 681 src/dps8/dps8_addrmods.c get_mod_string (buf, GET_TAG (cpu.itxPair[0]))); cpu 689 src/dps8/dps8_addrmods.c Td, cpu.cu.CT_HOLD); cpu 693 src/dps8/dps8_addrmods.c updateIWB(cpu.TPR.CA, cpu.rTAG); cpu 698 src/dps8/dps8_addrmods.c cpu.TPR.CA = saveCA; cpu 703 src/dps8/dps8_addrmods.c cpu.TPR.CA = saveCA; cpu 728 src/dps8/dps8_addrmods.c word6 Td_hold = GET_TD (cpu.cu.CT_HOLD); cpu 729 src/dps8/dps8_addrmods.c cpu.rTAG = (TM_R | Td_hold); cpu 730 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, cpu.rTAG); cpu 744 src/dps8/dps8_addrmods.c Td, Cr, cpu.TPR.CA); cpu 746 src/dps8/dps8_addrmods.c cpu.TPR.CA += Cr; cpu 747 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits cpu 750 src/dps8/dps8_addrmods.c "IR_MOD(TM_RI): TPR.CA=%06o\n", cpu.TPR.CA); cpu 754 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 757 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_RI|TD_N)); cpu 763 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, cpu.rTAG); // XXX guessing here... cpu 769 src/dps8/dps8_addrmods.c __func__, GET_TM (cpu.rTAG)); cpu 842 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 849 src/dps8/dps8_addrmods.c word18 indaddr = cpu.TPR.CA; cpu 852 src/dps8/dps8_addrmods.c word24 phys_address = cpu.iefpFinalAddress; cpu 883 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 884 src/dps8/dps8_addrmods.c cpu.ou.character_address = Yi; cpu 885 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; cpu 886 src/dps8/dps8_addrmods.c cpu.ou.characterOperandOffset = os; cpu 931 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 932 src/dps8/dps8_addrmods.c cpu.ou.character_address = Yi; cpu 933 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; cpu 934 src/dps8/dps8_addrmods.c cpu.ou.characterOperandOffset = os; cpu 950 src/dps8/dps8_addrmods.c cpu.cu.pot = 1; cpu 954 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & cpu.ou.character_data, (i->info->flags & RMW) == \ cpu 957 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & cpu.ou.character_data, OPERAND_READ); cpu 960 src/dps8/dps8_addrmods.c cpu.char_word_address = cpu.iefpFinalAddress; cpu 965 src/dps8/dps8_addrmods.c cpu.ou.character_data); cpu 967 src/dps8/dps8_addrmods.c cpu.cu.pot = 0; cpu 1029 src/dps8/dps8_addrmods.c indword, cpu.TPR.CA); cpu 1034 src/dps8/dps8_addrmods.c cpu.TPR.CA = cpu.ou.character_address; cpu 1042 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1049 src/dps8/dps8_addrmods.c cpu.itxPair[0]); cpu 1051 src/dps8/dps8_addrmods.c cpu.TPR.CA = GET_ADDR (cpu.itxPair[0]); cpu 1052 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_R|TD_N)); cpu 1070 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1076 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1078 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1080 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1090 src/dps8/dps8_addrmods.c Yi, cpu.AM_tally, delta); cpu 1092 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1093 src/dps8/dps8_addrmods.c word18 computedAddress = cpu.TPR.CA; cpu 1098 src/dps8/dps8_addrmods.c cpu.AM_tally -= 1; cpu 1099 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1103 src/dps8/dps8_addrmods.c SC_I_TALLY (cpu.AM_tally == 0); cpu 1105 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | cpu 1108 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1122 src/dps8/dps8_addrmods.c cpu.TPR.CA = computedAddress; cpu 1123 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_R|TD_N)); cpu 1143 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1145 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1149 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1150 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1160 src/dps8/dps8_addrmods.c Yi, cpu.AM_tally, delta); cpu 1164 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1166 src/dps8/dps8_addrmods.c cpu.AM_tally += 1; cpu 1167 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1168 src/dps8/dps8_addrmods.c if (cpu.AM_tally == 0) cpu 1173 src/dps8/dps8_addrmods.c (((word36) cpu.AM_tally & 07777) << 6) | cpu 1176 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1190 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1191 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_R|TD_N)); cpu 1208 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1214 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1216 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1219 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1227 src/dps8/dps8_addrmods.c Yi, cpu.AM_tally); cpu 1231 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1233 src/dps8/dps8_addrmods.c cpu.AM_tally += 1; cpu 1234 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1235 src/dps8/dps8_addrmods.c SC_I_TALLY (cpu.AM_tally == 0); cpu 1239 src/dps8/dps8_addrmods.c indword = (word36) (((word36) cpu.TPR.CA << 18) | cpu 1240 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | cpu 1249 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1257 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1258 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_R|TD_N)); cpu 1273 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1277 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1284 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1287 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1293 src/dps8/dps8_addrmods.c indword, Yi, cpu.AM_tally); cpu 1295 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1296 src/dps8/dps8_addrmods.c word18 computedAddress = cpu.TPR.CA; cpu 1301 src/dps8/dps8_addrmods.c cpu.AM_tally -= 1; cpu 1302 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1307 src/dps8/dps8_addrmods.c SC_I_TALLY (cpu.AM_tally == 0); cpu 1311 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | cpu 1320 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1329 src/dps8/dps8_addrmods.c cpu.TPR.CA = computedAddress; cpu 1330 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, (TM_R|TD_N)); cpu 1359 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1365 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1367 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1369 src/dps8/dps8_addrmods.c cpu.cu.pot = 0; cpu 1372 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1378 src/dps8/dps8_addrmods.c indword, Yi, cpu.AM_tally, idwtag); cpu 1385 src/dps8/dps8_addrmods.c cpu.AM_tally += 1; cpu 1386 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1395 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | idwtag); cpu 1402 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1418 src/dps8/dps8_addrmods.c cpu.TPR.CA = Yi; cpu 1422 src/dps8/dps8_addrmods.c cpu.rTAG, idwtag); cpu 1423 src/dps8/dps8_addrmods.c cpu.cu.CT_HOLD = cpu.rTAG; cpu 1424 src/dps8/dps8_addrmods.c cpu.rTAG = idwtag; cpu 1426 src/dps8/dps8_addrmods.c Tm = GET_TM (cpu.rTAG); cpu 1429 src/dps8/dps8_addrmods.c if (GET_TD (cpu.rTAG) != 0) cpu 1438 src/dps8/dps8_addrmods.c SC_I_TALLY (cpu.AM_tally == 0); cpu 1439 src/dps8/dps8_addrmods.c if (cpu.tweaks.isolts_mode) cpu 1440 src/dps8/dps8_addrmods.c updateIWB (YiSafe2, cpu.rTAG); cpu 1442 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, cpu.rTAG); cpu 1471 src/dps8/dps8_addrmods.c cpu.TPR.CA); cpu 1477 src/dps8/dps8_addrmods.c word18 saveCA = cpu.TPR.CA; cpu 1479 src/dps8/dps8_addrmods.c Read (cpu.TPR.CA, & indword, APU_DATA_RMW); cpu 1481 src/dps8/dps8_addrmods.c cpu.cu.pot = 0; cpu 1484 src/dps8/dps8_addrmods.c cpu.AM_tally = GET_TALLY (indword); // 12-bits cpu 1490 src/dps8/dps8_addrmods.c indword, Yi, cpu.AM_tally, idwtag); cpu 1497 src/dps8/dps8_addrmods.c cpu.AM_tally -= 1; cpu 1498 src/dps8/dps8_addrmods.c cpu.AM_tally &= 07777; // keep to 12-bits cpu 1505 src/dps8/dps8_addrmods.c ((word36) cpu.AM_tally << 6) | cpu 1514 src/dps8/dps8_addrmods.c core_write_unlock(cpu.iefpFinalAddress, indword, __func__); cpu 1532 src/dps8/dps8_addrmods.c cpu.TPR.CA = YiSafe; cpu 1536 src/dps8/dps8_addrmods.c cpu.rTAG, idwtag); cpu 1537 src/dps8/dps8_addrmods.c cpu.cu.CT_HOLD = cpu.rTAG; cpu 1538 src/dps8/dps8_addrmods.c cpu.rTAG = idwtag; cpu 1540 src/dps8/dps8_addrmods.c Tm = GET_TM (cpu.rTAG); cpu 1543 src/dps8/dps8_addrmods.c if (GET_TD (cpu.rTAG) != 0) cpu 1552 src/dps8/dps8_addrmods.c SC_I_TALLY (cpu.AM_tally == 0); cpu 1553 src/dps8/dps8_addrmods.c updateIWB (cpu.TPR.CA, cpu.rTAG); cpu 48 src/dps8/dps8_append.c #define DBG_CTR cpu.cycleCnt cpu 55 src/dps8/dps8_append.c # define DBG_CTR cpu.cycleCnt cpu 65 src/dps8/dps8_append.c cpu 66 src/dps8/dps8_append.c cpu 68 src/dps8/dps8_append.c cpu 69 src/dps8/dps8_append.c cpu 70 src/dps8/dps8_append.c cpu 71 src/dps8/dps8_append.c cpu 72 src/dps8/dps8_append.c cpu 73 src/dps8/dps8_append.c cpu 74 src/dps8/dps8_append.c cpu 75 src/dps8/dps8_append.c cpu 76 src/dps8/dps8_append.c cpu 80 src/dps8/dps8_append.c cpu 86 src/dps8/dps8_append.c cpu 89 src/dps8/dps8_append.c cpu 92 src/dps8/dps8_append.c cpu 98 src/dps8/dps8_append.c cpu 101 src/dps8/dps8_append.c cpu 104 src/dps8/dps8_append.c cpu 107 src/dps8/dps8_append.c cpu 110 src/dps8/dps8_append.c cpu 150 src/dps8/dps8_append.c ptw_s * p = cpu.PTWAM + i; cpu 174 src/dps8/dps8_append.c if (cpu.tweaks.enable_wam) cpu 176 src/dps8/dps8_append.c if (cpu.cu.SD_ON) cpu 183 src/dps8/dps8_append.c cpu.SDWAM[i].FE = 0; cpu 184 src/dps8/dps8_append.c L68_ (cpu.SDWAM[i].USE = (word4) i;) cpu 185 src/dps8/dps8_append.c DPS8M_ (cpu.SDWAM[i].USE = 0;) cpu 189 src/dps8/dps8_append.c if (cpu.cu.PT_ON) cpu 196 src/dps8/dps8_append.c cpu.PTWAM[i].FE = 0; cpu 197 src/dps8/dps8_append.c L68_ (cpu.PTWAM[i].USE = (word4) i;) cpu 198 src/dps8/dps8_append.c DPS8M_ (cpu.PTWAM[i].USE = 0;) cpu 207 src/dps8/dps8_append.c cpu.SDW0.FE = 0; cpu 208 src/dps8/dps8_append.c cpu.SDW0.USE = 0; cpu 209 src/dps8/dps8_append.c cpu.PTW0.FE = 0; cpu 210 src/dps8/dps8_append.c cpu.PTW0.USE = 0; cpu 217 src/dps8/dps8_append.c cpu.DSBR.ADDR = (Ypair[0] >> (35 - 23)) & PAMASK; cpu 220 src/dps8/dps8_append.c cpu.DSBR.BND = (Ypair[1] >> (71 - 50)) & 037777; cpu 223 src/dps8/dps8_append.c cpu.DSBR.U = (Ypair[1] >> (71 - 55)) & 01; cpu 226 src/dps8/dps8_append.c cpu.DSBR.STACK = (Ypair[1] >> (71 - 71)) & 07777; cpu 229 src/dps8/dps8_append.c cpu.DSBR.ADDR, cpu.DSBR.BND, cpu.DSBR.U, cpu.DSBR.STACK); cpu 241 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FDPT;)) cpu 243 src/dps8/dps8_append.c if (2 * segno >= 16 * (cpu.DSBR.BND + 1)) cpu 247 src/dps8/dps8_append.c PNL (cpu.acvFaults |= ACV15;) cpu 248 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 257 src/dps8/dps8_append.c PNL (cpu.lastPTWOffset = segno;) cpu 258 src/dps8/dps8_append.c PNL (cpu.lastPTWIsDS = true;) cpu 261 src/dps8/dps8_append.c core_read ((cpu.DSBR.ADDR + x1) & PAMASK, & PTWx1, __func__); cpu 263 src/dps8/dps8_append.c cpu.PTW0.ADDR = GETHI (PTWx1); cpu 264 src/dps8/dps8_append.c cpu.PTW0.U = TSTBIT (PTWx1, 9); cpu 265 src/dps8/dps8_append.c cpu.PTW0.M = TSTBIT (PTWx1, 6); cpu 266 src/dps8/dps8_append.c cpu.PTW0.DF = TSTBIT (PTWx1, 2); cpu 267 src/dps8/dps8_append.c cpu.PTW0.FC = PTWx1 & 3; cpu 269 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 274 src/dps8/dps8_append.c __func__, x1, cpu.DSBR.ADDR, PTWx1, cpu.PTW0.ADDR, cpu.PTW0.U, cpu 275 src/dps8/dps8_append.c cpu.PTW0.M, cpu.PTW0.DF, cpu.PTW0.FC); cpu 287 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_MDPT;)) cpu 301 src/dps8/dps8_append.c core_read_lock ((cpu.DSBR.ADDR + x1) & PAMASK, & PTWx1, __func__); cpu 303 src/dps8/dps8_append.c core_write_unlock ((cpu.DSBR.ADDR + x1) & PAMASK, PTWx1, __func__); cpu 305 src/dps8/dps8_append.c core_read ((cpu.DSBR.ADDR + x1) & PAMASK, & PTWx1, __func__); cpu 307 src/dps8/dps8_append.c core_write ((cpu.DSBR.ADDR + x1) & PAMASK, PTWx1, __func__); cpu 315 src/dps8/dps8_append.c cpu.PTW0.U = 1; cpu 316 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 341 src/dps8/dps8_append.c if ((! cpu.tweaks.enable_wam || ! cpu.cu.SD_ON)) { cpu 346 src/dps8/dps8_append.c if (cpu.tweaks.l68_mode) { // L68 cpu 350 src/dps8/dps8_append.c if (cpu.SDWAM[_n].FE && segno == cpu.SDWAM[_n].POINTER) { cpu 353 src/dps8/dps8_append.c cpu.cu.SDWAMM = 1; cpu 354 src/dps8/dps8_append.c cpu.SDWAMR = (word4) _n; cpu 355 src/dps8/dps8_append.c cpu.SDW = & cpu.SDWAM[_n]; cpu 364 src/dps8/dps8_append.c if (cpu.SDWAM[_h].USE > cpu.SDW->USE) cpu 365 src/dps8/dps8_append.c cpu.SDWAM[_h].USE -= 1; cpu 367 src/dps8/dps8_append.c cpu.SDW->USE = N_L68_WAM_ENTRIES - 1; cpu 372 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, _n, str_sdw (buf, cpu.SDW)); cpu 374 src/dps8/dps8_append.c return cpu.SDW; cpu 379 src/dps8/dps8_append.c if (! cpu.tweaks.l68_mode) { // DPS8M cpu 384 src/dps8/dps8_append.c p = & cpu.SDWAM[toffset + setno]; cpu 388 src/dps8/dps8_append.c cpu.cu.SDWAMM = 1; cpu 389 src/dps8/dps8_append.c cpu.SDWAMR = (word6) (toffset + setno); cpu 390 src/dps8/dps8_append.c cpu.SDW = p; // export pointer for appending cpu 394 src/dps8/dps8_append.c p = & cpu.SDWAM[toffset + setno]; cpu 402 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW)); cpu 404 src/dps8/dps8_append.c return cpu.SDW; cpu 411 src/dps8/dps8_append.c cpu.cu.SDWAMM = 0; cpu 425 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FSDP;)) cpu 432 src/dps8/dps8_append.c core_read2 (((((word24) cpu.PTW0.ADDR & 0777760) << 6) + y1) & PAMASK, cpu 436 src/dps8/dps8_append.c cpu.SDW0.ADDR = (SDWeven >> 12) & 077777777; cpu 437 src/dps8/dps8_append.c cpu.SDW0.R1 = (SDWeven >> 9) & 7; cpu 438 src/dps8/dps8_append.c cpu.SDW0.R2 = (SDWeven >> 6) & 7; cpu 439 src/dps8/dps8_append.c cpu.SDW0.R3 = (SDWeven >> 3) & 7; cpu 440 src/dps8/dps8_append.c cpu.SDW0.DF = TSTBIT (SDWeven, 2); cpu 441 src/dps8/dps8_append.c cpu.SDW0.FC = SDWeven & 3; cpu 444 src/dps8/dps8_append.c cpu.SDW0.BOUND = (SDWodd >> 21) & 037777; cpu 445 src/dps8/dps8_append.c cpu.SDW0.R = TSTBIT (SDWodd, 20); cpu 446 src/dps8/dps8_append.c cpu.SDW0.E = TSTBIT (SDWodd, 19); cpu 447 src/dps8/dps8_append.c cpu.SDW0.W = TSTBIT (SDWodd, 18); cpu 448 src/dps8/dps8_append.c cpu.SDW0.P = TSTBIT (SDWodd, 17); cpu 449 src/dps8/dps8_append.c cpu.SDW0.U = TSTBIT (SDWodd, 16); cpu 450 src/dps8/dps8_append.c cpu.SDW0.G = TSTBIT (SDWodd, 15); cpu 451 src/dps8/dps8_append.c cpu.SDW0.C = TSTBIT (SDWodd, 14); cpu 452 src/dps8/dps8_append.c cpu.SDW0.EB = SDWodd & 037777; cpu 455 src/dps8/dps8_append.c if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 461 src/dps8/dps8_append.c __func__, y1, cpu.PTW0.ADDR, SDWeven, SDWodd, cpu.SDW0.ADDR, cpu 462 src/dps8/dps8_append.c cpu.SDW0.R1, cpu.SDW0.R2, cpu.SDW0.R3, cpu.SDW0.BOUND, cpu 463 src/dps8/dps8_append.c cpu.SDW0.R, cpu.SDW0.E, cpu.SDW0.W, cpu.SDW0.P, cpu.SDW0.U, cpu 464 src/dps8/dps8_append.c cpu.SDW0.G, cpu.SDW0.C, cpu.SDW0.DF, cpu.SDW0.FC, cpu.SDW0.FE, cpu 465 src/dps8/dps8_append.c cpu.SDW0.USE); cpu 476 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FSDN;)) cpu 480 src/dps8/dps8_append.c if (2 * segno >= 16 * (cpu.DSBR.BND + 1)) cpu 484 src/dps8/dps8_append.c __func__, segno, cpu.DSBR.BND); cpu 486 src/dps8/dps8_append.c PNL (cpu.acvFaults |= ACV15;) cpu 487 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 492 src/dps8/dps8_append.c __func__, cpu.DSBR.ADDR + 2u * segno); cpu 495 src/dps8/dps8_append.c core_read2 ((cpu.DSBR.ADDR + 2u * segno) & PAMASK, cpu 499 src/dps8/dps8_append.c cpu.SDW0.ADDR = (SDWeven >> 12) & 077777777; cpu 500 src/dps8/dps8_append.c cpu.SDW0.R1 = (SDWeven >> 9) & 7; cpu 501 src/dps8/dps8_append.c cpu.SDW0.R2 = (SDWeven >> 6) & 7; cpu 502 src/dps8/dps8_append.c cpu.SDW0.R3 = (SDWeven >> 3) & 7; cpu 503 src/dps8/dps8_append.c cpu.SDW0.DF = TSTBIT (SDWeven, 2); cpu 504 src/dps8/dps8_append.c cpu.SDW0.FC = SDWeven & 3; cpu 507 src/dps8/dps8_append.c cpu.SDW0.BOUND = (SDWodd >> 21) & 037777; cpu 508 src/dps8/dps8_append.c cpu.SDW0.R = TSTBIT (SDWodd, 20); cpu 509 src/dps8/dps8_append.c cpu.SDW0.E = TSTBIT (SDWodd, 19); cpu 510 src/dps8/dps8_append.c cpu.SDW0.W = TSTBIT (SDWodd, 18); cpu 511 src/dps8/dps8_append.c cpu.SDW0.P = TSTBIT (SDWodd, 17); cpu 512 src/dps8/dps8_append.c cpu.SDW0.U = TSTBIT (SDWodd, 16); cpu 513 src/dps8/dps8_append.c cpu.SDW0.G = TSTBIT (SDWodd, 15); cpu 514 src/dps8/dps8_append.c cpu.SDW0.C = TSTBIT (SDWodd, 14); cpu 515 src/dps8/dps8_append.c cpu.SDW0.EB = SDWodd & 037777; cpu 518 src/dps8/dps8_append.c if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 524 src/dps8/dps8_append.c DBGAPP ("%s (2):SDW0=%s\n", __func__, str_SDW0 (buf, & cpu.SDW0)); cpu 555 src/dps8/dps8_append.c sdw_s *p = & cpu.SDWAM[_n]; cpu 591 src/dps8/dps8_append.c cpu.SDW0.POINTER = segno; cpu 592 src/dps8/dps8_append.c cpu.SDW0.USE = 0; cpu 594 src/dps8/dps8_append.c cpu.SDW0.FE = true; // in use by SDWAM cpu 596 src/dps8/dps8_append.c cpu.SDW = & cpu.SDW0; cpu 598 src/dps8/dps8_append.c if (nomatch || (! cpu.tweaks.enable_wam) || (! cpu.cu.SD_ON)) cpu 604 src/dps8/dps8_append.c if (cpu.tweaks.l68_mode) { // L68 cpu 613 src/dps8/dps8_append.c sdw_s * p = & cpu.SDWAM[_n]; cpu 617 src/dps8/dps8_append.c * p = cpu.SDW0; cpu 623 src/dps8/dps8_append.c sdw_s * q = & cpu.SDWAM[_h]; cpu 628 src/dps8/dps8_append.c cpu.SDW = p; cpu 646 src/dps8/dps8_append.c if (! cpu.tweaks.l68_mode) { // DPS8M cpu 651 src/dps8/dps8_append.c p = & cpu.SDWAM[toffset + setno]; cpu 657 src/dps8/dps8_append.c p = & cpu.SDWAM[toffset + setno]; cpu 662 src/dps8/dps8_append.c * p = cpu.SDW0; // load the SDW cpu 665 src/dps8/dps8_append.c cpu.SDW = p; // export pointer for appending cpu 668 src/dps8/dps8_append.c p = & cpu.SDWAM[toffset1 + setno]; cpu 676 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW)); cpu 683 src/dps8/dps8_append.c if ((! cpu.tweaks.enable_wam) || (! cpu.cu.PT_ON)) cpu 689 src/dps8/dps8_append.c if (cpu.tweaks.l68_mode) { // L68 cpu 693 src/dps8/dps8_append.c if (cpu.PTWAM[_n].FE && ((CA >> 6) & 07760) == cpu.PTWAM[_n].PAGENO && cpu 694 src/dps8/dps8_append.c cpu.PTWAM[_n].POINTER == segno) //_initialized cpu 698 src/dps8/dps8_append.c __func__, segno, cpu.PTWAM[_n].PAGENO, _n); cpu 699 src/dps8/dps8_append.c cpu.cu.PTWAMM = 1; cpu 700 src/dps8/dps8_append.c cpu.PTWAMR = (word4) _n; cpu 701 src/dps8/dps8_append.c cpu.PTW = & cpu.PTWAM[_n]; cpu 711 src/dps8/dps8_append.c if (cpu.PTWAM[_h].USE > cpu.PTW->USE) cpu 712 src/dps8/dps8_append.c cpu.PTWAM[_h].USE -= 1; //PTW->USE -= 1; cpu 714 src/dps8/dps8_append.c cpu.PTW->USE = N_L68_WAM_ENTRIES - 1; cpu 719 src/dps8/dps8_append.c __func__, cpu.PTW->ADDR, cpu.PTW->U, cpu.PTW->M, cpu 720 src/dps8/dps8_append.c cpu.PTW->DF, cpu.PTW->FC); cpu 721 src/dps8/dps8_append.c return cpu.PTW; cpu 732 src/dps8/dps8_append.c p = & cpu.PTWAM[toffset + setno]; cpu 739 src/dps8/dps8_append.c cpu.cu.PTWAMM = 1; cpu 740 src/dps8/dps8_append.c cpu.PTWAMR = (word6) (toffset + setno); cpu 741 src/dps8/dps8_append.c cpu.PTW = p; // export pointer for appending cpu 746 src/dps8/dps8_append.c p = & cpu.PTWAM[toffset + setno]; cpu 752 src/dps8/dps8_append.c __func__, cpu.PTW->ADDR, cpu.PTW->U, cpu.PTW->M, cpu 753 src/dps8/dps8_append.c cpu.PTW->DF, cpu.PTW->FC); cpu 754 src/dps8/dps8_append.c return cpu.PTW; cpu 758 src/dps8/dps8_append.c cpu.cu.PTWAMM = 0; cpu 767 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FPTW;)) cpu 777 src/dps8/dps8_append.c PNL (cpu.lastPTWOffset = offset;) cpu 778 src/dps8/dps8_append.c PNL (cpu.lastPTWIsDS = false;) cpu 791 src/dps8/dps8_append.c cpu.PTW0.ADDR = GETHI (PTWx2); cpu 792 src/dps8/dps8_append.c cpu.PTW0.U = TSTBIT (PTWx2, 9); cpu 793 src/dps8/dps8_append.c cpu.PTW0.M = TSTBIT (PTWx2, 6); cpu 794 src/dps8/dps8_append.c cpu.PTW0.DF = TSTBIT (PTWx2, 2); cpu 795 src/dps8/dps8_append.c cpu.PTW0.FC = PTWx2 & 3; cpu 799 src/dps8/dps8_append.c if (! cpu.PTW0.U) cpu 808 src/dps8/dps8_append.c cpu.PTW0.U = 1; cpu 816 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 821 src/dps8/dps8_append.c __func__, x2, sdw->ADDR, PTWx2, cpu.PTW0.ADDR, cpu.PTW0.U, cpu 822 src/dps8/dps8_append.c cpu.PTW0.M, cpu.PTW0.DF, cpu.PTW0.FC); cpu 827 src/dps8/dps8_append.c cpu.PTW0.PAGENO = (offset >> 6) & 07760; cpu 828 src/dps8/dps8_append.c cpu.PTW0.POINTER = segno; cpu 829 src/dps8/dps8_append.c cpu.PTW0.USE = 0; cpu 830 src/dps8/dps8_append.c cpu.PTW0.FE = true; cpu 832 src/dps8/dps8_append.c cpu.PTW = & cpu.PTW0; cpu 833 src/dps8/dps8_append.c if (nomatch || (! cpu.tweaks.enable_wam) || (! cpu.cu.PT_ON)) cpu 839 src/dps8/dps8_append.c if (cpu.tweaks.l68_mode) { // L68 cpu 848 src/dps8/dps8_append.c ptw_s * p = & cpu.PTWAM[_n]; cpu 852 src/dps8/dps8_append.c *p = cpu.PTW0; cpu 860 src/dps8/dps8_append.c ptw_s * q = & cpu.PTWAM[_h]; cpu 865 src/dps8/dps8_append.c cpu.PTW = p; cpu 868 src/dps8/dps8_append.c cpu.PTW->ADDR, cpu.PTW->U, cpu.PTW->M, cpu.PTW->DF, cpu 869 src/dps8/dps8_append.c cpu.PTW->FC, cpu.PTW->POINTER, cpu.PTW->PAGENO, cpu 870 src/dps8/dps8_append.c cpu.PTW->USE); cpu 888 src/dps8/dps8_append.c p = & cpu.PTWAM[toffset + setno]; cpu 895 src/dps8/dps8_append.c p = & cpu.PTWAM[toffset + setno]; cpu 902 src/dps8/dps8_append.c * p = cpu.PTW0; // load the PTW cpu 906 src/dps8/dps8_append.c cpu.PTW = p; // export pointer for appending cpu 910 src/dps8/dps8_append.c p = & cpu.PTWAM[toffset1 + setno]; cpu 917 src/dps8/dps8_append.c cpu.PTW->ADDR, cpu.PTW->U, cpu.PTW->M, cpu.PTW->DF, cpu 918 src/dps8/dps8_append.c cpu.PTW->FC, cpu.PTW->POINTER, cpu.PTW->PAGENO, cpu.PTW->USE); cpu 928 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_MPTW;)) cpu 954 src/dps8/dps8_append.c cpu.PTW->M = 1; cpu 955 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 961 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FPTW2;)) cpu 980 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 990 src/dps8/dps8_append.c if ((PTW2.ADDR & 0777760) == (cpu.PTW->ADDR & 0777760) + 16) cpu 1147 src/dps8/dps8_append.c DCDstruct * i = & cpu.currentInstruction; cpu 1151 src/dps8/dps8_append.c str_pct (cpu.apu.lastCycle)); cpu 1153 src/dps8/dps8_append.c cpu.TPR.CA); cpu 1157 src/dps8/dps8_append.c cpu.PPR.PRR, cpu.PPR.PSR); cpu 1159 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.TPR.TSR); cpu 1171 src/dps8/dps8_append.c if (cpu.tweaks.enable_wam) cpu 1183 src/dps8/dps8_append.c processor_cycle_type lastCycle = cpu.apu.lastCycle; cpu 1184 src/dps8/dps8_append.c cpu.apu.lastCycle = thisCycle; cpu 1186 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(Entry) XSF %o\n", cpu.cu.XSF); cpu 1188 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state = 0;)) cpu 1190 src/dps8/dps8_append.c cpu.RSDWH_R1 = 0; cpu 1192 src/dps8/dps8_append.c cpu.acvFaults = 0; cpu 1225 src/dps8/dps8_append.c ! (cpu.cu.XSF || cpu.currentInstruction.b29) /*get_went_appending()*/) cpu 1227 src/dps8/dps8_append.c cpu.TPR.TSR = 0; cpu 1229 src/dps8/dps8_append.c cpu.TPR.TSR, cpu.TPR.TRR); cpu 1247 src/dps8/dps8_append.c PNL (cpu.APUMemAddr = cpu.TPR.CA;) cpu 1252 src/dps8/dps8_append.c if (nomatch || ! fetch_sdw_from_sdwam (cpu.TPR.TSR)) cpu 1256 src/dps8/dps8_append.c cpu.TPR.TSR); cpu 1259 src/dps8/dps8_append.c cpu.DSBR.U); cpu 1261 src/dps8/dps8_append.c if (cpu.DSBR.U == 0) cpu 1263 src/dps8/dps8_append.c fetch_dsptw (cpu.TPR.TSR); cpu 1265 src/dps8/dps8_append.c if (! cpu.PTW0.DF) cpu 1266 src/dps8/dps8_append.c doFault (FAULT_DF0 + cpu.PTW0.FC, fst_zero, cpu 1269 src/dps8/dps8_append.c if (! cpu.PTW0.U) cpu 1270 src/dps8/dps8_append.c modify_dsptw (cpu.TPR.TSR); cpu 1272 src/dps8/dps8_append.c fetch_psdw (cpu.TPR.TSR); cpu 1275 src/dps8/dps8_append.c fetch_nsdw (cpu.TPR.TSR); // load SDW0 from descriptor segment table. cpu 1277 src/dps8/dps8_append.c if (cpu.SDW0.DF == 0) cpu 1284 src/dps8/dps8_append.c doFault (FAULT_DF0 + cpu.SDW0.FC, fst_zero, "SDW0.F == 0"); cpu 1288 src/dps8/dps8_append.c load_sdwam (cpu.TPR.TSR, nomatch); cpu 1291 src/dps8/dps8_append.c cpu.SDW->R1, cpu.SDW->R2, cpu.SDW->R3, cpu.SDW->E); cpu 1294 src/dps8/dps8_append.c cpu.RSDWH_R1 = cpu.SDW->R1; cpu 1311 src/dps8/dps8_append.c if (! (cpu.SDW->R1 <= cpu.SDW->R2 && cpu.SDW->R2 <= cpu.SDW->R3)) cpu 1314 src/dps8/dps8_append.c cpu.acvFaults |= ACV0; cpu 1315 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1384 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.SDW->R2) cpu 1389 src/dps8/dps8_append.c cpu.acvFaults |= ACV3; cpu 1390 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1394 src/dps8/dps8_append.c if (cpu.SDW->R == 0) cpu 1397 src/dps8/dps8_append.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 1400 src/dps8/dps8_append.c if (cpu.PPR.PSR != cpu.TPR.TSR) cpu 1405 src/dps8/dps8_append.c cpu.acvFaults |= ACV4; cpu 1406 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1430 src/dps8/dps8_append.c if (cpu.TPR.TSR == cpu.PPR.PSR) cpu 1431 src/dps8/dps8_append.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 1434 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.SDW->R1) cpu 1437 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.SDW->R1); cpu 1439 src/dps8/dps8_append.c cpu.acvFaults |= ACV5; cpu 1440 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1444 src/dps8/dps8_append.c if (! cpu.SDW->W) cpu 1447 src/dps8/dps8_append.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 1451 src/dps8/dps8_append.c cpu.acvFaults |= ACV6; cpu 1452 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1476 src/dps8/dps8_append.c if (cpu.TPR.TRR < cpu.SDW->R1 || cpu 1477 src/dps8/dps8_append.c cpu.TPR.TRR > cpu.SDW->R2) cpu 1481 src/dps8/dps8_append.c cpu.SDW->R1, cpu.TPR.TRR, cpu.SDW->R2); cpu 1483 src/dps8/dps8_append.c cpu.acvFaults |= ACV1; cpu 1484 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1488 src/dps8/dps8_append.c if (! cpu.SDW->E) cpu 1493 src/dps8/dps8_append.c cpu.acvFaults |= ACV2; cpu 1494 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1497 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.PPR.PRR) cpu 1499 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.PPR.PRR); cpu 1501 src/dps8/dps8_append.c if (cpu.TPR.TRR < cpu.PPR.PRR) cpu 1506 src/dps8/dps8_append.c cpu.acvFaults |= ACV11; cpu 1507 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1518 src/dps8/dps8_append.c if (cpu.rRALR == 0) cpu 1522 src/dps8/dps8_append.c if (! (cpu.PPR.PRR < cpu.rRALR)) cpu 1526 src/dps8/dps8_append.c cpu.PPR.PRR, cpu.rRALR); cpu 1527 src/dps8/dps8_append.c cpu.acvFaults |= ACV13; cpu 1528 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1550 src/dps8/dps8_append.c cpu.SDW->E, cpu.SDW->G, cpu.PPR.PSR, cpu.TPR.TSR, cpu.TPR.CA, cpu 1551 src/dps8/dps8_append.c cpu.SDW->EB, cpu.SDW->R1, cpu.SDW->R2, cpu.SDW->R3, cpu 1552 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.PPR.PRR); cpu 1555 src/dps8/dps8_append.c if (! cpu.SDW->E) cpu 1560 src/dps8/dps8_append.c cpu.acvFaults |= ACV2; cpu 1561 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1566 src/dps8/dps8_append.c if (cpu.SDW->G) cpu 1570 src/dps8/dps8_append.c if (cpu.PPR.PSR == cpu.TPR.TSR && ! TST_I_ABS) cpu 1576 src/dps8/dps8_append.c if (cpu.TPR.CA >= (word18) cpu.SDW->EB) cpu 1581 src/dps8/dps8_append.c cpu.acvFaults |= ACV7; cpu 1582 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1590 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.SDW->R3) cpu 1595 src/dps8/dps8_append.c cpu.acvFaults |= ACV8; cpu 1596 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1601 src/dps8/dps8_append.c if (cpu.TPR.TRR < cpu.SDW->R1) cpu 1606 src/dps8/dps8_append.c cpu.acvFaults |= ACV9; cpu 1607 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1612 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.PPR.PRR) cpu 1615 src/dps8/dps8_append.c if (cpu.PPR.PRR < cpu.SDW->R2) cpu 1620 src/dps8/dps8_append.c cpu.acvFaults |= ACV10; cpu 1621 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1628 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.SDW->R2); cpu 1631 src/dps8/dps8_append.c if (cpu.TPR.TRR > cpu.SDW->R2) cpu 1634 src/dps8/dps8_append.c cpu.TPR.TRR = cpu.SDW->R2; cpu 1637 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(E1): CALL6 TPR.TRR %o\n", cpu.TPR.TRR); cpu 1648 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_PIAU;)) cpu 1657 src/dps8/dps8_append.c if (cpu.TPR.TRR < cpu.SDW->R1 || cpu 1658 src/dps8/dps8_append.c cpu.TPR.TRR > cpu.SDW->R2) cpu 1662 src/dps8/dps8_append.c cpu.SDW->R1, cpu.TPR.TRR, cpu.SDW->R2); cpu 1663 src/dps8/dps8_append.c cpu.acvFaults |= ACV1; cpu 1664 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1668 src/dps8/dps8_append.c if (! cpu.SDW->E) cpu 1672 src/dps8/dps8_append.c cpu.acvFaults |= ACV2; cpu 1673 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1678 src/dps8/dps8_append.c if (cpu.PPR.PRR != cpu.TPR.TRR) cpu 1683 src/dps8/dps8_append.c cpu.acvFaults |= ACV12; cpu 1684 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1701 src/dps8/dps8_append.c if (((cpu.TPR.CA >> 4) & 037777) > cpu.SDW->BOUND) cpu 1705 src/dps8/dps8_append.c cpu.acvFaults |= ACV15; cpu 1706 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1710 src/dps8/dps8_append.c cpu.TPR.CA, ((cpu.TPR.CA >> 4) & 037777), cpu.SDW->BOUND); cpu 1713 src/dps8/dps8_append.c if (cpu.acvFaults) cpu 1716 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FLT;)) cpu 1718 src/dps8/dps8_append.c doFault (FAULT_ACV, (_fault_subtype) {.fault_acv_subtype=cpu.acvFaults}, cpu 1723 src/dps8/dps8_append.c if (cpu.SDW->U) cpu 1729 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(G) CA %06o\n", cpu.TPR.CA); cpu 1731 src/dps8/dps8_append.c ! fetch_ptw_from_ptwam (cpu.SDW->POINTER, cpu.TPR.CA)) //TPR.CA)) cpu 1733 src/dps8/dps8_append.c fetch_ptw (cpu.SDW, cpu.TPR.CA); cpu 1734 src/dps8/dps8_append.c if (! cpu.PTW0.DF) cpu 1739 src/dps8/dps8_append.c doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, cpu 1743 src/dps8/dps8_append.c loadPTWAM (cpu.SDW->POINTER, cpu.TPR.CA, nomatch); // load PTW0 to PTWAM cpu 1754 src/dps8/dps8_append.c do_ptw2 (cpu.SDW, cpu.TPR.CA); cpu 1767 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FANP;)) cpu 1780 src/dps8/dps8_append.c cpu.SDW->ADDR, cpu.TPR.CA); cpu 1784 src/dps8/dps8_append.c ! (cpu.cu.XSF || cpu.currentInstruction.b29) /*get_went_appending ()*/) cpu 1786 src/dps8/dps8_append.c finalAddress = cpu.TPR.CA; cpu 1790 src/dps8/dps8_append.c finalAddress = (cpu.SDW->ADDR & 077777760) + cpu.TPR.CA; cpu 1793 src/dps8/dps8_append.c PNL (cpu.APUMemAddr = finalAddress;) cpu 1796 src/dps8/dps8_append.c cpu.TPR.TSR, cpu.TPR.CA, finalAddress); cpu 1810 src/dps8/dps8_append.c thisCycle == APU_DATA_RMW) && cpu.PTW->M == 0) // is this the right way to do this? cpu 1812 src/dps8/dps8_append.c if (StrOp && cpu.PTW->M == 0) // is this the right way to do this? cpu 1815 src/dps8/dps8_append.c modify_ptw (cpu.SDW, cpu.TPR.CA); cpu 1820 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FAP;)) cpu 1822 src/dps8/dps8_append.c word24 y2 = cpu.TPR.CA % 1024; cpu 1826 src/dps8/dps8_append.c finalAddress = (((word24)cpu.PTW->ADDR & 0777760) << 6) + y2; cpu 1828 src/dps8/dps8_append.c PNL (cpu.APUMemAddr = finalAddress;) cpu 1830 src/dps8/dps8_append.c L68_ (if (cpu.MR_cache.emr && cpu.MR_cache.ihr) cpu 1833 src/dps8/dps8_append.c cpu.TPR.TSR, cpu.TPR.CA, finalAddress); cpu 1845 src/dps8/dps8_append.c cpu.cu.XSF = 1; cpu 1849 src/dps8/dps8_append.c if (thisCycle == OPERAND_STORE && cpu.useZone) cpu 1912 src/dps8/dps8_append.c (cpu.TPR.CA & 1) == 0) cpu 1980 src/dps8/dps8_append.c cpu.TPR.TSR = GET_ITS_SEGNO (data); cpu 1985 src/dps8/dps8_append.c cpu.PPR.PRR = cpu.TPR.TRR = max3 (y, cpu.TPR.TRR, cpu.RSDWH_R1); cpu 1989 src/dps8/dps8_append.c cpu.TPR.CA = GET_ITS_WORDNO (data); cpu 2014 src/dps8/dps8_append.c cpu.PR[n].RNR = cpu.PPR.PRR; cpu 2018 src/dps8/dps8_append.c cpu.PR[n].SNR = cpu.PPR.PSR; cpu 2019 src/dps8/dps8_append.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; cpu 2041 src/dps8/dps8_append.c cpu.PR[0].RNR = cpu 2042 src/dps8/dps8_append.c cpu.PR[1].RNR = cpu 2043 src/dps8/dps8_append.c cpu.PR[2].RNR = cpu 2044 src/dps8/dps8_append.c cpu.PR[3].RNR = cpu 2045 src/dps8/dps8_append.c cpu.PR[4].RNR = cpu 2046 src/dps8/dps8_append.c cpu.PR[5].RNR = cpu 2047 src/dps8/dps8_append.c cpu.PR[6].RNR = cpu 2048 src/dps8/dps8_append.c cpu.PR[7].RNR = cpu.TPR.TRR; cpu 2066 src/dps8/dps8_append.c cpu.PPR.PSR = cpu.TPR.TSR; cpu 2068 src/dps8/dps8_append.c cpu.PPR.IC = cpu.TPR.CA; cpu 2076 src/dps8/dps8_append.c if (cpu.TPR.TRR == 0) cpu 2079 src/dps8/dps8_append.c cpu.PPR.P = cpu.SDW->P; cpu 2084 src/dps8/dps8_append.c cpu.PPR.P = 0; cpu 2093 src/dps8/dps8_append.c if (cpu.TPR.TRR == cpu.PPR.PRR) cpu 2096 src/dps8/dps8_append.c cpu.PR[7].SNR = cpu.PR[6].SNR; cpu 2097 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(N) PR7.SNR = PR6.SNR %05o\n", cpu.PR[7].SNR); cpu 2102 src/dps8/dps8_append.c cpu.PR[7].SNR = ((word15) (cpu.DSBR.STACK << 3)) | cpu.TPR.TRR; cpu 2104 src/dps8/dps8_append.c cpu.DSBR.STACK, cpu.TPR.TRR); cpu 2105 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(N) PR7.SNR = STACK||TRR %05o\n", cpu.PR[7].SNR); cpu 2109 src/dps8/dps8_append.c cpu.PR[7].RNR = cpu.TPR.TRR; cpu 2111 src/dps8/dps8_append.c cpu.PR[7].WORDNO = 0; cpu 2118 src/dps8/dps8_append.c cpu.PPR.PRR = cpu.TPR.TRR; cpu 2120 src/dps8/dps8_append.c cpu.PPR.PSR = cpu.TPR.TSR; cpu 2122 src/dps8/dps8_append.c cpu.PPR.IC = cpu.TPR.CA; cpu 2136 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.RSDWH_R1, its_RNR); cpu 2140 src/dps8/dps8_append.c cpu.TPR.TRR = max3 (its_RNR, cpu.TPR.TRR, cpu.RSDWH_R1); cpu 2141 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(O) Set TRR to %o\n", cpu.TPR.TRR); cpu 2151 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.RSDWH_R1, cpu.PR[n].RNR); cpu 2155 src/dps8/dps8_append.c cpu.TPR.TRR = max3 (cpu.PR[n].RNR, cpu.TPR.TRR, cpu.RSDWH_R1); cpu 2156 src/dps8/dps8_append.c DBGAPP ("do_append_cycle(P) Set TRR to %o\n", cpu.TPR.TRR); cpu 2162 src/dps8/dps8_append.c PNL (cpu.APUDataBusOffset = cpu.TPR.CA;) cpu 2163 src/dps8/dps8_append.c PNL (cpu.APUDataBusAddr = finalAddress;) cpu 2165 src/dps8/dps8_append.c PNL (L68_ (cpu.apu.state |= apu_FA;)) cpu 2168 src/dps8/dps8_append.c cpu.PPR.PRR, cpu.PPR.PSR, cpu.PPR.P, cpu.PPR.IC); cpu 2170 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.TPR.TSR, cpu.TPR.TBR, cpu.TPR.CA); cpu 2187 src/dps8/dps8_append.c if (2u * segno >= 16u * (cpu.DSBR.BND + 1u)) cpu 2194 src/dps8/dps8_append.c if (cpu.DSBR.U == 0) cpu 2202 src/dps8/dps8_append.c core_read ((cpu.DSBR.ADDR + x1) & PAMASK, & PTWx1, __func__); cpu 2251 src/dps8/dps8_append.c core_read2 ((cpu.DSBR.ADDR + 2 * segno) & PAMASK, cpu 121 src/dps8/dps8_append.h word12 FCT = cpu.cu.APUCycleBits & MASK3; cpu 122 src/dps8/dps8_append.h cpu.cu.APUCycleBits = (status & 07770) | FCT; cpu 142 src/dps8/dps8_append.h cpu.apu.lastCycle = thisCycle; cpu 69 src/dps8/dps8_cpu.c #define DBG_CTR cpu.cycleCnt cpu 862 src/dps8/dps8_cpu.c cpu.cycle = cycle; cpu 897 src/dps8/dps8_cpu.c cpu.rA = 0; cpu 898 src/dps8/dps8_cpu.c cpu.rQ = 0; cpu 900 src/dps8/dps8_cpu.c cpu.PPR.IC = 0; cpu 901 src/dps8/dps8_cpu.c cpu.PPR.PRR = 0; cpu 902 src/dps8/dps8_cpu.c cpu.PPR.PSR = 0; cpu 903 src/dps8/dps8_cpu.c cpu.PPR.P = 1; cpu 904 src/dps8/dps8_cpu.c cpu.RSDWH_R1 = 0; cpu 905 src/dps8/dps8_cpu.c cpu.rTR = MASK27; cpu 909 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) cpu 911 src/dps8/dps8_cpu.c cpu.shadowTR = 0; cpu 912 src/dps8/dps8_cpu.c cpu.rTRlsb = 0; cpu 914 src/dps8/dps8_cpu.c cpu.rTRticks = 0; cpu 919 src/dps8/dps8_cpu.c cpu.CMR.luf = 3; // default of 16 mS cpu 920 src/dps8/dps8_cpu.c cpu.cu.SD_ON = cpu.switches.sdwam_enable ? 1 : 0; cpu 921 src/dps8/dps8_cpu.c cpu.cu.PT_ON = cpu.switches.ptwam_enable ? 1 : 0; cpu 923 src/dps8/dps8_cpu.c if (cpu.tweaks.nodis) { cpu 927 src/dps8/dps8_cpu.c cpu.cu.IWB = 0000000616000; //-V536 // Stuff DIS instruction in instruction buffer cpu 932 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 933 src/dps8/dps8_cpu.c cpu.wasInhibited = false; cpu 935 src/dps8/dps8_cpu.c cpu.interrupt_flag = false; cpu 936 src/dps8/dps8_cpu.c cpu.g7_flag = false; cpu 938 src/dps8/dps8_cpu.c cpu.faultRegister [0] = 0; cpu 939 src/dps8/dps8_cpu.c cpu.faultRegister [1] = 0; cpu 942 src/dps8/dps8_cpu.c cpu.apu.lastCycle = UNKNOWN_CYCLE; cpu 945 src/dps8/dps8_cpu.c memset (& cpu.PPR, 0, sizeof (struct ppr_s)); cpu 1251 src/dps8/dps8_cpu.c cpu.sc_addr_map [pg] = -1; cpu 1252 src/dps8/dps8_cpu.c cpu.sc_scu_map [pg] = -1; cpu 1255 src/dps8/dps8_cpu.c cpu.sc_num_banks[u] = 0; cpu 1258 src/dps8/dps8_cpu.c for (int port_num = 0; port_num < (cpu.tweaks.l68_mode ? N_L68_CPU_PORTS : N_DPS8M_CPU_PORTS); port_num ++) cpu 1261 src/dps8/dps8_cpu.c if (! cpu.switches.enable [port_num]) cpu 1273 src/dps8/dps8_cpu.c uint store_size = cpu.switches.store_size [port_num]; cpu 1296 src/dps8/dps8_cpu.c cpu.tweaks.l68_mode ? cpu 1297 src/dps8/dps8_cpu.c cpu.tweaks.isolts_mode ? cpu 1303 src/dps8/dps8_cpu.c uint base_addr_wds = sz_wds * cpu.switches.assignment[port_num]; cpu 1307 src/dps8/dps8_cpu.c cpu.sc_num_banks[port_num] = num_banks; cpu 1319 src/dps8/dps8_cpu.c if (cpu.sc_addr_map [addr_bks] != -1) cpu 1323 src/dps8/dps8_cpu.c addr_bks, addr_bks, cpu.sc_addr_map [addr_bks], port_num); cpu 1328 src/dps8/dps8_cpu.c cpu.sc_addr_map[addr_bks] = (int)((int)port_num * (int)ZONE_SZ + (int)pg * (int)SCBANK_SZ); cpu 1329 src/dps8/dps8_cpu.c cpu.sc_scu_map[addr_bks] = port_num; cpu 1351 src/dps8/dps8_cpu.c return cpu.sc_scu_map[scpg]; cpu 1375 src/dps8/dps8_cpu.c if (sscanf (buffer, "sn: %u", & cpu.switches.serno) == 1) cpu 1379 src/dps8/dps8_cpu.c sim_msg ("%s CPU serial number: %u\n", sim_name, cpu.switches.serno); cpu 1461 src/dps8/dps8_cpu.c cpu.instrCntT0 = cpu.instrCntT1; cpu 1462 src/dps8/dps8_cpu.c cpu.instrCntT1 = cpu.instrCnt; cpu 1527 src/dps8/dps8_cpu.c cpu.instrCnt = 0; cpu 1528 src/dps8/dps8_cpu.c cpu.cycleCnt = 0; cpu 1530 src/dps8/dps8_cpu.c cpu.faultCnt [i] = 0; cpu 1690 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) cpu 1702 src/dps8/dps8_cpu.c cpu.lufCounter = 0; cpu 1705 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) cpu 1720 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode == 0) cpu 1740 src/dps8/dps8_cpu.c sim_brk_test ((cpu.PPR.IC & 0777777) | cpu 1741 src/dps8/dps8_cpu.c ((((t_addr) cpu.PPR.PSR) & 037777) << 18), cpu 1745 src/dps8/dps8_cpu.c if (sim_deb_break && cpu.cycleCnt >= sim_deb_break) cpu 1757 src/dps8/dps8_cpu.c if (cpu.panelInitialize && cpu.DATA_panel_s_trig_sw == 0) cpu 1760 src/dps8/dps8_cpu.c while (cpu.panelInitialize) cpu 1762 src/dps8/dps8_cpu.c if (cpu.DATA_panel_init_sw) cpu 1770 src/dps8/dps8_cpu.c if (cpu.DATA_panel_s_trig_sw == 0 && cpu 1771 src/dps8/dps8_cpu.c cpu.DATA_panel_execute_sw && // EXECUTE button cpu 1772 src/dps8/dps8_cpu.c cpu.DATA_panel_scope_sw && // 'EXECUTE PB/SCOPE REPEAT' set to PB cpu 1773 src/dps8/dps8_cpu.c cpu.DATA_panel_exec_sw == 0) // 'EXECUTE SWITCH/EXECUTE FAULT' cpu 1777 src/dps8/dps8_cpu.c while (cpu.DATA_panel_execute_sw) cpu 1780 src/dps8/dps8_cpu.c if (cpu.DATA_panel_exec_sw) // EXECUTE SWITCH cpu 1783 src/dps8/dps8_cpu.c cpu.cu.IWB = cpu.switches.data_switches; cpu 2020 src/dps8/dps8_cpu.c cpu.lufCounter = 0; cpu 2021 src/dps8/dps8_cpu.c cpu.lufOccurred = false; cpu 2040 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) cpu 2041 src/dps8/dps8_cpu.c cpu.shadowTR = (word27) cpu.TR0 - (1024u << (is_priv_mode () ? 4 : cpu.CMR.luf)); cpu 2074 src/dps8/dps8_cpu.c cpu.secret_addressing_mode = true; cpu 2075 src/dps8/dps8_cpu.c cpu.cu.XSF = false; cpu 2083 src/dps8/dps8_cpu.c cpu.secret_addressing_mode = false; cpu 2084 src/dps8/dps8_cpu.c return cpu.cu.XSF; cpu 2105 src/dps8/dps8_cpu.c cpu.isRunning = true; cpu 2114 src/dps8/dps8_cpu.c if (cpu.isRunning) cpu 2123 src/dps8/dps8_cpu.c if (! cpu . isRunning) cpu 2129 src/dps8/dps8_cpu.c int val = setjmp (cpu.jmpMain); cpu 2151 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2165 src/dps8/dps8_cpu.c DCDstruct * ci = & cpu.currentInstruction; cpu 2167 src/dps8/dps8_cpu.c if (cpu.restart) cpu 2209 src/dps8/dps8_cpu.c cpu.cycleCnt ++; cpu 2231 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) cpu 2233 src/dps8/dps8_cpu.c if (cpu.cycle != FETCH_cycle) cpu 2236 src/dps8/dps8_cpu.c cpu.rTRlsb ++; cpu 2237 src/dps8/dps8_cpu.c if (cpu.rTRlsb >= 4) cpu 2239 src/dps8/dps8_cpu.c cpu.rTRlsb = 0; cpu 2240 src/dps8/dps8_cpu.c cpu.shadowTR = (cpu.shadowTR - 1) & MASK27; cpu 2241 src/dps8/dps8_cpu.c if (cpu.shadowTR == 0) // passing through 0... cpu 2243 src/dps8/dps8_cpu.c if (cpu.tweaks.tro_enable) cpu 2259 src/dps8/dps8_cpu.c cpu 2261 src/dps8/dps8_cpu.c cpu 2267 src/dps8/dps8_cpu.c cpu.rTR = (word27) (((word27s) cpu.rTR) - (word27s) (cpu.rTRticks / TR_RATE)); cpu 2268 src/dps8/dps8_cpu.c cpu.rTRticks %= TR_RATE; cpu 2272 src/dps8/dps8_cpu.c if (cpu.rTR & ~MASK27) cpu 2274 src/dps8/dps8_cpu.c cpu.rTR &= MASK27; cpu 2275 src/dps8/dps8_cpu.c if (cpu.tweaks.tro_enable) { cpu 2281 src/dps8/dps8_cpu.c cycle_str (cpu.cycle)); cpu 2283 src/dps8/dps8_cpu.c switch (cpu.cycle) cpu 2303 src/dps8/dps8_cpu.c cpu.cu.FI_ADDR = (word5) (intr_pair_addr / 2); cpu 2313 src/dps8/dps8_cpu.c cpu.PPR.PRR = 0; cpu 2314 src/dps8/dps8_cpu.c cpu.TPR.TRR = 0; cpu 2317 src/dps8/dps8_cpu.c intr_pair_addr, cpu.interrupt_flag); cpu 2323 src/dps8/dps8_cpu.c if (cpu.interrupt_flag) cpu 2339 src/dps8/dps8_cpu.c & cpu.cu.IWB, & cpu.cu.IRODD, __func__); cpu 2341 src/dps8/dps8_cpu.c HDBGMRead (intr_pair_addr, cpu.cu.IWB, "intr even"); cpu 2342 src/dps8/dps8_cpu.c HDBGMRead (intr_pair_addr + 1, cpu.cu.IRODD, "intr odd"); cpu 2344 src/dps8/dps8_cpu.c cpu.cu.xde = 1; cpu 2345 src/dps8/dps8_cpu.c cpu.cu.xdo = 1; cpu 2346 src/dps8/dps8_cpu.c cpu.isExec = true; cpu 2347 src/dps8/dps8_cpu.c cpu.isXED = true; cpu 2350 src/dps8/dps8_cpu.c cpu.interrupt_flag = false; cpu 2359 src/dps8/dps8_cpu.c cpu.interrupt_flag = false; cpu 2365 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2374 src/dps8/dps8_cpu.c memset (cpu.cpt, 0, sizeof (cpu.cpt)); cpu 2378 src/dps8/dps8_cpu.c PNL (L68_ (cpu.INS_FETCH = false;)) cpu 2416 src/dps8/dps8_cpu.c get_BAR_address (cpu.PPR.IC); cpu 2422 src/dps8/dps8_cpu.c bool is_dis = cpu.currentInstruction.opcode == 0616 && cpu 2423 src/dps8/dps8_cpu.c cpu.currentInstruction.opcodeX == 0; cpu 2425 src/dps8/dps8_cpu.c !(is_dis && GET_I (cpu.cu.IWB) == 0); cpu 2431 src/dps8/dps8_cpu.c cpu.interrupt_flag = sample_interrupts (); cpu 2432 src/dps8/dps8_cpu.c cpu.g7_flag = cpu 2435 src/dps8/dps8_cpu.c else if (! (cpu.cu.xde | cpu.cu.xdo | cpu 2436 src/dps8/dps8_cpu.c cpu.cu.rpt | cpu.cu.rd | cpu.cu.rl)) cpu 2438 src/dps8/dps8_cpu.c if ((!cpu.wasInhibited) && cpu 2439 src/dps8/dps8_cpu.c (cpu.PPR.IC & 1) == 0 && cpu 2440 src/dps8/dps8_cpu.c (! cpu.wasXfer)) cpu 2443 src/dps8/dps8_cpu.c cpu.interrupt_flag = sample_interrupts (); cpu 2444 src/dps8/dps8_cpu.c cpu.g7_flag = cpu 2447 src/dps8/dps8_cpu.c cpu.wasInhibited = false; cpu 2456 src/dps8/dps8_cpu.c if ((cpu.PPR.IC & 1) == 1) cpu 2458 src/dps8/dps8_cpu.c cpu.wasInhibited = true; cpu 2493 src/dps8/dps8_cpu.c cpu 2494 src/dps8/dps8_cpu.c cpu 2496 src/dps8/dps8_cpu.c if (cpu.g7_flag) cpu 2498 src/dps8/dps8_cpu.c cpu.g7_flag = false; cpu 2499 src/dps8/dps8_cpu.c cpu.interrupt_flag = false; cpu 2504 src/dps8/dps8_cpu.c if (cpu.interrupt_flag) cpu 2526 src/dps8/dps8_cpu.c cpu.lufCounter ++; cpu 2528 src/dps8/dps8_cpu.c if (cpu.lufCounter > luf_limits[cpu.CMR.luf]) cpu 2533 src/dps8/dps8_cpu.c cpu.lufOccurred = true; cpu 2542 src/dps8/dps8_cpu.c if (cpu.lufCounter > luf_limits[4]) cpu 2549 src/dps8/dps8_cpu.c if (! tmp_priv_mode && cpu.lufOccurred) cpu 2554 src/dps8/dps8_cpu.c cpu 2556 src/dps8/dps8_cpu.c cpu 2559 src/dps8/dps8_cpu.c cpu 2579 src/dps8/dps8_cpu.c cpu 2580 src/dps8/dps8_cpu.c cpu 2585 src/dps8/dps8_cpu.c if (cpu.cycle == PSEUDO_FETCH_cycle) cpu 2587 src/dps8/dps8_cpu.c cpu.apu.lastCycle = INSTRUCTION_FETCH; cpu 2588 src/dps8/dps8_cpu.c cpu.cu.XSF = 0; cpu 2589 src/dps8/dps8_cpu.c cpu.cu.TSN_VALID [0] = 0; cpu 2590 src/dps8/dps8_cpu.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 2591 src/dps8/dps8_cpu.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 2592 src/dps8/dps8_cpu.c cpu.wasInhibited = false; cpu 2597 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2598 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 2602 src/dps8/dps8_cpu.c cpu.cu.XSF = 0; cpu 2604 src/dps8/dps8_cpu.c cpu.cu.TSN_VALID [0] = 0; cpu 2605 src/dps8/dps8_cpu.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 2606 src/dps8/dps8_cpu.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 2607 src/dps8/dps8_cpu.c PNL (cpu.prepare_state = ps_PIA); cpu 2608 src/dps8/dps8_cpu.c PNL (L68_ (cpu.INS_FETCH = true;)) cpu 2609 src/dps8/dps8_cpu.c fetchInstruction (cpu.PPR.IC); cpu 2627 src/dps8/dps8_cpu.c if (stall_points[i].segno && stall_points[i].segno == cpu.PPR.PSR && cpu 2628 src/dps8/dps8_cpu.c stall_points[i].offset && stall_points[i].offset == cpu.PPR.IC) cpu 2643 src/dps8/dps8_cpu.c if (GET_I (cpu.cu.IWB)) cpu 2644 src/dps8/dps8_cpu.c cpu.wasInhibited = true; cpu 2648 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 2652 src/dps8/dps8_cpu.c if (cpu.tweaks.l68_mode) cpu 2666 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2667 src/dps8/dps8_cpu.c cpu.isExec = true; cpu 2668 src/dps8/dps8_cpu.c if (cpu.cu.xdo) cpu 2669 src/dps8/dps8_cpu.c cpu.isXED = true; cpu 2671 src/dps8/dps8_cpu.c cpu.cu.XSF = 0; cpu 2672 src/dps8/dps8_cpu.c cpu.cu.TSN_VALID [0] = 0; cpu 2673 src/dps8/dps8_cpu.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 2674 src/dps8/dps8_cpu.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 2681 src/dps8/dps8_cpu.c cpu.cu.xde = cpu.cu.xdo = 0; cpu 2682 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2683 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 2685 src/dps8/dps8_cpu.c cpu.wasXfer = true; cpu 2687 src/dps8/dps8_cpu.c if (cpu.cycle != EXEC_cycle) // fault or interrupt cpu 2696 src/dps8/dps8_cpu.c if (! (cpu.currentInstruction.opcode == 0715 && cpu 2697 src/dps8/dps8_cpu.c cpu.currentInstruction.opcodeX == 0)) cpu 2721 src/dps8/dps8_cpu.c if (TST_I_ABS && cpu.cu.XSF) cpu 2729 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2803 src/dps8/dps8_cpu.c if (cpu.rTR <= ticks) cpu 2805 src/dps8/dps8_cpu.c if (cpu.tweaks.tro_enable) { cpu 2808 src/dps8/dps8_cpu.c cpu.rTR = (cpu.rTR - ticks) & MASK27; cpu 2811 src/dps8/dps8_cpu.c cpu.rTR = (cpu.rTR - ticks) & MASK27; cpu 2813 src/dps8/dps8_cpu.c if (cpu.rTR == 0) cpu 2814 src/dps8/dps8_cpu.c cpu.rTR = MASK27; cpu 2818 src/dps8/dps8_cpu.c unsigned long left = (unsigned long) ((uint64) (cpu.rTR) * 125u / 64u); cpu 2831 src/dps8/dps8_cpu.c cpu.rTR = (word27) (left * 64 / 125); cpu 2837 src/dps8/dps8_cpu.c if (cpu.tweaks.tro_enable) cpu 2843 src/dps8/dps8_cpu.c cpu.rTR = MASK27; cpu 2846 src/dps8/dps8_cpu.c cpu.rTRticks = 0; cpu 2870 src/dps8/dps8_cpu.c cpu.rTRticks = 0; cpu 2877 src/dps8/dps8_cpu.c if (cpu.rTR <= sys_opts.sys_poll_interval * 512) cpu 2879 src/dps8/dps8_cpu.c if (cpu.tweaks.tro_enable) { cpu 2883 src/dps8/dps8_cpu.c cpu.rTR = (cpu.rTR - sys_opts.sys_poll_interval * 512) & MASK27; cpu 2886 src/dps8/dps8_cpu.c cpu.rTR = (cpu.rTR - sys_opts.sys_poll_interval * 512) & MASK27; cpu 2887 src/dps8/dps8_cpu.c if (cpu.rTR == 0) cpu 2888 src/dps8/dps8_cpu.c cpu.rTR = MASK27; cpu 2895 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2903 src/dps8/dps8_cpu.c if ((! cpu.cu.repeat_first) && cpu 2904 src/dps8/dps8_cpu.c (cpu.cu.rpt || cpu 2905 src/dps8/dps8_cpu.c (cpu.cu.rd && (cpu.PPR.IC & 1)) || cpu 2906 src/dps8/dps8_cpu.c cpu.cu.rl)) cpu 2909 src/dps8/dps8_cpu.c if (cpu.cu.rd) cpu 2910 src/dps8/dps8_cpu.c -- cpu.PPR.IC; cpu 2911 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2917 src/dps8/dps8_cpu.c if (cpu.cycle == FAULT_EXEC_cycle && cpu 2918 src/dps8/dps8_cpu.c !cpu.cu.xde && cpu.cu.xdo) cpu 2927 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2928 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2929 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 2931 src/dps8/dps8_cpu.c cpu.PPR.IC += ci->info->ndes; cpu 2932 src/dps8/dps8_cpu.c cpu.PPR.IC ++; cpu 2939 src/dps8/dps8_cpu.c if (cpu.cycle == INTERRUPT_EXEC_cycle && cpu 2940 src/dps8/dps8_cpu.c !cpu.cu.xde && cpu.cu.xdo) cpu 2948 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2949 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2950 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 2957 src/dps8/dps8_cpu.c if (cpu.cu.xde && cpu.cu.xdo) cpu 2960 src/dps8/dps8_cpu.c cpu.cu.IWB = cpu.cu.IRODD; cpu 2961 src/dps8/dps8_cpu.c cpu.cu.xde = 0; cpu 2962 src/dps8/dps8_cpu.c cpu.isExec = true; cpu 2963 src/dps8/dps8_cpu.c cpu.isXED = true; cpu 2964 src/dps8/dps8_cpu.c cpu.cu.XSF = 0; cpu 2965 src/dps8/dps8_cpu.c cpu.cu.TSN_VALID [0] = 0; cpu 2966 src/dps8/dps8_cpu.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 2967 src/dps8/dps8_cpu.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 2971 src/dps8/dps8_cpu.c if (cpu.cu.xde || cpu.cu.xdo) // we are in an XEC/XED cpu 2973 src/dps8/dps8_cpu.c cpu.cu.xde = cpu.cu.xdo = 0; cpu 2974 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2975 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 2977 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 2978 src/dps8/dps8_cpu.c cpu.PPR.IC ++; cpu 2980 src/dps8/dps8_cpu.c cpu.PPR.IC += ci->info->ndes; cpu 2981 src/dps8/dps8_cpu.c cpu.wasInhibited = true; cpu 2987 src/dps8/dps8_cpu.c if (cpu.cycle != EXEC_cycle) cpu 2988 src/dps8/dps8_cpu.c sim_warn ("expected EXEC_cycle (%d)\n", cpu.cycle); cpu 2990 src/dps8/dps8_cpu.c cpu.cu.xde = cpu.cu.xdo = 0; cpu 2991 src/dps8/dps8_cpu.c cpu.isExec = false; cpu 2992 src/dps8/dps8_cpu.c cpu.isXED = false; cpu 3003 src/dps8/dps8_cpu.c if ((cpu.PPR.IC & 1) == 0 && cpu 3005 src/dps8/dps8_cpu.c !cpu.cu.repeat_first && !cpu.cu.rpt && !cpu.cu.rd && !cpu.cu.rl && cpu 3006 src/dps8/dps8_cpu.c !(cpu.currentInstruction.opcode == 0616 && cpu.currentInstruction.opcodeX == 0) && cpu 3007 src/dps8/dps8_cpu.c (cpu.PPR.IC & ~3u) != (cpu.last_write & ~3u)) cpu 3009 src/dps8/dps8_cpu.c cpu.PPR.IC ++; cpu 3010 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 3011 src/dps8/dps8_cpu.c cpu.cu.IWB = cpu.cu.IRODD; cpu 3016 src/dps8/dps8_cpu.c cpu.PPR.IC ++; cpu 3018 src/dps8/dps8_cpu.c cpu.PPR.IC += ci->info->ndes; cpu 3021 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 3033 src/dps8/dps8_cpu.c cpu.PPR.IC += ci->info->ndes; cpu 3034 src/dps8/dps8_cpu.c cpu.PPR.IC ++; cpu 3035 src/dps8/dps8_cpu.c cpu.wasXfer = false; cpu 3064 src/dps8/dps8_cpu.c if ((cpu.cu.APUCycleBits & 060) || cpu.secret_addressing_mode) cpu 3077 src/dps8/dps8_cpu.c if (cpu.faultNumber != FAULT_TRB || cpu.cu.xde == 0) cpu 3083 src/dps8/dps8_cpu.c word36 tmpIRODD = cpu.scu_data[7]; cpu 3085 src/dps8/dps8_cpu.c cpu.scu_data[7] = tmpIRODD; cpu 3093 src/dps8/dps8_cpu.c cpu.PPR.PRR = 0; cpu 3094 src/dps8/dps8_cpu.c cpu.TPR.TRR = 0; cpu 3097 src/dps8/dps8_cpu.c uint fltAddress = (cpu.switches.FLT_BASE << 5) & 07740; cpu 3099 src/dps8/dps8_cpu.c if (cpu.is_FFV) cpu 3101 src/dps8/dps8_cpu.c cpu.is_FFV = false; cpu 3104 src/dps8/dps8_cpu.c fltAddress = (cpu.MR.FFV & MASK15) << 3; cpu 3109 src/dps8/dps8_cpu.c word24 addr = fltAddress + 2 * cpu.faultNumber; cpu 3111 src/dps8/dps8_cpu.c if (cpu.restart) cpu 3113 src/dps8/dps8_cpu.c cpu.restart = false; cpu 3114 src/dps8/dps8_cpu.c addr = cpu.restart_address; cpu 3117 src/dps8/dps8_cpu.c core_read2 (addr, & cpu.cu.IWB, & cpu.cu.IRODD, __func__); cpu 3119 src/dps8/dps8_cpu.c HDBGMRead (addr, cpu.cu.IWB, "fault even"); cpu 3120 src/dps8/dps8_cpu.c HDBGMRead (addr + 1, cpu.cu.IRODD, "fault odd"); cpu 3122 src/dps8/dps8_cpu.c cpu.cu.xde = 1; cpu 3123 src/dps8/dps8_cpu.c cpu.cu.xdo = 1; cpu 3124 src/dps8/dps8_cpu.c cpu.isExec = true; cpu 3125 src/dps8/dps8_cpu.c cpu.isXED = true; cpu 3151 src/dps8/dps8_cpu.c sim_msg ("cycles %15llu\r\n", (unsigned long long)cpu.cycleCnt); cpu 3152 src/dps8/dps8_cpu.c sim_msg ("instructions %15llu\r\n", (unsigned long long)cpu.instrCnt); cpu 3153 src/dps8/dps8_cpu.c sim_msg ("lockCnt %15llu\r\n", (unsigned long long)cpu.lockCnt); cpu 3154 src/dps8/dps8_cpu.c sim_msg ("lockImmediate %15llu\r\n", (unsigned long long)cpu.lockImmediate); cpu 3155 src/dps8/dps8_cpu.c sim_msg ("lockWait %15llu\r\n", (unsigned long long)cpu.lockWait); cpu 3156 src/dps8/dps8_cpu.c sim_msg ("lockWaitMax %15llu\r\n", (unsigned long long)cpu.lockWaitMax); cpu 3158 src/dps8/dps8_cpu.c sim_msg ("lockYield %15llu\r\n", (unsigned long long)cpu.lockYield); cpu 3163 src/dps8/dps8_cpu.c sim_msg ("cycles %'15llu\r\n", (unsigned long long)cpu.cycleCnt); cpu 3164 src/dps8/dps8_cpu.c sim_msg ("instructions %'15llu\r\n", (unsigned long long)cpu.instrCnt); cpu 3165 src/dps8/dps8_cpu.c sim_msg ("lockCnt %'15llu\r\n", (unsigned long long)cpu.lockCnt); cpu 3166 src/dps8/dps8_cpu.c sim_msg ("lockImmediate %'15llu\r\n", (unsigned long long)cpu.lockImmediate); cpu 3167 src/dps8/dps8_cpu.c sim_msg ("lockWait %'15llu\r\n", (unsigned long long)cpu.lockWait); cpu 3168 src/dps8/dps8_cpu.c sim_msg ("lockWaitMax %'15llu\r\n", (unsigned long long)cpu.lockWaitMax); cpu 3170 src/dps8/dps8_cpu.c sim_msg ("lockYield %'15llu\r\n", (unsigned long long)cpu.lockYield); cpu 3176 src/dps8/dps8_cpu.c cpu 3178 src/dps8/dps8_cpu.c cpu 3192 src/dps8/dps8_cpu.c dummy_IC = cpu.PPR.IC; cpu 3214 src/dps8/dps8_cpu.c DCDstruct * i = & cpu.currentInstruction; cpu 3237 src/dps8/dps8_cpu.c DCDstruct * i = & cpu.currentInstruction; cpu 3257 src/dps8/dps8_cpu.c Read (addr, & cpu.CY, cyctyp); cpu 3262 src/dps8/dps8_cpu.c Read2 (addr, cpu.Ypair, cyctyp); cpu 3267 src/dps8/dps8_cpu.c Read8 (addr, cpu.Yblock8, cpu.currentInstruction.b29); cpu 3272 src/dps8/dps8_cpu.c Read16 (addr, cpu.Yblock16); cpu 3278 src/dps8/dps8_cpu.c Read (addr + j, cpu.Yblock32 + j, cyctyp); cpu 3296 src/dps8/dps8_cpu.c Write (addr, cpu.CY, OPERAND_STORE); cpu 3301 src/dps8/dps8_cpu.c Write2 (addr + 0, cpu.Ypair, OPERAND_STORE); cpu 3306 src/dps8/dps8_cpu.c Write8 (addr, cpu.Yblock8, cpu.currentInstruction.b29); cpu 3311 src/dps8/dps8_cpu.c Write16 (addr, cpu.Yblock16); cpu 3318 src/dps8/dps8_cpu.c Write32 (addr, cpu.Yblock32); cpu 3325 src/dps8/dps8_cpu.c DCDstruct * i = & cpu.currentInstruction; cpu 3388 src/dps8/dps8_cpu.c PNL (cpu.portBusy = true;) cpu 3396 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); cpu 3403 src/dps8/dps8_cpu.c (long long unsigned int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, addr, cpu 3419 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 3434 src/dps8/dps8_cpu.c if (cpu.locked_addr != 0) { cpu 3436 src/dps8/dps8_cpu.c addr, cpu.locked_addr, current_running_cpu_idx + 'A', cpu 3437 src/dps8/dps8_cpu.c cpu.PPR.PSR, cpu.PPR.IC); cpu 3440 src/dps8/dps8_cpu.c cpu.locked_addr = addr; cpu 3453 src/dps8/dps8_cpu.c PNL (cpu.portBusy = true;) cpu 3455 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) cpu 3457 src/dps8/dps8_cpu.c if (cpu.MR.sdpap) cpu 3460 src/dps8/dps8_cpu.c cpu.MR.sdpap = 0; cpu 3462 src/dps8/dps8_cpu.c if (cpu.MR.separ) cpu 3465 src/dps8/dps8_cpu.c cpu.MR.separ = 0; cpu 3480 src/dps8/dps8_cpu.c (long long unsigned int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3486 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 3500 src/dps8/dps8_cpu.c if (cpu.locked_addr != addr) cpu 3503 src/dps8/dps8_cpu.c addr, cpu.locked_addr, current_running_cpu_idx + 'A', cpu 3504 src/dps8/dps8_cpu.c cpu.PPR.PSR, cpu.PPR.IC); cpu 3511 src/dps8/dps8_cpu.c cpu.locked_addr = 0; cpu 3517 src/dps8/dps8_cpu.c if (cpu.locked_addr != 0) { cpu 3519 src/dps8/dps8_cpu.c cpu.locked_addr, current_running_cpu_idx + 'A', cpu 3520 src/dps8/dps8_cpu.c cpu.PPR.PSR, cpu.PPR.IC); cpu 3522 src/dps8/dps8_cpu.c STORE_REL_CORE_WORD(cpu.locked_addr, M[cpu.locked_addr]); cpu 3524 src/dps8/dps8_cpu.c cpu.locked_addr = 0; cpu 3533 src/dps8/dps8_cpu.c PNL (cpu.portBusy = true;) cpu 3534 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) cpu 3536 src/dps8/dps8_cpu.c if (cpu.MR.sdpap) cpu 3539 src/dps8/dps8_cpu.c cpu.MR.sdpap = 0; cpu 3541 src/dps8/dps8_cpu.c if (cpu.MR.separ) cpu 3544 src/dps8/dps8_cpu.c cpu.MR.separ = 0; cpu 3552 src/dps8/dps8_cpu.c v = (v & ~cpu.zone) | (data & cpu.zone); cpu 3555 src/dps8/dps8_cpu.c M[mapAddr] = (M[mapAddr] & ~cpu.zone) | (data & cpu.zone); cpu 3557 src/dps8/dps8_cpu.c cpu.useZone = false; // Safety cpu 3562 src/dps8/dps8_cpu.c (unsigned long long int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3568 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 3581 src/dps8/dps8_cpu.c PNL (cpu.portBusy = true;) cpu 3600 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); cpu 3607 src/dps8/dps8_cpu.c (unsigned long long int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3617 src/dps8/dps8_cpu.c addr, cpu.locked_addr, current_running_cpu_idx + 'A', cpu 3618 src/dps8/dps8_cpu.c cpu.PPR.PSR, cpu.PPR.IC); cpu 3637 src/dps8/dps8_cpu.c addr, cpu.PPR.PSR, cpu.PPR.IC, ctx); cpu 3644 src/dps8/dps8_cpu.c (unsigned long long int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3654 src/dps8/dps8_cpu.c addr, cpu.locked_addr, current_running_cpu_idx + 'A', cpu 3655 src/dps8/dps8_cpu.c cpu.PPR.PSR, cpu.PPR.IC); cpu 3665 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 3674 src/dps8/dps8_cpu.c PNL (cpu.portBusy = true;) cpu 3682 src/dps8/dps8_cpu.c if (cpu.tweaks.isolts_mode) { cpu 3683 src/dps8/dps8_cpu.c if (cpu.MR.sdpap) { cpu 3685 src/dps8/dps8_cpu.c cpu.MR.sdpap = 0; cpu 3687 src/dps8/dps8_cpu.c if (cpu.MR.separ) { cpu 3689 src/dps8/dps8_cpu.c cpu.MR.separ = 0; cpu 3696 src/dps8/dps8_cpu.c (unsigned long long int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3719 src/dps8/dps8_cpu.c (long long unsigned int)cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, cpu 3733 src/dps8/dps8_cpu.c cpu.rTRticks ++; cpu 3774 src/dps8/dps8_cpu.c memset (& cpu.currentEISinstruction, 0, cpu 3775 src/dps8/dps8_cpu.c sizeof (cpu.currentEISinstruction)); cpu 3811 src/dps8/dps8_cpu.c else if (cpu.PPR.P) cpu 3826 src/dps8/dps8_cpu.c return ! (cpu.secret_addressing_mode || TST_I_NBAR); cpu 3831 src/dps8/dps8_cpu.c if (cpu.secret_addressing_mode) cpu 3869 src/dps8/dps8_cpu.c cpu.secret_addressing_mode = false; cpu 3876 src/dps8/dps8_cpu.c cpu.PPR.P = 1; cpu 3924 src/dps8/dps8_cpu.c if (cpu . BAR.BOUND == 0) cpu 3937 src/dps8/dps8_cpu.c if (addr >= (((word18) cpu . BAR.BOUND) << 9)) cpu 3941 src/dps8/dps8_cpu.c word18 barAddr = (addr + (((word18) cpu . BAR.BASE) << 9)) & 0777777; cpu 3951 src/dps8/dps8_cpu.c cpu.history [hset] [cpu.history_cyclic[hset]] [0] = w0; cpu 3952 src/dps8/dps8_cpu.c cpu.history [hset] [cpu.history_cyclic[hset]] [1] = w1; cpu 3953 src/dps8/dps8_cpu.c cpu.history_cyclic[hset] = (cpu.history_cyclic[hset] + 1) % N_MODEL_HIST_SIZE; cpu 3959 src/dps8/dps8_cpu.c cpu.history [hset] [cpu.history_cyclic[hset]] [0] = w0; cpu 3960 src/dps8/dps8_cpu.c cpu.history [hset] [cpu.history_cyclic[hset]] [1] = w1; cpu 3961 src/dps8/dps8_cpu.c cpu.history_cyclic[hset] = (cpu.history_cyclic[hset] + 1) % N_MODEL_HIST_SIZE; cpu 3966 src/dps8/dps8_cpu.c if (cpu.skip_cu_hist) cpu 3968 src/dps8/dps8_cpu.c if (! cpu.MR_cache.emr) cpu 3970 src/dps8/dps8_cpu.c if (! cpu.MR_cache.ihr) cpu 3972 src/dps8/dps8_cpu.c if (cpu.MR_cache.hrxfr && ! cpu.wasXfer) cpu 3981 src/dps8/dps8_cpu.c w1 |= (cpu.iefpFinalAddress & MASK24) << 12; cpu 4005 src/dps8/dps8_cpu.c add_history (cpu.tweaks.l68_mode ? L68_APU_HIST_REG : DPS8M_APU_HIST_REG, w0, w1); cpu 4059 src/dps8/dps8_cpu.c if (cpu.skip_cu_hist) cpu 4061 src/dps8/dps8_cpu.c if (! cpu.MR_cache.emr) cpu 4063 src/dps8/dps8_cpu.c if (! cpu.MR_cache.ihr) cpu 4076 src/dps8/dps8_cpu.c PNL (putbits36_8 (& w0, 0, cpu.prepare_state);) cpu 4078 src/dps8/dps8_cpu.c putbits36_1 (& w0, 8, cpu.wasXfer); cpu 4080 src/dps8/dps8_cpu.c putbits36_1 (& w0, 9, cpu.cu.xde); cpu 4082 src/dps8/dps8_cpu.c putbits36_1 (& w0, 10, cpu.cu.xdo); cpu 4086 src/dps8/dps8_cpu.c putbits36_1 (& w0, 12, cpu.cu.rpt); cpu 4089 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w0, 14, cpu.AR_F_E);) cpu 4091 src/dps8/dps8_cpu.c putbits36_1 (& w0, 15, cpu.cycle != INTERRUPT_cycle?1:0); cpu 4093 src/dps8/dps8_cpu.c putbits36_1 (& w0, 16, cpu.cycle != FAULT_cycle?1:0); cpu 4095 src/dps8/dps8_cpu.c putbits36_1 (& w0, 17, TSTF (cpu.cu.IR, I_NBAR)?1:0); cpu 4100 src/dps8/dps8_cpu.c putbits36_18 (& w1, 0, cpu.TPR.CA); cpu 4103 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w1, 59-36, (cpu.portSelect == 0)?1:0);) cpu 4104 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w1, 60-36, (cpu.portSelect == 1)?1:0);) cpu 4105 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w1, 61-36, (cpu.portSelect == 2)?1:0);) cpu 4106 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w1, 62-36, (cpu.portSelect == 3)?1:0);) cpu 4108 src/dps8/dps8_cpu.c putbits36_1 (& w1, 63-36, cpu.interrupt_flag?1:0); cpu 4110 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w1, 64-36, cpu.INS_FETCH?1:0);) cpu 4123 src/dps8/dps8_cpu.c if (cpu.MR.hrhlt && cpu.history_cyclic[CU_HIST_REG] == 0) cpu 4126 src/dps8/dps8_cpu.c if (cpu.MR.ihrrs) cpu 4128 src/dps8/dps8_cpu.c cpu.MR.ihr = 0; cpu 4176 src/dps8/dps8_cpu.c PNL (add_history (L68_DU_HIST_REG, cpu.du.cycle1, cpu.du.cycle2);) cpu 4186 src/dps8/dps8_cpu.c PNL (putbits36_9 (& w0, 0, cpu.ou.RS);) cpu 4189 src/dps8/dps8_cpu.c putbits36_1 (& w0, 9, cpu.ou.characterOperandSize ? 1 : 0); cpu 4192 src/dps8/dps8_cpu.c putbits36_3 (& w0, 10, cpu.ou.characterOperandOffset); cpu 4195 src/dps8/dps8_cpu.c putbits36_1 (& w0, 13, cpu.ou.crflag); cpu 4198 src/dps8/dps8_cpu.c putbits36_1 (& w0, 14, cpu.ou.directOperandFlag ? 1 : 0); cpu 4201 src/dps8/dps8_cpu.c putbits36_2 (& w0, 15, cpu.ou.eac); cpu 4205 src/dps8/dps8_cpu.c PNL (putbits36_9 (& w0, 18, cpu.ou.RS);) cpu 4208 src/dps8/dps8_cpu.c putbits36_1 (& w0, 27, cpu.ou.RB1_FULL); cpu 4211 src/dps8/dps8_cpu.c putbits36_1 (& w0, 28, cpu.ou.RP_FULL); cpu 4214 src/dps8/dps8_cpu.c putbits36_1 (& w0, 29, cpu.ou.RS_FULL); cpu 4217 src/dps8/dps8_cpu.c putbits36_6 (& w0, 30, (word6) (cpu.ou.cycle >> 3)); cpu 4220 src/dps8/dps8_cpu.c putbits36_3 (& w1, 36-36, (word3) cpu.ou.cycle); cpu 4223 src/dps8/dps8_cpu.c putbits36_1 (& w1, 39-36, cpu.ou.STR_OP); cpu 4229 src/dps8/dps8_cpu.c (word10) ~opcodes10 [cpu.ou.RS].reg_use);) cpu 4234 src/dps8/dps8_cpu.c putbits36_18 (& w1, 54 - 36, cpu.PPR.IC); cpu 4296 src/dps8/dps8_cpu.c putbits36_15 (& w0, 0, cpu.TPR.TSR); cpu 4298 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w0, 15, (cpu.apu.state & apu_ESN_SNR) ? 1 : 0);) cpu 4299 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w0, 16, (cpu.apu.state & apu_ESN_TSR) ? 1 : 0);) cpu 4301 src/dps8/dps8_cpu.c putbits36_1 (& w0, 25, cpu.cu.SDWAMM); cpu 4303 src/dps8/dps8_cpu.c putbits36_4 (& w0, 26, (word4) cpu.SDWAMR); cpu 4305 src/dps8/dps8_cpu.c putbits36_1 (& w0, 30, cpu.cu.PTWAMM); cpu 4307 src/dps8/dps8_cpu.c putbits36_4 (& w0, 31, (word4) cpu.PTWAMR); cpu 4309 src/dps8/dps8_cpu.c PNL (putbits36_1 (& w0, 35, (cpu.apu.state & apu_FLT) ? 1 : 0);) cpu 4312 src/dps8/dps8_cpu.c PNL (putbits36_24 (& w1, 0, cpu.APUMemAddr);) cpu 4314 src/dps8/dps8_cpu.c putbits36_3 (& w1, 24, cpu.TPR.TRR); cpu 4317 src/dps8/dps8_cpu.c putbits36_1 (& w1, 34, cpu.SDW0.C); cpu 582 src/dps8/dps8_cpu.h # define TA1 cpu.du.TAk[0] cpu 583 src/dps8/dps8_cpu.h # define TA2 cpu.du.TAk[1] cpu 584 src/dps8/dps8_cpu.h # define TA3 cpu.du.TAk[2] cpu 1037 src/dps8/dps8_cpu.h #define USE_IRODD (cpu.cu.rd && ((cpu. PPR.IC & 1) != 0)) cpu 1038 src/dps8/dps8_cpu.h #define IWB_IRODD (USE_IRODD ? cpu.cu.IRODD : cpu.cu.IWB) cpu 1195 src/dps8/dps8_cpu.h #define DU_CYCLE_GDLDA { clrmask (& cpu.du.cycle2, du2_nGDLDA); \ cpu 1196 src/dps8/dps8_cpu.h setmask (& cpu.du.cycle2, du2_nGDLDB | du2_nGDLDC); } cpu 1197 src/dps8/dps8_cpu.h #define DU_CYCLE_GDLDB { clrmask (& cpu.du.cycle2, du2_nGDLDB); \ cpu 1198 src/dps8/dps8_cpu.h setmask (& cpu.du.cycle2, du2_nGDLDA | du2_nGDLDC); } cpu 1199 src/dps8/dps8_cpu.h #define DU_CYCLE_GDLDC { clrmask (& cpu.du.cycle2, du2_nGDLDC); \ cpu 1200 src/dps8/dps8_cpu.h setmask (& cpu.du.cycle2, du2_nGDLDA | du2_nGDLDB); } cpu 1201 src/dps8/dps8_cpu.h #define DU_CYCLE_FA_I1 setmask (& cpu.du.cycle1, du1_FA_I1) cpu 1202 src/dps8/dps8_cpu.h #define DU_CYCLE_FA_I2 setmask (& cpu.du.cycle1, du1_FA_I2) cpu 1203 src/dps8/dps8_cpu.h #define DU_CYCLE_FA_I3 setmask (& cpu.du.cycle1, du1_FA_I3) cpu 1204 src/dps8/dps8_cpu.h #define DU_CYCLE_ANLD1 setmask (& cpu.du.cycle2, du2_ANLD1) cpu 1205 src/dps8/dps8_cpu.h #define DU_CYCLE_ANLD2 setmask (& cpu.du.cycle2, du2_ANLD2) cpu 1206 src/dps8/dps8_cpu.h #define DU_CYCLE_NLD1 setmask (& cpu.du.cycle2, du2_NLD1) cpu 1207 src/dps8/dps8_cpu.h #define DU_CYCLE_NLD2 setmask (& cpu.du.cycle2, du2_NLD2) cpu 1208 src/dps8/dps8_cpu.h #define DU_CYCLE_FRND setmask (& cpu.du.cycle2, du2_FRND) cpu 1209 src/dps8/dps8_cpu.h #define DU_CYCLE_DGBD setmask (& cpu.du.cycle2, du2_DGBD) cpu 1210 src/dps8/dps8_cpu.h #define DU_CYCLE_DGDB setmask (& cpu.du.cycle2, du2_DGDB) cpu 1211 src/dps8/dps8_cpu.h #define DU_CYCLE_DDU_LDEA clrmask (& cpu.du.cycle1, du1_nDDU_LDEA) cpu 1212 src/dps8/dps8_cpu.h #define DU_CYCLE_DDU_STEA clrmask (& cpu.du.cycle1, du1_nDDU_STEA) cpu 1213 src/dps8/dps8_cpu.h #define DU_CYCLE_END clrmask (& cpu.du.cycle1, du1_nEND) cpu 1214 src/dps8/dps8_cpu.h #define DU_CYCLE_LDWRT1 setmask (& cpu.du.cycle2, du2_LDWRT1) cpu 1215 src/dps8/dps8_cpu.h #define DU_CYCLE_LDWRT2 setmask (& cpu.du.cycle2, du2_LDWRT2) cpu 1216 src/dps8/dps8_cpu.h #define DU_CYCLE_FEXOP setmask (& cpu.du.cycle2, du2_FEXOP) cpu 1217 src/dps8/dps8_cpu.h #define DU_CYCLE_ANSTR setmask (& cpu.du.cycle2, du2_ANSTR) cpu 1218 src/dps8/dps8_cpu.h #define DU_CYCLE_GSTR setmask (& cpu.du.cycle2, du2_GSTR) cpu 1219 src/dps8/dps8_cpu.h #define DU_CYCLE_FLEN_128 clrmask (& cpu.du.cycle2, du2_nFLEN_128) cpu 1220 src/dps8/dps8_cpu.h #define DU_CYCLE_FDUD { cpu.du.cycle1 = \ cpu 1243 src/dps8/dps8_cpu.h cpu.du.cycle2 = \ cpu 1252 src/dps8/dps8_cpu.h #define DU_CYCLE_nDUD clrmask (& cpu.du.cycle2, du2_DUD) cpu 1257 src/dps8/dps8_cpu.h # define CPT(R,C) cpu.cpt[R][C]=1 cpu 1258 src/dps8/dps8_cpu.h # define CPTUR(C) cpu.cpt[cpt5L][C]=1 cpu 1525 src/dps8/dps8_cpu.h #define N_MODEL_WAM_ENTRIES (cpu.tweaks.l68_mode ? N_L68_WAM_ENTRIES : N_DPS8M_WAM_ENTRIES) cpu 1773 src/dps8/dps8_cpu.h if (cpu.tweaks.useMap) \ cpu 1777 src/dps8/dps8_cpu.h int base = cpu.sc_addr_map[pgnum]; \ cpu 1788 src/dps8/dps8_cpu.h if (cpu.tweaks.useMap) \ cpu 1792 src/dps8/dps8_cpu.h int base = cpu.sc_addr_map[pgnum]; \ cpu 1953 src/dps8/dps8_cpu.h #define GET_PR_BITNO(n) (cpu.PAR[n].PR_BITNO) cpu 1954 src/dps8/dps8_cpu.h #define GET_AR_BITNO(n) (cpu.PAR[n].AR_BITNO) cpu 1955 src/dps8/dps8_cpu.h #define GET_AR_CHAR(n) (cpu.PAR[n].AR_CHAR) cpu 1958 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = b; cpu 1959 src/dps8/dps8_cpu.h cpu.PAR[n].AR_BITNO = (b % 9) & MASK4; cpu 1960 src/dps8/dps8_cpu.h cpu.PAR[n].AR_CHAR = (b / 9) & MASK2; cpu 1964 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = c * 9 + b; cpu 1965 src/dps8/dps8_cpu.h cpu.PAR[n].AR_BITNO = b & MASK4; cpu 1966 src/dps8/dps8_cpu.h cpu.PAR[n].AR_CHAR = c & MASK2; cpu 1980 src/dps8/dps8_cpu.h cpu.portSelect = port; cpu 1981 src/dps8/dps8_cpu.h cpu.portAddr [port] = a; cpu 1982 src/dps8/dps8_cpu.h cpu.portData [port] = d; cpu 1983 src/dps8/dps8_cpu.h cpu.portBusy = false; cpu 1996 src/dps8/dps8_cpu.h PNL (cpu.portBusy = true;) cpu 2000 src/dps8/dps8_cpu.h cpu.rTRticks ++; cpu 2009 src/dps8/dps8_cpu.h PNL (cpu.portBusy = true;) cpu 2011 src/dps8/dps8_cpu.h if (cpu.tweaks.isolts_mode) cpu 2013 src/dps8/dps8_cpu.h if (cpu.MR.sdpap) cpu 2016 src/dps8/dps8_cpu.h cpu.MR.sdpap = 0; cpu 2018 src/dps8/dps8_cpu.h if (cpu.MR.separ) cpu 2021 src/dps8/dps8_cpu.h cpu.MR.separ = 0; cpu 2026 src/dps8/dps8_cpu.h cpu.rTRticks ++; cpu 2035 src/dps8/dps8_cpu.h PNL (cpu.portBusy = true;) cpu 2037 src/dps8/dps8_cpu.h if (cpu.tweaks.isolts_mode) cpu 2039 src/dps8/dps8_cpu.h if (cpu.MR.sdpap) cpu 2042 src/dps8/dps8_cpu.h cpu.MR.sdpap = 0; cpu 2044 src/dps8/dps8_cpu.h if (cpu.MR.separ) cpu 2047 src/dps8/dps8_cpu.h cpu.MR.separ = 0; cpu 2050 src/dps8/dps8_cpu.h M[addr] = (M[addr] & ~cpu.zone) | (data & cpu.zone); cpu 2051 src/dps8/dps8_cpu.h cpu.useZone = false; // Safety cpu 2053 src/dps8/dps8_cpu.h cpu.rTRticks ++; cpu 2062 src/dps8/dps8_cpu.h PNL (cpu.portBusy = true;) cpu 2067 src/dps8/dps8_cpu.h cpu.rTRticks ++; cpu 2076 src/dps8/dps8_cpu.h PNL (cpu.portBusy = true;) cpu 2078 src/dps8/dps8_cpu.h if (cpu.tweaks.isolts_mode) cpu 2080 src/dps8/dps8_cpu.h if (cpu.MR.sdpap) cpu 2083 src/dps8/dps8_cpu.h cpu.MR.sdpap = 0; cpu 2085 src/dps8/dps8_cpu.h if (cpu.MR.separ) cpu 2088 src/dps8/dps8_cpu.h cpu.MR.separ = 0; cpu 2095 src/dps8/dps8_cpu.h cpu.rTRticks ++; cpu 2185 src/dps8/dps8_cpu.h cpu.lockYield++; \ cpu 2214 src/dps8/dps8_cpu.h cpu.locked_addr, addr); \ cpu 2216 src/dps8/dps8_cpu.h cpu.lockCnt++; \ cpu 2218 src/dps8/dps8_cpu.h cpu.lockImmediate++; \ cpu 2219 src/dps8/dps8_cpu.h cpu.lockWait += (DEADLOCK_DETECT-i); \ cpu 2220 src/dps8/dps8_cpu.h cpu.lockWaitMax = ((DEADLOCK_DETECT-i) > cpu.lockWaitMax) ? \ cpu 2221 src/dps8/dps8_cpu.h (DEADLOCK_DETECT-i) : cpu.lockWaitMax; \ cpu 2257 src/dps8/dps8_cpu.h __func__, cpu.locked_addr, addr); \ cpu 2259 src/dps8/dps8_cpu.h cpu.lockCnt++; \ cpu 2261 src/dps8/dps8_cpu.h cpu.lockImmediate++; \ cpu 2262 src/dps8/dps8_cpu.h cpu.lockWait += (DEADLOCK_DETECT-i); \ cpu 2263 src/dps8/dps8_cpu.h cpu.lockWaitMax = ((DEADLOCK_DETECT-i) > \ cpu 2264 src/dps8/dps8_cpu.h cpu.lockWaitMax) ? (DEADLOCK_DETECT-i) : \ cpu 2265 src/dps8/dps8_cpu.h cpu.lockWaitMax; \ cpu 2307 src/dps8/dps8_cpu.h cpu.locked_addr, addr); \ cpu 2309 src/dps8/dps8_cpu.h cpu.lockCnt++; \ cpu 2311 src/dps8/dps8_cpu.h cpu.lockImmediate++; \ cpu 2312 src/dps8/dps8_cpu.h cpu.lockWait += (DEADLOCK_DETECT-i); \ cpu 2313 src/dps8/dps8_cpu.h cpu.lockWaitMax = ((DEADLOCK_DETECT-i) > cpu.lockWaitMax) ? \ cpu 2314 src/dps8/dps8_cpu.h (DEADLOCK_DETECT-i) : cpu.lockWaitMax; \ cpu 71 src/dps8/dps8_eis.c #define DBG_CTR cpu.cycleCnt cpu 333 src/dps8/dps8_eis.c return cpu.rX [X (reg)]; cpu 344 src/dps8/dps8_eis.c return GETHI (cpu.rA); cpu 350 src/dps8/dps8_eis.c return GETHI (cpu.rQ); cpu 353 src/dps8/dps8_eis.c return cpu.PPR.IC; cpu 359 src/dps8/dps8_eis.c return cpu.rA; // See AL36, Table 4-1 cpu 365 src/dps8/dps8_eis.c return cpu.rQ; // See AL36, Table 4-1 cpu 407 src/dps8/dps8_eis.c return GETHI (cpu.rA); cpu 413 src/dps8/dps8_eis.c return GETHI (cpu.rQ); cpu 423 src/dps8/dps8_eis.c cpu 424 src/dps8/dps8_eis.c cpu 450 src/dps8/dps8_eis.c return cpu.PPR.IC; cpu 456 src/dps8/dps8_eis.c return GETLO (cpu.rA); cpu 462 src/dps8/dps8_eis.c return GETLO (cpu.rQ); cpu 477 src/dps8/dps8_eis.c return cpu.rX [n - 8]; cpu 499 src/dps8/dps8_eis.c return GETHI (cpu.rA); cpu 505 src/dps8/dps8_eis.c return GETHI (cpu.rQ); cpu 525 src/dps8/dps8_eis.c return cpu.PPR.IC; cpu 531 src/dps8/dps8_eis.c return cpu.rA; cpu 537 src/dps8/dps8_eis.c return cpu.rQ; cpu 552 src/dps8/dps8_eis.c return cpu.rX [n - 8]; cpu 558 src/dps8/dps8_eis.c #define EISADDR_IDX(p) ((p) - cpu.currentEISinstruction.addr) cpu 563 src/dps8/dps8_eis.c word3 saveTRR = cpu.TPR.TRR; cpu 569 src/dps8/dps8_eis.c cpu.TPR.TRR = p -> RNR; cpu 570 src/dps8/dps8_eis.c cpu.TPR.TSR = p -> SNR; cpu 571 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 583 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EIS %ld Write8 TRR %o TSR %05o\n", eisaddr_idx, cpu.TPR.TRR, cpu.TPR.TSR); } cpu 595 src/dps8/dps8_eis.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 596 src/dps8/dps8_eis.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 597 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 607 src/dps8/dps8_eis.c __func__, p -> cachedParagraph [i], cpu.TPR.TSR, p -> cachedAddr + i); cpu 611 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EIS %ld Write8 NO PR TRR %o TSR %05o\n", eisaddr_idx, cpu.TPR.TRR, cpu.TPR.TSR); } cpu 621 src/dps8/dps8_eis.c cpu.TPR.TRR = saveTRR; cpu 627 src/dps8/dps8_eis.c word3 saveTRR = cpu.TPR.TRR; cpu 646 src/dps8/dps8_eis.c cpu.TPR.TRR = p -> RNR; cpu 647 src/dps8/dps8_eis.c cpu.TPR.TSR = p -> SNR; cpu 648 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 650 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EIS %ld Read8 TRR %o TSR %05o\n", eisaddr_idx, cpu.TPR.TRR, cpu.TPR.TSR); } cpu 665 src/dps8/dps8_eis.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 666 src/dps8/dps8_eis.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 667 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 671 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EIS %ld Read8 NO PR TRR %o TSR %05o\n", eisaddr_idx, cpu.TPR.TRR, cpu.TPR.TSR); } cpu 678 src/dps8/dps8_eis.c __func__, p -> cachedParagraph [i], cpu.TPR.TSR, paragraphAddress + i); cpu 686 src/dps8/dps8_eis.c cpu.TPR.TRR = saveTRR; cpu 694 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISWriteIdx addr %06o n %u\n", cpu.du.Dk_PTR_W[eisaddr_idx], n); cpu 695 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; cpu 734 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISReadIdx addr %06o n %u\n", cpu.du.Dk_PTR_W[eisaddr_idx], n); cpu 735 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; cpu 764 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISRead addr %06o\n", cpu.du.Dk_PTR_W[eisaddr_idx]); cpu 777 src/dps8/dps8_eis.c cpu 793 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; cpu 806 src/dps8/dps8_eis.c word3 saveTRR = cpu.TPR.TRR; cpu 810 src/dps8/dps8_eis.c cpu.TPR.TRR = p -> RNR; cpu 811 src/dps8/dps8_eis.c cpu.TPR.TSR = p -> SNR; cpu 812 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 821 src/dps8/dps8_eis.c __func__, data [i], cpu.TPR.TSR, addressN + i); cpu 833 src/dps8/dps8_eis.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 834 src/dps8/dps8_eis.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 835 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 844 src/dps8/dps8_eis.c __func__, data [i], cpu.TPR.TSR, addressN + i); cpu 847 src/dps8/dps8_eis.c cpu.TPR.TRR = saveTRR; cpu 855 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; cpu 868 src/dps8/dps8_eis.c word3 saveTRR = cpu.TPR.TRR; cpu 872 src/dps8/dps8_eis.c cpu.TPR.TRR = p -> RNR; cpu 873 src/dps8/dps8_eis.c cpu.TPR.TSR = p -> SNR; cpu 874 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 883 src/dps8/dps8_eis.c __func__, data [i], cpu.TPR.TSR, addressN + i); cpu 895 src/dps8/dps8_eis.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 896 src/dps8/dps8_eis.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 897 src/dps8/dps8_eis.c cpu.cu.XSF = 0; cpu 906 src/dps8/dps8_eis.c __func__, data [i], cpu.TPR.TSR, addressN + i); cpu 909 src/dps8/dps8_eis.c cpu.TPR.TRR = saveTRR; cpu 914 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 918 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 938 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = address); cpu 940 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = address; cpu 948 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 966 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISGet469 : k: %u TAk %u coffset %u c %o \n", k, cpu.du.TAk[k - 1], residue, c); cpu 976 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 980 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 1000 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = address); cpu 1002 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = address; cpu 1010 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 1046 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = (cpu.du.Dk_PTR_W[eisaddr_idx] + 1) & AMASK; cpu 1081 src/dps8/dps8_eis.c baseBitPosn += (int) cpu.du.CHTALLY; cpu 1087 src/dps8/dps8_eis.c word18 saveAddr = cpu.du.Dk_PTR_W[eisaddr_idx]; cpu 1088 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] += (uint) woff; cpu 1089 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] &= AMASK; cpu 1111 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = saveAddr; cpu 1120 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1160 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1166 src/dps8/dps8_eis.c e -> MF1 = getbits36_7 (cpu.cu.IWB, 29); cpu 1171 src/dps8/dps8_eis.c e -> MF2 = getbits36_7 (cpu.cu.IWB, 11); cpu 1176 src/dps8/dps8_eis.c e -> MF3 = getbits36_7 (cpu.cu.IWB, 2); cpu 1207 src/dps8/dps8_eis.c cpu 1208 src/dps8/dps8_eis.c cpu 1231 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = address); cpu 1233 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = address; cpu 1265 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; cpu 1267 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = address); cpu 1269 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = address; cpu 1273 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; cpu 1274 src/dps8/dps8_eis.c cpu.cu.TSN_VALID[k-1] = 1; cpu 1275 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR [n].SNR; cpu 1276 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, cpu 1277 src/dps8/dps8_eis.c cpu.TPR.TRR, cpu 1278 src/dps8/dps8_eis.c cpu.PPR.PRR); cpu 1299 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = address); cpu 1302 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = address; cpu 1320 src/dps8/dps8_eis.c PNL (cpu.du.POP = 0); cpu 1321 src/dps8/dps8_eis.c PNL (cpu.du.POL = 0); cpu 1326 src/dps8/dps8_eis.c if (i < cpu.currentInstruction.info -> ndes) cpu 1336 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1346 src/dps8/dps8_eis.c PNL (cpu.du.POP = 1); cpu 1357 src/dps8/dps8_eis.c cpu.du.TAk[k-1] = cpu.du.TAk[useTA-1]; cpu 1359 src/dps8/dps8_eis.c cpu.du.TAk[k-1] = getbits36_2 (opDesc, 21); // type alphanumeric cpu 1373 src/dps8/dps8_eis.c cpu.dataMode = 0102; // 9 bit an cpu 1374 src/dps8/dps8_eis.c cpu.ou.opsz = is_9 >> 12; cpu 1377 src/dps8/dps8_eis.c cpu.dataMode = 0042; // 6 bit an cpu 1378 src/dps8/dps8_eis.c cpu.ou.opsz = is_6 >> 12; cpu 1381 src/dps8/dps8_eis.c cpu.dataMode = 0022; // 4 bit an cpu 1382 src/dps8/dps8_eis.c cpu.ou.opsz = is_4 >> 12; cpu 1418 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; cpu 1423 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; cpu 1424 src/dps8/dps8_eis.c cpu.cu.TSN_VALID[k-1] = 1; cpu 1425 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR [n].SNR; cpu 1426 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); cpu 1432 src/dps8/dps8_eis.c PNL (cpu.du.POL = 1); cpu 1444 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 1490 src/dps8/dps8_eis.c switch (cpu.du.TAk[k-1]) cpu 1577 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = effWORDNO); cpu 1579 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = effWORDNO; cpu 1601 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1613 src/dps8/dps8_eis.c PNL (cpu.du.POP = 1); cpu 1623 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; cpu 1628 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; cpu 1629 src/dps8/dps8_eis.c cpu.cu.TSN_VALID[k-1] = 1; cpu 1630 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR[n].SNR; cpu 1631 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); cpu 1638 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = y); cpu 1641 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = y; cpu 1656 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1659 src/dps8/dps8_eis.c PNL (cpu.du.POP = 1); cpu 1675 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; cpu 1680 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; cpu 1681 src/dps8/dps8_eis.c cpu.cu.TSN_VALID[k-1] = 1; cpu 1682 src/dps8/dps8_eis.c e->addr[k-1].SNR = cpu.PR[n].SNR; cpu 1683 src/dps8/dps8_eis.c e->addr[k-1].RNR = max3(cpu.PR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); cpu 1688 src/dps8/dps8_eis.c PNL (cpu.du.POL = 1); cpu 1697 src/dps8/dps8_eis.c cpu.dataMode = 0021; // 4 bit numeric cpu 1699 src/dps8/dps8_eis.c cpu.dataMode = 0101; // 9 bit numeric cpu 1797 src/dps8/dps8_eis.c sim_printf ("parseNumericOperandDescriptor(ta=%d) How'd we get here 2?\n", cpu.du.TAk[k-1]); cpu 1805 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = effWORDNO); cpu 1807 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = effWORDNO; cpu 1818 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "parseNumericOperandDescriptor(): address:%06o cPos:%d bPos:%d N%u %u\n", cpu.du.Dk_PTR_W[k-1], a->cPos, a->bPos, k, e->N[k-1]); cpu 1834 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1840 src/dps8/dps8_eis.c cpu.dataMode = 0010; // 1 bit not alpha, not alpha numeric cpu 1845 src/dps8/dps8_eis.c PNL (cpu.du.POP = 1); cpu 1856 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; cpu 1862 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; cpu 1863 src/dps8/dps8_eis.c cpu.cu.TSN_VALID[k-1] = 1; cpu 1864 src/dps8/dps8_eis.c e->addr[k-1].SNR = cpu.PR[n].SNR; cpu 1865 src/dps8/dps8_eis.c e->addr[k-1].RNR = max3(cpu.PR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); cpu 1868 src/dps8/dps8_eis.c PNL (cpu.du.POL = 1); cpu 1916 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[k-1] = effWORDNO); cpu 1918 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[k-1] = effWORDNO; cpu 1928 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 1960 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 1962 src/dps8/dps8_eis.c int32_t address = SIGNEXT15_32 (GET_OFFSET (cpu.cu.IWB)); cpu 1966 src/dps8/dps8_eis.c word4 reg = GET_TD (cpu.cu.IWB); // 4-bit register modification (None except cpu 1975 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 1984 src/dps8/dps8_eis.c augend = cpu.AR[ARn].WORDNO * 8u + GET_AR_CHAR (ARn) * 2u; cpu 2010 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (word18) (sum / 8) & AMASK; cpu 2042 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2044 src/dps8/dps8_eis.c int32_t address = SIGNEXT15_32 (GET_OFFSET (cpu.cu.IWB)); cpu 2045 src/dps8/dps8_eis.c word4 reg = GET_TD (cpu.cu.IWB); // 4-bit register modification (None except cpu 2052 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2055 src/dps8/dps8_eis.c minuend = cpu.AR [ARn].WORDNO * 32 + cntFromBit [GET_AR_CHAR (ARn) * 9 + GET_AR_BITNO (ARn)]; cpu 2067 src/dps8/dps8_eis.c cpu.AR [ARn].WORDNO = (word18) (difference / 32) & AMASK; cpu 2089 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2091 src/dps8/dps8_eis.c int32_t address = SIGNEXT15_32 (GET_OFFSET (cpu.cu.IWB)); cpu 2092 src/dps8/dps8_eis.c word6 reg = GET_TD (cpu.cu.IWB); // 4-bit register modification (None except cpu 2112 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2114 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "axbd ARn %d WORDNO %o CHAR %o BITNO %0o %d.\n", ARn, cpu.PAR[ARn].WORDNO, GET_AR_CHAR (ARn), GET_AR_BITNO (ARn), GET_AR_BITNO (ARn)); cpu 2115 src/dps8/dps8_eis.c augend = cpu.AR[ARn].WORDNO * 36u + GET_AR_CHAR (ARn) * 9u + GET_AR_BITNO (ARn); cpu 2120 src/dps8/dps8_eis.c if (sz == 9 || GET_A (cpu.cu.IWB)) cpu 2144 src/dps8/dps8_eis.c cpu.AR [ARn].WORDNO = (word18) (sum / 36) & AMASK; cpu 2158 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2161 src/dps8/dps8_eis.c word18 address = SIGNEXT15_18 (GET_OFFSET (cpu.cu.IWB)); cpu 2164 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); cpu 2177 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2185 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (cpu.AR[ARn].WORDNO + address + cpu 2199 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (address + r / 36) & MASK18; cpu 2217 src/dps8/dps8_eis.c cpu 2219 src/dps8/dps8_eis.c cpu 2226 src/dps8/dps8_eis.c cpu 2246 src/dps8/dps8_eis.c cpu 2250 src/dps8/dps8_eis.c cpu 2251 src/dps8/dps8_eis.c cpu 2256 src/dps8/dps8_eis.c cpu 2259 src/dps8/dps8_eis.c cpu 2267 src/dps8/dps8_eis.c cpu 2301 src/dps8/dps8_eis.c cpu 2311 src/dps8/dps8_eis.c cpu 2335 src/dps8/dps8_eis.c cpu 2354 src/dps8/dps8_eis.c cpu 2360 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2362 src/dps8/dps8_eis.c int32_t address = SIGNEXT15_32 (GET_OFFSET (cpu.cu.IWB)); cpu 2365 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); cpu 2375 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2377 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "awd ARn %d WORDNO %o CHAR %o BITNO %0o %d.\n", ARn, cpu.PAR[ARn].WORDNO, GET_AR_CHAR (ARn), GET_AR_BITNO (ARn), GET_AR_BITNO (ARn)); cpu 2380 src/dps8/dps8_eis.c augend = cpu.AR [ARn].WORDNO; cpu 2390 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (word18) sum & AMASK; cpu 2399 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2401 src/dps8/dps8_eis.c word18 address = SIGNEXT15_18 (GET_OFFSET (cpu.cu.IWB)); cpu 2402 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); cpu 2408 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2411 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (cpu.AR[ARn].WORDNO - cpu 2421 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + r / 36)) & MASK18; cpu 2435 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2437 src/dps8/dps8_eis.c int32_t address = SIGNEXT15_32 (GET_OFFSET (cpu.cu.IWB)); cpu 2440 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); cpu 2449 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2451 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "swd ARn %d WORDNO %o CHAR %o BITNO %0o %d.\n", ARn, cpu.PAR[ARn].WORDNO, GET_AR_CHAR (ARn), GET_AR_BITNO (ARn), GET_AR_BITNO (ARn)); cpu 2454 src/dps8/dps8_eis.c minued = cpu.AR [ARn].WORDNO; cpu 2464 src/dps8/dps8_eis.c cpu.AR [ARn].WORDNO = (word18) difference & AMASK; cpu 2473 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2475 src/dps8/dps8_eis.c word18 address = SIGNEXT15_18 (GET_OFFSET (cpu.cu.IWB)); cpu 2478 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); cpu 2487 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2492 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (cpu.AR[ARn].WORDNO - cpu 2504 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + (r + 3) / 4)) & MASK18; cpu 2757 src/dps8/dps8_eis.c uint ARn = GET_ARN (cpu.cu.IWB); cpu 2758 src/dps8/dps8_eis.c uint address = SIGNEXT15_18 (GET_OFFSET (cpu.cu.IWB)); cpu 2759 src/dps8/dps8_eis.c word4 reg = (word4) GET_TD (cpu.cu.IWB); // 4-bit register modification (None except cpu 2793 src/dps8/dps8_eis.c if (GET_A (cpu.cu.IWB)) cpu 2798 src/dps8/dps8_eis.c augend = cpu.AR[ARn].WORDNO * 36u; cpu 2817 src/dps8/dps8_eis.c augend = cpu.AR[ARn].WORDNO * 36u + map [charno * 16 + bitno]; cpu 2877 src/dps8/dps8_eis.c cpu.AR [ARn].WORDNO = (word18) (sum / 36u) & AMASK; cpu 2954 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3029 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); cpu 3037 src/dps8/dps8_eis.c for (; cpu.du.CHTALLY < min (e->N1, e->N2); cpu.du.CHTALLY ++) cpu 3039 src/dps8/dps8_eis.c word9 c1 = EISget469 (1, cpu.du.CHTALLY); // get Y-char1n cpu 3040 src/dps8/dps8_eis.c word9 c2 = EISget469 (2, cpu.du.CHTALLY); // get Y-char2n cpu 3041 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "cmpc tally %d c1 %03o c2 %03o\n", cpu.du.CHTALLY, c1, c2); cpu 3054 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < e->N2; cpu.du.CHTALLY ++) cpu 3057 src/dps8/dps8_eis.c word9 c2 = EISget469 (2, cpu.du.CHTALLY); // get Y-char2n cpu 3071 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e->N1; cpu.du.CHTALLY ++) cpu 3073 src/dps8/dps8_eis.c word9 c1 = EISget469 (1, cpu.du.CHTALLY); // get Y-char1n cpu 3097 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3186 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 13) & 017; cpu 3187 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W >> 9) & 017; cpu 3196 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 12) & 077; cpu 3197 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W >> 6) & 077; cpu 3206 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 9) & 0777; cpu 3207 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W ) & 0777; cpu 3251 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY ++) cpu 3253 src/dps8/dps8_eis.c yCharn11 = EISget469 (1, cpu.du.CHTALLY); cpu 3254 src/dps8/dps8_eis.c yCharn12 = EISget469 (1, cpu.du.CHTALLY + 1); cpu 3258 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == limit); cpu 3266 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); cpu 3280 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3369 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 13) & 017; cpu 3370 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W >> 9) & 017; cpu 3379 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 12) & 077; cpu 3380 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W >> 6) & 077; cpu 3389 src/dps8/dps8_eis.c c1 = (cpu.du.D2_PTR_W >> 9) & 0777; cpu 3390 src/dps8/dps8_eis.c c2 = (cpu.du.D2_PTR_W ) & 0777; cpu 3436 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY ++) cpu 3438 src/dps8/dps8_eis.c yCharn11 = EISget469 (1, limit - cpu.du.CHTALLY - 1); cpu 3439 src/dps8/dps8_eis.c yCharn12 = EISget469 (1, limit - cpu.du.CHTALLY); cpu 3444 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == limit); cpu 3452 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); cpu 3466 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3549 src/dps8/dps8_eis.c uint mask = (uint) getbits36_9 (cpu.cu.IWB, 0); cpu 3605 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY ++) cpu 3607 src/dps8/dps8_eis.c word9 yCharn1 = EISget469 (1, cpu.du.CHTALLY); cpu 3618 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); cpu 3620 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == limit); cpu 3634 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3721 src/dps8/dps8_eis.c uint mask = (uint) getbits36_9 (cpu.cu.IWB, 0); cpu 3776 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY ++) cpu 3778 src/dps8/dps8_eis.c word9 yCharn1 = EISget469 (1, limit - cpu.du.CHTALLY - 1); cpu 3789 src/dps8/dps8_eis.c word36 CY3 = setbits36_24 (0, 12, cpu.du.CHTALLY); cpu 3791 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == limit); cpu 3846 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 3991 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N1; cpu.du.CHTALLY ++) cpu 3993 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char cpu 4025 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == e -> N1); cpu 4028 src/dps8/dps8_eis.c putbits36_24 (& CY3, 12, cpu.du.CHTALLY); cpu 4038 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 4187 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY ++) cpu 4189 src/dps8/dps8_eis.c word9 c = EISget469 (1, limit - cpu.du.CHTALLY - 1); // get src char cpu 4221 src/dps8/dps8_eis.c SC_I_TALLY (cpu.du.CHTALLY == e -> N1); cpu 4224 src/dps8/dps8_eis.c putbits36_24 (& CY3, 12, cpu.du.CHTALLY); cpu 4296 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 4383 src/dps8/dps8_eis.c word1 T = getbits36_1 (cpu.cu.IWB, 9); cpu 4385 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); cpu 4437 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MLR TALLY %u TA1 %u TA2 %u N1 %u N2 %u CN1 %u CN2 %u\n", cpu.du.CHTALLY, TA1, TA2, e -> N1, e -> N2, e -> CN1, e -> CN2); cpu 4439 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MLR TALLY %u TA1 %u TA2 %u N1 %u N2 %u CN1 %u CN2 %u\n", cpu.du.CHTALLY, e -> TA1, e -> TA2, e -> N1, e -> N2, e -> CN1, e -> CN2); cpu 4454 src/dps8/dps8_eis.c if ((cpu.du.CHTALLY % PGSZ) == 0 && cpu 4467 src/dps8/dps8_eis.c (cpu.du.D1_PTR_W & PGMK) == 0 && cpu 4468 src/dps8/dps8_eis.c (cpu.du.D2_PTR_W & PGMK) == 0) cpu 4475 src/dps8/dps8_eis.c while (cpu.du.CHTALLY < e -> N1) cpu 4478 src/dps8/dps8_eis.c EISReadPage (& e -> ADDR1, cpu.du.CHTALLY / 4, pg); cpu 4479 src/dps8/dps8_eis.c EISWritePage (& e -> ADDR2, cpu.du.CHTALLY / 4, pg); cpu 4480 src/dps8/dps8_eis.c cpu.du.CHTALLY += PGSZ * 4; cpu 4494 src/dps8/dps8_eis.c if ((cpu.du.CHTALLY % PGSZ) == 0 && cpu 4507 src/dps8/dps8_eis.c (cpu.du.D1_PTR_W & PGMK) == 0 && cpu 4508 src/dps8/dps8_eis.c (cpu.du.D2_PTR_W& PGMK) == 0) cpu 4526 src/dps8/dps8_eis.c while (cpu.du.CHTALLY < e -> N2) cpu 4528 src/dps8/dps8_eis.c EISWritePage (& e -> ADDR2, cpu.du.CHTALLY / 4, pg); cpu 4529 src/dps8/dps8_eis.c cpu.du.CHTALLY += PGSZ * 4; cpu 4555 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N2; cpu.du.CHTALLY += 4) cpu 4557 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; cpu 4586 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N2; cpu.du.CHTALLY += 4) cpu 4588 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; cpu 4599 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < min (e->N1, e->N2); cpu.du.CHTALLY ++) cpu 4601 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char cpu 4609 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, c); cpu 4647 src/dps8/dps8_eis.c if (ovp && (cpu.du.CHTALLY == e -> N1 - 1)) cpu 4653 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, cout); cpu 4665 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N2 ; cpu.du.CHTALLY ++) cpu 4668 src/dps8/dps8_eis.c if (ovp && (cpu.du.CHTALLY == e -> N2 - 1)) cpu 4671 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, 015); // 015 is decimal - cpu 4673 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, 014); // 014 is decimal + cpu 4676 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, fillT); cpu 4694 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 4781 src/dps8/dps8_eis.c word1 T = getbits36_1 (cpu.cu.IWB, 9); cpu 4783 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); cpu 4851 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < limit; cpu.du.CHTALLY += 4) cpu 4853 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; cpu 4886 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N2; cpu.du.CHTALLY += 4) cpu 4888 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; cpu 4899 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < min (e -> N1, e -> N2); cpu.du.CHTALLY ++) cpu 4901 src/dps8/dps8_eis.c word9 c = EISget469 (1, e -> N1 - cpu.du.CHTALLY - 1); // get src char cpu 4909 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, c); cpu 4948 src/dps8/dps8_eis.c if (ovp && (cpu.du.CHTALLY == 0)) cpu 4953 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, cout); cpu 4965 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < e -> N2 ; cpu.du.CHTALLY ++) cpu 4968 src/dps8/dps8_eis.c if (ovp && (cpu.du.CHTALLY == e -> N2 - 1)) cpu 4971 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, 015); // 015 is decimal - cpu 4973 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, 014); // 014 is decimal + cpu 4977 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, fillT); cpu 5022 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5183 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5205 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5216 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5335 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5379 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5425 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5459 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5590 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5666 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5697 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5766 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5824 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5887 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 5993 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6095 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6137 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6194 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6257 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6323 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6384 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6449 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6473 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[KMOP] = (cpu.du.Dk_PTR_W[KMOP] + 1) & AMASK; // bump source to next address cpu 6476 src/dps8/dps8_eis.c PNL (cpu.du.Dk_PTR_W[1] = (cpu.du.Dk_PTR_W[1] + 1) & AMASK); // bump source to next address cpu 6479 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[1] = (cpu.du.Dk_PTR_W[1] + 1) & AMASK; // bump source to next address cpu 6515 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6652 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 6779 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 7001 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 7165 src/dps8/dps8_eis.c word1 T = getbits36_1 (cpu.cu.IWB, 9); cpu 7167 src/dps8/dps8_eis.c word9 fill = getbits36_9 (cpu.cu.IWB, 0); cpu 7188 src/dps8/dps8_eis.c for ( ; cpu.du.CHTALLY < min(e->N1, e->N2); cpu.du.CHTALLY ++) cpu 7190 src/dps8/dps8_eis.c word9 c = EISget469(1, cpu.du.CHTALLY); // get src char cpu 7198 src/dps8/dps8_eis.c EISput469(2, cpu.du.CHTALLY, xlate (&e->ADDR3, dstTA, c)); cpu 7241 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, cout); cpu 7277 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < e->N2 ; cpu.du.CHTALLY ++) cpu 7278 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, cfill); cpu 7301 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 7475 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = (cpu.du.Dk_PTR_W[eisaddr_idx] + 1) & AMASK; // bump source to next address cpu 7538 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = (cpu.du.Dk_PTR_W[eisaddr_idx] + 1) & AMASK; // bump source to next address cpu 7608 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 7646 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character cpu 7648 src/dps8/dps8_eis.c word1 T = getbits36_1 (cpu.cu.IWB, 9); cpu 7649 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 7926 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 8019 src/dps8/dps8_eis.c bool F = getbits36_1 (cpu.cu.IWB, 0) != 0; // fill bit cpu 8020 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // T (enablefault) bit cpu 8022 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit cpu 8051 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < min(e->N1, e->N2); cpu.du.CHTALLY += 1) cpu 8062 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8075 src/dps8/dps8_eis.c for(; cpu.du.CHTALLY < e->N2; cpu.du.CHTALLY += 1) cpu 8087 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8104 src/dps8/dps8_eis.c SC_I_ZERO (cpu.du.Z); cpu 8154 src/dps8/dps8_eis.c baseBitPosn -= (int) cpu.du.CHTALLY; cpu 8176 src/dps8/dps8_eis.c word18 saveAddr = cpu.du.Dk_PTR_W[eisaddr_idx]; cpu 8177 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] += (word18) woff; cpu 8178 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] &= AMASK; cpu 8203 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = saveAddr; cpu 8212 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 8291 src/dps8/dps8_eis.c PNL (cpu.du.D1_PTR_W += (word18) numWords1); cpu 8292 src/dps8/dps8_eis.c PNL (cpu.du.D1_PTR_W &= AMASK); cpu 8294 src/dps8/dps8_eis.c cpu.du.D1_PTR_W += (word18) numWords1; cpu 8295 src/dps8/dps8_eis.c cpu.du.D1_PTR_W &= AMASK; cpu 8307 src/dps8/dps8_eis.c PNL (cpu.du.D2_PTR_W += (word18) numWords1); cpu 8308 src/dps8/dps8_eis.c PNL (cpu.du.D2_PTR_W &= AMASK); cpu 8310 src/dps8/dps8_eis.c cpu.du.D2_PTR_W += (word18) numWords1; cpu 8311 src/dps8/dps8_eis.c cpu.du.D2_PTR_W &= AMASK; cpu 8316 src/dps8/dps8_eis.c bool F = getbits36_1 (cpu.cu.IWB, 0) != 0; // fill bit cpu 8317 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // T (enablefault) bit cpu 8319 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit cpu 8334 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < min(e->N1, e->N2); cpu.du.CHTALLY += 1) cpu 8344 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8356 src/dps8/dps8_eis.c for(; cpu.du.CHTALLY < e->N2; cpu.du.CHTALLY += 1) cpu 8368 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8385 src/dps8/dps8_eis.c SC_I_ZERO (cpu.du.Z); cpu 8411 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 8504 src/dps8/dps8_eis.c bool F = getbits36_1 (cpu.cu.IWB, 0) != 0; // fill bit cpu 8505 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // T (enablefault) bit cpu 8507 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit cpu 8537 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < min (e->N1, e->N2); cpu.du.CHTALLY += 1) cpu 8547 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8554 src/dps8/dps8_eis.c for (; cpu.du.CHTALLY < e->N2; cpu.du.CHTALLY += 1) cpu 8564 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8573 src/dps8/dps8_eis.c SC_I_ZERO (cpu.du.Z); cpu 8599 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 8678 src/dps8/dps8_eis.c PNL (cpu.du.D1_PTR_W += (word18) numWords1); cpu 8679 src/dps8/dps8_eis.c PNL (cpu.du.D1_PTR_W &= AMASK); cpu 8681 src/dps8/dps8_eis.c cpu.du.D1_PTR_W += (word18) numWords1; cpu 8682 src/dps8/dps8_eis.c cpu.du.D1_PTR_W &= AMASK; cpu 8694 src/dps8/dps8_eis.c PNL (cpu.du.D2_PTR_W += (word18) numWords1); cpu 8695 src/dps8/dps8_eis.c PNL (cpu.du.D2_PTR_W &= AMASK); cpu 8697 src/dps8/dps8_eis.c cpu.du.D2_PTR_W += (word18) numWords1; cpu 8698 src/dps8/dps8_eis.c cpu.du.D2_PTR_W &= AMASK; cpu 8703 src/dps8/dps8_eis.c bool F = getbits36_1 (cpu.cu.IWB, 0) != 0; // fill bit cpu 8704 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // T (enablefault) bit cpu 8706 src/dps8/dps8_eis.c uint BOLR = getbits36_4 (cpu.cu.IWB, 5); // T (enablefault) bit cpu 8721 src/dps8/dps8_eis.c for( ; cpu.du.CHTALLY < min(e->N1, e->N2); cpu.du.CHTALLY += 1) cpu 8732 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8740 src/dps8/dps8_eis.c for(; cpu.du.CHTALLY < e->N2; cpu.du.CHTALLY += 1) cpu 8752 src/dps8/dps8_eis.c cpu.du.Z = 0; cpu 8762 src/dps8/dps8_eis.c SC_I_ZERO (cpu.du.Z); cpu 8811 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] += 1; cpu 8812 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] &= AMASK; cpu 8833 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 8886 src/dps8/dps8_eis.c bool F = getbits36_1 (cpu.cu.IWB, 0) != 0; // fill bit cpu 8994 src/dps8/dps8_eis.c cpu 9059 src/dps8/dps8_eis.c cpu 9100 src/dps8/dps8_eis.c cpu 9161 src/dps8/dps8_eis.c cpu 9162 src/dps8/dps8_eis.c cpu 9164 src/dps8/dps8_eis.c cpu 9165 src/dps8/dps8_eis.c cpu 9262 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 9288 src/dps8/dps8_eis.c cpu.du.Dk_PTR_W[eisaddr_idx] = (cpu.du.Dk_PTR_W[eisaddr_idx] + 1) & AMASK; // bump source to next address cpu 9315 src/dps8/dps8_eis.c cpu 9359 src/dps8/dps8_eis.c cpu 9430 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 9533 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 9708 src/dps8/dps8_eis.c cpu 9729 src/dps8/dps8_eis.c cpu 9856 src/dps8/dps8_eis.c cpu 9881 src/dps8/dps8_eis.c cpu 9882 src/dps8/dps8_eis.c cpu 9909 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 10104 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 10141 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 10142 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 10143 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 10453 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 10492 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 10493 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 10494 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 10795 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 10835 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 10836 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 10837 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 11107 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 11145 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 11146 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 11147 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 11437 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 11474 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 11475 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 11476 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 11706 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 11744 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 11745 src/dps8/dps8_eis.c bool T = getbits36_1 (cpu.cu.IWB, 9) != 0; // truncation bit cpu 11746 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 12759 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 12797 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 12799 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 13149 src/dps8/dps8_eis.c EISstruct * e = & cpu.currentEISinstruction; cpu 13188 src/dps8/dps8_eis.c e->P = getbits36_1 (cpu.cu.IWB, 0) != 0; // 4-bit data sign character control cpu 13190 src/dps8/dps8_eis.c bool R = getbits36_1 (cpu.cu.IWB, 10) != 0; // rounding bit cpu 50 src/dps8/dps8_faults.c #define DBG_CTR cpu.cycleCnt cpu 261 src/dps8/dps8_faults.c sim_printf (" fault number %d (%o)\n", cpu . faultNumber, cpu . faultNumber); cpu 262 src/dps8/dps8_faults.c sim_printf (" subfault number %llu (%llo)\n", (unsigned long long) cpu.subFault.bits, cpu 263 src/dps8/dps8_faults.c (unsigned long long)cpu.subFault.bits); cpu 271 src/dps8/dps8_faults.c cpu . bTroubleFaultCycle = false; cpu 381 src/dps8/dps8_faults.c sim_printf (" TRO PSR:IC %05o:%06o\r\n", cpu.PPR.PSR, cpu.PPR.IC); cpu 386 src/dps8/dps8_faults.c sim_printf (" ACV %012llo PSR:IC %05o:%06o\r\n", subFault.bits, cpu.PPR.PSR, cpu.PPR.IC); cpu 398 src/dps8/dps8_faults.c cpu . bTroubleFaultCycle ? 'Y' : 'N', faultMsg); cpu 403 src/dps8/dps8_faults.c __atomic_add_fetch (& cpu.faults[faultNumber], 1u, __ATOMIC_ACQUIRE); cpu 413 src/dps8/dps8_faults.c PNL (cpu.DACVpDF = faultNumber >= FAULT_DF0 && faultNumber <= FAULT_ACV;) cpu 417 src/dps8/dps8_faults.c fault_psr = cpu . PPR.PSR; cpu 418 src/dps8/dps8_faults.c fault_ic = cpu . PPR.IC; cpu 432 src/dps8/dps8_faults.c cpu.faultNumber = faultNumber; cpu 433 src/dps8/dps8_faults.c cpu.subFault = subFault; cpu 434 src/dps8/dps8_faults.c cpu.faultCnt [faultNumber] ++; cpu 438 src/dps8/dps8_faults.c cpu.CMR.csh_reg = 0; cpu 442 src/dps8/dps8_faults.c word3 FCT = cpu.cu.APUCycleBits & MASK3; cpu 444 src/dps8/dps8_faults.c cpu.cu.APUCycleBits = (word12) ((cpu.cu.APUCycleBits & 07770) | FCT); cpu 453 src/dps8/dps8_faults.c cpu 455 src/dps8/dps8_faults.c cpu 457 src/dps8/dps8_faults.c cpu 459 src/dps8/dps8_faults.c cpu 461 src/dps8/dps8_faults.c cpu . faultRegister [0] |= subFault.bits; cpu 466 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_NEM; cpu 471 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_OOB; cpu 482 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_CON_A; cpu 485 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_CON_B; cpu 488 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_CON_C; cpu 491 src/dps8/dps8_faults.c cpu . faultRegister [0] |= FR_CON_D; cpu 501 src/dps8/dps8_faults.c cpu . cu . IRO_ISN = 0; cpu 502 src/dps8/dps8_faults.c cpu . cu . OEB_IOC = 0; cpu 503 src/dps8/dps8_faults.c cpu . cu . EOFF_IAIM = 0; cpu 504 src/dps8/dps8_faults.c cpu . cu . ORB_ISP = 0; cpu 505 src/dps8/dps8_faults.c cpu . cu . ROFF_IPR = 0; cpu 506 src/dps8/dps8_faults.c cpu . cu . OWB_NEA = 0; cpu 507 src/dps8/dps8_faults.c cpu . cu . WOFF_OOB = 0; cpu 508 src/dps8/dps8_faults.c cpu . cu . NO_GA = 0; cpu 509 src/dps8/dps8_faults.c cpu . cu . OCB = 0; cpu 510 src/dps8/dps8_faults.c cpu . cu . OCALL = 0; cpu 511 src/dps8/dps8_faults.c cpu . cu . BOC = 0; cpu 512 src/dps8/dps8_faults.c DPS8M_ (cpu . cu . PTWAM_ER = 0;) cpu 513 src/dps8/dps8_faults.c cpu . cu . CRT = 0; cpu 514 src/dps8/dps8_faults.c cpu . cu . RALR = 0; cpu 515 src/dps8/dps8_faults.c cpu . cu . SDWAM_ER = 0; cpu 516 src/dps8/dps8_faults.c cpu . cu . OOSB = 0; cpu 517 src/dps8/dps8_faults.c cpu . cu . PARU = 0; cpu 518 src/dps8/dps8_faults.c cpu . cu . PARL = 0; cpu 519 src/dps8/dps8_faults.c cpu . cu . ONC1 = 0; cpu 520 src/dps8/dps8_faults.c cpu . cu . ONC2 = 0; cpu 521 src/dps8/dps8_faults.c cpu . cu . IA = 0; cpu 522 src/dps8/dps8_faults.c cpu . cu . IACHN = 0; cpu 523 src/dps8/dps8_faults.c cpu . cu . CNCHN = (faultNumber == FAULT_CON) ? subFault.fault_con_subtype & MASK3 : 0; cpu 526 src/dps8/dps8_faults.c cpu . cu . FIF = cpu . cycle == FETCH_cycle ? 1 : 0; cpu 527 src/dps8/dps8_faults.c cpu . cu . FI_ADDR = (word5) faultNumber; cpu 533 src/dps8/dps8_faults.c cpu . cu . rfi = 0; cpu 541 src/dps8/dps8_faults.c SC_I_MIF (cpu.cycle == EXEC_cycle && cpu 542 src/dps8/dps8_faults.c (cpu.currentInstruction.info->ndes > 0 || cpu 544 src/dps8/dps8_faults.c cpu.currentInstruction.opcodeX && cpu 545 src/dps8/dps8_faults.c (cpu.currentInstruction.opcode & 0410) == 0))); cpu 548 src/dps8/dps8_faults.c cpu 549 src/dps8/dps8_faults.c cpu 550 src/dps8/dps8_faults.c cpu 552 src/dps8/dps8_faults.c cpu 553 src/dps8/dps8_faults.c cpu 567 src/dps8/dps8_faults.c cpu . cu . IRO_ISN = 1; cpu 569 src/dps8/dps8_faults.c cpu . cu . OEB_IOC = 1; cpu 571 src/dps8/dps8_faults.c cpu . cu . EOFF_IAIM = 1; cpu 573 src/dps8/dps8_faults.c cpu . cu . ORB_ISP = 1; cpu 575 src/dps8/dps8_faults.c cpu . cu . ROFF_IPR = 1; cpu 577 src/dps8/dps8_faults.c cpu . cu . OWB_NEA = 1; cpu 579 src/dps8/dps8_faults.c cpu . cu . WOFF_OOB = 1; cpu 581 src/dps8/dps8_faults.c cpu . cu . NO_GA = 1; cpu 583 src/dps8/dps8_faults.c cpu . cu . OCB = 1; cpu 585 src/dps8/dps8_faults.c cpu . cu . OCALL = 1; cpu 587 src/dps8/dps8_faults.c cpu . cu . BOC = 1; cpu 589 src/dps8/dps8_faults.c cpu . cu . PTWAM_ER = 1; cpu 591 src/dps8/dps8_faults.c cpu . cu . CRT = 1; cpu 593 src/dps8/dps8_faults.c cpu . cu . RALR = 1; cpu 595 src/dps8/dps8_faults.c cpu . cu . SDWAM_ER = 1; cpu 597 src/dps8/dps8_faults.c cpu . cu . OOSB = 1; cpu 602 src/dps8/dps8_faults.c cpu . cu . WOFF_OOB = 1; cpu 606 src/dps8/dps8_faults.c cpu . cu . OWB_NEA = 1; cpu 611 src/dps8/dps8_faults.c cpu . cu . OEB_IOC = 1; cpu 613 src/dps8/dps8_faults.c cpu . cu . EOFF_IAIM = 1; cpu 615 src/dps8/dps8_faults.c cpu . cu . ORB_ISP = 1; cpu 617 src/dps8/dps8_faults.c cpu . cu . ROFF_IPR = 1; cpu 622 src/dps8/dps8_faults.c cpu . cu . IA = 0; cpu 624 src/dps8/dps8_faults.c cpu . cu . IA = 010; cpu 634 src/dps8/dps8_faults.c if (cpu.MR.emr && cpu.MR.ihrrs) cpu 636 src/dps8/dps8_faults.c cpu.MR.ihr = 0; cpu 650 src/dps8/dps8_faults.c if (cpu.MR.emr && cpu.MR.ihrrs) cpu 659 src/dps8/dps8_faults.c cpu.MR.ihr = 0; cpu 666 src/dps8/dps8_faults.c cpu.MR.ihr = 0; cpu 672 src/dps8/dps8_faults.c if (cpu.cycle == FAULT_EXEC_cycle) cpu 676 src/dps8/dps8_faults.c cpu.faultNumber = FAULT_TRB; cpu 677 src/dps8/dps8_faults.c cpu.cu.FI_ADDR = FAULT_TRB; cpu 678 src/dps8/dps8_faults.c cpu.subFault.bits = 0; // XXX ??? cpu 680 src/dps8/dps8_faults.c if (cpu . bTroubleFaultCycle) cpu 691 src/dps8/dps8_faults.c cpu . PPR.IC); cpu 692 src/dps8/dps8_faults.c sim_printf("\nCycles = %"PRId64"\n", cpu.cycleCnt); cpu 693 src/dps8/dps8_faults.c sim_printf("\nInstructions = %"PRId64"\n", cpu.instrCnt); cpu 695 src/dps8/dps8_faults.c longjmp (cpu.jmpMain, JMP_STOP); cpu 704 src/dps8/dps8_faults.c cpu . bTroubleFaultCycle = true; cpu 709 src/dps8/dps8_faults.c cpu . bTroubleFaultCycle = false; cpu 714 src/dps8/dps8_faults.c if (cpu . cycle == EXEC_cycle) cpu 715 src/dps8/dps8_faults.c cpu.instrCnt ++; cpu 717 src/dps8/dps8_faults.c cpu . cycle = FAULT_cycle; cpu 719 src/dps8/dps8_faults.c longjmp (cpu.jmpMain, JMP_REENTRY); cpu 739 src/dps8/dps8_faults.c cpu.FFV_fault_number = fault_number; cpu 740 src/dps8/dps8_faults.c cpu.faultNumber = fault_number; cpu 745 src/dps8/dps8_faults.c cpu.CMR.csh_reg = 0; cpu 749 src/dps8/dps8_faults.c word3 FCT = cpu.cu.APUCycleBits & MASK3; cpu 751 src/dps8/dps8_faults.c cpu.cu.APUCycleBits = (word12) ((cpu.cu.APUCycleBits & 07770) | FCT); cpu 755 src/dps8/dps8_faults.c cpu.faultRegister [0] = 0; cpu 759 src/dps8/dps8_faults.c cpu.cu.IRO_ISN = 0; cpu 760 src/dps8/dps8_faults.c cpu.cu.OEB_IOC = 0; cpu 761 src/dps8/dps8_faults.c cpu.cu.EOFF_IAIM = 0; cpu 762 src/dps8/dps8_faults.c cpu.cu.ORB_ISP = 0; cpu 763 src/dps8/dps8_faults.c cpu.cu.ROFF_IPR = 0; cpu 764 src/dps8/dps8_faults.c cpu.cu.OWB_NEA = 0; cpu 765 src/dps8/dps8_faults.c cpu.cu.WOFF_OOB = 0; cpu 766 src/dps8/dps8_faults.c cpu.cu.NO_GA = 0; cpu 767 src/dps8/dps8_faults.c cpu.cu.OCB = 0; cpu 768 src/dps8/dps8_faults.c cpu.cu.OCALL = 0; cpu 769 src/dps8/dps8_faults.c cpu.cu.BOC = 0; cpu 774 src/dps8/dps8_faults.c cpu.cu.CRT = 0; cpu 775 src/dps8/dps8_faults.c cpu.cu.RALR = 0; cpu 776 src/dps8/dps8_faults.c cpu.cu.SDWAM_ER = 0; cpu 777 src/dps8/dps8_faults.c cpu.cu.OOSB = 0; cpu 778 src/dps8/dps8_faults.c cpu.cu.PARU = 0; cpu 779 src/dps8/dps8_faults.c cpu.cu.PARL = 0; cpu 780 src/dps8/dps8_faults.c cpu.cu.ONC1 = 0; cpu 781 src/dps8/dps8_faults.c cpu.cu.ONC2 = 0; cpu 782 src/dps8/dps8_faults.c cpu.cu.IA = 0; cpu 783 src/dps8/dps8_faults.c cpu.cu.IACHN = 0; cpu 784 src/dps8/dps8_faults.c cpu.cu.CNCHN = 0; cpu 787 src/dps8/dps8_faults.c cpu.cu.FIF = 0; cpu 788 src/dps8/dps8_faults.c cpu.cu.FI_ADDR = (word5) fault_number & MASK5; cpu 794 src/dps8/dps8_faults.c cpu.cu.rfi = 0; cpu 801 src/dps8/dps8_faults.c SC_I_MIF (cpu.cycle == EXEC_cycle && cpu 802 src/dps8/dps8_faults.c cpu.currentInstruction.info->ndes > 0); cpu 812 src/dps8/dps8_faults.c if (cpu.MR.emr && cpu.MR.ihrrs) cpu 814 src/dps8/dps8_faults.c cpu.MR.ihr = 0; cpu 817 src/dps8/dps8_faults.c if (cpu.cycle == FAULT_EXEC_cycle) cpu 819 src/dps8/dps8_faults.c cpu.faultNumber = FAULT_TRB; cpu 820 src/dps8/dps8_faults.c cpu.cu.FI_ADDR = FAULT_TRB; cpu 821 src/dps8/dps8_faults.c cpu.subFault.bits = 0; // XXX ??? cpu 823 src/dps8/dps8_faults.c if (cpu.bTroubleFaultCycle) cpu 834 src/dps8/dps8_faults.c cpu.PPR.IC); cpu 835 src/dps8/dps8_faults.c sim_printf("\nCycles = %"PRId64"\n", cpu.cycleCnt); cpu 836 src/dps8/dps8_faults.c sim_printf("\nInstructions = %"PRId64"\n", cpu.instrCnt); cpu 837 src/dps8/dps8_faults.c longjmp (cpu.jmpMain, JMP_STOP); cpu 845 src/dps8/dps8_faults.c cpu.bTroubleFaultCycle = true; cpu 847 src/dps8/dps8_faults.c cpu.cycle = FAULT_cycle; cpu 849 src/dps8/dps8_faults.c longjmp (cpu.jmpMain, JMP_REENTRY); cpu 851 src/dps8/dps8_faults.c cpu.bTroubleFaultCycle = false; cpu 855 src/dps8/dps8_faults.c if (cpu . cycle == EXEC_cycle) cpu 856 src/dps8/dps8_faults.c cpu.instrCnt ++; cpu 858 src/dps8/dps8_faults.c cpu.is_FFV = true; cpu 859 src/dps8/dps8_faults.c cpu.cycle = FAULT_cycle; cpu 860 src/dps8/dps8_faults.c longjmp (cpu.jmpMain, JMP_REENTRY); cpu 866 src/dps8/dps8_faults.c cpu.dlyFlt = true; cpu 867 src/dps8/dps8_faults.c cpu.dlyFltNum = faultNumber; cpu 868 src/dps8/dps8_faults.c cpu.dlySubFltNum = subFault; cpu 869 src/dps8/dps8_faults.c cpu.dlyCtx = faultMsg; cpu 881 src/dps8/dps8_faults.c if (cpu.tweaks.l68_mode) cpu 882 src/dps8/dps8_faults.c return cpu.g7Faults != 0 || cpu.FFV_faults != 0; // L68 cpu 883 src/dps8/dps8_faults.c return cpu.g7Faults != 0; // DPS8M cpu 888 src/dps8/dps8_faults.c if (cpu.tweaks.l68_mode) cpu 889 src/dps8/dps8_faults.c return (cpu.g7Faults & (~ (1u << FAULT_TRO))) != 0 || cpu.FFV_faults != 0; // L68 cpu 890 src/dps8/dps8_faults.c return (cpu.g7Faults & (~ (1u << FAULT_TRO))) != 0; // DPS8M cpu 910 src/dps8/dps8_faults.c cpu.FFV_faults_preset |= 1u << ((f_fault_no / 2) - 1); cpu 915 src/dps8/dps8_faults.c cpu . g7Faults &= ~(1u << FAULT_TRO); cpu 930 src/dps8/dps8_faults.c if (cpu.g7Faults & (1u << FAULT_CON)) cpu 932 src/dps8/dps8_faults.c cpu.g7Faults &= ~(1u << FAULT_CON); cpu 937 src/dps8/dps8_faults.c doFault (FAULT_CON, cpu.g7SubFaults [FAULT_CON], "Connect"); cpu 940 src/dps8/dps8_faults.c if (allowTR && (cpu.g7Faults & (1u << FAULT_TRO))) cpu 942 src/dps8/dps8_faults.c cpu . g7Faults &= ~(1u << FAULT_TRO); cpu 954 src/dps8/dps8_faults.c if (cpu . g7Faults & (1u << FAULT_EXF)) cpu 956 src/dps8/dps8_faults.c cpu . g7Faults &= ~(1u << FAULT_EXF); cpu 964 src/dps8/dps8_faults.c if (cpu.tweaks.l68_mode) { // L68 cpu 965 src/dps8/dps8_faults.c if (cpu.FFV_faults & 1u) // FFV + 2 OC TRAP cpu 967 src/dps8/dps8_faults.c cpu.FFV_faults &= ~1u; cpu 973 src/dps8/dps8_faults.c if (cpu.FFV_faults & 2u) // FFV + 4 CU HISTORY OVERFLOW TRAP cpu 975 src/dps8/dps8_faults.c cpu.FFV_faults &= ~2u; cpu 981 src/dps8/dps8_faults.c if (cpu.FFV_faults & 4u) // FFV + 6 ADR TRAP cpu 983 src/dps8/dps8_faults.c cpu.FFV_faults &= ~4u; cpu 993 src/dps8/dps8_faults.c doFault (FAULT_TRB, (_fault_subtype) {.bits=cpu.g7Faults}, "Dazed and confused in doG7Fault"); cpu 1001 src/dps8/dps8_faults.c cpu.g7Faults |= cpu.g7FaultsPreset; cpu 1002 src/dps8/dps8_faults.c cpu.g7FaultsPreset = 0; cpu 1005 src/dps8/dps8_faults.c cpu.FFV_faults |= cpu.FFV_faults_preset; cpu 1006 src/dps8/dps8_faults.c cpu.FFV_faults_preset = 0; cpu 581 src/dps8/dps8_hw_consts.h # define CLR_I_ABS CLRF (cpu.cu.IR, I_ABS) cpu 582 src/dps8/dps8_hw_consts.h # define CLR_I_MIF CLRF (cpu.cu.IR, I_MIF) cpu 583 src/dps8/dps8_hw_consts.h # define CLR_I_TRUNC CLRF (cpu.cu.IR, I_TRUNC) cpu 584 src/dps8/dps8_hw_consts.h # define CLR_I_NBAR CLRF (cpu.cu.IR, I_NBAR) cpu 585 src/dps8/dps8_hw_consts.h # define CLR_I_TALLY CLRF (cpu.cu.IR, I_TALLY) cpu 586 src/dps8/dps8_hw_consts.h # define CLR_I_PMASK CLRF (cpu.cu.IR, I_PMASK) cpu 587 src/dps8/dps8_hw_consts.h # define CLR_I_EOFL CLRF (cpu.cu.IR, I_EOFL) cpu 588 src/dps8/dps8_hw_consts.h # define CLR_I_EUFL CLRF (cpu.cu.IR, I_EUFL) cpu 589 src/dps8/dps8_hw_consts.h # define CLR_I_OFLOW CLRF (cpu.cu.IR, I_OFLOW) cpu 590 src/dps8/dps8_hw_consts.h # define CLR_I_CARRY CLRF (cpu.cu.IR, I_CARRY) cpu 591 src/dps8/dps8_hw_consts.h # define CLR_I_NEG CLRF (cpu.cu.IR, I_NEG) cpu 592 src/dps8/dps8_hw_consts.h # define CLR_I_ZERO CLRF (cpu.cu.IR, I_ZERO) cpu 594 src/dps8/dps8_hw_consts.h # define SET_I_ABS SETF (cpu.cu.IR, I_ABS) cpu 595 src/dps8/dps8_hw_consts.h # define SET_I_NBAR SETF (cpu.cu.IR, I_NBAR) cpu 596 src/dps8/dps8_hw_consts.h # define SET_I_TRUNC SETF (cpu.cu.IR, I_TRUNC) cpu 597 src/dps8/dps8_hw_consts.h # define SET_I_TALLY SETF (cpu.cu.IR, I_TALLY) cpu 598 src/dps8/dps8_hw_consts.h # define SET_I_EOFL SETF (cpu.cu.IR, I_EOFL) cpu 599 src/dps8/dps8_hw_consts.h # define SET_I_EUFL SETF (cpu.cu.IR, I_EUFL) cpu 600 src/dps8/dps8_hw_consts.h # define SET_I_OFLOW SETF (cpu.cu.IR, I_OFLOW) cpu 601 src/dps8/dps8_hw_consts.h # define SET_I_CARRY SETF (cpu.cu.IR, I_CARRY) cpu 602 src/dps8/dps8_hw_consts.h # define SET_I_NEG SETF (cpu.cu.IR, I_NEG) cpu 603 src/dps8/dps8_hw_consts.h # define SET_I_ZERO SETF (cpu.cu.IR, I_ZERO) cpu 605 src/dps8/dps8_hw_consts.h # define TST_I_ABS TSTF (cpu.cu.IR, I_ABS) cpu 606 src/dps8/dps8_hw_consts.h # define TST_I_MIF TSTF (cpu.cu.IR, I_MIF) cpu 607 src/dps8/dps8_hw_consts.h # define TST_I_NBAR TSTF (cpu.cu.IR, I_NBAR) cpu 608 src/dps8/dps8_hw_consts.h # define TST_I_PMASK TSTF (cpu.cu.IR, I_PMASK) cpu 609 src/dps8/dps8_hw_consts.h # define TST_I_TRUNC TSTF (cpu.cu.IR, I_TRUNC) cpu 610 src/dps8/dps8_hw_consts.h # define TST_I_TALLY TSTF (cpu.cu.IR, I_TALLY) cpu 611 src/dps8/dps8_hw_consts.h # define TST_I_OMASK TSTF (cpu.cu.IR, I_OMASK) cpu 612 src/dps8/dps8_hw_consts.h # define TST_I_EUFL TSTF (cpu.cu.IR, I_EUFL ) cpu 613 src/dps8/dps8_hw_consts.h # define TST_I_EOFL TSTF (cpu.cu.IR, I_EOFL ) cpu 614 src/dps8/dps8_hw_consts.h # define TST_I_OFLOW TSTF (cpu.cu.IR, I_OFLOW) cpu 615 src/dps8/dps8_hw_consts.h # define TST_I_CARRY TSTF (cpu.cu.IR, I_CARRY) cpu 616 src/dps8/dps8_hw_consts.h # define TST_I_NEG TSTF (cpu.cu.IR, I_NEG) cpu 617 src/dps8/dps8_hw_consts.h # define TST_I_ZERO TSTF (cpu.cu.IR, I_ZERO) cpu 618 src/dps8/dps8_hw_consts.h # define TST_I_HEX TSTF (cpu.cu.IR, I_HEX) cpu 620 src/dps8/dps8_hw_consts.h # define SC_I_HEX(v) SCF (v, cpu.cu.IR, I_HEX) // DPS8M only cpu 621 src/dps8/dps8_hw_consts.h # define SC_I_MIF(v) SCF (v, cpu.cu.IR, I_MIF) cpu 622 src/dps8/dps8_hw_consts.h # define SC_I_TALLY(v) SCF (v, cpu.cu.IR, I_TALLY) cpu 623 src/dps8/dps8_hw_consts.h # define SC_I_NEG(v) SCF (v, cpu.cu.IR, I_NEG) cpu 624 src/dps8/dps8_hw_consts.h # define SC_I_ZERO(v) SCF (v, cpu.cu.IR, I_ZERO) cpu 625 src/dps8/dps8_hw_consts.h # define SC_I_CARRY(v) SCF (v, cpu.cu.IR, I_CARRY); cpu 626 src/dps8/dps8_hw_consts.h # define SC_I_OFLOW(v) SCF (v, cpu.cu.IR, I_OFLOW); cpu 627 src/dps8/dps8_hw_consts.h # define SC_I_EOFL(v) SCF (v, cpu.cu.IR, I_EOFL); cpu 628 src/dps8/dps8_hw_consts.h # define SC_I_EUFL(v) SCF (v, cpu.cu.IR, I_EUFL); cpu 629 src/dps8/dps8_hw_consts.h # define SC_I_OMASK(v) SCF (v, cpu.cu.IR, I_OMASK); cpu 630 src/dps8/dps8_hw_consts.h # define SC_I_PERR(v) SCF (v, cpu.cu.IR, I_PERR); cpu 631 src/dps8/dps8_hw_consts.h # define SC_I_PMASK(v) SCF (v, cpu.cu.IR, I_PMASK); cpu 632 src/dps8/dps8_hw_consts.h # define SC_I_TRUNC(v) SCF (v, cpu.cu.IR, I_TRUNC); cpu 1471 src/dps8/dps8_hw_consts.h # define N_MODEL_HIST_SIZE (cpu.tweaks.l68_mode ? N_L68_HIST_SIZE : N_DPS8M_HIST_SIZE) cpu 49 src/dps8/dps8_iefp.c #define DBG_CTR cpu.cycleCnt cpu 55 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 59 src/dps8/dps8_iefp.c if (cpu.cu.XSF || (cyctyp != INSTRUCTION_FETCH && cpu.currentInstruction.b29)) cpu 71 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 75 src/dps8/dps8_iefp.c core_read_lock (cpu.iefpFinalAddress, result, __func__); cpu 77 src/dps8/dps8_iefp.c core_read (cpu.iefpFinalAddress, result, __func__); cpu 79 src/dps8/dps8_iefp.c core_read (cpu.iefpFinalAddress, result, __func__); cpu 86 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read ABS BAR"); cpu 118 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 119 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 120 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 121 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 1); cpu 125 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); cpu 127 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_read, cpu.TPR.TSR, address, "Read BAR"); cpu 128 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read BAR"); cpu 135 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 1); cpu 137 src/dps8/dps8_iefp.c if (cpu.PPR.PSR != 061 && cpu.PPR.IC != 0307) cpu 142 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); cpu 144 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_read, cpu.TPR.TSR, address, "Read"); cpu 145 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read"); cpu 157 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 162 src/dps8/dps8_iefp.c if (cpu.cu.XSF || (cyctyp != INSTRUCTION_FETCH && cpu.currentInstruction.b29) || cpu 176 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 179 src/dps8/dps8_iefp.c core_read2 (cpu.iefpFinalAddress, result + 0, result + 1, cpu 191 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 ABBR evn"); cpu 192 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 ABBR odd"); cpu 211 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 AB evn"); cpu 212 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 AB odd"); cpu 223 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 224 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 225 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 226 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 2); cpu 233 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 236 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_read, cpu.TPR.TSR, address, "Read2 BR"); cpu 237 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 BR evn"); cpu 238 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 BR odd"); cpu 244 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 2); cpu 251 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 261 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 265 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_read, cpu.TPR.TSR, address, "Read2"); cpu 266 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 evn"); cpu 267 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 odd"); cpu 278 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 282 src/dps8/dps8_iefp.c if (isAR || cpu.cu.XSF /*get_went_appending ()*/) cpu 294 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 297 src/dps8/dps8_iefp.c core_readN (cpu.iefpFinalAddress, result, 8, __func__); cpu 309 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "Read8 ABBR"); cpu 340 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 341 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 342 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 343 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, cpu 351 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 354 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_read, cpu.TPR.TSR, address, "Read8 BAR"); cpu 356 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result[i], "Read8 BAR"); cpu 362 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, cpu 365 src/dps8/dps8_iefp.c if (cpu.PPR.PSR != 061 && cpu.PPR.IC != 0307) cpu 373 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 376 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_read, cpu.TPR.TSR, address, "Read8"); cpu 378 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "Read8"); cpu 391 src/dps8/dps8_iefp.c Read8 (address, result, cpu.currentInstruction.b29); cpu 392 src/dps8/dps8_iefp.c Read8 (address + 8, result + 8, cpu.currentInstruction.b29); cpu 403 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 407 src/dps8/dps8_iefp.c if (isAR || cpu.cu.XSF /*get_went_appending ()*/) cpu 419 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 422 src/dps8/dps8_iefp.c core_readN (cpu.iefpFinalAddress, result, PGSZ, __func__); cpu 434 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "ReadPage AB"); cpu 465 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 466 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 467 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 468 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, cpu 476 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 479 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_read, cpu.TPR.TSR, address, "ReadPage B"); cpu 481 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage B"); cpu 488 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, cpu 491 src/dps8/dps8_iefp.c if (cpu.PPR.PSR != 061 && cpu.PPR.IC != 0307) cpu 499 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); cpu 502 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_read, cpu.TPR.TSR, address, "ReadPage"); cpu 504 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage"); cpu 516 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 520 src/dps8/dps8_iefp.c if (cpu.cu.XSF /*get_went_appending ()*/ || (cyctyp != INSTRUCTION_FETCH && cpu.currentInstruction.b29)) cpu 529 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 532 src/dps8/dps8_iefp.c if (cyctyp == OPERAND_STORE && cpu.useZone) cpu 534 src/dps8/dps8_iefp.c core_write_zone (cpu.iefpFinalAddress, data, __func__); cpu 538 src/dps8/dps8_iefp.c core_write (cpu.iefpFinalAddress, data, __func__); cpu 545 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress, data, "Write ABBR"); cpu 553 src/dps8/dps8_iefp.c if (cyctyp == OPERAND_STORE && cpu.useZone) cpu 578 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 579 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 580 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 581 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, & data, 1); cpu 585 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, data); cpu 587 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_write, cpu.TPR.TSR, address, "Write BR"); cpu 588 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data, "Write BR"); cpu 594 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, & data, 1); cpu 598 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, data); cpu 600 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_write, cpu.TPR.TSR, address, "Write"); cpu 601 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data, "Write"); cpu 613 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 616 src/dps8/dps8_iefp.c if (cpu.cu.XSF /*get_went_appending ()*/ || (cyctyp != INSTRUCTION_FETCH && cpu.currentInstruction.b29)) cpu 625 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 628 src/dps8/dps8_iefp.c core_write2 (cpu.iefpFinalAddress, data [0], data [1], cpu 632 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress, data [0], "Write2 ABBR evn"); cpu 633 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress+1, data [1], "Write2 ABBR odd"); cpu 663 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 664 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 665 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 666 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, data, 2); cpu 672 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_write, cpu.TPR.TSR, address, "Write2 BR"); cpu 673 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data[0], "Write2 BR evn"); cpu 674 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, data[1], "Write2 BR odd"); cpu 679 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, data, 2); cpu 685 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_write, cpu.TPR.TSR, address, "Write2"); cpu 686 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data[0], "Write2 evn"); cpu 687 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, data[1], "Write2 odd"); cpu 698 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 700 src/dps8/dps8_iefp.c if (isAR || cpu.cu.XSF /*get_went_appending ()*/) cpu 708 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 711 src/dps8/dps8_iefp.c core_write (cpu.iefpFinalAddress, data, __func__); cpu 718 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress, data, "Write1 ABBR"); cpu 744 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 745 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 746 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 747 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, & data, cpu 752 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, data); cpu 754 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_write, cpu.TPR.TSR, address, "Write1 BR"); cpu 755 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data, "Write1 BR"); cpu 761 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, & data, cpu 766 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, data); cpu 768 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_write, cpu.TPR.TSR, address, "Write1"); cpu 769 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, data, "Write1"); cpu 781 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 785 src/dps8/dps8_iefp.c if (isAR || cpu.cu.XSF /*get_went_appending ()*/) cpu 794 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 797 src/dps8/dps8_iefp.c core_writeN (cpu.iefpFinalAddress, data, 8, __func__); cpu 809 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress + i, data [i], "Write8 ABBR"); cpu 840 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 841 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 842 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 843 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, data, cpu 851 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, data [i]); cpu 854 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_write, cpu.TPR.TSR, address, "Write8 BR"); cpu 856 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, data [i], "Write8 BR"); cpu 863 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, data, cpu 871 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, data [i]); cpu 874 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_write, cpu.TPR.TSR, address, "Write8"); cpu 876 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, data [i], "Write8"); cpu 889 src/dps8/dps8_iefp.c Write8 (address, data, cpu.currentInstruction.b29); cpu 890 src/dps8/dps8_iefp.c Write8 (address + 8, data + 8, cpu.currentInstruction.b29); cpu 899 src/dps8/dps8_iefp.c Write8 (address, data, cpu.currentInstruction.b29); cpu 900 src/dps8/dps8_iefp.c Write8 (address + 8, data + 8, cpu.currentInstruction.b29); cpu 901 src/dps8/dps8_iefp.c Write8 (address + 16, data + 16, cpu.currentInstruction.b29); cpu 902 src/dps8/dps8_iefp.c Write8 (address + 24, data + 24, cpu.currentInstruction.b29); cpu 913 src/dps8/dps8_iefp.c cpu.TPR.CA = cpu.iefpFinalAddress = address; cpu 917 src/dps8/dps8_iefp.c if (isAR || cpu.cu.XSF /*get_went_appending ()*/) cpu 926 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = get_BAR_address (address); cpu 929 src/dps8/dps8_iefp.c core_writeN (cpu.iefpFinalAddress, data, PGSZ, __func__); cpu 941 src/dps8/dps8_iefp.c HDBGMWrite (cpu.iefpFinalAddress + i, data [i], "WritePage ABBR"); cpu 972 src/dps8/dps8_iefp.c cpu.TPR.CA = get_BAR_address (address); cpu 973 src/dps8/dps8_iefp.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 974 src/dps8/dps8_iefp.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 975 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, data, cpu 984 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, data [i]); cpu 987 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_bar_write, cpu.TPR.TSR, address, "WritePage BR"); cpu 989 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, data [i], "WritePage BR"); cpu 995 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_STORE, data, cpu 1003 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, data [i]); cpu 1006 src/dps8/dps8_iefp.c HDBGIEFP (hdbgIEFP_write, cpu.TPR.TSR, address, "WritePage"); cpu 1008 src/dps8/dps8_iefp.c HDBGAPUWrite (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, data [i], "WritePage"); cpu 1020 src/dps8/dps8_iefp.c if (cpu.TPR.CA & 1) // is odd? cpu 1022 src/dps8/dps8_iefp.c Read (cpu.TPR.CA, cpu.itxPair, INDIRECT_WORD_FETCH); cpu 1023 src/dps8/dps8_iefp.c cpu.itxPair[1] = MASK36; // fill with ones for debugging cpu 1027 src/dps8/dps8_iefp.c Read2 (cpu.TPR.CA, cpu.itxPair, INDIRECT_WORD_FETCH); cpu 59 src/dps8/dps8_ins.c #define DBG_CTR cpu.cycleCnt cpu 90 src/dps8/dps8_ins.c DCDstruct * i = & cpu.currentInstruction; cpu 96 src/dps8/dps8_ins.c PNL (cpu.prepare_state |= ps_RAW); cpu 100 src/dps8/dps8_ins.c rTAG = GET_TAG (cpu.cu.IWB); cpu 116 src/dps8/dps8_ins.c core_read(cpu.char_word_address, &tmpdata, __func__); cpu 117 src/dps8/dps8_ins.c if (tmpdata != cpu.ou.character_data) cpu 119 src/dps8/dps8_ins.c (long long unsigned int)cpu.ou.character_data, cpu 120 src/dps8/dps8_ins.c (long long unsigned int)tmpdata, cpu.char_word_address); cpu 123 src/dps8/dps8_ins.c switch (cpu.ou.characterOperandSize) cpu 126 src/dps8/dps8_ins.c putChar (& cpu.ou.character_data, cpu.CY & 077, cpu.ou.characterOperandOffset); cpu 130 src/dps8/dps8_ins.c putByte (& cpu.ou.character_data, cpu.CY & 0777, cpu.ou.characterOperandOffset); cpu 138 src/dps8/dps8_ins.c PNL (cpu.prepare_state |= ps_SAW); cpu 142 src/dps8/dps8_ins.c core_write_unlock (cpu.char_word_address, cpu.ou.character_data, __func__); cpu 144 src/dps8/dps8_ins.c Write (cpu.ou.character_address, cpu.ou.character_data, OPERAND_STORE); cpu 150 src/dps8/dps8_ins.c __func__, cpu.ou.character_data, cpu.ou.character_address, cpu 151 src/dps8/dps8_ins.c cpu.ou.characterOperandSize, cpu.ou.characterOperandOffset); cpu 155 src/dps8/dps8_ins.c cpu.TPR.CA = cpu.ou.character_address; cpu 159 src/dps8/dps8_ins.c write_operand (cpu.TPR.CA, OPERAND_STORE); cpu 169 src/dps8/dps8_ins.c DCDstruct * i = & cpu.currentInstruction; cpu 175 src/dps8/dps8_ins.c "%s a %d address %08o\n", __func__, i->b29, cpu.TPR.CA); cpu 177 src/dps8/dps8_ins.c PNL (cpu.prepare_state |= ps_POA); cpu 181 src/dps8/dps8_ins.c rTAG = GET_TAG (cpu.cu.IWB); cpu 191 src/dps8/dps8_ins.c cpu.CY = 0; cpu 192 src/dps8/dps8_ins.c SETHI (cpu.CY, cpu.TPR.CA); cpu 194 src/dps8/dps8_ins.c "%s DU CY=%012"PRIo64"\n", __func__, cpu.CY); cpu 204 src/dps8/dps8_ins.c cpu.CY = 0; cpu 205 src/dps8/dps8_ins.c SETLO (cpu.CY, cpu.TPR.CA); cpu 207 src/dps8/dps8_ins.c "%s DL CY=%012"PRIo64"\n", __func__, cpu.CY); cpu 221 src/dps8/dps8_ins.c switch (cpu.ou.characterOperandSize) cpu 224 src/dps8/dps8_ins.c cpu.CY = GETCHAR (cpu.ou.character_data, cpu.ou.characterOperandOffset); cpu 228 src/dps8/dps8_ins.c cpu.CY = GETBYTE (cpu.ou.character_data, cpu.ou.characterOperandOffset); cpu 235 src/dps8/dps8_ins.c __func__, cpu.ou.character_data, cpu.ou.character_address, cpu.CY); cpu 238 src/dps8/dps8_ins.c cpu.TPR.CA = cpu.ou.character_address; cpu 243 src/dps8/dps8_ins.c read_operand (cpu.TPR.CA, ((i->info->flags & RMW) == RMW) ? OPERAND_RMW : OPERAND_READ); cpu 245 src/dps8/dps8_ins.c read_operand (cpu.TPR.CA, OPERAND_READ); cpu 253 src/dps8/dps8_ins.c if (cpu.TPR.CA & 1) cpu 254 src/dps8/dps8_ins.c Read (cpu.TPR.CA, &cpu.CY, OPERAND_READ); cpu 256 src/dps8/dps8_ins.c Read2 (cpu.TPR.CA, cpu.Ypair, OPERAND_READ); cpu 257 src/dps8/dps8_ins.c if (! (get_addr_mode () == APPEND_mode || cpu.cu.TSN_VALID [0] || cpu 258 src/dps8/dps8_ins.c cpu.cu.XSF || cpu.currentInstruction.b29 /*get_went_appending ()*/)) cpu 260 src/dps8/dps8_ins.c if (cpu.currentInstruction.info->flags & TSPN_INS) cpu 263 src/dps8/dps8_ins.c if (cpu.currentInstruction.opcode <= 0273) //-V536 cpu 264 src/dps8/dps8_ins.c n = (cpu.currentInstruction.opcode & 3); cpu 266 src/dps8/dps8_ins.c n = (cpu.currentInstruction.opcode & 3) + 4; cpu 272 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.PPR.PRR; cpu 276 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.PPR.PSR; cpu 277 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; cpu 283 src/dps8/dps8_ins.c cpu.PPR.IC = cpu.TPR.CA; cpu 288 src/dps8/dps8_ins.c __func__, cpu.PPR.PSR, cpu.PPR.IC); cpu 289 src/dps8/dps8_ins.c if (cpu.PPR.IC & 1) cpu 291 src/dps8/dps8_ins.c cpu.cu.IWB = cpu.CY; cpu 292 src/dps8/dps8_ins.c cpu.cu.IRODD = cpu.CY; cpu 296 src/dps8/dps8_ins.c cpu.cu.IWB = cpu.Ypair[0]; cpu 297 src/dps8/dps8_ins.c cpu.cu.IRODD = cpu.Ypair[1]; cpu 322 src/dps8/dps8_ins.c putbits36_3 (& words[0], 0, cpu.PPR.PRR); cpu 323 src/dps8/dps8_ins.c putbits36_15 (& words[0], 3, cpu.PPR.PSR); cpu 324 src/dps8/dps8_ins.c putbits36_1 (& words[0], 18, cpu.PPR.P); cpu 325 src/dps8/dps8_ins.c putbits36_1 (& words[0], 19, cpu.cu.XSF); cpu 327 src/dps8/dps8_ins.c putbits36_1 (& words[0], 21, cpu.cu.SD_ON); cpu 329 src/dps8/dps8_ins.c putbits36_1 (& words[0], 23, cpu.cu.PT_ON); cpu 331 src/dps8/dps8_ins.c cpu 332 src/dps8/dps8_ins.c cpu 333 src/dps8/dps8_ins.c cpu 334 src/dps8/dps8_ins.c cpu 335 src/dps8/dps8_ins.c cpu 336 src/dps8/dps8_ins.c cpu 337 src/dps8/dps8_ins.c cpu 338 src/dps8/dps8_ins.c cpu 339 src/dps8/dps8_ins.c cpu 346 src/dps8/dps8_ins.c putbits36_12 (& words[0], 24, cpu.cu.APUCycleBits); cpu 351 src/dps8/dps8_ins.c putbits36_1 (& words[1], 0, cpu.cu.IRO_ISN); cpu 352 src/dps8/dps8_ins.c putbits36_1 (& words[1], 1, cpu.cu.OEB_IOC); cpu 353 src/dps8/dps8_ins.c putbits36_1 (& words[1], 2, cpu.cu.EOFF_IAIM); cpu 354 src/dps8/dps8_ins.c putbits36_1 (& words[1], 3, cpu.cu.ORB_ISP); cpu 355 src/dps8/dps8_ins.c putbits36_1 (& words[1], 4, cpu.cu.ROFF_IPR); cpu 356 src/dps8/dps8_ins.c putbits36_1 (& words[1], 5, cpu.cu.OWB_NEA); cpu 357 src/dps8/dps8_ins.c putbits36_1 (& words[1], 6, cpu.cu.WOFF_OOB); cpu 358 src/dps8/dps8_ins.c putbits36_1 (& words[1], 7, cpu.cu.NO_GA); cpu 359 src/dps8/dps8_ins.c putbits36_1 (& words[1], 8, cpu.cu.OCB); cpu 360 src/dps8/dps8_ins.c putbits36_1 (& words[1], 9, cpu.cu.OCALL); cpu 361 src/dps8/dps8_ins.c putbits36_1 (& words[1], 10, cpu.cu.BOC); cpu 362 src/dps8/dps8_ins.c putbits36_1 (& words[1], 11, cpu.cu.PTWAM_ER); cpu 363 src/dps8/dps8_ins.c putbits36_1 (& words[1], 12, cpu.cu.CRT); cpu 364 src/dps8/dps8_ins.c putbits36_1 (& words[1], 13, cpu.cu.RALR); cpu 365 src/dps8/dps8_ins.c putbits36_1 (& words[1], 14, cpu.cu.SDWAM_ER); cpu 366 src/dps8/dps8_ins.c putbits36_1 (& words[1], 15, cpu.cu.OOSB); cpu 367 src/dps8/dps8_ins.c putbits36_1 (& words[1], 16, cpu.cu.PARU); cpu 368 src/dps8/dps8_ins.c putbits36_1 (& words[1], 17, cpu.cu.PARL); cpu 369 src/dps8/dps8_ins.c putbits36_1 (& words[1], 18, cpu.cu.ONC1); cpu 370 src/dps8/dps8_ins.c putbits36_1 (& words[1], 19, cpu.cu.ONC2); cpu 371 src/dps8/dps8_ins.c putbits36_4 (& words[1], 20, cpu.cu.IA); cpu 372 src/dps8/dps8_ins.c putbits36_3 (& words[1], 24, cpu.cu.IACHN); cpu 373 src/dps8/dps8_ins.c putbits36_3 (& words[1], 27, cpu.cu.CNCHN); cpu 374 src/dps8/dps8_ins.c putbits36_5 (& words[1], 30, cpu.cu.FI_ADDR); cpu 375 src/dps8/dps8_ins.c putbits36_1 (& words[1], 35, cpu.cycle == INTERRUPT_cycle ? 0 : 1); cpu 379 src/dps8/dps8_ins.c putbits36_3 (& words[2], 0, cpu.TPR.TRR); cpu 380 src/dps8/dps8_ins.c putbits36_15 (& words[2], 3, cpu.TPR.TSR); cpu 384 src/dps8/dps8_ins.c putbits36_3 (& words[2], 27, (word3) cpu.switches.cpu_num); cpu 385 src/dps8/dps8_ins.c putbits36_6 (& words[2], 30, cpu.cu.delta); cpu 389 src/dps8/dps8_ins.c putbits36_3 (& words[3], 18, cpu.cu.TSN_VALID[0] ? cpu.cu.TSN_PRNO[0] : 0); cpu 390 src/dps8/dps8_ins.c putbits36_1 (& words[3], 21, cpu.cu.TSN_VALID[0]); cpu 391 src/dps8/dps8_ins.c putbits36_3 (& words[3], 22, cpu.cu.TSN_VALID[1] ? cpu.cu.TSN_PRNO[1] : 0); cpu 392 src/dps8/dps8_ins.c putbits36_1 (& words[3], 25, cpu.cu.TSN_VALID[1]); cpu 393 src/dps8/dps8_ins.c putbits36_3 (& words[3], 26, cpu.cu.TSN_VALID[2] ? cpu.cu.TSN_PRNO[2] : 0); cpu 394 src/dps8/dps8_ins.c putbits36_1 (& words[3], 29, cpu.cu.TSN_VALID[2]); cpu 395 src/dps8/dps8_ins.c putbits36_6 (& words[3], 30, cpu.TPR.TBR); cpu 399 src/dps8/dps8_ins.c putbits36_18 (& words[4], 0, cpu.PPR.IC); cpu 403 src/dps8/dps8_ins.c putbits36_18 (& words[4], 18, cpu.cu.IR); cpu 440 src/dps8/dps8_ins.c putbits36 (& words[5], 0, 18, cpu.TPR.CA); cpu 441 src/dps8/dps8_ins.c putbits36 (& words[5], 18, 1, cpu.cu.repeat_first); cpu 442 src/dps8/dps8_ins.c putbits36 (& words[5], 19, 1, cpu.cu.rpt); cpu 443 src/dps8/dps8_ins.c putbits36 (& words[5], 20, 1, cpu.cu.rd); cpu 444 src/dps8/dps8_ins.c putbits36 (& words[5], 21, 1, cpu.cu.rl); cpu 445 src/dps8/dps8_ins.c putbits36 (& words[5], 22, 1, cpu.cu.pot); cpu 447 src/dps8/dps8_ins.c putbits36_1 (& words[5], 24, cpu.cu.xde); cpu 448 src/dps8/dps8_ins.c putbits36_1 (& words[5], 25, cpu.cu.xdo); cpu 449 src/dps8/dps8_ins.c putbits36_1 (& words[5], 26, cpu.cu.itp); cpu 450 src/dps8/dps8_ins.c putbits36_1 (& words[5], 27, cpu.cu.rfi); cpu 451 src/dps8/dps8_ins.c putbits36_1 (& words[5], 28, cpu.cu.its); cpu 452 src/dps8/dps8_ins.c putbits36_1 (& words[5], 29, cpu.cu.FIF); cpu 453 src/dps8/dps8_ins.c putbits36_6 (& words[5], 30, cpu.cu.CT_HOLD); cpu 457 src/dps8/dps8_ins.c words[6] = cpu.cu.IWB; cpu 461 src/dps8/dps8_ins.c words[7] = cpu.cu.IRODD; cpu 467 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 541 src/dps8/dps8_ins.c scu2words (cpu.scu_data); cpu 543 src/dps8/dps8_ins.c cpu.cu_data.PSR = cpu.PPR.PSR; cpu 544 src/dps8/dps8_ins.c cpu.cu_data.PRR = cpu.PPR.PRR; cpu 545 src/dps8/dps8_ins.c cpu.cu_data.IC = cpu.PPR.IC; cpu 557 src/dps8/dps8_ins.c cpu.cu.delta = 0; cpu 558 src/dps8/dps8_ins.c cpu.cu.repeat_first = false; cpu 559 src/dps8/dps8_ins.c cpu.cu.rpt = false; cpu 560 src/dps8/dps8_ins.c cpu.cu.rd = false; cpu 561 src/dps8/dps8_ins.c cpu.cu.rl = false; cpu 562 src/dps8/dps8_ins.c cpu.cu.pot = false; cpu 563 src/dps8/dps8_ins.c cpu.cu.itp = false; cpu 564 src/dps8/dps8_ins.c cpu.cu.its = false; cpu 565 src/dps8/dps8_ins.c cpu.cu.xde = false; cpu 566 src/dps8/dps8_ins.c cpu.cu.xdo = false; cpu 576 src/dps8/dps8_ins.c cpu.PPR.PRR = getbits36_3 (words[0], 0); cpu 577 src/dps8/dps8_ins.c cpu.PPR.PSR = getbits36_15 (words[0], 3); cpu 578 src/dps8/dps8_ins.c cpu.PPR.P = getbits36_1 (words[0], 18); cpu 579 src/dps8/dps8_ins.c cpu.cu.XSF = getbits36_1 (words[0], 19); cpu 580 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "%s sets XSF to %o\n", __func__, cpu.cu.XSF); cpu 599 src/dps8/dps8_ins.c cpu.cu.APUCycleBits = (word12) ((cpu.cu.APUCycleBits & 07770) | (word12) getbits36_3 (words[0], 33)); cpu 604 src/dps8/dps8_ins.c cpu 605 src/dps8/dps8_ins.c cpu 606 src/dps8/dps8_ins.c cpu 607 src/dps8/dps8_ins.c cpu 608 src/dps8/dps8_ins.c cpu 609 src/dps8/dps8_ins.c cpu 610 src/dps8/dps8_ins.c cpu 611 src/dps8/dps8_ins.c cpu 612 src/dps8/dps8_ins.c cpu 613 src/dps8/dps8_ins.c cpu 614 src/dps8/dps8_ins.c cpu 615 src/dps8/dps8_ins.c cpu 616 src/dps8/dps8_ins.c cpu 617 src/dps8/dps8_ins.c cpu 618 src/dps8/dps8_ins.c cpu 619 src/dps8/dps8_ins.c cpu 620 src/dps8/dps8_ins.c cpu 621 src/dps8/dps8_ins.c cpu 622 src/dps8/dps8_ins.c cpu 623 src/dps8/dps8_ins.c cpu 624 src/dps8/dps8_ins.c cpu 625 src/dps8/dps8_ins.c cpu 626 src/dps8/dps8_ins.c cpu 627 src/dps8/dps8_ins.c cpu 628 src/dps8/dps8_ins.c cpu 633 src/dps8/dps8_ins.c cpu.TPR.TRR = getbits36_3 (words[2], 0); cpu 634 src/dps8/dps8_ins.c cpu.TPR.TSR = getbits36_15 (words[2], 3); cpu 639 src/dps8/dps8_ins.c cpu.cu.delta = getbits36_6 (words[2], 30); cpu 645 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[0] = getbits36_3 (words[3], 18); cpu 646 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[0] = getbits36_1 (words[3], 21); cpu 647 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[1] = getbits36_3 (words[3], 22); cpu 648 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[1] = getbits36_1 (words[3], 25); cpu 649 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[2] = getbits36_3 (words[3], 26); cpu 650 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[2] = getbits36_1 (words[3], 29); cpu 651 src/dps8/dps8_ins.c cpu.TPR.TBR = getbits36_6 (words[3], 30); cpu 655 src/dps8/dps8_ins.c cpu.cu.IR = getbits36_18 (words[4], 18); // HWR cpu 656 src/dps8/dps8_ins.c cpu.PPR.IC = getbits36_18 (words[4], 0); cpu 662 src/dps8/dps8_ins.c cpu.cu.repeat_first = getbits36_1 (words[5], 18); cpu 663 src/dps8/dps8_ins.c cpu.cu.rpt = getbits36_1 (words[5], 19); cpu 664 src/dps8/dps8_ins.c cpu.cu.rd = getbits36_1 (words[5], 20); cpu 665 src/dps8/dps8_ins.c cpu.cu.rl = getbits36_1 (words[5], 21); cpu 666 src/dps8/dps8_ins.c cpu.cu.pot = getbits36_1 (words[5], 22); cpu 668 src/dps8/dps8_ins.c cpu.cu.xde = getbits36_1 (words[5], 24); cpu 669 src/dps8/dps8_ins.c cpu.cu.xdo = getbits36_1 (words[5], 25); cpu 670 src/dps8/dps8_ins.c cpu.cu.itp = getbits36_1 (words[5], 26); cpu 671 src/dps8/dps8_ins.c cpu.cu.rfi = getbits36_1 (words[5], 27); cpu 672 src/dps8/dps8_ins.c cpu.cu.its = getbits36_1 (words[5], 28); cpu 673 src/dps8/dps8_ins.c cpu.cu.FIF = getbits36_1 (words[5], 29); cpu 674 src/dps8/dps8_ins.c cpu.cu.CT_HOLD = getbits36_6 (words[5], 30); cpu 678 src/dps8/dps8_ins.c cpu.cu.IWB = words[6]; cpu 682 src/dps8/dps8_ins.c cpu.cu.IRODD = words[7]; cpu 687 src/dps8/dps8_ins.c words2scu (cpu.scu_data); cpu 688 src/dps8/dps8_ins.c decode_instruction (IWB_IRODD, & cpu.currentInstruction); cpu 695 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 699 src/dps8/dps8_ins.c words[i] = cpu.du.image[i]; cpu 709 src/dps8/dps8_ins.c putbits36_1 (& words[0], 9, cpu.du.Z); cpu 710 src/dps8/dps8_ins.c putbits36_1 (& words[0], 10, cpu.du.NOP); cpu 711 src/dps8/dps8_ins.c putbits36_24 (& words[0], 12, cpu.du.CHTALLY); cpu 715 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 720 src/dps8/dps8_ins.c putbits36_18 (& words[2], 0, cpu.du.D1_PTR_W); cpu 721 src/dps8/dps8_ins.c putbits36_6 (& words[2], 18, cpu.du.D1_PTR_B); cpu 722 src/dps8/dps8_ins.c putbits36_2 (& words[2], 25, cpu.du.TAk[0]); cpu 723 src/dps8/dps8_ins.c putbits36_1 (& words[2], 31, cpu.du.F1); cpu 724 src/dps8/dps8_ins.c putbits36_1 (& words[2], 32, cpu.du.Ak[0]); cpu 728 src/dps8/dps8_ins.c putbits36_10 (& words[3], 0, cpu.du.LEVEL1); cpu 729 src/dps8/dps8_ins.c putbits36_24 (& words[3], 12, cpu.du.D1_RES); cpu 733 src/dps8/dps8_ins.c putbits36_18 (& words[4], 0, cpu.du.D2_PTR_W); cpu 734 src/dps8/dps8_ins.c putbits36_6 (& words[4], 18, cpu.du.D2_PTR_B); cpu 735 src/dps8/dps8_ins.c putbits36_2 (& words[4], 25, cpu.du.TAk[1]); cpu 736 src/dps8/dps8_ins.c putbits36_1 (& words[4], 30, cpu.du.R); cpu 737 src/dps8/dps8_ins.c putbits36_1 (& words[4], 31, cpu.du.F2); cpu 738 src/dps8/dps8_ins.c putbits36_1 (& words[4], 32, cpu.du.Ak[1]); cpu 742 src/dps8/dps8_ins.c putbits36_10 (& words[5], 0, cpu.du.LEVEL2); cpu 743 src/dps8/dps8_ins.c putbits36_24 (& words[5], 12, cpu.du.D2_RES); cpu 747 src/dps8/dps8_ins.c putbits36_18 (& words[6], 0, cpu.du.D3_PTR_W); cpu 748 src/dps8/dps8_ins.c putbits36_6 (& words[6], 18, cpu.du.D3_PTR_B); cpu 749 src/dps8/dps8_ins.c putbits36_2 (& words[6], 25, cpu.du.TAk[2]); cpu 750 src/dps8/dps8_ins.c putbits36_1 (& words[6], 31, cpu.du.F3); cpu 751 src/dps8/dps8_ins.c putbits36_1 (& words[6], 32, cpu.du.Ak[2]); cpu 752 src/dps8/dps8_ins.c putbits36_3 (& words[6], 33, cpu.du.JMP); cpu 756 src/dps8/dps8_ins.c putbits36_24 (& words[7], 12, cpu.du.D3_RES); cpu 765 src/dps8/dps8_ins.c cpu.du.Z = getbits36_1 (words[0], 9); cpu 766 src/dps8/dps8_ins.c cpu.du.NOP = getbits36_1 (words[0], 10); cpu 767 src/dps8/dps8_ins.c cpu.du.CHTALLY = getbits36_24 (words[0], 12); cpu 772 src/dps8/dps8_ins.c cpu.du.D1_PTR_W = getbits36_18 (words[2], 0); cpu 773 src/dps8/dps8_ins.c cpu.du.D1_PTR_B = getbits36_6 (words[2], 18); cpu 774 src/dps8/dps8_ins.c cpu.du.TAk[0] = getbits36_2 (words[2], 25); cpu 775 src/dps8/dps8_ins.c cpu.du.F1 = getbits36_1 (words[2], 31); cpu 776 src/dps8/dps8_ins.c cpu.du.Ak[0] = getbits36_1 (words[2], 32); cpu 780 src/dps8/dps8_ins.c cpu.du.LEVEL1 = getbits36_10 (words[3], 0); cpu 781 src/dps8/dps8_ins.c cpu.du.D1_RES = getbits36_24 (words[3], 12); cpu 785 src/dps8/dps8_ins.c cpu.du.D2_PTR_W = getbits36_18 (words[4], 0); cpu 786 src/dps8/dps8_ins.c cpu.du.D2_PTR_B = getbits36_6 (words[4], 18); cpu 787 src/dps8/dps8_ins.c cpu.du.TAk[1] = getbits36_2 (words[4], 25); cpu 788 src/dps8/dps8_ins.c cpu.du.F2 = getbits36_1 (words[4], 31); cpu 789 src/dps8/dps8_ins.c cpu.du.Ak[1] = getbits36_1 (words[4], 32); cpu 793 src/dps8/dps8_ins.c cpu.du.LEVEL2 = getbits36_1 (words[5], 9); cpu 794 src/dps8/dps8_ins.c cpu.du.D2_RES = getbits36_24 (words[5], 12); cpu 798 src/dps8/dps8_ins.c cpu.du.D3_PTR_W = getbits36_18 (words[6], 0); cpu 799 src/dps8/dps8_ins.c cpu.du.D3_PTR_B = getbits36_6 (words[6], 18); cpu 800 src/dps8/dps8_ins.c cpu.du.TAk[2] = getbits36_2 (words[6], 25); cpu 801 src/dps8/dps8_ins.c cpu.du.F3 = getbits36_1 (words[6], 31); cpu 802 src/dps8/dps8_ins.c cpu.du.Ak[2] = getbits36_1 (words[6], 32); cpu 803 src/dps8/dps8_ins.c cpu.du.JMP = getbits36_3 (words[6], 33); cpu 807 src/dps8/dps8_ins.c cpu.du.D3_RES = getbits36_24 (words[7], 12); cpu 809 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 813 src/dps8/dps8_ins.c cpu.du.image[i] = words[i]; cpu 1093 src/dps8/dps8_ins.c cpu.TPR.TRR = 0; cpu 1094 src/dps8/dps8_ins.c cpu.RSDWH_R1 = 0; cpu 1098 src/dps8/dps8_ins.c if (cpu.cu.rd && ((cpu.PPR.IC & 1) != 0)) cpu 1100 src/dps8/dps8_ins.c if (cpu.cu.repeat_first) cpu 1106 src/dps8/dps8_ins.c else if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 1108 src/dps8/dps8_ins.c if (cpu.cu.repeat_first) cpu 1112 src/dps8/dps8_ins.c Read (addr, & cpu.cu.IWB, INSTRUCTION_FETCH); cpu 1117 src/dps8/dps8_ins.c cpu.cu.IWB = tmp[0]; cpu 1118 src/dps8/dps8_ins.c cpu.cu.IRODD = tmp[1]; cpu 1130 src/dps8/dps8_ins.c if ((cpu.PPR.IC & 1) == 0) // Even cpu 1134 src/dps8/dps8_ins.c cpu.cu.IWB = tmp[0]; cpu 1135 src/dps8/dps8_ins.c cpu.cu.IRODD = tmp[1]; cpu 1139 src/dps8/dps8_ins.c Read (addr, & cpu.cu.IWB, INSTRUCTION_FETCH); cpu 1140 src/dps8/dps8_ins.c cpu.cu.IRODD = cpu.cu.IWB; cpu 1155 src/dps8/dps8_ins.c char * where = lookup_address (cpu.PPR.PSR, cpu.PPR.IC, & compname, cpu 1165 src/dps8/dps8_ins.c cpu.BAR.BASE, cpu.PPR.IC, where); cpu 1169 src/dps8/dps8_ins.c sim_debug (flag, &cpu_dev, "%06o %s\n", cpu.PPR.IC, where); cpu 1177 src/dps8/dps8_ins.c cpu.PPR.PSR, cpu 1178 src/dps8/dps8_ins.c cpu.BAR.BASE, cpu.PPR.IC, where); cpu 1183 src/dps8/dps8_ins.c cpu.PPR.PSR, cpu.PPR.IC, where); cpu 1196 src/dps8/dps8_ins.c cpu.BAR.BASE, cpu 1197 src/dps8/dps8_ins.c cpu.PPR.IC, cpu 1200 src/dps8/dps8_ins.c cpu.currentInstruction.address, cpu 1201 src/dps8/dps8_ins.c cpu.currentInstruction.opcode, cpu 1202 src/dps8/dps8_ins.c cpu.currentInstruction.opcodeX, cpu 1203 src/dps8/dps8_ins.c cpu.currentInstruction.b29, cpu 1204 src/dps8/dps8_ins.c cpu.currentInstruction.i, cpu 1205 src/dps8/dps8_ins.c GET_TM (cpu.currentInstruction.tag) >> 4, cpu 1206 src/dps8/dps8_ins.c GET_TD (cpu.currentInstruction.tag) & 017); cpu 1214 src/dps8/dps8_ins.c cpu.PPR.IC, cpu 1217 src/dps8/dps8_ins.c cpu.currentInstruction.address, cpu 1218 src/dps8/dps8_ins.c cpu.currentInstruction.opcode, cpu 1219 src/dps8/dps8_ins.c cpu.currentInstruction.opcodeX, cpu 1220 src/dps8/dps8_ins.c cpu.currentInstruction.b29, cpu 1221 src/dps8/dps8_ins.c cpu.currentInstruction.i, cpu 1222 src/dps8/dps8_ins.c GET_TM (cpu.currentInstruction.tag) >> 4, cpu 1223 src/dps8/dps8_ins.c GET_TD (cpu.currentInstruction.tag) & 017); cpu 1234 src/dps8/dps8_ins.c cpu.PPR.PSR, cpu 1235 src/dps8/dps8_ins.c cpu.BAR.BASE, cpu 1236 src/dps8/dps8_ins.c cpu.PPR.IC, cpu 1237 src/dps8/dps8_ins.c cpu.PPR.PRR, cpu 1240 src/dps8/dps8_ins.c cpu.currentInstruction.address, cpu 1241 src/dps8/dps8_ins.c cpu.currentInstruction.opcode, cpu 1242 src/dps8/dps8_ins.c cpu.currentInstruction.opcodeX, cpu 1243 src/dps8/dps8_ins.c cpu.currentInstruction.b29, cpu.currentInstruction.i, cpu 1244 src/dps8/dps8_ins.c GET_TM (cpu.currentInstruction.tag) >> 4, cpu 1245 src/dps8/dps8_ins.c GET_TD (cpu.currentInstruction.tag) & 017); cpu 1253 src/dps8/dps8_ins.c cpu.PPR.PSR, cpu 1254 src/dps8/dps8_ins.c cpu.PPR.IC, cpu 1255 src/dps8/dps8_ins.c cpu.PPR.PRR, cpu 1258 src/dps8/dps8_ins.c cpu.currentInstruction.address, cpu 1259 src/dps8/dps8_ins.c cpu.currentInstruction.opcode, cpu 1260 src/dps8/dps8_ins.c cpu.currentInstruction.opcodeX, cpu 1261 src/dps8/dps8_ins.c cpu.currentInstruction.b29, cpu 1262 src/dps8/dps8_ins.c cpu.currentInstruction.i, cpu 1263 src/dps8/dps8_ins.c GET_TM (cpu.currentInstruction.tag) >> 4, cpu 1264 src/dps8/dps8_ins.c GET_TD (cpu.currentInstruction.tag) & 017); cpu 1274 src/dps8/dps8_ins.c if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 1278 src/dps8/dps8_ins.c if ((cpu.rX[0] & 00001) == 0) cpu 1290 src/dps8/dps8_ins.c if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 1294 src/dps8/dps8_ins.c if ((cpu.rX[0] & 00001) == 0) cpu 1306 src/dps8/dps8_ins.c trk (cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC, IWB_IRODD); cpu 1363 src/dps8/dps8_ins.c DCDstruct * ci = & cpu.currentInstruction; cpu 1370 src/dps8/dps8_ins.c const bool restart = cpu.cu.rfi; // instruction is to be restarted cpu 1371 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 1401 src/dps8/dps8_ins.c if (unlikely (cpu.MR.emr && cpu.MR.OC_TRAP)) { cpu 1402 src/dps8/dps8_ins.c if (cpu.MR.OPCODE == opcode && cpu.MR.OPCODEX == opcodeX) { cpu 1403 src/dps8/dps8_ins.c if (cpu.MR.ihrrs) { cpu 1404 src/dps8/dps8_ins.c cpu.MR.ihr = 0; cpu 1418 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[0] = 0; cpu 1419 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[1] = 0; cpu 1420 src/dps8/dps8_ins.c cpu.cu.TSN_VALID[2] = 0; cpu 1421 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[0] = 0; cpu 1422 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[1] = 0; cpu 1423 src/dps8/dps8_ins.c cpu.cu.TSN_PRNO[2] = 0; cpu 1433 src/dps8/dps8_ins.c cpu.cu.XSF = 0; cpu 1435 src/dps8/dps8_ins.c cpu.cu.pot = 0; cpu 1436 src/dps8/dps8_ins.c cpu.cu.its = 0; cpu 1437 src/dps8/dps8_ins.c cpu.cu.itp = 0; cpu 1441 src/dps8/dps8_ins.c PNL (L68_ (cpu.AR_F_E = false;)) cpu 1444 src/dps8/dps8_ins.c cpu.cu.APUCycleBits &= 07770; cpu 1451 src/dps8/dps8_ins.c if (unlikely (cpu.isXED)) { cpu 1456 src/dps8/dps8_ins.c if (opcode == 0717 && !opcodeX && cpu.cu.xde && cpu.cu.xdo /* even instruction being executed */) cpu 1462 src/dps8/dps8_ins.c if (cpu.cu.xde && cpu.cu.xdo /* even instr being executed */) cpu 1466 src/dps8/dps8_ins.c if (!cpu.cu.xde && cpu.cu.xdo /* odd instr being executed */ && !(cpu.PPR.IC & 1)) cpu 1469 src/dps8/dps8_ins.c } else if (unlikely (cpu.isExec)) { cpu 1472 src/dps8/dps8_ins.c if (opcode == 0560 && !opcodeX && cpu.cu.xde && !(cpu.PPR.IC & 1)) cpu 1482 src/dps8/dps8_ins.c if (unlikely (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl)) { cpu 1489 src/dps8/dps8_ins.c if (cpu.cu.rl) cpu 1515 src/dps8/dps8_ins.c if (unlikely (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl)) { cpu 1520 src/dps8/dps8_ins.c if (unlikely (cpu.cu.rl)) { cpu 1662 src/dps8/dps8_ins.c if (n_dbgevents && (dbgevt = (dbgevent_lookup (cpu.PPR.PSR, cpu.PPR.IC))) >= 0) { cpu 1687 src/dps8/dps8_ins.c cpu.du.JMP = (word3) ndes; cpu 1688 src/dps8/dps8_ins.c cpu.dlyFlt = false; cpu 1694 src/dps8/dps8_ins.c if (unlikely (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl)) { cpu 1753 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD first %d rpt %d rd %d e/o %d X0 %06o a %d b %d\n", cpu.cu.repeat_first, cpu.cu.rpt, cpu.cu.rd, cpu.PPR.IC & 1, cpu.rX[0], !! (cpu.rX[0] & 01000), !! (cpu.rX[0] & 0400)); cpu 1754 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD CA %06o\n", cpu.TPR.CA); cpu 1758 src/dps8/dps8_ins.c if (cpu.cu.repeat_first) { cpu 1763 src/dps8/dps8_ins.c bool icOdd = !! (cpu.PPR.IC & 1); cpu 1767 src/dps8/dps8_ins.c if (cpu.cu.rpt || (cpu.cu.rd && icOdd) || cpu.cu.rl) cpu 1768 src/dps8/dps8_ins.c cpu.cu.repeat_first = false; cpu 1773 src/dps8/dps8_ins.c if (cpu.cu.rpt || // rpt cpu 1774 src/dps8/dps8_ins.c (cpu.cu.rd && icEven) || // rpd & even cpu 1775 src/dps8/dps8_ins.c (cpu.cu.rd && icOdd) || // rpd & odd cpu 1776 src/dps8/dps8_ins.c cpu.cu.rl) { // rl cpu 1784 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; X%d was %06o\n", Xn, cpu.rX[Xn]); cpu 1786 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + offset) & AMASK; cpu 1787 src/dps8/dps8_ins.c cpu.rX[Xn] = cpu.TPR.CA; cpu 1791 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; X%d now %06o\n", Xn, cpu.rX[Xn]); cpu 1811 src/dps8/dps8_ins.c cpu.du.CHTALLY = 0; cpu 1812 src/dps8/dps8_ins.c cpu.du.Z = 1; cpu 1824 src/dps8/dps8_ins.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 1825 src/dps8/dps8_ins.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 1827 src/dps8/dps8_ins.c word18 saveIC = cpu.PPR.IC; cpu 1828 src/dps8/dps8_ins.c Read (cpu.PPR.IC + 1 + n, & cpu.currentEISinstruction.op[n], INSTRUCTION_FETCH); cpu 1829 src/dps8/dps8_ins.c cpu.PPR.IC = saveIC; cpu 1831 src/dps8/dps8_ins.c PNL (cpu.IWRAddr = cpu.currentEISinstruction.op[0]); cpu 1855 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, &cpu_dev, "doPtrReg: PR[%o] SNR=%05o RNR=%o WORDNO=%06o " "BITNO=%02o\n", n, cpu.PAR[n].SNR, cpu.PAR[n].RNR, cpu.PAR[n].WORDNO, GET_PR_BITNO (n)); cpu 1862 src/dps8/dps8_ins.c cpu.TPR.TBR = GET_PR_BITNO (n); cpu 1864 src/dps8/dps8_ins.c cpu.TPR.TSR = cpu.PAR[n].SNR; cpu 1866 src/dps8/dps8_ins.c cpu.TPR.TRR = max (cpu.PAR[n].RNR, cpu.PPR.PRR); cpu 1868 src/dps8/dps8_ins.c cpu.TPR.TRR = max3 (cpu.PAR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); cpu 1870 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, &cpu_dev, "doPtrReg: n=%o offset=%05o TPR.CA=%06o " "TPR.TBR=%o TPR.TSR=%05o TPR.TRR=%o\n", n, offset, cpu.TPR.CA, cpu.TPR.TBR, cpu.TPR.TSR, cpu.TPR.TRR); cpu 1884 src/dps8/dps8_ins.c cpu.cu.TSN_VALID [0] = 0; cpu 1885 src/dps8/dps8_ins.c cpu.TPR.TBR = 0; cpu 1887 src/dps8/dps8_ins.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 1888 src/dps8/dps8_ins.c cpu.TPR.TRR = 0; cpu 1889 src/dps8/dps8_ins.c cpu.RSDWH_R1 = 0; cpu 1896 src/dps8/dps8_ins.c cpu.cu.CT_HOLD = 0; // Clear interrupted IR mode flag cpu 1899 src/dps8/dps8_ins.c cpu.ou.directOperandFlag = false; cpu 1900 src/dps8/dps8_ins.c cpu.ou.directOperand = 0; cpu 1901 src/dps8/dps8_ins.c cpu.ou.characterOperandSize = 0; cpu 1902 src/dps8/dps8_ins.c cpu.ou.characterOperandOffset = 0; cpu 1903 src/dps8/dps8_ins.c cpu.ou.crflag = false; cpu 1908 src/dps8/dps8_ins.c PNL (L68_ (cpu.AR_F_E = true;)) cpu 1909 src/dps8/dps8_ins.c cpu.iefpFinalAddress = cpu.TPR.CA; cpu 1916 src/dps8/dps8_ins.c cpu.rmw_address = cpu.iefpFinalAddress; cpu 1918 src/dps8/dps8_ins.c if (cpu.cu.rl) { cpu 1921 src/dps8/dps8_ins.c cpu.lnk = GETHI36 (cpu.CY); cpu 1922 src/dps8/dps8_ins.c cpu.CY &= MASK18; cpu 1926 src/dps8/dps8_ins.c cpu.lnk = GETHI36 (cpu.Ypair[0]); cpu 1927 src/dps8/dps8_ins.c cpu.Ypair[0] &= MASK18; cpu 1935 src/dps8/dps8_ins.c PNL (cpu.IWRAddr = 0); cpu 1940 src/dps8/dps8_ins.c cpu.useZone = false; cpu 1941 src/dps8/dps8_ins.c cpu.zone = MASK36; cpu 1953 src/dps8/dps8_ins.c cpu.last_write = 0; cpu 1956 src/dps8/dps8_ins.c cpu.last_write = cpu.TPR.CA; cpu 1961 src/dps8/dps8_ins.c if (cpu.iefpFinalAddress != cpu.rmw_address) cpu 1962 src/dps8/dps8_ins.c sim_warn("executeInstruction: write addr changed %o %d\n", cpu.iefpFinalAddress, cpu.rmw_address); cpu 1963 src/dps8/dps8_ins.c core_write_unlock (cpu.iefpFinalAddress, cpu.CY, __func__); cpu 1965 src/dps8/dps8_ins.c HDBGMWrite (cpu.iefpFinalAddress, cpu.CY, "Write RMW"); cpu 1978 src/dps8/dps8_ins.c cpu.TPR.TRR = cpu.PPR.PRR; cpu 1979 src/dps8/dps8_ins.c cpu.TPR.TSR = cpu.PPR.PSR; cpu 1980 src/dps8/dps8_ins.c cpu.TPR.TBR = 0; cpu 1990 src/dps8/dps8_ins.c bool icOdd = !! (cpu.PPR.IC & 1); cpu 1999 src/dps8/dps8_ins.c bool rf = cpu.cu.repeat_first; cpu 2000 src/dps8/dps8_ins.c if (rf && cpu.cu.rd && icEven) cpu 2003 src/dps8/dps8_ins.c if (unlikely ((! rf) && (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl))) { cpu 2009 src/dps8/dps8_ins.c if (cpu.cu.rpt || cpu.cu.rd) { cpu 2012 src/dps8/dps8_ins.c bool rptA = !! (cpu.rX[0] & 01000); cpu 2013 src/dps8/dps8_ins.c bool rptB = !! (cpu.rX[0] & 00400); cpu 2015 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD delta first %d rf %d rpt %d rd %d " "e/o %d X0 %06o a %d b %d\n", cpu.cu.repeat_first, rf, cpu.cu.rpt, cpu.cu.rd, icOdd, cpu.rX[0], rptA, rptB); cpu 2017 src/dps8/dps8_ins.c if (cpu.cu.rpt) { // rpt cpu 2019 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); cpu 2020 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + cpu.cu.delta) & AMASK; cpu 2021 src/dps8/dps8_ins.c cpu.rX[Xn] = cpu.TPR.CA; cpu 2025 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD delta; X%d now %06o\n", Xn, cpu.rX[Xn]); cpu 2032 src/dps8/dps8_ins.c if (cpu.cu.rd && icOdd && rptA) { // rpd, even instruction cpu 2035 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); cpu 2036 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + cpu.cu.delta) & AMASK; cpu 2037 src/dps8/dps8_ins.c cpu.rX[Xn] = cpu.TPR.CA; cpu 2041 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD delta; X%d now %06o\n", Xn, cpu.rX[Xn]); cpu 2044 src/dps8/dps8_ins.c if (cpu.cu.rd && icOdd && rptB) { // rpdb, odd instruction cpu 2047 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IRODD, 36 - 3); cpu 2048 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + cpu.cu.delta) & AMASK; cpu 2049 src/dps8/dps8_ins.c cpu.rX[Xn] = cpu.TPR.CA; cpu 2053 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RPT/RPD delta; X%d now %06o\n", Xn, cpu.rX[Xn]); cpu 2071 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) cpu 2072 src/dps8/dps8_ins.c flt = (cpu.cu.rl || cpu.cu.rpt || cpu.cu.rd) && cpu.dlyFlt; // L68 cpu 2074 src/dps8/dps8_ins.c flt = cpu.cu.rl && cpu.dlyFlt; cpu 2077 src/dps8/dps8_ins.c doFault (cpu.dlyFltNum, cpu.dlySubFltNum, cpu.dlyCtx); cpu 2084 src/dps8/dps8_ins.c if (cpu.cu.rpt || (cpu.cu.rd && icOdd) || cpu.cu.rl) { cpu 2091 src/dps8/dps8_ins.c uint x = (uint) getbits18 (cpu.rX[0], 0, 8); cpu 2096 src/dps8/dps8_ins.c putbits18 (& cpu.rX[0], 0, 8, x); cpu 2118 src/dps8/dps8_ins.c if (TST_I_ZERO && (cpu.rX[0] & 0100)) { cpu 2123 src/dps8/dps8_ins.c if (!TST_I_ZERO && (cpu.rX[0] & 040)) { cpu 2128 src/dps8/dps8_ins.c if (TST_I_NEG && (cpu.rX[0] & 020)) { cpu 2133 src/dps8/dps8_ins.c if (!TST_I_NEG && (cpu.rX[0] & 010)) { cpu 2138 src/dps8/dps8_ins.c if (TST_I_CARRY && (cpu.rX[0] & 04)) { cpu 2143 src/dps8/dps8_ins.c if (!TST_I_CARRY && (cpu.rX[0] & 02)) { cpu 2148 src/dps8/dps8_ins.c if (TST_I_OFLOW && (cpu.rX[0] & 01)) { cpu 2158 src/dps8/dps8_ins.c cpu.cu.rpt = false; cpu 2159 src/dps8/dps8_ins.c cpu.cu.rd = false; cpu 2160 src/dps8/dps8_ins.c cpu.cu.rl = false; cpu 2166 src/dps8/dps8_ins.c if (cpu.cu.rl) { cpu 2168 src/dps8/dps8_ins.c if (cpu.lnk == 0) { cpu 2170 src/dps8/dps8_ins.c cpu.cu.rpt = false; cpu 2171 src/dps8/dps8_ins.c cpu.cu.rd = false; cpu 2172 src/dps8/dps8_ins.c cpu.cu.rl = false; cpu 2176 src/dps8/dps8_ins.c uint Xn = (uint) getbits36_3 (cpu.cu.IWB, 36 - 3); cpu 2179 src/dps8/dps8_ins.c cpu.rX[Xn] = cpu.lnk; cpu 2187 src/dps8/dps8_ins.c if (unlikely (cpu.dlyFlt)) { cpu 2189 src/dps8/dps8_ins.c doFault (cpu.dlyFltNum, cpu.dlySubFltNum, cpu.dlyCtx); cpu 2196 src/dps8/dps8_ins.c cpu.instrCnt ++; cpu 2200 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPAQI, &cpu_dev, "A=%012"PRIo64" Q=%012"PRIo64" IR:%s\n", cpu.rA, cpu.rQ, dump_flags (buf, cpu.cu.IR)); cpu 2202 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPFLT, &cpu_dev, "E=%03o A=%012"PRIo64" Q=%012"PRIo64" %.10Lg\n", cpu.rE, cpu.rA, cpu.rQ, EAQToIEEElongdouble ()); cpu 2204 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPFLT, &cpu_dev, "E=%03o A=%012"PRIo64" Q=%012"PRIo64" %.10g\n", cpu.rE, cpu.rA, cpu.rQ, EAQToIEEEdouble ()); cpu 2206 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPIDX, &cpu_dev, "X[0]=%06o X[1]=%06o X[2]=%06o X[3]=%06o\n", cpu.rX[0], cpu.rX[1], cpu.rX[2], cpu.rX[3]); cpu 2207 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPIDX, &cpu_dev, "X[4]=%06o X[5]=%06o X[6]=%06o X[7]=%06o\n", cpu.rX[4], cpu.rX[5], cpu.rX[6], cpu.rX[7]); cpu 2209 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPPR, &cpu_dev, "PR%d/%s: SNR=%05o RNR=%o WORDNO=%06o BITNO:%02o ARCHAR:%o ARBITNO:%02o\n", n, PRalias[n], cpu.PR[n].SNR, cpu.PR[n].RNR, cpu.PR[n].WORDNO, GET_PR_BITNO (n), GET_AR_CHAR (n), GET_AR_BITNO (n)); cpu 2211 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPPPR, &cpu_dev, "PRR:%o PSR:%05o P:%o IC:%06o\n", cpu.PPR.PRR, cpu.PPR.PSR, cpu.PPR.P, cpu.PPR.IC); cpu 2212 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPDSBR, &cpu_dev, "ADDR:%08o BND:%05o U:%o STACK:%04o\n", cpu.DSBR.ADDR, cpu.DSBR.BND, cpu.DSBR.U, cpu.DSBR.STACK); cpu 2238 src/dps8/dps8_ins.c if (cpu.cu.rpt || cpu.cu.rd || cpu.cu.rl) cpu 2271 src/dps8/dps8_ins.c DCDstruct * i = & cpu.currentInstruction; cpu 2280 src/dps8/dps8_ins.c cpu.ou.eac = 0; cpu 2281 src/dps8/dps8_ins.c cpu.ou.RB1_FULL = 0; cpu 2282 src/dps8/dps8_ins.c cpu.ou.RP_FULL = 0; cpu 2283 src/dps8/dps8_ins.c cpu.ou.RS_FULL = 0; cpu 2284 src/dps8/dps8_ins.c cpu.ou.STR_OP = 0; cpu 2285 src/dps8/dps8_ins.c cpu.ou.cycle = 0; cpu 2287 src/dps8/dps8_ins.c PNL (cpu.ou.RS = (word9) i->opcode); cpu 2289 src/dps8/dps8_ins.c cpu.skip_cu_hist = false; cpu 2290 src/dps8/dps8_ins.c memcpy (& cpu.MR_cache, & cpu.MR, sizeof (cpu.MR_cache)); cpu 2310 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) { // L68 cpu 2315 src/dps8/dps8_ins.c cpu.ou.RB1_FULL = cpu.ou.RP_FULL = cpu.ou.RS_FULL = 1; cpu 2316 src/dps8/dps8_ins.c cpu.ou.cycle |= ou_GIN; cpu 2317 src/dps8/dps8_ins.c cpu.ou.opsz = (opcodes10[i->opcode10].reg_use >> 12) & 037; cpu 2319 src/dps8/dps8_ins.c cpu.ou.reguse = reguse; cpu 2610 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; cpu 2611 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.TPR.TSR; cpu 2612 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = cpu.TPR.CA; cpu 2613 src/dps8/dps8_ins.c SET_PR_BITNO (n, cpu.TPR.TBR); cpu 2654 src/dps8/dps8_ins.c cpu.Ypair[0] = 043; cpu 2655 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; cpu 2656 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; cpu 2658 src/dps8/dps8_ins.c cpu.Ypair[1] = (word36) cpu.PR[n].WORDNO << 18; cpu 2659 src/dps8/dps8_ins.c cpu.Ypair[1] |= (word36) GET_PR_BITNO (n) << 9; cpu 2664 src/dps8/dps8_ins.c cpu.rA = cpu.CY; cpu 2668 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 2669 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 2680 src/dps8/dps8_ins.c cpu.rQ = cpu.CY; cpu 2684 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 2685 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 2714 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; cpu 2722 src/dps8/dps8_ins.c cmp36 (cpu.rQ, cpu.CY, &cpu.cu.IR); cpu 2731 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 2732 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 2750 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); cpu 2759 src/dps8/dps8_ins.c cpu.CY = cpu.rA; cpu 2788 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; cpu 2794 src/dps8/dps8_ins.c if (((cpu.CY >> 34) & 3) != 3) cpu 2796 src/dps8/dps8_ins.c word6 bitno = (cpu.CY >> 30) & 077; cpu 2825 src/dps8/dps8_ins.c word12 oSNR = getbits36_12 (cpu.CY, 6); cpu 2828 src/dps8/dps8_ins.c cpu.PR[n].SNR = 077777; cpu 2830 src/dps8/dps8_ins.c cpu.PR[n].SNR = oSNR; // unsigned word will 0-extend. cpu 2832 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = GETLO (cpu.CY); cpu 2837 src/dps8/dps8_ins.c n, cpu.CY, cpu.PR[n].RNR, GET_PR_BITNO (n), cpu 2838 src/dps8/dps8_ins.c cpu.PR[n].SNR, cpu.PR[n].WORDNO); cpu 2856 src/dps8/dps8_ins.c cpu.rX[n] = cpu.TPR.CA; cpu 2861 src/dps8/dps8_ins.c SC_I_ZERO (cpu.TPR.CA == 0); cpu 2862 src/dps8/dps8_ins.c SC_I_NEG (cpu.TPR.CA & SIGN18); cpu 2882 src/dps8/dps8_ins.c word18 ret = (cpu.PPR.IC + 1) & MASK18; cpu 2885 src/dps8/dps8_ins.c cpu.rX[opcode10 & 07] = ret; cpu 2893 src/dps8/dps8_ins.c cpu.CY = 0; cpu 2922 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; cpu 2923 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.TPR.TSR; cpu 2924 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = 0; cpu 2934 src/dps8/dps8_ins.c cmp36 (cpu.rA, cpu.CY, &cpu.cu.IR); cpu 2944 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 2946 src/dps8/dps8_ins.c cpu.CY = Add36b (cpu.CY, 1, 0, I_ZNOC, cpu 2947 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); cpu 2958 src/dps8/dps8_ins.c word36 trZ = cpu.rA & cpu.CY; cpu 2967 src/dps8/dps8_ins.c cpu.rA = cpu.Ypair[0]; cpu 2971 src/dps8/dps8_ins.c cpu.rQ = cpu.Ypair[1]; cpu 2975 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0) cpu 2976 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 2983 src/dps8/dps8_ins.c if (! (cpu.cu.IR & I_NEG) && ! (cpu.cu.IR & I_ZERO)) cpu 3002 src/dps8/dps8_ins.c cpu.rX[n] = GETLO (cpu.CY); cpu 3006 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); cpu 3007 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); cpu 3012 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.rA; cpu 3013 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.rQ; cpu 3053 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3055 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; cpu 3060 src/dps8/dps8_ins.c cpu.rA <<= 1; cpu 3061 src/dps8/dps8_ins.c if (tmpSign != (cpu.rA & SIGN36)) cpu 3064 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 3069 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3070 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3079 src/dps8/dps8_ins.c Read2 (cpu.TPR.CA, cpu.Ypair, RTCD_OPERAND_FETCH); cpu 3109 src/dps8/dps8_ins.c cpu.CY = ((word36) cpu.rX[n]) << 18; cpu 3110 src/dps8/dps8_ins.c cpu.zone = 0777777000000; cpu 3111 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3141 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) cpu 3142 src/dps8/dps8_ins.c tmp18 = GETLO (cpu.CY) & 0777760; // L68 cpu 3144 src/dps8/dps8_ins.c tmp18 = GETLO (cpu.CY) & 0777770; // DPS8M cpu 3184 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 3185 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 3200 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); cpu 3213 src/dps8/dps8_ins.c cpu.rA = cpu.rA | cpu.CY; cpu 3214 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 3219 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3220 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3225 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 3230 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpu.rQ, cpu.CY, 0, I_ZNOC, cpu 3231 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); cpu 3243 src/dps8/dps8_ins.c if (cpu.cu.IR & (I_NEG | I_ZERO)) cpu 3277 src/dps8/dps8_ins.c cpu.Ypair[0] = 043; cpu 3278 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; cpu 3279 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; cpu 3280 src/dps8/dps8_ins.c cpu.Ypair[1] = 0; cpu 3289 src/dps8/dps8_ins.c cpu.rA = cpu.rA & cpu.CY; cpu 3290 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 3294 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3295 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3306 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 3307 src/dps8/dps8_ins.c cpu.rE = (cpu.CY >> 28) & 0377; cpu 3308 src/dps8/dps8_ins.c cpu.rA = (cpu.CY & FLOAT36MASK) << 8; cpu 3312 src/dps8/dps8_ins.c cpu.rQ = 0; cpu 3317 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 3318 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3331 src/dps8/dps8_ins.c cpu.rA = cpu.TPR.TRR & MASK3; cpu 3332 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.TPR.TSR & MASK15) << 18; cpu 3337 src/dps8/dps8_ins.c cpu.rQ = cpu.TPR.TBR & MASK6; cpu 3338 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; cpu 3343 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 3354 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3355 src/dps8/dps8_ins.c word36 tmpSign = cpu.rQ & SIGN36; cpu 3360 src/dps8/dps8_ins.c cpu.rQ <<= 1; cpu 3361 src/dps8/dps8_ins.c if (tmpSign != (cpu.rQ & SIGN36)) cpu 3364 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits cpu 3369 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 3370 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 3390 src/dps8/dps8_ins.c DPS8M_ (cpu.CY = cpu.cu.IR & 0000000777770LL; ) cpu 3392 src/dps8/dps8_ins.c L68_ (cpu.CY = cpu.cu.IR & 0000000777760LL;) cpu 3394 src/dps8/dps8_ins.c if (cpu.switches.procMode == procModeGCOS) cpu 3395 src/dps8/dps8_ins.c cpu.CY = cpu.cu.IR & 0000000777600LL; cpu 3396 src/dps8/dps8_ins.c cpu.zone = 0000000777777; cpu 3397 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3398 src/dps8/dps8_ins.c SCF (i->stiTally, cpu.CY, I_TALLY); cpu 3406 src/dps8/dps8_ins.c cpu.rA = 0; cpu 3407 src/dps8/dps8_ins.c SETHI (cpu.rA, cpu.TPR.CA); cpu 3411 src/dps8/dps8_ins.c SC_I_ZERO (cpu.TPR.CA == 0); cpu 3412 src/dps8/dps8_ins.c SC_I_NEG (cpu.TPR.CA & SIGN18); cpu 3417 src/dps8/dps8_ins.c cpu.rQ = 0; cpu 3418 src/dps8/dps8_ins.c SETHI (cpu.rQ, cpu.TPR.CA); cpu 3423 src/dps8/dps8_ins.c SC_I_ZERO (cpu.TPR.CA == 0); cpu 3424 src/dps8/dps8_ins.c SC_I_NEG (cpu.TPR.CA & SIGN18); cpu 3441 src/dps8/dps8_ins.c cpu.rA = compl36 (cpu.CY, & cpu.cu.IR, & ovf); cpu 3452 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpu.CY, & cpu.cu.IR, & ovf); cpu 3472 src/dps8/dps8_ins.c cpu.rX[n] = compl18 (GETHI (cpu.CY), & cpu.cu.IR, & ovf); cpu 3488 src/dps8/dps8_ins.c if (cpu.Ypair[0] == 0400000000000LL && cpu.Ypair[1] == 0) cpu 3490 src/dps8/dps8_ins.c cpu.rA = cpu.Ypair[0]; cpu 3494 src/dps8/dps8_ins.c cpu.rQ = cpu.Ypair[1]; cpu 3502 src/dps8/dps8_ins.c else if (cpu.Ypair[0] == 0 && cpu.Ypair[1] == 0) cpu 3504 src/dps8/dps8_ins.c cpu.rA = 0; cpu 3508 src/dps8/dps8_ins.c cpu.rQ = 0; cpu 3518 src/dps8/dps8_ins.c word72 tmp72 = convert_to_word72 (cpu.Ypair[0], cpu.Ypair[1]); cpu 3524 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 3530 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 3531 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3540 src/dps8/dps8_ins.c cpu.rA = cpu.CY; cpu 3544 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3545 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3546 src/dps8/dps8_ins.c cpu.CY = 0; cpu 3559 src/dps8/dps8_ins.c cpu.rQ = cpu.CY; cpu 3563 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 3564 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 3565 src/dps8/dps8_ins.c cpu.CY = 0; cpu 3579 src/dps8/dps8_ins.c cpu.rX[n] = GETHI (cpu.CY); cpu 3583 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); cpu 3584 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); cpu 3590 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 3591 src/dps8/dps8_ins.c L68_ (cpu.ou.eac = 0;) cpu 3592 src/dps8/dps8_ins.c cpu.rX[0] = GETHI (cpu.Yblock8[0]); cpu 3596 src/dps8/dps8_ins.c cpu.rX[1] = GETLO (cpu.Yblock8[0]); cpu 3600 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3601 src/dps8/dps8_ins.c cpu.rX[2] = GETHI (cpu.Yblock8[1]); cpu 3605 src/dps8/dps8_ins.c cpu.rX[3] = GETLO (cpu.Yblock8[1]); cpu 3609 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3610 src/dps8/dps8_ins.c cpu.rX[4] = GETHI (cpu.Yblock8[2]); cpu 3614 src/dps8/dps8_ins.c cpu.rX[5] = GETLO (cpu.Yblock8[2]); cpu 3618 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3619 src/dps8/dps8_ins.c cpu.rX[6] = GETHI (cpu.Yblock8[3]); cpu 3623 src/dps8/dps8_ins.c cpu.rX[7] = GETLO (cpu.Yblock8[3]); cpu 3627 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3628 src/dps8/dps8_ins.c cpu.rA = cpu.Yblock8[4]; cpu 3632 src/dps8/dps8_ins.c cpu.rQ = cpu.Yblock8[5]; cpu 3636 src/dps8/dps8_ins.c cpu.rE = (GETHI (cpu.Yblock8[6]) >> 10) & 0377; // need checking cpu 3657 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 3658 src/dps8/dps8_ins.c L68_ (cpu.ou.eac = 0;) cpu 3659 src/dps8/dps8_ins.c SETHI (cpu.Yblock8[0], cpu.rX[0]); cpu 3660 src/dps8/dps8_ins.c SETLO (cpu.Yblock8[0], cpu.rX[1]); cpu 3661 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3662 src/dps8/dps8_ins.c SETHI (cpu.Yblock8[1], cpu.rX[2]); cpu 3663 src/dps8/dps8_ins.c SETLO (cpu.Yblock8[1], cpu.rX[3]); cpu 3664 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3665 src/dps8/dps8_ins.c SETHI (cpu.Yblock8[2], cpu.rX[4]); cpu 3666 src/dps8/dps8_ins.c SETLO (cpu.Yblock8[2], cpu.rX[5]); cpu 3667 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3668 src/dps8/dps8_ins.c SETHI (cpu.Yblock8[3], cpu.rX[6]); cpu 3669 src/dps8/dps8_ins.c SETLO (cpu.Yblock8[3], cpu.rX[7]); cpu 3670 src/dps8/dps8_ins.c L68_ (cpu.ou.eac ++;) cpu 3671 src/dps8/dps8_ins.c cpu.Yblock8[4] = cpu.rA; cpu 3672 src/dps8/dps8_ins.c cpu.Yblock8[5] = cpu.rQ; cpu 3673 src/dps8/dps8_ins.c cpu.Yblock8[6] = ((word36)(cpu.rE & MASK8)) << 28; cpu 3674 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 3675 src/dps8/dps8_ins.c cpu.Yblock8[7] = (((-- cpu.shadowTR) & MASK27) << 9) | (cpu.rRALR & 07); cpu 3677 src/dps8/dps8_ins.c cpu.Yblock8[7] = ((cpu.rTR & MASK27) << 9) | (cpu.rRALR & 07); cpu 3696 src/dps8/dps8_ins.c if (cpu.CY == 0) cpu 3702 src/dps8/dps8_ins.c cpu.CY = cpu.rA; cpu 3712 src/dps8/dps8_ins.c if (cpu.CY == cpu.rQ) cpu 3717 src/dps8/dps8_ins.c cpu.CY = cpu.rA; cpu 3734 src/dps8/dps8_ins.c cpu.CY = cpu.rA; cpu 3735 src/dps8/dps8_ins.c cpu.zone = cpu 3741 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3742 src/dps8/dps8_ins.c cpu.ou.crflag = true; cpu 3752 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; cpu 3753 src/dps8/dps8_ins.c cpu.zone = cpu 3759 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3760 src/dps8/dps8_ins.c cpu.ou.crflag = true; cpu 3766 src/dps8/dps8_ins.c SETHI (cpu.CY, (cpu.PPR.IC + 1) & MASK18); cpu 3769 src/dps8/dps8_ins.c DPS8M_ (SETLO (cpu.CY, cpu.cu.IR & 0777770);) cpu 3770 src/dps8/dps8_ins.c L68_ (SETLO (cpu.CY, cpu.cu.IR & 0777760);) cpu 3771 src/dps8/dps8_ins.c SCF (i->stiTally, cpu.CY, I_TALLY); cpu 3779 src/dps8/dps8_ins.c cpu.CY = ((word36) ((cpu.PPR.IC + 2) & MASK18)) << 18; cpu 3780 src/dps8/dps8_ins.c cpu.zone = 0777777000000; cpu 3781 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3792 src/dps8/dps8_ins.c cpu.CY = cpu.rA; cpu 3793 src/dps8/dps8_ins.c cpu.zone = cpu 3801 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3802 src/dps8/dps8_ins.c cpu.ou.crflag = true; cpu 3812 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; cpu 3813 src/dps8/dps8_ins.c cpu.zone = cpu 3821 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3822 src/dps8/dps8_ins.c cpu.ou.crflag = true; cpu 3842 src/dps8/dps8_ins.c if (cpu.cycle == EXEC_cycle) cpu 3844 src/dps8/dps8_ins.c cpu.Ypair[0] = 0; cpu 3845 src/dps8/dps8_ins.c putbits36_15 (& cpu.Ypair[0], 3, cpu.PPR.PSR); cpu 3846 src/dps8/dps8_ins.c putbits36_3 (& cpu.Ypair[0], 18, cpu.PPR.PRR); cpu 3847 src/dps8/dps8_ins.c putbits36_6 (& cpu.Ypair[0], 30, 043); cpu 3849 src/dps8/dps8_ins.c cpu.Ypair[1] = 0; cpu 3850 src/dps8/dps8_ins.c putbits36_18 (& cpu.Ypair[1], 0, cpu.PPR.IC + 2); cpu 3854 src/dps8/dps8_ins.c cpu.Ypair[0] = 0; cpu 3855 src/dps8/dps8_ins.c putbits36_15 (& cpu.Ypair[0], 3, cpu.cu_data.PSR); cpu 3856 src/dps8/dps8_ins.c putbits36_3 (& cpu.Ypair[0], 18, cpu.cu_data.PRR); cpu 3859 src/dps8/dps8_ins.c cpu.Ypair[1] = 0; cpu 3860 src/dps8/dps8_ins.c putbits36_18 (& cpu.Ypair[1], 0, cpu.cu_data.IC + 2); cpu 3872 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 3875 src/dps8/dps8_ins.c cpu.CY = (((uint) (((int) cpu.shadowTR) - 1)) & MASK27) << 9; cpu 3877 src/dps8/dps8_ins.c cpu.CY = (cpu.rTR & MASK27) << 9; cpu 3904 src/dps8/dps8_ins.c cpu.CY = cpu.rX[opcode10 & 07]; cpu 3905 src/dps8/dps8_ins.c cpu.zone = 0000000777777; cpu 3906 src/dps8/dps8_ins.c cpu.useZone = true; cpu 3916 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3919 src/dps8/dps8_ins.c bool a0 = cpu.rA & SIGN36; // A0 cpu 3920 src/dps8/dps8_ins.c cpu.rA <<= 1; // shift left 1 cpu 3922 src/dps8/dps8_ins.c cpu.rA |= 1; cpu 3924 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 3929 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3930 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3944 src/dps8/dps8_ins.c cpu.rA &= DMASK; // Make sure the shifted in bits are 0 cpu 3945 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3947 src/dps8/dps8_ins.c cpu.rA >>= tmp36; cpu 3948 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 3953 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3954 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3966 src/dps8/dps8_ins.c cpu.rA &= DMASK; // Make sure the shifted in bits are 0 cpu 3967 src/dps8/dps8_ins.c word18 tmp18 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3969 src/dps8/dps8_ins.c bool a0 = cpu.rA & SIGN36; // A0 cpu 3972 src/dps8/dps8_ins.c cpu.rA >>= 1; // shift right 1 cpu 3974 src/dps8/dps8_ins.c cpu.rA |= SIGN36; cpu 3976 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 3981 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 3982 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 3995 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 3998 src/dps8/dps8_ins.c bool a0 = cpu.rA & SIGN36; // A0 cpu 4000 src/dps8/dps8_ins.c cpu.rA <<= 1; // shift left 1 cpu 4002 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 cpu 4004 src/dps8/dps8_ins.c cpu.rA |= 1; // Q0 => A35 cpu 4006 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 cpu 4009 src/dps8/dps8_ins.c cpu.rQ |= 1; cpu 4012 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 4013 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 4019 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4020 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4035 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4036 src/dps8/dps8_ins.c word36 tmpSign = cpu.rA & SIGN36; cpu 4039 src/dps8/dps8_ins.c cpu.rA <<= 1; // shift left 1 cpu 4041 src/dps8/dps8_ins.c if (tmpSign != (cpu.rA & SIGN36)) cpu 4044 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 cpu 4046 src/dps8/dps8_ins.c cpu.rA |= 1; // Q0 => A35 cpu 4048 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 cpu 4051 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 4052 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 4058 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4059 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4071 src/dps8/dps8_ins.c cpu.rA &= DMASK; // Make sure the shifted in bits are 0 cpu 4072 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 cpu 4073 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4076 src/dps8/dps8_ins.c bool a35 = cpu.rA & 1; // A35 cpu 4077 src/dps8/dps8_ins.c cpu.rA >>= 1; // shift right 1 cpu 4079 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 cpu 4082 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; cpu 4084 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 4085 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 4091 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4092 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4105 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4106 src/dps8/dps8_ins.c cpu.rA &= DMASK; // Make sure the shifted in bits are 0 cpu 4107 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 cpu 4108 src/dps8/dps8_ins.c bool a0 = cpu.rA & SIGN36; // A0 cpu 4112 src/dps8/dps8_ins.c bool a35 = cpu.rA & 1; // A35 cpu 4114 src/dps8/dps8_ins.c cpu.rA >>= 1; // shift right 1 cpu 4116 src/dps8/dps8_ins.c cpu.rA |= SIGN36; cpu 4118 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 cpu 4120 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; cpu 4122 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits (probably ain't necessary) cpu 4123 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 4129 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4130 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4141 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4144 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 cpu 4145 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 cpu 4147 src/dps8/dps8_ins.c cpu.rQ |= 1; cpu 4149 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits cpu 4154 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 4155 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 4169 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4171 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 cpu 4172 src/dps8/dps8_ins.c cpu.rQ >>= tmp36; cpu 4173 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits cpu 4178 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 4179 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 4192 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 cpu 4193 src/dps8/dps8_ins.c word36 tmp36 = cpu.TPR.CA & 0177; // CY bits 11-17 cpu 4194 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 cpu 4197 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 cpu 4199 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; cpu 4201 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits cpu 4206 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 4207 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 4224 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4229 src/dps8/dps8_ins.c cpu.rA = Add36b (cpu.rA, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4240 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4246 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 4247 src/dps8/dps8_ins.c tmp72 = Add72b (convert_to_word72 (cpu.rA, cpu.rQ), cpu 4248 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4249 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 4261 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4267 src/dps8/dps8_ins.c word72 tmp72 = SIGNEXT36_72 (cpu.CY); // sign extend Cy cpu 4268 src/dps8/dps8_ins.c tmp72 = Add72b (convert_to_word72 (cpu.rA, cpu.rQ), cpu 4269 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4270 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 4285 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4291 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 4293 src/dps8/dps8_ins.c tmp72 = Add72b (convert_to_word72 (cpu.rA, cpu.rQ), cpu 4294 src/dps8/dps8_ins.c tmp72, 0, I_ZNC, & cpu.cu.IR, & ovf); cpu 4295 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 4305 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4315 src/dps8/dps8_ins.c cpu.rA = Add36b (cpu.rA, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); cpu 4329 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4334 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); cpu 4351 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4357 src/dps8/dps8_ins.c cpu.rX[n] = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, I_ZNC, cpu 4358 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); cpu 4378 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4384 src/dps8/dps8_ins.c cpu.rX[n] = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, cpu 4386 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); cpu 4401 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4406 src/dps8/dps8_ins.c cpu.CY = Add36b (cpu.rA, cpu.CY, 0, I_ZNOC, cpu 4407 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); cpu 4415 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4420 src/dps8/dps8_ins.c cpu.CY = Add36b (cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4437 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4443 src/dps8/dps8_ins.c word18 tmp18 = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, cpu 4444 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4445 src/dps8/dps8_ins.c SETHI (cpu.CY, tmp18); cpu 4455 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4460 src/dps8/dps8_ins.c cpu.rA = Add36b (cpu.rA, cpu.CY, TST_I_CARRY ? 1 : 0, cpu 4461 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4474 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4479 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, cpu 4480 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4494 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4499 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4510 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4516 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 4517 src/dps8/dps8_ins.c tmp72 = Sub72b (convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, cpu 4518 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, cpu 4520 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 4533 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4538 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpu.rA, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); cpu 4553 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4559 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 4561 src/dps8/dps8_ins.c tmp72 = Sub72b (convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, cpu 4562 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); cpu 4563 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); cpu 4574 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4579 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); cpu 4599 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4605 src/dps8/dps8_ins.c cpu.rX[n] = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, cpu 4606 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); cpu 4616 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4621 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4642 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4648 src/dps8/dps8_ins.c cpu.rX[n] = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, cpu 4649 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4661 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4666 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4675 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4680 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); cpu 4698 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4704 src/dps8/dps8_ins.c word18 tmp18 = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, cpu 4705 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4706 src/dps8/dps8_ins.c SETHI (cpu.CY, tmp18); cpu 4716 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4721 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpu.rA, cpu.CY, TST_I_CARRY ? 1 : 0, cpu 4722 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4735 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4740 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, cpu 4741 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); cpu 4762 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GD1;) cpu 4768 src/dps8/dps8_ins.c word72 tmp72 = multiply_128 (SIGNEXT36_72 (cpu.rA), SIGNEXT36_72 (cpu.CY)); cpu 4774 src/dps8/dps8_ins.c word72 tmp72 = (word72) (((word72s) SIGNEXT36_72 (cpu.rA)) * ((word72s) SIGNEXT36_72 (cpu.CY))); cpu 4778 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 4781 src/dps8/dps8_ins.c if (cpu.rA == MAXNEG && cpu.CY == MAXNEG) cpu 4788 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); cpu 4793 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4794 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4802 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 4808 src/dps8/dps8_ins.c SIGNEXT36_128 (cpu.rQ & DMASK), cpu 4809 src/dps8/dps8_ins.c SIGNEXT36_128 (cpu.CY & DMASK)); cpu 4810 src/dps8/dps8_ins.c convert_to_word36 (cast_128 (prod), &cpu.rA, &cpu.rQ); cpu 4812 src/dps8/dps8_ins.c int64_t t0 = SIGNEXT36_64 (cpu.rQ & DMASK); cpu 4813 src/dps8/dps8_ins.c int64_t t1 = SIGNEXT36_64 (cpu.CY & DMASK); cpu 4817 src/dps8/dps8_ins.c convert_to_word36 ((word72)prod, &cpu.rA, &cpu.rQ); cpu 4824 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 4825 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 4847 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GD1;) cpu 4854 src/dps8/dps8_ins.c if ((cpu.rQ == MAXNEG && (cpu.CY == 1 || cpu.CY == NEG136)) || cpu 4855 src/dps8/dps8_ins.c (cpu.CY == 0)) cpu 4861 src/dps8/dps8_ins.c cpu.rA = (cpu.rQ & SIGN36) ? 0 : SIGN36; // works for case 1,2 cpu 4867 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 4868 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 4870 src/dps8/dps8_ins.c if (cpu.rQ & SIGN36) cpu 4874 src/dps8/dps8_ins.c cpu.rQ = ((word36) (- (word36s) cpu.rQ)) & MASK36; cpu 4886 src/dps8/dps8_ins.c t_int64 dividend = (t_int64) (SIGNEXT36_64 (cpu.rQ)); cpu 4887 src/dps8/dps8_ins.c t_int64 divisor = (t_int64) (SIGNEXT36_64 (cpu.CY)); cpu 4893 src/dps8/dps8_ins.c dividend, cpu.rQ); cpu 4896 src/dps8/dps8_ins.c divisor, cpu.CY); cpu 4901 src/dps8/dps8_ins.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 4949 src/dps8/dps8_ins.c " rQ %012"PRIo64" CY %012"PRIo64"\n", cpu.rQ, cpu.CY); cpu 4952 src/dps8/dps8_ins.c cpu.rA = (word36) remainder & DMASK; cpu 4953 src/dps8/dps8_ins.c cpu.rQ = (word36) quotient & DMASK; cpu 4959 src/dps8/dps8_ins.c sim_debug (DBG_CAC, & cpu_dev, "rA (rem) %012"PRIo64"\n", cpu.rA); cpu 4960 src/dps8/dps8_ins.c sim_debug (DBG_CAC, & cpu_dev, "rQ (quot) %012"PRIo64"\n", cpu.rQ); cpu 4964 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 4965 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 4999 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 5000 src/dps8/dps8_ins.c if (cpu.rA == 0400000000000ULL) cpu 5009 src/dps8/dps8_ins.c cpu.rA = (word36) (- (word36s) cpu.rA); cpu 5011 src/dps8/dps8_ins.c cpu.rA &= DMASK; // keep to 36-bits cpu 5016 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 5017 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 5028 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 5029 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 5031 src/dps8/dps8_ins.c if (cpu.rA == 0400000000000ULL && cpu.rQ == 0) cpu 5038 src/dps8/dps8_ins.c word72 tmp72 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 5053 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); cpu 5076 src/dps8/dps8_ins.c t_int64 a = SIGNEXT36_64 (cpu.rA); cpu 5079 src/dps8/dps8_ins.c t_int64 y = SIGNEXT36_64 (cpu.CY); cpu 5113 src/dps8/dps8_ins.c word36 Z = ~cpu.rQ & (cpu.rA ^ cpu.CY); cpu 5145 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 5146 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 5152 src/dps8/dps8_ins.c cmp72 (trAQ, tmp72, &cpu.cu.IR); cpu 5175 src/dps8/dps8_ins.c cmp18 (cpu.rX[n], GETHI (cpu.CY), &cpu.cu.IR); cpu 5191 src/dps8/dps8_ins.c cmp36wl (cpu.rA, cpu.CY, cpu.rQ, &cpu.cu.IR); cpu 5198 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5199 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5200 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5205 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5206 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5207 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5209 src/dps8/dps8_ins.c cpu.CY = 0; cpu 5227 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ & cpu.CY; cpu 5228 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 5233 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 5234 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 5243 src/dps8/dps8_ins.c cpu.CY = cpu.rA & cpu.CY; cpu 5244 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5246 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5247 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5257 src/dps8/dps8_ins.c cpu.CY = cpu.rQ & cpu.CY; cpu 5258 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5260 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5261 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5281 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & GETHI (cpu.CY); cpu 5287 src/dps8/dps8_ins.c SETHI (cpu.CY, tmp18); cpu 5308 src/dps8/dps8_ins.c cpu.rX[n] &= GETHI (cpu.CY); cpu 5309 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; cpu 5314 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); cpu 5315 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); cpu 5331 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 5332 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 5346 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); cpu 5359 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ | cpu.CY; cpu 5360 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 5365 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 5366 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 5375 src/dps8/dps8_ins.c cpu.CY = cpu.rA | cpu.CY; cpu 5376 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5378 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5379 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5387 src/dps8/dps8_ins.c cpu.CY = cpu.rQ | cpu.CY; cpu 5388 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5390 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5391 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5408 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] | GETHI (cpu.CY); cpu 5414 src/dps8/dps8_ins.c SETHI (cpu.CY, tmp18); cpu 5434 src/dps8/dps8_ins.c cpu.rX[n] |= GETHI (cpu.CY); cpu 5435 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; cpu 5440 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); cpu 5441 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); cpu 5452 src/dps8/dps8_ins.c cpu.rA = cpu.rA ^ cpu.CY; cpu 5453 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 5458 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 5459 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 5471 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ ^ cpu.CY; cpu 5472 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 5476 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); cpu 5477 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); cpu 5485 src/dps8/dps8_ins.c cpu.CY = cpu.rA ^ cpu.CY; cpu 5486 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5488 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5489 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5497 src/dps8/dps8_ins.c cpu.CY = cpu.rQ ^ cpu.CY; cpu 5498 src/dps8/dps8_ins.c cpu.CY &= DMASK; cpu 5500 src/dps8/dps8_ins.c SC_I_ZERO (cpu.CY == 0); cpu 5501 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & SIGN36); cpu 5522 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] ^ GETHI (cpu.CY); cpu 5528 src/dps8/dps8_ins.c SETHI (cpu.CY, tmp18); cpu 5548 src/dps8/dps8_ins.c cpu.rX[n] ^= GETHI (cpu.CY); cpu 5549 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; cpu 5554 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); cpu 5555 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); cpu 5571 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 5572 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 5595 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & cpu.CY; cpu 5619 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & GETHI (cpu.CY); cpu 5623 src/dps8/dps8_ins.c n, cpu.rX[n], (word18) (GETHI (cpu.CY) & MASK18), cpu 5639 src/dps8/dps8_ins.c word36 trZ = cpu.rA & ~cpu.CY; cpu 5654 src/dps8/dps8_ins.c word72 tmp72 = YPAIRTO72 (cpu.Ypair); cpu 5656 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); cpu 5679 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & ~cpu.CY; cpu 5701 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & ~GETHI (cpu.CY); cpu 5721 src/dps8/dps8_ins.c cpu.rE = (cpu.Ypair[0] >> 28) & MASK8; cpu 5723 src/dps8/dps8_ins.c cpu.rA = (cpu.Ypair[0] & FLOAT36MASK) << 8; cpu 5724 src/dps8/dps8_ins.c cpu.rA |= (cpu.Ypair[1] >> 28) & MASK8; cpu 5726 src/dps8/dps8_ins.c cpu.rQ = (cpu.Ypair[1] & FLOAT36MASK) << 8; cpu 5733 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); cpu 5734 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 5751 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36)cpu.rE << 28) | cpu 5752 src/dps8/dps8_ins.c ((cpu.rA & 0777777777400LLU) >> 8); cpu 5753 src/dps8/dps8_ins.c cpu.Ypair[1] = ((cpu.rA & 0377) << 28) | cpu 5754 src/dps8/dps8_ins.c ((cpu.rQ & 0777777777400LLU) >> 8); cpu 5760 src/dps8/dps8_ins.c dfstr (cpu.Ypair); cpu 5770 src/dps8/dps8_ins.c cpu.rE &= MASK8; cpu 5771 src/dps8/dps8_ins.c cpu.rA &= DMASK; cpu 5772 src/dps8/dps8_ins.c cpu.CY = ((word36)cpu.rE << 28) | (((cpu.rA >> 8) & 01777777777LL)); cpu 5799 src/dps8/dps8_ins.c fstr (&cpu.CY); cpu 5981 src/dps8/dps8_ins.c fno (& cpu.rE, & cpu.rA, & cpu.rQ); cpu 6040 src/dps8/dps8_ins.c int y = SIGNEXT8_int ((cpu.CY >> 28) & 0377); cpu 6041 src/dps8/dps8_ins.c int e = SIGNEXT8_int (cpu.rE); cpu 6044 src/dps8/dps8_ins.c cpu.rE = e & 0377; cpu 6069 src/dps8/dps8_ins.c SC_I_ZERO ((cpu.CY & 001777777777LL) == 0); cpu 6070 src/dps8/dps8_ins.c SC_I_NEG (cpu.CY & 001000000000LL); cpu 6078 src/dps8/dps8_ins.c cpu.rE = (cpu.CY >> 28) & 0377; cpu 6090 src/dps8/dps8_ins.c cpu.CY = ((word36) (cpu.rE & 0377)) << 28; cpu 6091 src/dps8/dps8_ins.c cpu.zone = 0777777000000; cpu 6092 src/dps8/dps8_ins.c cpu.useZone = true; cpu 6104 src/dps8/dps8_ins.c "call6 PRR %o PSR %o\n", cpu.PPR.PRR, cpu.PPR.PSR); cpu 6121 src/dps8/dps8_ins.c Read (cpu.TPR.CA, &cpu.CY, OPERAND_READ); cpu 6123 src/dps8/dps8_ins.c cpu.PPR.IC = GETHI (cpu.CY); cpu 6124 src/dps8/dps8_ins.c word18 tempIR = GETLO (cpu.CY) & 0777770; cpu 6164 src/dps8/dps8_ins.c cpu.cu.IR = tempIR; cpu 6305 src/dps8/dps8_ins.c cpu.TPR.CA = get_BAR_address (cpu.TPR.CA); cpu 6360 src/dps8/dps8_ins.c cpu.PR[0].SNR = cpu.TPR.CA & MASK15; cpu 6369 src/dps8/dps8_ins.c cpu.PR[1].SNR = cpu.TPR.CA & MASK15; cpu 6378 src/dps8/dps8_ins.c cpu.PR[2].SNR = cpu.TPR.CA & MASK15; cpu 6387 src/dps8/dps8_ins.c cpu.PR[3].SNR = cpu.TPR.CA & MASK15; cpu 6396 src/dps8/dps8_ins.c cpu.PR[4].SNR = cpu.TPR.CA & MASK15; cpu 6405 src/dps8/dps8_ins.c cpu.PR[5].SNR = cpu.TPR.CA & MASK15; cpu 6414 src/dps8/dps8_ins.c cpu.PR[6].SNR = cpu.TPR.CA & MASK15; cpu 6423 src/dps8/dps8_ins.c cpu.PR[7].SNR = cpu.TPR.CA & MASK15; cpu 6436 src/dps8/dps8_ins.c cpu.PR[0].WORDNO = cpu.TPR.CA; cpu 6437 src/dps8/dps8_ins.c SET_PR_BITNO (0, cpu.TPR.TBR); cpu 6448 src/dps8/dps8_ins.c cpu.PR[1].WORDNO = cpu.TPR.CA; cpu 6449 src/dps8/dps8_ins.c SET_PR_BITNO (1, cpu.TPR.TBR); cpu 6460 src/dps8/dps8_ins.c cpu.PR[2].WORDNO = cpu.TPR.CA; cpu 6461 src/dps8/dps8_ins.c SET_PR_BITNO (2, cpu.TPR.TBR); cpu 6472 src/dps8/dps8_ins.c cpu.PR[3].WORDNO = cpu.TPR.CA; cpu 6473 src/dps8/dps8_ins.c SET_PR_BITNO (3, cpu.TPR.TBR); cpu 6484 src/dps8/dps8_ins.c cpu.PR[4].WORDNO = cpu.TPR.CA; cpu 6485 src/dps8/dps8_ins.c SET_PR_BITNO (4, cpu.TPR.TBR); cpu 6496 src/dps8/dps8_ins.c cpu.PR[5].WORDNO = cpu.TPR.CA; cpu 6497 src/dps8/dps8_ins.c SET_PR_BITNO (5, cpu.TPR.TBR); cpu 6508 src/dps8/dps8_ins.c cpu.PR[6].WORDNO = cpu.TPR.CA; cpu 6509 src/dps8/dps8_ins.c SET_PR_BITNO (6, cpu.TPR.TBR); cpu 6520 src/dps8/dps8_ins.c cpu.PR[7].WORDNO = cpu.TPR.CA; cpu 6521 src/dps8/dps8_ins.c SET_PR_BITNO (7, cpu.TPR.TBR); cpu 6559 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.Yblock16[n * 2 + 0]; cpu 6561 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.Yblock16[n * 2 + 1]; cpu 6564 src/dps8/dps8_ins.c word3 Crr = (GETLO (cpu.Ypair[0]) >> 15) & 07; cpu 6566 src/dps8/dps8_ins.c cpu.PR[n].RNR = max3 (Crr, cpu.SDW->R1, cpu.TPR.TRR); cpu 6568 src/dps8/dps8_ins.c cpu.PR[n].RNR = Crr; cpu 6569 src/dps8/dps8_ins.c cpu.PR[n].SNR = (cpu.Ypair[0] >> 18) & MASK15; cpu 6570 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = GETHI (cpu.Ypair[1]); cpu 6571 src/dps8/dps8_ins.c word6 bitno = (GETLO (cpu.Ypair[1]) >> 9) & 077; cpu 6628 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] = 043; cpu 6629 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].SNR) << 18; cpu 6630 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].RNR) << 15; cpu 6632 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] = (word36) cpu.PR[n].WORDNO << 18; cpu 6633 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] |= (word36) GET_PR_BITNO(n) << 9; cpu 6669 src/dps8/dps8_ins.c if ((cpu.PR[n].SNR & 070000) != 0 && cpu.PR[n].SNR != MASK15) cpu 6672 src/dps8/dps8_ins.c cpu.CY = ((word36) (GET_PR_BITNO(n) & 077)) << 30; cpu 6674 src/dps8/dps8_ins.c cpu.CY |= ((word36) (cpu.PR[n].SNR & 07777)) << 18; cpu 6675 src/dps8/dps8_ins.c cpu.CY |= cpu.PR[n].WORDNO & PAMASK; cpu 6676 src/dps8/dps8_ins.c cpu.CY &= DMASK; // keep to 36-bits cpu 6693 src/dps8/dps8_ins.c cpu.PR[n].WORDNO += GETHI (cpu.CY); cpu 6694 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; cpu 6712 src/dps8/dps8_ins.c cpu.PR[n].WORDNO += GETHI (cpu.CY); cpu 6713 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; cpu 6738 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) cpu 6739 src/dps8/dps8_ins.c cpu_port_num = (cpu.TPR.CA >> 15) & 07; cpu 6741 src/dps8/dps8_ins.c cpu_port_num = (cpu.TPR.CA >> 15) & 03; cpu 6751 src/dps8/dps8_ins.c 040, & cpu.rA, & cpu.rQ); cpu 6770 src/dps8/dps8_ins.c word72 big = convert_to_word72 (cpu.rA, cpu.rQ); cpu 6801 src/dps8/dps8_ins.c if (cpu.tweaks.drl_fatal) cpu 6809 src/dps8/dps8_ins.c cpu.cu.xde = 1; cpu 6810 src/dps8/dps8_ins.c cpu.cu.xdo = 0; cpu 6814 src/dps8/dps8_ins.c cpu.cu.IWB = cpu.CY; cpu 6853 src/dps8/dps8_ins.c cpu.cu.xde = 1; cpu 6854 src/dps8/dps8_ins.c cpu.cu.xdo = 1; cpu 6858 src/dps8/dps8_ins.c cpu.cu.IWB = cpu.Ypair[0]; cpu 6859 src/dps8/dps8_ins.c cpu.cu.IRODD = cpu.Ypair[1]; cpu 6911 src/dps8/dps8_ins.c if ((cpu.PPR.IC & 1) == 0) cpu 6913 src/dps8/dps8_ins.c cpu.cu.delta = i->tag; cpu 6918 src/dps8/dps8_ins.c cpu.rX[0] = i->address; // Entire 18 bits cpu 6923 src/dps8/dps8_ins.c cpu.cu.rd = 1; cpu 6924 src/dps8/dps8_ins.c cpu.cu.repeat_first = 1; cpu 6931 src/dps8/dps8_ins.c cpu.cu.delta = i->tag; cpu 6934 src/dps8/dps8_ins.c cpu.rX[0] = i->address; // Entire 18 bits cpu 6939 src/dps8/dps8_ins.c cpu.cu.rl = 1; cpu 6940 src/dps8/dps8_ins.c cpu.cu.repeat_first = 1; cpu 6947 src/dps8/dps8_ins.c cpu.cu.delta = i->tag; cpu 6950 src/dps8/dps8_ins.c cpu.rX[0] = i->address; // Entire 18 bits cpu 6955 src/dps8/dps8_ins.c cpu.cu.rpt = 1; cpu 6956 src/dps8/dps8_ins.c cpu.cu.repeat_first = 1; cpu 6967 src/dps8/dps8_ins.c cpu.CY = (word36)cpu.rRALR; cpu 6977 src/dps8/dps8_ins.c cpu.CY = ((((word36) cpu.BAR.BASE) << 9) | cpu.BAR.BOUND) << 18; cpu 6978 src/dps8/dps8_ins.c cpu.zone = 0777777000000; cpu 6979 src/dps8/dps8_ins.c cpu.useZone = true; cpu 6993 src/dps8/dps8_ins.c word36 tmp1 = cpu.rA & SIGN36; // A0 cpu 6994 src/dps8/dps8_ins.c word36 tmp36 = (cpu.rA << 3) & DMASK; cpu 6995 src/dps8/dps8_ins.c word36 tmp36q = tmp36 / cpu.CY; // this may be more than 4 bits, keep it for remainder calculation cpu 6998 src/dps8/dps8_ins.c tmp36r = tmp36 - tmp36q * cpu.CY; cpu 7007 src/dps8/dps8_ins.c tmp36r = tmp36 + tmp36q * cpu.CY; cpu 7010 src/dps8/dps8_ins.c cpu.rQ <<= 6; // Shift C(Q) left six positions cpu 7011 src/dps8/dps8_ins.c cpu.rQ &= DMASK; cpu 7014 src/dps8/dps8_ins.c cpu.rQ |= (tmp36q & 017); cpu 7019 src/dps8/dps8_ins.c cpu.rA = tmp36r & DMASK; // remainder -> C(A) cpu 7024 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); // If C(A) = 0, then ON; cpu 7035 src/dps8/dps8_ins.c word36 tmp = cpu.rA & MASK36; cpu 7043 src/dps8/dps8_ins.c cpu.rA = tmp; cpu 7048 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); // If C(A) = 0, then ON; cpu 7050 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); // If C(A)0 = 1, then ON; cpu 7061 src/dps8/dps8_ins.c cpu.BAR.BASE = (GETHI (cpu.CY) >> 9) & 0777; cpu 7063 src/dps8/dps8_ins.c cpu.BAR.BOUND = GETHI (cpu.CY) & 0777; cpu 7088 src/dps8/dps8_ins.c uint csh1_on = getbits36_1 (cpu.CY, 54 - 36); cpu 7089 src/dps8/dps8_ins.c uint csh2_on = getbits36_1 (cpu.CY, 55 - 36); cpu 7092 src/dps8/dps8_ins.c cpu.CMR.csh1_on = (word1) csh1_on; cpu 7093 src/dps8/dps8_ins.c cpu.CMR.csh2_on = (word1) csh2_on; cpu 7097 src/dps8/dps8_ins.c L68_ (cpu.CMR.opnd_on = getbits36_1 (cpu.CY, 56 - 36);) cpu 7098 src/dps8/dps8_ins.c cpu.CMR.inst_on = getbits36_1 (cpu.CY, 57 - 36); cpu 7099 src/dps8/dps8_ins.c cpu.CMR.csh_reg = getbits36_1 (cpu.CY, 59 - 36); cpu 7100 src/dps8/dps8_ins.c if (cpu.CMR.csh_reg) cpu 7105 src/dps8/dps8_ins.c DPS8M_ (cpu.CMR.bypass_cache = getbits36_1 (cpu.CY, 68 - 36);) cpu 7106 src/dps8/dps8_ins.c cpu.CMR.luf = getbits36_2 (cpu.CY, 70 - 36); cpu 7113 src/dps8/dps8_ins.c cpu.MR.r = cpu.CY; cpu 7115 src/dps8/dps8_ins.c putbits36_1 (& cpu.MR.r, 32, 0); cpu 7117 src/dps8/dps8_ins.c putbits36_2 (& cpu.MR.r, 33, 0); cpu 7119 src/dps8/dps8_ins.c cpu.MR.FFV = getbits36_15 (cpu.CY, 0); cpu 7120 src/dps8/dps8_ins.c cpu.MR.OC_TRAP = getbits36_1 (cpu.CY, 16); cpu 7121 src/dps8/dps8_ins.c cpu.MR.ADR_TRAP = getbits36_1 (cpu.CY, 17); cpu 7122 src/dps8/dps8_ins.c cpu.MR.OPCODE = getbits36_9 (cpu.CY, 18); cpu 7123 src/dps8/dps8_ins.c cpu.MR.OPCODEX = getbits36_1 (cpu.CY, 27); cpu 7125 src/dps8/dps8_ins.c cpu.MR.sdpap = getbits36_1 (cpu.CY, 20); cpu 7126 src/dps8/dps8_ins.c cpu.MR.separ = getbits36_1 (cpu.CY, 21); cpu 7127 src/dps8/dps8_ins.c cpu.MR.hrhlt = getbits36_1 (cpu.CY, 28); cpu 7128 src/dps8/dps8_ins.c DPS8M_ (cpu.MR.hrxfr = getbits36_1 (cpu.CY, 29);) cpu 7129 src/dps8/dps8_ins.c cpu.MR.ihr = getbits36_1 (cpu.CY, 30); cpu 7130 src/dps8/dps8_ins.c cpu.MR.ihrrs = getbits36_1 (cpu.CY, 31); cpu 7131 src/dps8/dps8_ins.c cpu.MR.emr = getbits36_1 (cpu.CY, 35); cpu 7132 src/dps8/dps8_ins.c if (! cpu.tweaks.l68_mode) // DPS8M cpu 7133 src/dps8/dps8_ins.c cpu.MR.hexfp = getbits36_1 (cpu.CY, 33); cpu 7135 src/dps8/dps8_ins.c cpu.MR.hexfp = 0; cpu 7141 src/dps8/dps8_ins.c if (cpu.MR.hrhlt) cpu 7144 src/dps8/dps8_ins.c cpu.history_cyclic[hset] = 0; cpu 7148 src/dps8/dps8_ins.c cpu 7153 src/dps8/dps8_ins.c cpu 7170 src/dps8/dps8_ins.c cpu.skip_cu_hist = true; cpu 7184 src/dps8/dps8_ins.c cpu.skip_cu_hist = true; cpu 7197 src/dps8/dps8_ins.c do_ldbr (cpu.Ypair); cpu 7202 src/dps8/dps8_ins.c cpu.rTR = (cpu.CY >> 9) & MASK27; cpu 7203 src/dps8/dps8_ins.c cpu.rTRticks = 0; cpu 7204 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 7206 src/dps8/dps8_ins.c cpu.shadowTR = cpu.TR0 = cpu.rTR; cpu 7207 src/dps8/dps8_ins.c cpu.rTRlsb = 0; cpu 7210 src/dps8/dps8_ins.c cpu.rTR, cpu.rTR); cpu 7213 src/dps8/dps8_ins.c sim_printf (" ldt %d PSR:IC %05o:%06o\r\n", cpu.rTR, cpu.PPR.PSR, cpu.PPR.IC); cpu 7224 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) { cpu 7233 src/dps8/dps8_ins.c word4 m = cpu.PTWAM[i].USE; cpu 7234 src/dps8/dps8_ins.c cpu.PTWAM[m].POINTER = getbits36_15 (cpu.Yblock16[i], 0); cpu 7235 src/dps8/dps8_ins.c cpu.PTWAM[m].PAGENO = getbits36_12 (cpu.Yblock16[i], 15); cpu 7236 src/dps8/dps8_ins.c cpu.PTWAM[m].FE = getbits36_1 (cpu.Yblock16[i], 27); cpu 7242 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) { cpu 7249 src/dps8/dps8_ins.c word4 m = cpu.PTWAM[i].USE; cpu 7250 src/dps8/dps8_ins.c cpu.PTWAM[m].ADDR = getbits36_18 (cpu.Yblock16[i], 0); cpu 7251 src/dps8/dps8_ins.c cpu.PTWAM[m].M = getbits36_1 (cpu.Yblock16[i], 29); cpu 7258 src/dps8/dps8_ins.c cpu.rRALR = cpu.CY & MASK3; cpu 7259 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "RALR set to %o\n", cpu.rRALR); cpu 7264 src/dps8/dps8_ins.c sim_printf (" RALR set to %o PSR:IC %05o:%06o\r\n", cpu.rRALR, cpu.PPR.PSR, cpu.PPR.IC); cpu 7270 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) { cpu 7277 src/dps8/dps8_ins.c word4 m = cpu.SDWAM[i].USE; cpu 7278 src/dps8/dps8_ins.c cpu.SDWAM[m].POINTER = getbits36_15 (cpu.Yblock16[i], 0); cpu 7279 src/dps8/dps8_ins.c cpu.SDWAM[m].FE = getbits36_1 (cpu.Yblock16[i], 27); cpu 7285 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) { cpu 7295 src/dps8/dps8_ins.c word4 m = cpu.SDWAM[i].USE; cpu 7297 src/dps8/dps8_ins.c cpu.SDWAM[m].ADDR = getbits36_24 (cpu.Yblock32[j], 0); cpu 7298 src/dps8/dps8_ins.c cpu.SDWAM[m].R1 = getbits36_3 (cpu.Yblock32[j], 24); cpu 7299 src/dps8/dps8_ins.c cpu.SDWAM[m].R2 = getbits36_3 (cpu.Yblock32[j], 27); cpu 7300 src/dps8/dps8_ins.c cpu.SDWAM[m].R3 = getbits36_3 (cpu.Yblock32[j], 30); cpu 7302 src/dps8/dps8_ins.c cpu.SDWAM[m].BOUND = getbits36_14 (cpu.Yblock32[j + 1], 37 - 36); cpu 7303 src/dps8/dps8_ins.c cpu.SDWAM[m].R = getbits36_1 (cpu.Yblock32[j + 1], 51 - 36); cpu 7304 src/dps8/dps8_ins.c cpu.SDWAM[m].E = getbits36_1 (cpu.Yblock32[j + 1], 52 - 36); cpu 7305 src/dps8/dps8_ins.c cpu.SDWAM[m].W = getbits36_1 (cpu.Yblock32[j + 1], 53 - 36); cpu 7306 src/dps8/dps8_ins.c cpu.SDWAM[m].P = getbits36_1 (cpu.Yblock32[j + 1], 54 - 36); cpu 7307 src/dps8/dps8_ins.c cpu.SDWAM[m].U = getbits36_1 (cpu.Yblock32[j + 1], 55 - 36); cpu 7308 src/dps8/dps8_ins.c cpu.SDWAM[m].G = getbits36_1 (cpu.Yblock32[j + 1], 56 - 36); cpu 7309 src/dps8/dps8_ins.c cpu.SDWAM[m].C = getbits36_1 (cpu.Yblock32[j + 1], 57 - 36); cpu 7310 src/dps8/dps8_ins.c cpu.SDWAM[m].EB = getbits36_14 (cpu.Yblock32[j + 1], 58 - 36); cpu 7328 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_APU_HIST_REG : DPS8M_APU_HIST_REG; cpu 7329 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.history[reg] [cpu.history_cyclic[reg]][0]; cpu 7330 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.history[reg] [cpu.history_cyclic[reg]][1]; cpu 7331 src/dps8/dps8_ins.c cpu.history_cyclic[reg] = (cpu.history_cyclic[reg] + 1) % N_MODEL_HIST_SIZE; cpu 7339 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.faultRegister[0]; cpu 7340 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.faultRegister[1]; cpu 7341 src/dps8/dps8_ins.c cpu.faultRegister[0] = 0; cpu 7342 src/dps8/dps8_ins.c cpu.faultRegister[1] = 0; cpu 7350 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.MR.r; cpu 7351 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[0], 20, cpu.MR.sdpap); cpu 7352 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[0], 21, cpu.MR.separ); cpu 7353 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[0], 30, cpu.MR.ihr); cpu 7354 src/dps8/dps8_ins.c DPS8M_ (putbits36_1 (& cpu.Ypair[0], 33, cpu.MR.hexfp);) cpu 7356 src/dps8/dps8_ins.c cpu.Ypair[1] = 0; cpu 7357 src/dps8/dps8_ins.c putbits36_15 (& cpu.Ypair[1], 36 - 36, cpu 7358 src/dps8/dps8_ins.c cpu.CMR.cache_dir_address); cpu 7359 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 51 - 36, cpu.CMR.par_bit); cpu 7360 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 52 - 36, cpu.CMR.lev_ful); cpu 7361 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 54 - 36, cpu.CMR.csh1_on); cpu 7362 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 55 - 36, cpu.CMR.csh2_on); cpu 7363 src/dps8/dps8_ins.c L68_ (putbits36_1 (& cpu.Ypair[1], 56 - 36, cpu.CMR.opnd_on);) cpu 7364 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 57 - 36, cpu.CMR.inst_on); cpu 7365 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 59 - 36, cpu.CMR.csh_reg); cpu 7366 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 60 - 36, cpu.CMR.str_asd); cpu 7367 src/dps8/dps8_ins.c putbits36_1 (& cpu.Ypair[1], 61 - 36, cpu.CMR.col_ful); cpu 7368 src/dps8/dps8_ins.c putbits36_2 (& cpu.Ypair[1], 62 - 36, cpu.CMR.rro_AB); cpu 7369 src/dps8/dps8_ins.c DPS8M_ (putbits36_1 (& cpu.Ypair[1], 68 - 36, cpu.CMR.bypass_cache);) cpu 7370 src/dps8/dps8_ins.c putbits36_2 (& cpu.Ypair[1], 70 - 36, cpu.CMR.luf); cpu 7376 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_DU_HIST_REG : DPS8M_EAPU_HIST_REG; cpu 7377 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.history[reg] [cpu.history_cyclic[reg]][0]; cpu 7378 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.history[reg] [cpu.history_cyclic[reg]][1]; cpu 7379 src/dps8/dps8_ins.c cpu.history_cyclic[reg] = (cpu.history_cyclic[reg] + 1) % N_MODEL_HIST_SIZE; cpu 7385 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu 7386 src/dps8/dps8_ins.c cpu.history[CU_HIST_REG] cpu 7387 src/dps8/dps8_ins.c [cpu.history_cyclic[CU_HIST_REG]][0]; cpu 7388 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu 7389 src/dps8/dps8_ins.c cpu.history[CU_HIST_REG] cpu 7390 src/dps8/dps8_ins.c [cpu.history_cyclic[CU_HIST_REG]][1]; cpu 7391 src/dps8/dps8_ins.c cpu.history_cyclic[CU_HIST_REG] = cpu 7392 src/dps8/dps8_ins.c (cpu.history_cyclic[CU_HIST_REG] + 1) % N_MODEL_HIST_SIZE; cpu 7398 src/dps8/dps8_ins.c uint reg = cpu.tweaks.l68_mode ? L68_OU_HIST_REG : DPS8M_DU_OU_HIST_REG; cpu 7399 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.history[reg] [cpu.history_cyclic[reg]][0]; cpu 7400 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.history[reg] [cpu.history_cyclic[reg]][1]; cpu 7401 src/dps8/dps8_ins.c cpu.history_cyclic[reg] = (cpu.history_cyclic[reg] + 1) % N_MODEL_HIST_SIZE; cpu 7421 src/dps8/dps8_ins.c if (cpu.cycle == EXEC_cycle) cpu 7429 src/dps8/dps8_ins.c scu2words (cpu.Yblock8); cpu 7435 src/dps8/dps8_ins.c cpu.Yblock8[j] = cpu.scu_data[j]; cpu 7444 src/dps8/dps8_ins.c cpu.Ypair[0] = ((word36) (cpu.DSBR.ADDR & PAMASK)) << (35 - 23); cpu 7451 src/dps8/dps8_ins.c cpu.Ypair[1] = ((word36) (cpu.DSBR.BND & 037777)) << (71 - 50) | cpu 7452 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.U & 1)) << (71 - 55) | cpu 7453 src/dps8/dps8_ins.c ((word36) (cpu.DSBR.STACK & 07777)) << (71 - 71); cpu 7464 src/dps8/dps8_ins.c DPS8M_ (level = (cpu.TPR.CA >> 4) & 03;) cpu 7468 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; cpu 7469 src/dps8/dps8_ins.c putbits36_15 (& cpu.Yblock16[j], 0, cpu 7470 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].POINTER); cpu 7472 src/dps8/dps8_ins.c putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO & 07760); cpu 7475 src/dps8/dps8_ins.c if (cpu.PTWAM[toffset + j].FE) { cpu 7478 src/dps8/dps8_ins.c parity = ((uint) cpu.PTWAM[toffset + j].POINTER << 4) | (cpu.PTWAM[toffset + j].PAGENO >> 8); cpu 7484 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 23, (word1) (parity & 1)); cpu 7486 src/dps8/dps8_ins.c L68_ (putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO); ) cpu 7487 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, cpu 7488 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].FE); cpu 7489 src/dps8/dps8_ins.c DPS8M_ (putbits36_6 (& cpu.Yblock16[j], 30, cpu.PTWAM[toffset + j].USE);) cpu 7490 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.PTWAM[toffset + j].USE);) cpu 7502 src/dps8/dps8_ins.c DPS8M_ (level = (cpu.TPR.CA >> 4) & 03;) cpu 7507 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; cpu 7508 src/dps8/dps8_ins.c DPS8M_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR & 0777760);) cpu 7509 src/dps8/dps8_ins.c L68_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR);) cpu 7510 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 29, cpu 7511 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].M); cpu 7522 src/dps8/dps8_ins.c DPS8M_ (level = (cpu.TPR.CA >> 4) & 03;) cpu 7527 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; cpu 7528 src/dps8/dps8_ins.c putbits36_15 (& cpu.Yblock16[j], 0, cpu 7529 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].POINTER); cpu 7530 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, cpu 7531 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].FE); cpu 7534 src/dps8/dps8_ins.c if (cpu.SDWAM[toffset + j].FE) { cpu 7537 src/dps8/dps8_ins.c parity = cpu.SDWAM[toffset + j].POINTER >> 4; cpu 7543 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 15, (word1) (parity & 1)); cpu 7545 src/dps8/dps8_ins.c putbits36_6 (& cpu.Yblock16[j], 30, cpu.SDWAM[toffset + j].USE); cpu 7547 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.SDWAM[toffset + j].USE);) cpu 7560 src/dps8/dps8_ins.c DPS8M_ (level = (cpu.TPR.CA >> 5) & 03;) cpu 7565 src/dps8/dps8_ins.c cpu.Yblock32[j * 2] = 0; cpu 7566 src/dps8/dps8_ins.c putbits36_24 (& cpu.Yblock32[j * 2], 0, cpu 7567 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].ADDR); cpu 7568 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 24, cpu 7569 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R1); cpu 7570 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 27, cpu 7571 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R2); cpu 7572 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 30, cpu 7573 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R3); cpu 7574 src/dps8/dps8_ins.c cpu.Yblock32[j * 2 + 1] = 0; cpu 7576 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 37 - 36, cpu 7577 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].BOUND); cpu 7578 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 51 - 36, cpu 7579 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R); cpu 7580 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 52 - 36, cpu 7581 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].E); cpu 7582 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 53 - 36, cpu 7583 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].W); cpu 7584 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 54 - 36, cpu 7585 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].P); cpu 7586 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 55 - 36, cpu 7587 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].U); cpu 7588 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 56 - 36, cpu 7589 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].G); cpu 7590 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 57 - 36, cpu 7591 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].C); cpu 7592 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 58 - 36, cpu 7593 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].EB); cpu 7607 src/dps8/dps8_ins.c if (cpu.tweaks.enable_wam) cpu 7609 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode || cpu.cu.PT_ON) // only clear when enabled cpu 7612 src/dps8/dps8_ins.c cpu.PTWAM[i].FE = 0; cpu 7613 src/dps8/dps8_ins.c L68_ (cpu.PTWAM[i].USE = (word4) i;) cpu 7614 src/dps8/dps8_ins.c DPS8M_ (cpu.PTWAM[i].USE = 0;) cpu 7628 src/dps8/dps8_ins.c DPS8M_ (if (cpu.TPR.CA != 0000002 && (cpu.TPR.CA & 3) != 0) cpu 7629 src/dps8/dps8_ins.c sim_warn ("CAMP ignores enable/disable %06o\n", cpu.TPR.CA);) cpu 7630 src/dps8/dps8_ins.c if ((cpu.TPR.CA & 3) == 02) cpu 7631 src/dps8/dps8_ins.c cpu.cu.PT_ON = 1; cpu 7632 src/dps8/dps8_ins.c else if ((cpu.TPR.CA & 3) == 01) cpu 7633 src/dps8/dps8_ins.c cpu.cu.PT_ON = 0; cpu 7637 src/dps8/dps8_ins.c cpu.PTW0.FE = 0; cpu 7638 src/dps8/dps8_ins.c cpu.PTW0.USE = 0; cpu 7652 src/dps8/dps8_ins.c if (cpu.tweaks.enable_wam) cpu 7654 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode || cpu.cu.SD_ON) // only clear when enabled cpu 7657 src/dps8/dps8_ins.c cpu.SDWAM[i].FE = 0; cpu 7658 src/dps8/dps8_ins.c L68_ (cpu.SDWAM[i].USE = (word4) i;) cpu 7659 src/dps8/dps8_ins.c DPS8M_ (cpu.SDWAM[i].USE = 0;) cpu 7672 src/dps8/dps8_ins.c DPS8M_ (if (cpu.TPR.CA != 0000006 && (cpu.TPR.CA & 3) != 0) cpu 7673 src/dps8/dps8_ins.c sim_warn ("CAMS ignores enable/disable %06o\n", cpu.TPR.CA);) cpu 7674 src/dps8/dps8_ins.c if ((cpu.TPR.CA & 3) == 02) cpu 7675 src/dps8/dps8_ins.c cpu.cu.SD_ON = 1; cpu 7676 src/dps8/dps8_ins.c else if ((cpu.TPR.CA & 3) == 01) cpu 7677 src/dps8/dps8_ins.c cpu.cu.SD_ON = 0; cpu 7681 src/dps8/dps8_ins.c cpu.SDW0.FE = 0; cpu 7682 src/dps8/dps8_ins.c cpu.SDW0.USE = 0; cpu 7695 src/dps8/dps8_ins.c DPS8M_ (cpu_port_num = (cpu.TPR.CA >> 15) & 03;) cpu 7696 src/dps8/dps8_ins.c L68_ (cpu_port_num = (cpu.TPR.CA >> 15) & 07;) cpu 7707 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); cpu 7714 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 7715 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 7754 src/dps8/dps8_ins.c DPS8M_ (cpu_port_num = (cpu.TPR.CA >> 10) & 03;) cpu 7755 src/dps8/dps8_ins.c L68_ (cpu_port_num = (cpu.TPR.CA >> 10) & 07;) cpu 7765 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 16, 4, 010); cpu 7767 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 20, 4, 010); cpu 7769 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 24, 4, 010); cpu 7771 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 28, 4, 010); cpu 7778 src/dps8/dps8_ins.c uint function = (cpu.iefpFinalAddress >> 3) & 07; cpu 7783 src/dps8/dps8_ins.c cpu.iefpFinalAddress & MASK15, cpu 7784 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); cpu 7796 src/dps8/dps8_ins.c if (! cpu.tweaks.l68_mode) { cpu 7804 src/dps8/dps8_ins.c cpu.rA = PROM[cpu.TPR.CA & 1023]; cpu 7808 src/dps8/dps8_ins.c uint select = cpu.TPR.CA & 0x7; cpu 7812 src/dps8/dps8_ins.c cpu.rA = cpu.switches.data_switches; cpu 7842 src/dps8/dps8_ins.c cpu.rA = 0; cpu 7843 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [0] & 07LL) cpu 7845 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [0] & 01LL) cpu 7847 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [0] & 01LL) cpu 7849 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] ? 1LL:0LL) cpu 7851 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [0] & 07LL) cpu 7854 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [1] & 07LL) cpu 7856 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [1] & 01LL) cpu 7858 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [1] & 01LL) cpu 7860 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] ? 1LL:0LL) cpu 7862 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [1] & 07LL) cpu 7865 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [2] & 07LL) cpu 7867 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [2] & 01LL) cpu 7869 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [2] & 01LL) cpu 7871 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] ? 1LL:0LL) cpu 7873 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [2] & 07LL) cpu 7876 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [3] & 07LL) cpu 7878 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [3] & 01LL) cpu 7880 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [3] & 01LL) cpu 7882 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] ? 1LL:0LL) cpu 7884 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [3] & 07LL) cpu 7955 src/dps8/dps8_ins.c cpu.rA = 0; cpu 7957 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[0] == 2 ? cpu 7959 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[1] == 2 ? cpu 7961 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[2] == 2 ? cpu 7963 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.interlace[3] == 2 ? cpu 7967 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) cpu 7973 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) /* 0b01 DPS8M */ cpu 7975 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.FLT_BASE & 0177LL) cpu 7977 src/dps8/dps8_ins.c DPS8M_ (cpu.rA |= (word36) ((01L) /* 0b1 ID_PROM installed */ cpu 7988 src/dps8/dps8_ins.c if (cpu.tweaks.l68_mode) cpu 7994 src/dps8/dps8_ins.c cpu.rA |= (word36) ((01L) // 0b1 L68/DPS option: DPS cpu 8000 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.enable_cache ? 1 : 0) cpu 8005 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode) /* 0b1 DPS8M */ cpu 8007 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.procMode & 1U) cpu 8015 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.options.proc_speed & 017LL) cpu 8026 src/dps8/dps8_ins.c cpu.rA |= (word36) ((016L) // 0b1110 CPU ID cpu 8029 src/dps8/dps8_ins.c cpu.rA |= (word36) ((cpu.switches.cpu_num & 07LL) cpu 8034 src/dps8/dps8_ins.c if (!cpu.tweaks.l68_mode) { // DPS8M cpu 8035 src/dps8/dps8_ins.c cpu.rA = 0; cpu 8065 src/dps8/dps8_ins.c cpu.rA = 0; cpu 8066 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [4] & 07LL) cpu 8068 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [4] & 01LL) cpu 8070 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [4] & 01LL) cpu 8072 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] ? 1LL:0LL) cpu 8074 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [4] & 07LL) cpu 8077 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [5] & 07LL) cpu 8079 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [5] & 01LL) cpu 8081 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [5] & 01LL) cpu 8083 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] ? 1LL:0LL) cpu 8085 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [5] & 07LL) cpu 8088 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [6] & 07LL) cpu 8090 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [6] & 01LL) cpu 8092 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [6] & 01LL) cpu 8094 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] ? 1LL:0LL) cpu 8096 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [6] & 07LL) cpu 8099 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.assignment [7] & 07LL) cpu 8101 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.enable [7] & 01LL) cpu 8103 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.init_enable [7] & 01LL) cpu 8105 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] ? 1LL:0LL) cpu 8107 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.store_size [7] & 07LL) cpu 8127 src/dps8/dps8_ins.c cpu.rA = 0; cpu 8128 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [0] == 2 ? cpu 8130 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [1] == 2 ? cpu 8132 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [2] == 2 ? cpu 8134 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [3] == 2 ? cpu 8137 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [4] == 2 ? cpu 8139 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [5] == 2 ? cpu 8141 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [6] == 2 ? cpu 8143 src/dps8/dps8_ins.c cpu.rA |= (word36) (cpu.switches.interlace [7] == 2 ? cpu 8157 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 8158 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 8169 src/dps8/dps8_ins.c int cpu_port_num = lookup_cpu_mem_map (cpu.iefpFinalAddress); cpu 8193 src/dps8/dps8_ins.c word8 sub_mask = getbits36_8 (cpu.CY, 0); cpu 8194 src/dps8/dps8_ins.c word3 expander_command = getbits36_3 (cpu.CY, 21); cpu 8195 src/dps8/dps8_ins.c uint scu_port_num = (uint) getbits36_3 (cpu.CY, 33); cpu 8207 src/dps8/dps8_ins.c DPS8M_ (cpu_port_num = (cpu.TPR.CA >> 15) & 03;) cpu 8208 src/dps8/dps8_ins.c L68_ (cpu_port_num = (cpu.TPR.CA >> 15) & 07;) cpu 8218 src/dps8/dps8_ins.c current_running_cpu_idx, cpu.rA, cpu.rQ); cpu 8235 src/dps8/dps8_ins.c DPS8M_ (cpu_port_num = (cpu.TPR.CA >> 15) & 03;) cpu 8236 src/dps8/dps8_ins.c L68_ (cpu_port_num = (cpu.TPR.CA >> 15) & 07;) cpu 8243 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 16, 010); cpu 8245 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 20, 010); cpu 8247 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 24, 010); cpu 8249 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 28, 4, 010); cpu 8255 src/dps8/dps8_ins.c cpu_port_num, cpu.rA); cpu 8266 src/dps8/dps8_ins.c DPS8M_ (cpu_port_num = (cpu.TPR.CA >> 10) & 03;) cpu 8267 src/dps8/dps8_ins.c L68_ (cpu_port_num = (cpu.TPR.CA >> 10) & 07;) cpu 8272 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 16, 010); cpu 8274 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 20, 010); cpu 8276 src/dps8/dps8_ins.c putbits36_4 (& cpu.faultRegister[0], 24, 010); cpu 8278 src/dps8/dps8_ins.c putbits36 (& cpu.faultRegister[0], 28, 4, 010); cpu 8283 src/dps8/dps8_ins.c cpu_port_num, cpu.iefpFinalAddress & MASK15, cpu 8284 src/dps8/dps8_ins.c cpu.rA, cpu.rQ); cpu 8299 src/dps8/dps8_ins.c cpu.rA = result; cpu 8303 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0); cpu 8304 src/dps8/dps8_ins.c SC_I_NEG (cpu.rA & SIGN36); cpu 8310 src/dps8/dps8_ins.c if (! cpu.tweaks.dis_enable) cpu 8322 src/dps8/dps8_ins.c if ((! cpu.tweaks.tro_enable) && cpu 8328 src/dps8/dps8_ins.c " no events in queue\n", cpu.PPR.IC); cpu 8334 src/dps8/dps8_ins.c (unsigned long long)cpu.cycleCnt); cpu 8340 src/dps8/dps8_ins.c (unsigned long long)cpu.cycleCnt); cpu 8341 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_STOP); cpu 8345 src/dps8/dps8_ins.c if (cpu.PPR.PSR == 0430 && cpu.PPR.IC == 012) cpu 8352 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_STOP); cpu 8365 src/dps8/dps8_ins.c cpu 8367 src/dps8/dps8_ins.c cpu 8369 src/dps8/dps8_ins.c cpu 8375 src/dps8/dps8_ins.c if (cpu.PPR.PSR == 034 && cpu.PPR.IC == 03535) cpu 8377 src/dps8/dps8_ins.c sim_printf ("[%lld] sys_trouble$die DIS causes CPU halt\n", cpu.cycleCnt); cpu 8380 src/dps8/dps8_ins.c cpu.isRunning = false; cpu 8411 src/dps8/dps8_ins.c cpu.interrupt_flag = true; cpu 8417 src/dps8/dps8_ins.c if (GET_I (cpu.cu.IWB) ? bG7PendingNoTRO () : bG7Pending ()) cpu 8423 src/dps8/dps8_ins.c cpu 8428 src/dps8/dps8_ins.c cpu.g7_flag = true; cpu 8435 src/dps8/dps8_ins.c if (cpu.tweaks.isolts_mode) cpu 8438 src/dps8/dps8_ins.c cpu.isRunning = false; cpu 8467 src/dps8/dps8_ins.c if (getbits36_1 (cpu.CY, 23) != 0) cpu 8476 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); cpu 8478 src/dps8/dps8_ins.c uint TA = getbits36_2 (cpu.CY, 21); cpu 8479 src/dps8/dps8_ins.c uint CN = getbits36_3 (cpu.CY, 18); cpu 8519 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = 0; cpu 8542 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = 0; cpu 8572 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); cpu 8574 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, getbits36_2 (cpu.CY, 18), cpu 8575 src/dps8/dps8_ins.c getbits36_4 (cpu.CY, 20)); cpu 8590 src/dps8/dps8_ins.c word36 tmp36 = cpu.Yblock8[n]; cpu 8591 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = getbits36_18 (tmp36, 0); cpu 8604 src/dps8/dps8_ins.c words2du (cpu.Yblock8); cpu 8625 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); cpu 8627 src/dps8/dps8_ins.c uint TN = getbits36_1 (cpu.CY, 21); // C(Y) 21 cpu 8628 src/dps8/dps8_ins.c uint CN = getbits36_3 (cpu.CY, 18); // C(Y) 18-20 cpu 8700 src/dps8/dps8_ins.c uint TA = getbits36_2 (cpu.CY, 21); cpu 8708 src/dps8/dps8_ins.c if (getbits36_1 (cpu.CY, 23) != 0) { cpu 8718 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); cpu 8732 src/dps8/dps8_ins.c putbits36_3 (& cpu.CY, 18, (word3) CN & MASK3); cpu 8739 src/dps8/dps8_ins.c putbits36_3 (& cpu.CY, 18, (word3) CN & MASK3); cpu 8746 src/dps8/dps8_ins.c putbits36_3 (& cpu.CY, 18, cpu 8750 src/dps8/dps8_ins.c cpu.zone = 0777777700000; cpu 8751 src/dps8/dps8_ins.c cpu.useZone = true; cpu 8774 src/dps8/dps8_ins.c uint TN = getbits36_1 (cpu.CY, 21); // C(Y) 21 cpu 8778 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); cpu 8789 src/dps8/dps8_ins.c putbits36_3 (& cpu.CY, 18, CN & MASK3); cpu 8796 src/dps8/dps8_ins.c putbits36_3 (& cpu.CY, 18, cpu 8800 src/dps8/dps8_ins.c cpu.zone = 0777777700000; cpu 8801 src/dps8/dps8_ins.c cpu.useZone = true; cpu 8823 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 0, 18, cpu.PR[n].WORDNO); cpu 8825 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 18, 2, GET_AR_CHAR (n)); cpu 8826 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 20, 4, GET_AR_BITNO (n)); cpu 8828 src/dps8/dps8_ins.c cpu.zone = 0777777770000; cpu 8829 src/dps8/dps8_ins.c cpu.useZone = true; cpu 8839 src/dps8/dps8_ins.c memset (cpu.Yblock8, 0, sizeof (cpu.Yblock8)); cpu 8844 src/dps8/dps8_ins.c putbits36 (& arx, 0, 18, cpu.PR[n].WORDNO); cpu 8847 src/dps8/dps8_ins.c cpu.Yblock8[n] = arx; cpu 8855 src/dps8/dps8_ins.c du2words (cpu.Yblock8); cpu 9068 src/dps8/dps8_ins.c if (cpu.tweaks.enable_emcall) { cpu 9079 src/dps8/dps8_ins.c if (cpu.tweaks.halt_on_unimp) cpu 9086 src/dps8/dps8_ins.c cpu.ou.STR_OP = (is_ou && (i->info->flags & (STORE_OPERAND | STORE_YPAIR))) ? 1 : 0; cpu 9087 src/dps8/dps8_ins.c cpu.ou.cycle |= ou_GOF; cpu 9088 src/dps8/dps8_ins.c if (cpu.MR_cache.emr && cpu.MR_cache.ihr && is_ou) cpu 9090 src/dps8/dps8_ins.c if (cpu.MR_cache.emr && cpu.MR_cache.ihr && is_du) cpu 9110 src/dps8/dps8_ins.c DCDstruct * i = & cpu.currentInstruction; cpu 9134 src/dps8/dps8_ins.c startInstrCnt = cpu.instrCnt; cpu 9155 src/dps8/dps8_ins.c unsigned long long nInsts = cpu.instrCnt - startInstrCnt; cpu 9187 src/dps8/dps8_ins.c cpu 9190 src/dps8/dps8_ins.c cpu 9197 src/dps8/dps8_ins.c cpu 9206 src/dps8/dps8_ins.c cpu 9218 src/dps8/dps8_ins.c cpu 9224 src/dps8/dps8_ins.c cpu 9229 src/dps8/dps8_ins.c cpu 9247 src/dps8/dps8_ins.c cpu 9248 src/dps8/dps8_ins.c cpu 9256 src/dps8/dps8_ins.c cpu 9257 src/dps8/dps8_ins.c cpu 9261 src/dps8/dps8_ins.c cpu 9270 src/dps8/dps8_ins.c cpu 9276 src/dps8/dps8_ins.c cpu 9281 src/dps8/dps8_ins.c cpu 9296 src/dps8/dps8_ins.c cpu 9298 src/dps8/dps8_ins.c cpu 9355 src/dps8/dps8_ins.c cpu 9357 src/dps8/dps8_ins.c cpu 9379 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, & cpu_dev, "absa CA:%08o\n", cpu.TPR.CA); cpu 9383 src/dps8/dps8_ins.c if (get_addr_mode () == ABSOLUTE_mode && ! (cpu.cu.XSF || cpu.currentInstruction.b29)) // ISOLTS-860 cpu 9385 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format cpu 9406 src/dps8/dps8_ins.c sim_printf (" rcu to %05o:%06o PSR:IC %05o:%06o\r\n", (cpu.Yblock8[0]>>18)&MASK15, (cpu.Yblock8[4]>>18)&MASK18, cpu.PPR.PSR, cpu.PPR.IC); cpu 9411 src/dps8/dps8_ins.c dump_words(cpu.Yblock8); cpu 9419 src/dps8/dps8_ins.c words2scu (cpu.Yblock8); cpu 9420 src/dps8/dps8_ins.c decode_instruction (IWB_IRODD, & cpu.currentInstruction); cpu 9424 src/dps8/dps8_ins.c word1 saveP = cpu.PPR.P; // ISOLTS-870 02m cpu 9429 src/dps8/dps8_ins.c cpu.PPR.P = saveP; cpu 9431 src/dps8/dps8_ins.c if (getbits36_1 (cpu.Yblock8[1], 35) == 0) // cpu.cu.FLT_INT is interrupt, not fault cpu 9434 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_REFETCH); cpu 9502 src/dps8/dps8_ins.c if (cpu.cu.FIF) // fault occurred during instruction fetch cpu 9510 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9512 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_REFETCH); cpu 9516 src/dps8/dps8_ins.c if (cpu.cu.rfi) cpu 9523 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9524 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_REFETCH); cpu 9530 src/dps8/dps8_ins.c word5 fi_addr = getbits36_5 (cpu.Yblock8[1], 30); cpu 9540 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9541 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_RESTART); cpu 9544 src/dps8/dps8_ins.c if (cpu.cu.rfi || // S/W asked for the instruction to be started cpu 9545 src/dps8/dps8_ins.c cpu.cu.FIF) // fault occurred during instruction fetch cpu 9554 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9556 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_REFETCH); cpu 9567 src/dps8/dps8_ins.c cpu.cu.rfi = 1; cpu 9568 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_RESTART); cpu 9598 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9599 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_SYNC_FAULT_RETURN); cpu 9612 src/dps8/dps8_ins.c cpu.cu.rfi = 0; cpu 9613 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_SYNC_FAULT_RETURN); cpu 9620 src/dps8/dps8_ins.c cpu.cu.rfi = 1; cpu 9622 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_RESTART); cpu 9637 src/dps8/dps8_ins.c cpu.cu.rfi = 1; cpu 9639 src/dps8/dps8_ins.c longjmp (cpu.jmpMain, JMP_RESTART); cpu 3311 src/dps8/dps8_iom.c sim_printf ("// CIOC %lld\r\n", cpu.cycleCnt); cpu 3472 src/dps8/dps8_iom.c __func__, iomChar (iom_unit_idx), cpu.cycleCnt, cpu.PPR.PSR, cpu.PPR.IC); cpu 50 src/dps8/dps8_math.c #define DBG_CTR cpu.cycleCnt cpu 76 src/dps8/dps8_math.c word72 Mant = convert_to_word72 (cpu.rA, cpu.rQ); cpu 92 src/dps8/dps8_math.c int e = SIGNEXT8_int (cpu . rE & MASK8); // make signed cpu 128 src/dps8/dps8_math.c word72 Mant = convert_to_word72 (cpu.rA, cpu.rQ); cpu 144 src/dps8/dps8_math.c int e = SIGNEXT8_int (cpu . rE & MASK8); // make signed cpu 291 src/dps8/dps8_math.c cpu . rA = 0; cpu 295 src/dps8/dps8_math.c cpu . rQ = 0; cpu 296 src/dps8/dps8_math.c cpu . rE = 0200U; /*-128*/ cpu 332 src/dps8/dps8_math.c cpu . rE = exp & MASK8; cpu 333 src/dps8/dps8_math.c cpu . rA = (result >> 36) & MASK36; cpu 337 src/dps8/dps8_math.c cpu . rQ = result & MASK36; cpu 450 src/dps8/dps8_math.c return (! cpu.tweaks.l68_mode) && (!! cpu.options.hex_mode_installed) && (!! cpu.MR.hexfp) && (!! TST_I_HEX); cpu 480 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 483 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.CY, 8)), 44u); // 28-bit mantissa (incl sign) cpu 485 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; // 28-bit mantissa (incl sign) cpu 488 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 489 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 524 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOE;) cpu 601 src/dps8/dps8_math.c m3 = Add72b (m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); cpu 673 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); cpu 677 src/dps8/dps8_math.c cpu.rE = e3 & 0377; cpu 679 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); // Do this here instead of in Add72b because cpu 681 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { cpu 683 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 689 src/dps8/dps8_math.c fno_ext (& e3, & cpu.rE, & cpu.rA, & cpu.rQ); cpu 735 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GON;) cpu 1078 src/dps8/dps8_math.c word72 m = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1093 src/dps8/dps8_math.c if (cpu.rE == 127) { cpu 1098 src/dps8/dps8_math.c cpu.rE ++; cpu 1099 src/dps8/dps8_math.c cpu.rE &= MASK8; cpu 1110 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); cpu 1111 src/dps8/dps8_math.c fno (& cpu.rE, & cpu.rA, & cpu.rQ); // normalize cpu 1131 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1132 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1134 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.CY, 8)), 44u); // 28-bit mantissa (incl sign) cpu 1136 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; ///< 28-bit mantissa (incl sign) cpu 1138 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1144 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 1145 src/dps8/dps8_math.c cpu.rA = 0; cpu 1149 src/dps8/dps8_math.c cpu.rQ = 0; cpu 1209 src/dps8/dps8_math.c convert_to_word36 (m3a, & cpu.rA, & cpu.rQ); cpu 1213 src/dps8/dps8_math.c cpu.rE = (word8) e3 & MASK8; cpu 1214 src/dps8/dps8_math.c sim_debug (DBG_TRACEEXT, & cpu_dev, "fmp A %012"PRIo64" Q %012"PRIo64" E %03o\n", cpu.rA, cpu.rQ, cpu.rE); cpu 1215 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 1217 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { cpu 1219 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 1225 src/dps8/dps8_math.c fno_ext (& e3, & cpu.rE, & cpu.rA, & cpu.rQ); cpu 1272 src/dps8/dps8_math.c m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1273 src/dps8/dps8_math.c e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1276 src/dps8/dps8_math.c m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.CY, 8)), 44u); // 28-bit mantissa (incl sign) cpu 1278 src/dps8/dps8_math.c m2 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; ///< 28-bit mantissa (incl sign) cpu 1280 src/dps8/dps8_math.c e2 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1284 src/dps8/dps8_math.c m2 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1285 src/dps8/dps8_math.c e2 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1299 src/dps8/dps8_math.c m1 = lshift_128 (construct_128 (0, getbits36_28 (cpu.CY, 8)), 44); ///< 28-bit mantissa (incl sign) cpu 1300 src/dps8/dps8_math.c e1 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1309 src/dps8/dps8_math.c m1 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; ///< 28-bit mantissa (incl sign) cpu 1310 src/dps8/dps8_math.c e1 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1318 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 1319 src/dps8/dps8_math.c cpu.rA = 0; cpu 1323 src/dps8/dps8_math.c cpu.rQ = 0; cpu 1391 src/dps8/dps8_math.c convert_to_word36 (m1, & cpu.rA, & cpu.rQ); cpu 1455 src/dps8/dps8_math.c cpu.rE = (word8) e3 & MASK8; cpu 1457 src/dps8/dps8_math.c cpu.rA = rshift_128 (m3, 36u).l & MASK36; cpu 1459 src/dps8/dps8_math.c cpu.rA = (m3 >> 36) & MASK36; cpu 1464 src/dps8/dps8_math.c cpu.rQ = 0; cpu 1466 src/dps8/dps8_math.c SC_I_ZERO (cpu . rA == 0); cpu 1467 src/dps8/dps8_math.c SC_I_NEG (cpu . rA & SIGN36); cpu 1469 src/dps8/dps8_math.c if (cpu.rA == 0) // set to normalized 0 cpu 1470 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 1547 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 1549 src/dps8/dps8_math.c word72 m = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1551 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 1590 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); cpu 1592 src/dps8/dps8_math.c fno (& cpu.rE, & cpu.rA, & cpu.rQ); cpu 1607 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 1608 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; cpu 1609 src/dps8/dps8_math.c word8 E = cpu . rE; cpu 1687 src/dps8/dps8_math.c word72 m1= lshift_128 (construct_128 (0, cpu.rA & 0777777777400), 36); cpu 1689 src/dps8/dps8_math.c word72 m1 = ((word72)cpu.rA & 0777777777400LL) << 36; cpu 1691 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1695 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, getbits36_28 (cpu.CY, 8)), 44); cpu 1697 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; cpu 1699 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1703 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOE;) cpu 1715 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOA;) cpu 1748 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOA;) cpu 1818 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOS;) cpu 1826 src/dps8/dps8_math.c word72 m1 = lshift_128 (construct_128 (0, cpu.rA & 0777777777400), 36); cpu 1828 src/dps8/dps8_math.c word72 m1 = ((word72)cpu.rA & 0777777777400LL) << 36; cpu 1830 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1835 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, getbits36_28 (cpu.CY, 8)), 44); cpu 1837 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.CY, 8)) << 44; cpu 1839 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.CY, 0)); cpu 1843 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOE;) cpu 1850 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOA;) cpu 1883 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOA;) cpu 1985 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOS;) cpu 1992 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 1993 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 1997 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.Ypair[0], 8)), 44u); // 28-bit mantissa (incl sign) cpu 1998 src/dps8/dps8_math.c m2 = or_128 (m2, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 2000 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.Ypair[0], 8)) << 44; cpu 2001 src/dps8/dps8_math.c m2 |= (word72) cpu.Ypair[1] << 8; cpu 2004 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 2047 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOE;) cpu 2055 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOA;) cpu 2089 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOA;) cpu 2124 src/dps8/dps8_math.c word72 m3 = Add72b (m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); cpu 2189 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); cpu 2193 src/dps8/dps8_math.c cpu.rE = e3 & 0377; cpu 2195 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); // Do this here instead of in Add72b because cpu 2197 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { cpu 2199 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 2205 src/dps8/dps8_math.c fno_ext (& e3, & cpu.rE, & cpu.rA, & cpu.rQ); cpu 2242 src/dps8/dps8_math.c cpu 2271 src/dps8/dps8_math.c cpu 2278 src/dps8/dps8_math.c cpu 2303 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 2304 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 2305 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu . rE & MASK8); cpu 2312 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.Ypair[0], 8)), 44u); // 28-bit mantissa (incl sign) cpu 2313 src/dps8/dps8_math.c m2 = or_128 (m2, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 2315 src/dps8/dps8_math.c word72 m2 = ((word72) getbits36_28 (cpu.Ypair[0], 8)) << 44; cpu 2316 src/dps8/dps8_math.c m2 |= (word72) cpu.Ypair[1] << 8; cpu 2320 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 2330 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 2331 src/dps8/dps8_math.c cpu.rA = 0; cpu 2335 src/dps8/dps8_math.c cpu.rQ = 0; cpu 2413 src/dps8/dps8_math.c convert_to_word36 (m3a, & cpu.rA, & cpu.rQ); cpu 2417 src/dps8/dps8_math.c cpu.rE = (word8) e3 & MASK8; cpu 2419 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 2421 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { cpu 2423 src/dps8/dps8_math.c cpu . rE = 0200U; /*-128*/ cpu 2429 src/dps8/dps8_math.c fno_ext (& e3, & cpu.rE, & cpu.rA, & cpu.rQ); cpu 2462 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 2477 src/dps8/dps8_math.c m1 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 2478 src/dps8/dps8_math.c e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 2482 src/dps8/dps8_math.c m2 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.Ypair[0], 8)), 44u); // 28-bit mantissa (incl sign) cpu 2483 src/dps8/dps8_math.c m2 = or_128 (m2, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 2485 src/dps8/dps8_math.c m2 = ((word72) getbits36_28 (cpu.Ypair[0], 8)) << 44; cpu 2486 src/dps8/dps8_math.c m2 |= (word72) cpu.Ypair[1] << 8; cpu 2489 src/dps8/dps8_math.c e2 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 2491 src/dps8/dps8_math.c m2 = convert_to_word72 (cpu.rA, cpu.rQ); cpu 2492 src/dps8/dps8_math.c e2 = SIGNEXT8_int (cpu.rE & MASK8); cpu 2521 src/dps8/dps8_math.c m1 = lshift_128 (construct_128 (0, (uint64_t) getbits36_28 (cpu.Ypair[0], 8)), 44u); // 28-bit mantissa (incl sign) cpu 2522 src/dps8/dps8_math.c m1 = or_128 (m1, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 2524 src/dps8/dps8_math.c m1 = ((word72) getbits36_28 (cpu.Ypair[0], 8)) << 44; cpu 2525 src/dps8/dps8_math.c m1 |= (word72) cpu.Ypair[1] << 8; cpu 2528 src/dps8/dps8_math.c e1 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 2535 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 2536 src/dps8/dps8_math.c cpu.rA = 0; cpu 2540 src/dps8/dps8_math.c cpu.rQ = 0; cpu 2607 src/dps8/dps8_math.c convert_to_word36 (m1, & cpu.rA, & cpu.rQ); cpu 2615 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GOA;) cpu 2639 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD1;) cpu 2649 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 2661 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); cpu 2665 src/dps8/dps8_math.c cpu.rE = (word8) e3 & MASK8; cpu 2667 src/dps8/dps8_math.c SC_I_ZERO (cpu.rA == 0 && cpu . rQ == 0); cpu 2668 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 2670 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) // set to normalized 0 cpu 2671 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 2790 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD1;) cpu 2792 src/dps8/dps8_math.c bool dividendNegative = (getbits36_1 (cpu.rA, 0) != 0); cpu 2793 src/dps8/dps8_math.c bool divisorNegative = (getbits36_1 (cpu.CY, 0) != 0); cpu 2800 src/dps8/dps8_math.c uint128 zFrac = (((uint128) (cpu.rA & MASK35)) << 35) | ((cpu.rQ >> 1) & MASK35); cpu 2817 src/dps8/dps8_math.c cpu 2825 src/dps8/dps8_math.c uint128 dFrac = cpu.CY & MASK35; cpu 2838 src/dps8/dps8_math.c cpu.rA = (zFrac >> 35) & MASK35; cpu 2839 src/dps8/dps8_math.c cpu.rQ = (zFrac & MASK35) << 1; cpu 2841 src/dps8/dps8_math.c SC_I_ZERO (cpu.CY == 0); cpu 2842 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 2851 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 2877 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 2883 src/dps8/dps8_math.c SC_I_ZERO (cpu.rA == 0); cpu 2884 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 2888 src/dps8/dps8_math.c cpu.rA = quot & MASK36; cpu 2892 src/dps8/dps8_math.c cpu.rQ = remainder & MASK36; cpu 2900 src/dps8/dps8_math.c cpu 2904 src/dps8/dps8_math.c cpu 2906 src/dps8/dps8_math.c cpu 2907 src/dps8/dps8_math.c cpu 2919 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD1;) cpu 2921 src/dps8/dps8_math.c bool dividendNegative = (getbits36_1 (cpu . rA, 0) != 0); cpu 2922 src/dps8/dps8_math.c bool divisorNegative = (getbits36_1 (cpu.CY, 0) != 0); cpu 2930 src/dps8/dps8_math.c uint128 zFrac = lshift_128 (construct_128 (0, cpu.rA & MASK35), 35); cpu 2931 src/dps8/dps8_math.c zFrac = or_128 (zFrac, construct_128 (0, (cpu.rQ >> 1) & MASK35)); cpu 2934 src/dps8/dps8_math.c uint128 zFrac = ((uint128) (cpu . rA & MASK35) << 35) | ((cpu . rQ >> 1) & MASK35); cpu 2971 src/dps8/dps8_math.c uint128 dFrac = convert_to_word72 (0, cpu.CY & MASK35); cpu 3015 src/dps8/dps8_math.c cpu.rQ = cpu.rQ & (MASK35 << 1); cpu 3019 src/dps8/dps8_math.c SC_I_ZERO (cpu.CY == 0); cpu 3020 src/dps8/dps8_math.c SC_I_NEG (cpu.rA & SIGN36); cpu 3028 src/dps8/dps8_math.c L68_ (cpu.ou.cycle |= ou_GD2;) cpu 3057 src/dps8/dps8_math.c bool Aneg = (cpu.rA & SIGN36) != 0; // blood type cpu 3058 src/dps8/dps8_math.c bool AQzero = cpu.rA == 0 && cpu.rQ == 0; cpu 3059 src/dps8/dps8_math.c if (cpu.rA & SIGN36) cpu 3061 src/dps8/dps8_math.c cpu.rA = (~cpu.rA) & MASK36; cpu 3062 src/dps8/dps8_math.c cpu.rQ = (~cpu.rQ) & MASK36; cpu 3063 src/dps8/dps8_math.c cpu.rQ += 1; cpu 3064 src/dps8/dps8_math.c if (cpu.rQ & BIT37) // overflow? cpu 3066 src/dps8/dps8_math.c cpu.rQ &= MASK36; cpu 3067 src/dps8/dps8_math.c cpu.rA = (cpu.rA + 1) & MASK36; cpu 3071 src/dps8/dps8_math.c cpu 3073 src/dps8/dps8_math.c cpu 3074 src/dps8/dps8_math.c cpu 3084 src/dps8/dps8_math.c cpu.rQ = cpu.rQ & (MASK35 << 1); cpu 3113 src/dps8/dps8_math.c cpu.rA = quot.l & MASK36; cpu 3114 src/dps8/dps8_math.c cpu.rQ = remainder.l & MASK36; cpu 3116 src/dps8/dps8_math.c cpu . rA = quot & MASK36; cpu 3117 src/dps8/dps8_math.c cpu . rQ = remainder & MASK36; cpu 3126 src/dps8/dps8_math.c SC_I_ZERO (cpu . rA == 0 && cpu . rQ == 0); cpu 3127 src/dps8/dps8_math.c SC_I_NEG (cpu . rA & SIGN36); cpu 3153 src/dps8/dps8_math.c float72 m = convert_to_word72 (cpu.rA, cpu.rQ); cpu 3155 src/dps8/dps8_math.c cpu.rE = 0200U; /*-128*/ cpu 3194 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); cpu 3196 src/dps8/dps8_math.c fno (& cpu.rE, & cpu.rA, & cpu.rQ); cpu 3227 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; cpu 3228 src/dps8/dps8_math.c word8 E = cpu . rE; cpu 3317 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ & 0777777777400LL); cpu 3318 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu . rE & MASK8); cpu 3322 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, getbits36_28 (cpu.Ypair[0], 8)), (36 + 8)); cpu 3323 src/dps8/dps8_math.c m2 = or_128 (m2, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 3325 src/dps8/dps8_math.c word72 m2 = (word72) getbits36_28 (cpu.Ypair[0], 8) << (36 + 8); cpu 3326 src/dps8/dps8_math.c m2 |= cpu.Ypair[1] << 8; cpu 3328 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 3452 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA & MASK36, cpu.rQ & 0777777777400LL); cpu 3453 src/dps8/dps8_math.c int e1 = SIGNEXT8_int (cpu.rE & MASK8); cpu 3457 src/dps8/dps8_math.c word72 m2 = lshift_128 (construct_128 (0, getbits36_28 (cpu.Ypair[0], 8)), (36 + 8)); cpu 3458 src/dps8/dps8_math.c m2 = or_128 (m2, lshift_128 (construct_128 (0, cpu.Ypair[1]), 8u)); cpu 3460 src/dps8/dps8_math.c word72 m2 = (word72) getbits36_28 (cpu.Ypair[0], 8) << (36 + 8); cpu 3461 src/dps8/dps8_math.c m2 |= cpu.Ypair[1] << 8; cpu 3463 src/dps8/dps8_math.c int e2 = SIGNEXT8_int (getbits36_8 (cpu.Ypair[0], 0)); cpu 3466 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOE;) cpu 3473 src/dps8/dps8_math.c L68_ (cpu.ou.cycle = ou_GOA;) cpu 31 src/dps8/dps8_prom.h cpu.switches.serno, // 11-21 CPU serial ("DDDDDDDDDDD"/%11d) cpu 1183 src/dps8/dps8_scu.c uint128 big = construct_128 (0, cpu.instrCnt); cpu 1196 src/dps8/dps8_scu.c __uint128_t big = cpu.instrCnt; cpu 1863 src/dps8/dps8_scu.c word16 b0_15 = (word16) getbits36_16 (cpu.rA, 20); cpu 1864 src/dps8/dps8_scu.c word36 b16_51 = cpu.rQ; cpu 2137 src/dps8/dps8_scu.c cpu.rQ = clk & 0777777777777; // lower 36-bits of clock cpu 2138 src/dps8/dps8_scu.c cpu.rA = (clk >> 36) & 0177777; // upper 16-bits of clock cpu 32 src/dps8/dps8_simh.h ((dptr != & cpu_dev) || (((dptr)->dctrl & (DBG_INTR | DBG_FAULT))) || (! sim_deb_segno_on) || sim_deb_segno[cpu.PPR.PSR & (DEBUG_SEGNO_LIMIT - 1)]) && \ cpu 33 src/dps8/dps8_simh.h ((dptr != & cpu_dev) || sim_deb_ringno == NO_SUCH_RINGNO || sim_deb_ringno == cpu . PPR. PRR) && \ cpu 35 src/dps8/dps8_simh.h cpu.cycleCnt >= sim_deb_start && \ cpu 36 src/dps8/dps8_simh.h (sim_deb_stop == 0 || cpu.cycleCnt < sim_deb_stop) && \ cpu 98 src/dps8/dps8_sys.c #define DBG_CTR cpu.cycleCnt cpu 1847 src/dps8/dps8_sys.c cpu 1848 src/dps8/dps8_sys.c cpu 1849 src/dps8/dps8_sys.c cpu 1850 src/dps8/dps8_sys.c cpu 1851 src/dps8/dps8_sys.c cpu 1852 src/dps8/dps8_sys.c cpu 1853 src/dps8/dps8_sys.c cpu 1858 src/dps8/dps8_sys.c cpu.restart = true; cpu 1859 src/dps8/dps8_sys.c cpu.restart_address = (uint) n; cpu 2041 src/dps8/dps8_sys.c cpu 2043 src/dps8/dps8_sys.c cpu 2052 src/dps8/dps8_sys.c cpu 2054 src/dps8/dps8_sys.c cpu 2095 src/dps8/dps8_sys.c cpu 2111 src/dps8/dps8_sys.c cpu 2742 src/dps8/dps8_sys.c word15 icSegno = cpu.PPR.PSR; cpu 2743 src/dps8/dps8_sys.c word18 icOffset = cpu.PPR.IC; cpu 2765 src/dps8/dps8_sys.c word15 fpSegno = cpu.PR[6].SNR; cpu 2766 src/dps8/dps8_sys.c word18 fpOffset = cpu.PR[6].WORDNO; cpu 2797 src/dps8/dps8_sys.c where = lookup_address (icSegno, cpu.rX[7] - 1, cpu 2801 src/dps8/dps8_sys.c sim_msg ("%05o:%06o %s\n", icSegno, cpu.rX[7] - 1, where); cpu 3181 src/dps8/dps8_sys.c core_read2 ((cpu.DSBR.ADDR + 2u * segno) & PAMASK, & SDWeven, & SDWodd, cpu 3186 src/dps8/dps8_sys.c sdw0_s *SDW = & cpu._s; cpu 3187 src/dps8/dps8_sys.c memset (SDW, 0, sizeof (cpu._s)); cpu 3212 src/dps8/dps8_sys.c if (cpu.DSBR.U) { cpu 3213 src/dps8/dps8_sys.c for(word15 segno = 0; 2u * segno < 16u * (cpu.DSBR.BND + 1u); segno += 1) cpu 3221 src/dps8/dps8_sys.c 2u * segno < 16u * (cpu.DSBR.BND + 1u); cpu 3227 src/dps8/dps8_sys.c core_read ((cpu.DSBR.ADDR + x1) & PAMASK, & PTWx1, __func__); cpu 3399 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[6].SNR, 046, & pa, & msg)) cpu 3407 src/dps8/dps8_sys.c sim_msg ("%05o:%06o\n", cpu.PR[2].SNR, cpu.rX[0]); cpu 3409 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.rX[0], & pa, & msg)) cpu 3417 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.PR[2].WORDNO, & pa, & msg)) cpu 3453 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[6].SNR, 046, & pa, & msg)) cpu 3462 src/dps8/dps8_sys.c cpu 3464 src/dps8/dps8_sys.c cpu 3487 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.PR[2].WORDNO, & pa, & msg)) cpu 3512 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[6].SNR, 046, & pa, & msg)) cpu 3523 src/dps8/dps8_sys.c cpu 3532 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.PR[2].WORDNO, & pa, & msg)) cpu 3556 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[6].SNR, 046, & pa, & msg)) cpu 3564 src/dps8/dps8_sys.c sim_msg ("%05o:%06o\n", cpu.PR[2].SNR, cpu.rX[0]); cpu 3566 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.rX[0], & pa, & msg)) cpu 3574 src/dps8/dps8_sys.c if (dbgLookupAddress (cpu.PR[2].SNR, cpu.PR[2].WORDNO, & pa, & msg)) cpu 4524 src/dps8/dps8_sys.c segno = cpu.PR[prt->n].SNR; cpu 4525 src/dps8/dps8_sys.c PRoffset = cpu.PR[prt->n].WORDNO; cpu 4567 src/dps8/dps8_sys.c segno = cpu.PR[prt->n].SNR; cpu 4568 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; cpu 964 src/dps8/dps8_utils.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 1008 src/dps8/dps8_utils.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 1056 src/dps8/dps8_utils.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 1089 src/dps8/dps8_utils.c L68_ (cpu.ou.cycle |= ou_GOS;) cpu 2003 src/dps8/dps8_utils.c cpu 2018 src/dps8/dps8_utils.c cpu 2024 src/dps8/dps8_utils.c cpu 166 src/dps8/hdbg.c if (filter && hdbgSegNum >= 0 && hdbgSegNum != cpu.PPR.PSR) \ cpu 168 src/dps8/hdbg.c if (filter && hdbgSegNum > 0 && blacklist[cpu.PPR.IC]) \ cpu 175 src/dps8/hdbg.c hevents[p].time = cpu.cycleCnt; \ cpu 189 src/dps8/hdbg.c hevents[p].trace.segno = cpu.PPR.PSR; cpu 190 src/dps8/hdbg.c hevents[p].trace.ic = cpu.PPR.IC; cpu 191 src/dps8/hdbg.c hevents[p].trace.ring = cpu.PPR.PRR; cpu 248 src/dps8/hdbg.c hevents[p].time = cpu.cycleCnt; cpu 90 src/dps8/hdbg.h # define HDBGRegAR(c) hdbgRegR (hreg_A, cpu.rA, c) cpu 91 src/dps8/hdbg.h # define HDBGRegAW(c) hdbgRegW (hreg_A, cpu.rA, c) cpu 92 src/dps8/hdbg.h # define HDBGRegQR(c) hdbgRegR (hreg_Q, cpu.rQ, c) cpu 93 src/dps8/hdbg.h # define HDBGRegQW(c) hdbgRegW (hreg_Q, cpu.rQ, c) cpu 94 src/dps8/hdbg.h # define HDBGRegXR(i, c) hdbgRegR (hreg_X0+(i), (word36) cpu.rX[i], c) cpu 95 src/dps8/hdbg.h # define HDBGRegXW(i, c) hdbgRegW (hreg_X0+(i), (word36) cpu.rX[i], c) cpu 96 src/dps8/hdbg.h # define HDBGRegYR(c) hdbgRegR (hreg_Y, (word36) cpu.rY, c) cpu 97 src/dps8/hdbg.h # define HDBGRegYW(c) hdbgRegW (hreg_Y, (word36) cpu.rY, c) cpu 100 src/dps8/hdbg.h # define HDBGRegPRR(i, c) hdbgPARegR (hreg_PR0+(i), & cpu.PAR[i], c) cpu 101 src/dps8/hdbg.h # define HDBGRegPRW(i, c) hdbgPARegW (hreg_PR0+(i), & cpu.PAR[i], c) cpu 102 src/dps8/hdbg.h # define HDBGRegARR(i, c) hdbgPARegR (hreg_AR0+(i), & cpu.PAR[i], c) cpu 103 src/dps8/hdbg.h # define HDBGRegARW(i, c) hdbgPARegW (hreg_AR0+(i), & cpu.PAR[i], c) cpu 105 src/dps8/hdbg.h cpu 106 src/dps8/hdbg.h cpu 108 src/dps8/hdbg.h # define HDBGRegIR(c) hdbgRegW (hreg_IR, (word36) cpu.cu.IR, c) cpu 599 src/dps8/threadz.c sim_printf ("sleepCPU pthread_cond_timedwait rc %ld usec %ld TR %lu CPU %lu\n", (long) rc, (long) usec, (unsigned long) cpu.rTR, (unsigned long) current_running_cpu_idx);