# KNOT-SO-EASY - R. Cameron - DREAMER 11 pp.19-20 (PDF pages 21-22) - CHIP-8 + machine code 0080-03D5 # (printed 0080-0400; picture data 0080-00FF printed at the bottom of p.19) # run C000 (FN 3). A rope (string of dots) is drawn on the left of the screen in a 4 x 4 block of # 8x8 squares; after a short time the computer jumbles (and rotates) the squares. Re-assemble it. # keys: type a square's co-ordinates, 1-4 across then 1-4 down: on the last digit that square and the # square to the right of the single dot interchange positions. 5 rotates (clockwise) the square, # 6 checks: the picture flashes off straight away if wrong, a tone is heard if it is correct. # Squares start at 0080 0088 0090 0098 / 00A0 ... / 00E0 00E8 00F0 00F8 (change them for a new picture). # Machine code called with 0MMM: 02F6 swap, 02BA rotate (+02A8), 035D compare picture with 0080-00FF + tone. # Reading notes (no printing errors corrected): 03B9 is a faint 'C6' (LDAB #32 / JSR C2E1 tone), first read # as 06 (TAP/PULA crashed the check); the 0285 '02A8' has an ink blot on the A (02A8 is a valid entry). # Quirk kept: 0394 BEQ 21 lands on 03B7 (STAA 39,X = 00 into display 0139, harmless) instead of 03B9. # After '6' the digit is shown at (35,7) and erased: with a correct picture it stays during the tone. 0080 0001 0E10 2040 4020 00E0 1804 0402 0100 0090 0000 0306 0870 8000 0000 C020 1008 0804 00A0 2010 0C03 0000 0000 0000 0080 4020 1008 00B0 0000 0000 0102 0408 0408 1060 8000 0000 00C0 0000 0003 0C10 2040 0810 6080 0000 0000 00D0 0808 0406 0100 0000 0000 0000 8040 2010 00E0 4040 2020 1008 0700 0003 0418 2040 8000 00F0 0080 4030 0807 0000 1008 0408 3C00 0000 0100 0000 0000 0000 0000 0000 0000 0000 0000 # 0100-01FF is the display buffer (not printed, filled with 00) 0110 0000 0000 0000 0000 0000 0000 0000 0000 0120 0000 0000 0000 0000 0000 0000 0000 0000 0130 0000 0000 0000 0000 0000 0000 0000 0000 0140 0000 0000 0000 0000 0000 0000 0000 0000 0150 0000 0000 0000 0000 0000 0000 0000 0000 0160 0000 0000 0000 0000 0000 0000 0000 0000 0170 0000 0000 0000 0000 0000 0000 0000 0000 0180 0000 0000 0000 0000 0000 0000 0000 0000 0190 0000 0000 0000 0000 0000 0000 0000 0000 01A0 0000 0000 0000 0000 0000 0000 0000 0000 01B0 0000 0000 0000 0000 0000 0000 0000 0000 01C0 0000 0000 0000 0000 0000 0000 0000 0000 01D0 0000 0000 0000 0000 0000 0000 0000 0000 01E0 0000 0000 0000 0000 0000 0000 0000 0000 01F0 0000 0000 0000 0000 0000 0000 0000 0000 0200 A080 6808 00E0 6600 6500 D568 8584 F81E 0210 3520 120A 8684 3620 1208 6080 F015 F007 0220 3000 121E A201 6527 660B D561 67FF 4700 0230 124A C003 C801 8084 7001 2290 4005 1288 0240 C103 7101 229A 77FF 1266 F00A 03BF 4000 0250 124A 2290 4005 1288 4006 12A2 F10A 03CA 0260 4100 125C 229A 8300 8410 6200 73FF 3300 0270 7201 3300 126C 74FF 3400 7240 3400 1276 0280 02F6 2290 229A 122E 02BA 02A8 2290 122E 0290 F029 6523 6607 D565 00EE F129 6529 D565 02A0 00EE 035D 2290 124A CE01 6786 27B7 032F 02B0 BD03 2BCE 0167 BD03 4439 0CCE 0127 8609 02C0 6900 6640 F602 C3CB 08F7 02C3 4A2E F1F6 02D0 02C1 CB08 F702 C1C6 40F7 02C3 7A02 F12E 02E0 DDC6 00F7 02C1 C640 F702 C3C6 08F7 02F1 02F0 3908 0127 0182 9632 B702 F3B7 02F5 86A7 0300 B703 2F8D 238D 3ACE 0127 9632 B703 2F8D 0310 1A86 27B7 02F3 8D29 CE01 A786 27B7 032F 0320 8D09 CE01 A78D 1D39 FE02 F2A6 00B7 0167 0330 C608 087C 032F 5A2E F97A 035C 2EED 8D16 0340 39FE 02F2 8600 A700 C608 085A 2EFC 7A03 0350 5C2E F38D 0139 8608 B703 5C39 08CE 0080 0360 BD03 9AA6 00B1 0100 2640 08F6 0367 CB08 0370 F703 677A 03A7 2EEB C608 F703 A77C 03A8 0380 C603 F103 A82C D97F 03A8 F603 A9CB 40F7 0390 03A9 C100 2721 20C8 0101 7F03 67F6 03A8 03A0 FB03 A9F7 0367 3908 0000 7F03 677F 03A8 03B0 7F03 A9C6 08F7 03A7 39C6 32BD C2E1 3986 03C0 0791 302F 0139 7F00 3039 8605 9131 2F01 03D0 397F 0031 3900