Skip to content

Commit b7a50ff

Browse files
Fix write bracket check error (ticket #130).
1 parent 7ca073c commit b7a50ff

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/dps8/dps8_append.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,8 +1727,12 @@ A:;
17271727
{
17281728
sim_debug (DBG_APPENDING, & cpu_dev, "doAppendCycle(B):STR-OP\n");
17291729

1730-
// C(TPR.TRR) > C(SDW .R2)?
1731-
if (cpu.TPR.TRR > cpu.SDW->R2)
1730+
// Typo in AL39; R2 should be R1
1731+
// // C(TPR.TRR) > C(SDW .R2)?
1732+
// if (cpu.TPR.TRR > cpu.SDW->R2)
1733+
1734+
// C(TPR.TRR) > C(SDW .R1)?
1735+
if (cpu.TPR.TRR > cpu.SDW->R1)
17321736
//Set fault ACV5 = OWB
17331737
acvFault (ACV5, "doAppendCycle(B) C(TPR.TRR) > C(SDW .R2)");
17341738

0 commit comments

Comments
 (0)