# SPACE BATTLE - Arthur Hand - DREAMER 4 p.12 (PDF page 12) - CHIP-8 0200-03DF (printed range 0200-0400) # run C000 (FN 3). Three fighter ships against an enemy fleet of 25. Unlimited rockets, one at a time, # launched at random from one of your two launchers. Enemy rockets come out of hyper-space; dodge them # by moving or intercept them with a rocket; they can warp from the bottom of the screen to the top. # 4 points per enemy ship hit. The score is shown when your ships or the enemy ships are all # destroyed (it flashes if you destroyed all 25: score 100). # keys: 0 up, C down, F fire (key codes at 023D, 0247). The scanned copy has a reader's hand-written # change to keys 9 up / 4 down (023D 09, 0247 04), NOT applied. # 0300 is printed 00B0: kept. CHIPOS (EXCALL) only calls machine code when the high byte is not 00, # so 00B0 is a NOP (like the 0000 fillers); 0300 is reached when the ship moves into an enemy (025E). # Tested in tests/space_battle.txt (crash into an enemy, last ship, score shown). 0200 A39C 6038 6107 D01F A3AC 6117 D011 6400 0210 6503 6C00 6D00 6E00 A3B0 6001 610E D014 0220 6F0F EF9E 1236 6E01 6205 8310 CF01 3F01 0230 7303 A3AE D231 0000 0000 A3B0 6A00 EA9E 0240 124A 4100 1260 6BFF 1256 6A0C EA9E 1260 0250 411C 1260 6B01 D014 81B4 D014 4F01 1300 0260 3E01 1278 A3AE D231 323F 1270 6E00 1278 0270 7201 D231 4F01 132C 4DFF 1284 7D01 12DE 0280 0000 0000 4C01 12A6 0000 6C01 C707 7702 0290 C807 780B C907 7915 6620 0000 0000 A3AE 02A0 D671 D681 D691 A3AE D671 D681 D691 0000 02B0 76FF 23BA 87A4 D671 4F01 12E8 0000 88A4 02C0 D681 4F01 12E6 0000 89A4 D691 4F01 12E4 02D0 3600 12DE D671 D681 D691 6D00 6C00 3E01 02E0 1220 123A D691 D681 D671 0000 6A05 8A65 02F0 3F01 12FA A3B0 D014 130C D231 1348 0000 0300 00B0 D014 A3AE D671 D681 D691 6C00 6D00 0310 A3B4 D015 238A D015 3E01 1322 A3AE D231 0320 6E00 75FF 4500 135C 2390 1218 6A20 8A25 0330 4F01 133E 6E00 7404 3464 1278 135C A3AE 0340 D231 D671 D681 D691 6E00 6C00 6D00 A3B4 0350 D235 238A D235 1220 0000 0000 236E 3464 0360 136A 238A 236E 2390 135C 238A 136C A3D4 0370 F433 F265 661A 6704 F029 D675 7604 F129 0380 D675 7604 F229 D675 00EE 6F32 FF18 00EE 0390 6A32 FA15 FA07 3A00 1394 00EE 2800 5400 03A0 2A00 1500 2A00 1500 2A00 5400 2800 8000 03B0 B0E0 E0B0 50A8 50A8 5000 6A00 CB03 4B01 03C0 00EE 4B02 13D0 4B03 13CC 00EE 6AFF 00EE 03D0 6A01 00EE 0000 0000 0000 0000 0000 0000