![]() |
Routines |
| Prev: 26478 | Up: Map | Next: 26529 |
|
Passes when a value stirred from the frame counter and the signature comes out below the parameter.
|
||||
| RandomTest | 26487 | LD A,(26478) | Plant the signature over the address read next. | |
| 26490 | LD (26499),A | |||
| 26493 | LD IX,26478 | Read through that stirred address. | ||
| 26497 | LD A,(IX+0) | |||
| 26500 | LD L,A | Widen the stirred byte. | ||
| 26501 | LD H,0 | |||
| 26503 | ADD HL,HL | Remember the first partial product. | ||
| 26504 | ADD HL,HL | |||
| 26505 | PUSH HL | |||
| 26506 | ADD HL,HL | Shift further and remember that product. | ||
| 26507 | ADD HL,HL | |||
| 26508 | ADD HL,HL | |||
| 26509 | PUSH HL | |||
| 26510 | ADD HL,HL | Double once more. | ||
| 26511 | POP DE | |||
| 26512 | ADD HL,DE | Add both saved products. The mix is the byte times 100. | ||
| 26513 | POP DE | |||
| 26514 | ADD HL,DE | |||
| 26515 | LD A,(23672) | Fold the low three bits of the frame counter into the signature. | ||
| 26518 | AND 7 | |||
| 26520 | INC A | |||
| 26521 | LD (26478),A | |||
| 26524 | LD A,H | Jump to RejectCondition to reject this bytecode condition. | ||
| 26525 | CP B | |||
| 26526 | JR NC,RejectCondition | |||
| 26528 | RET | Return. | ||
| Prev: 26478 | Up: Map | Next: 26529 |