Prev: 676E Up: Map Next: 67A1
6777: Condition: Random
Passes when a value stirred from the frame counter and the signature comes out below the parameter.
RandomTest 6777 LD A,($676E) Plant the signature over the address read next.
677A LD ($6783),A
677D LD IX,$676E Read through that stirred address.
6781 LD A,(IX+$00)
6784 LD L,A Widen the stirred byte.
6785 LD H,$00
6787 ADD HL,HL Remember the first partial product.
6788 ADD HL,HL
6789 PUSH HL
678A ADD HL,HL Shift further and remember that product.
678B ADD HL,HL
678C ADD HL,HL
678D PUSH HL
678E ADD HL,HL Double once more.
678F POP DE
6790 ADD HL,DE Add both saved products. The mix is the byte times 64.
6791 POP DE
6792 ADD HL,DE
6793 LD A,($5C78) Fold the low three bits of the frame counter into the signature.
6796 AND $07
6798 INC A
6799 LD ($676E),A
679C LD A,H Jump to RejectCondition to reject this bytecode condition.
679D CP B
679E JR NC,RejectCondition
67A0 RET Return.
Prev: 676E Up: Map Next: 67A1