# THE SNAKE - R. Faint - DREAMER 3 p.9 (PDF page 11) - CHIP-8 0080-03FF (printed range 0080-0400) # run C000 (FN 3). Steer the snake to its meal (the larger square, 8 points each); avoid the walls, # the smaller square and yourself. The snake grows after each meal. Any key restarts the game. # A chime at the end: none under 100 points, part between 100 and 400, all over 400. # keys (as coded at 02F0-02FF): 1 up, 4 left, 6 right, 9 down. The printed key line reads # "? UP, 4 LEFT, 6 RIGHT, ? DOWN" with 9 and 1 hand-written over it; the scanned copy also carries a # reader's hand-written marks NOT applied here: 00F4 6F0A -> "6F0F"?, 0270/0276 margin notes, # 02F2 4001 -> "4009"?, 02FA 4009 -> "4C01"? (apparently swapping up/down so that 9 = up, 1 = down). # The 0080-00EF gap is not printed (00 here). 00F0-00FD is a delay routine used by the speed patch. # Speed patch "The Snake by the Tail" (G.V. Samways, DREAMER 4 p.6): 0360 8F00 -> 8E00, # 0364 80F0 -> 80E0, 0374 00EE -> 10F0 (low) / 10F4 (medium) / 00EE (high). Applied in # "The Snake (slow).c8" (low speed) only; "The Snake.c8" is the printed listing. # To hear the chime: 0200 = 13D2 (DREAMER 4 p.6). 0080 80E0 E0E0 00F0 6F30 10F6 6F0A 7FFF 3F00 10F6 00EE 0000 0200 A080 6101 6200 2214 221E 6100 6200 221E 0210 2214 1228 D121 7101 313F 1214 00EE D121 0220 7201 321F 121E 00EE D121 A086 6000 6101 0230 F055 416A 123A 7101 1230 A090 6006 F055 0240 6120 6210 651F 6610 6708 6840 6B06 D121 0250 235A 6A01 EAA1 1278 6A06 EAA1 1278 6A09 0260 EAA1 1278 6A04 EAA1 1278 4B04 129A 4B09 0270 129E 4B06 12A2 12A6 9AB0 126A 8BA0 A086 0280 F065 7001 3030 128A 6000 A086 F055 A090 0290 F01E 80B0 F055 A080 126A 71FF 12A8 7201 02A0 12A8 7101 12A8 72FF D121 3F01 12DC 8030 02B0 9010 12C0 7001 9010 12C0 7001 5010 13B8 02C0 8040 9020 12D2 7001 9020 12D2 7001 5020 02D0 13B8 A081 D343 2378 A080 670C 4701 2344 02E0 4700 12E8 77FF 1250 A087 F065 A090 F01E 02F0 F065 4001 76FF 4004 75FF 4009 7601 4006 0300 7501 A080 D561 A087 F065 8F00 A0C0 F01E 0310 F065 70FF 3000 132E A0C0 FF1E F055 7F01 0320 4F30 6F00 80F0 A087 F055 A080 1336 A0C0 0330 FF1E F055 A080 78FF 3800 1250 A081 D343 0340 2344 1250 C33F C41F A081 D343 3F01 1354 0350 D343 1344 0000 6840 00EE 236C F065 7001 0360 8F00 236C 80F0 F055 A080 00EE A086 F065 0370 A0C0 F01E 00EE 0000 A088 F065 6F00 7001 0380 7F01 400A 1394 3F08 137E A088 F055 6F08 0390 FF18 00EE A089 F065 7001 400A 13A8 A089 03A0 F055 6000 A088 1386 6000 A089 F055 F065 03B0 A08A 7001 F055 13A2 00E0 A088 F265 6320 03C0 6408 4200 13E0 4201 13DE 4202 13DA 4203 03D0 13D6 F318 20F0 F318 20F0 F418 20F4 F318 03E0 6522 660B F029 23F6 F129 23F6 F229 23F6 03F0 F00A 00E0 1200 D565 75FC 20F0 20F0 00EE