# TIME TRIAL - D. Robertson - DREAMER 12 p.13 (PDF p.15) # load 0080-03FF (printed range 0080-0400); CHIP-8 starts at 0200, run C000 FN 3. # 0100-01FF (display buffer) not printed. 0200-025F = M.J. Bauer's joystick service routine # (DREAMER 3) with one change: the final ASRA (47) on Y is left out, so VC (X) and VD (Y) are # both 0-3F; 03C7 turns each into -1/0/+1 (<=10, <=30, >30). 0260-028F extends the IRQ handler # with the timer: a bar grows along the top display row (0100-0107); when it reaches the right # hand corner 00FF becomes 2 and the game ends. 0267 = timer period (19 IRQs per pixel). # 03A2 init timer + JMP 0204 (Bauer's init); 03B1 start timer; 03B5 I := (00F9); 03BA joystick # -> V8,V9 (direction); 03D4 sprite pointer := 0096; 03DD picks the car sprite (0096-00B9, # 9 directions, 4 bytes apart); 00EE = 03BA + 1378 (V0 = 1 if stick centred). # 00F9-00FF = variables (sprite pointer, timer pointer/bit/count/flag), printed as dumped. # how to play: press 1-7 for the top speed (1 = fastest); centre the joystick, then push it # in the direction to drive; steer clockwise round the track for as many laps as possible # (VE, shown bottom-left) before the timer bar reaches the top right corner. Hitting the # sides restarts from the lowest speed. At the end press any key to start again. # corrections: none (all words read from the 300 dpi scan; 03E8 11C6 and 03F4 02CB checked # zoomed: C6 AA / CB 04 fit the sprite selection code). 0080 DAB2 7A01 5A00 1080 00EE DAB1 7B01 5B00 0090 108A 00EE 8080 0028 7828 0050 2058 1058 00A0 2050 0020 7020 7020 7020 00A0 F0A0 0050 00B0 20D0 40D0 2050 00C0 A3DA FE33 F265 600F 00C0 6310 F229 D035 600B F129 D035 00EE DAB5 00D0 8A85 8B95 DAB5 132C 7401 8050 F015 F007 00E0 3000 10DE 3405 1334 5560 75FF 1332 03BA 00F0 1378 F018 F00A 00E0 1200 B201 017F 1001 0100 0000 0000 0000 0000 0000 0000 0000 0000 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 03A2 1290 C63B F780 13C6 61F7 8012 C63F 0210 F780 13CE 0219 DF00 397A 0020 7A00 217D 0220 8012 7C00 1696 1684 0327 013B 86FF 973C 0230 973D 7F80 1286 21B7 8012 C64A B680 1246 0240 4624 037C 003C 4624 037C 003D 5A26 ED96 0250 3C80 0A2C 014F 973C 963D 800A 2C01 4F97 0260 3D7D 00FF 2716 8619 7C00 FE91 FE26 10DE 0270 FBD6 FDEA 00E7 0054 2506 D7FD 7F00 FE3B 0280 088C 0108 2604 7C00 FF3B C680 DFFB 20EA 0290 6A1D 6B1A A094 6028 2080 6A1D 6B1C 2080 02A0 6A31 6B14 DAB2 6A00 6B1E 6040 2080 A095 02B0 6A00 6B01 2080 6A0A 6B0E 6014 2080 6A0A 02C0 6B16 2080 6B13 6032 2080 6A31 6B16 6034 02D0 2080 6A2D 6B09 6035 2080 6A09 6B09 6017 02E0 208A 6A34 6B0A 6018 208A 6A23 6B02 600C 02F0 208A 6A1C 6B02 208A 6A13 6B0F 6016 208A 0300 6B02 6008 208A A0B7 6A00 6B02 601E 208A 0310 6A3E 6B02 208A 6E00 20B8 6A13 6B18 03D4 0320 A096 DAB5 F60A 2384 03B1 6700 6004 F018 0330 6509 6400 A0FE F165 4102 10F2 3A2B 1348 0340 6010 80B2 3010 6701 3701 1354 3A14 1354 0350 2392 6700 8180 8290 03BA 2378 4000 1364 0360 8810 8920 03B5 DAB5 8A84 8B94 03DD 03B5 0370 DAB5 3F00 10CE 10D8 6000 3800 00EE 4900 0380 6001 00EE 20EE 3001 1384 20EE 3000 138A 0390 00EE 6110 81B2 4100 00EE 20B8 7E01 20B8 03A0 00EE CE01 00DF FB86 8097 FD7F 00FF 7E02 03B0 047C 00FF 39DE F9DF 2639 963C 8D09 D738 03C0 963D 8D03 D739 39C6 FF80 102F 065C 8020 03D0 2F01 5C39 CE00 96DF F939 0000 01C6 9696 03E0 384D 2D07 C69E 4D27 11C6 AA96 394D 2707 03F0 CB04 4D2D 02CB 04D7 FA39 9639 4D26 EC39