Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF » G/CADEM2
G/CADEM2
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF |
Filename: | G/CADEM2 |
Read OK: | ✔ |
File size: | 11CD bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
Duplicates
There are 3 duplicate copies of this file in the archive:
- AEW website » eug » eug_3_5_discs_Eug-54_A-EUG54.adf » G/CADEM2
- AEW website » eug » eug_5_25_discs_Eug-54_D-EUG54.dsd » G.CADEM2
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF » G/CADEM2
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_EUG_54.adf » G/CADEM2
File contents
0REM Demonstration Game For Book 10 20REM Space Invader (!!) 30 40MODE2:VDU23;8202;0;0;0; 50PROCinitialise 60PROCscore(0) 70PROClives(0) 80REPEAT 90 PROCgame 100 PROClives(-1) 110 UNTIL lives=0 120*FX15 130END 140 150DEFPROCinitialise 160DIM code 500 170PROCassemble(code,2) 180alien=0 190base=1 200bomb=2 210bullet=3 220alienX=40 230alienY=128 240baseX=40 250baseY=20 260bulletflag=FALSE 270bombflag=FALSE 280lives=3 290PROCplot(alien,alienX,alienY) 300PROCplot(base,baseX,baseY) 310ENDPROC 320 330DEFPROCgame 340REPEAT 350 PROCmovealien 360 PROCmovebase 370 PROCmovebomb 380 PROCmovebullet 390 IF FNdeadalien THEN PROCkillalien:PROCscore(10):PROCnewalien 400 UNTIL FNdead 410ENDPROC 420 430DEFPROCmovealien 440PROCplot(alien,alienX,alienY) 450alienX=alienX+RND(5)-3 460alienY=alienY+RND(5)-3 470PROCplot(alien,alienX,alienY) 480IF RND(5) = 1 THEN PROCdropbomb(alienX+2,alienY-14) 490ENDPROC 500 510DEFPROCmovebase 520PROCplot(base,baseX,baseY) 530baseX=baseX+INKEY-98-INKEY-67 540PROCplot(base,baseX,baseY) 550IF INKEY-74 THEN PROCfirebullet(baseX+1,baseY+8) 560ENDPROC 570 580DEFPROCdropbomb(X,Y) 590IF bombflag THEN ENDPROC 600bombflag=TRUE 610bombX=X 620bombY=Y 630PROCplot(bomb,bombX,bombY) 640ENDPROC 650 660DEFPROCfirebullet(X,Y) 670IF bulletflag THEN ENDPROC 680bulletflag=TRUE 690bulletX=X 700bulletY=Y 710PROCplot(bullet,bulletX,bulletY) 720ENDPROC 730 740DEFPROCmovebomb 750IF bombflag=FALSE THEN ENDPROC 760PROCplot(bomb,bombX,bombY) 770bombY=bombY-4 780IF bombY<=8 THEN bombflag=FALSE:ENDPROC 790PROCplot(bomb,bombX,bombY) 800ENDPROC 810 820DEFPROCmovebullet 830IF bulletflag=FALSE THEN ENDPROC 840PROCplot(bullet,bulletX,bulletY) 850bulletY=bulletY+6 860IF bulletY >= 248 THEN bulletflag=FALSE:ENDPROC 870PROCplot(bullet,bulletX,bulletY) 880ENDPROC 890 900DEFFNdeadalien 910IF bulletflag THEN IF ABS(bulletY-alienY)<5 AND ABS(bulletX-alienX)<5 THEN PROCplot(bullet,bulletX,bulletY):bulletflag=FALSE: =TRUE 920= FALSE 930 940DEFPROCkillalien 950PROCplot(alien,alienX,alienY) 960ENDPROC 970 980DEFPROCscore(increment) 990score=score+increment 1000PRINTCHR$(30);"Score :";score; 1010ENDPROC 1020 1030DEFPROClives(increment) 1040lives=lives+increment 1050PRINTTAB(12,0);"Lives :";lives 1060ENDPROC 1070 1080DEFPROCnewalien 1090alienX=40 1100alienY=128 1110PROCplot(alien,alienX,alienY) 1120ENDPROC 1130 1140DEFFNdead 1150IF bombflag THEN IF ABS(bombX-baseX)<4 AND ABS(bombY-baseY)<8 THEN bombflag=FALSE:PROCplot(bomb,bombX,bombY):=TRUE 1160=FALSE 1170 1180DEFPROCplot(A%,X%,Y%) 1190CALL plotshape 1200ENDPROC 1210 1220DEFPROCassemble(origin,maxpass) 1230P%=&70 1240[OPT 0 1250.addr 1260 EQUW 0 1270.top 1280 EQUW &3000 1290.rowcounter 1300 EQUB 0 1310.counter 1320 EQUB 0 1330.temp 1340 EQUB 0 1350.temp1 1360 EQUB 0 1370.depth 1380 EQUB 0 1390.shape 1400 EQUW 0 1410.offset 1420 EQUB 0 1430] 1440DIM shapeloaddr 3, shapehiaddr 3, shapesize 3, shapedepth 3 1450DIM shapes 300 1460FOR I%=0TO3 1470READfilename$ 1480OSCLI("LOAD "+filename$+" "+STR$~shapes) 1490I%?shapeloaddr=shapes AND&FF 1500I%?shapehiaddr=shapes DIV256 1510READ I%?shapesize 1520READ I%?shapedepth 1530shapes=shapes+I%?shapedepth*I%?shapesize 1540NEXT 1550DATA G.CAALIEN, 5, 14 1560DATA G.CABASE, 4, 20 1570DATA G.CABOMB, 2, 8 1580DATA G.CABULET, 2, 8 1590FOR pass =0 TO maxpass STEP maxpass 1600P%=origin 1610[OPT pass 1620.getaddr 1630 LDA #&00 1640 STA addr+1 1650 TYA 1660 EOR #&FF 1670 PHA 1680 LSR A 1690 LSR A 1700 LSR A 1710 TAY 1720 LSR A 1730 STA temp 1740 LDA #&00 1750 ROR A 1760 ADC top 1770 PHP 1780 STA addr 1790 TYA 1800 ASL A 1810 ADC temp 1820 PLP 1830 ADC top+1 1840 STA addr+1 1850 LDA #&00 1860 STA temp 1870 TXA 1880 ASL A 1890 ROL temp 1900 ASL A 1910 ROL temp 1920 ASL A 1930 ROL temp 1940 ADC addr 1950 STA addr 1960 LDA temp 1970 ADC addr+1 1980 BPL ok 1990 SEC 2000 SBC #&50 2010.ok 2020 STA addr+1 2030 PLA 2040 AND #&07 2050 ORA addr 2060 STA addr 2070 RTS 2080 2090.plotshape 2100 PHA 2110 JSR getaddr 2120 PLA 2130 TAY 2140 LDA shapeloaddr, Y 2150 STA shape 2160 LDA shapehiaddr, Y 2170 STA shape + 1 2180 LDA shapesize, Y 2190 STA counter 2200 LDA shapedepth, Y 2210 STA depth 2220\fall through to 'doplot' 2230.doplot 2240 LDA addr+1 2250 BEQ return 2260.label 2270 LDY #&00 2280 LDA addr+1 2290 PHA 2300 LDA addr 2310 PHA 2320 LDA depth 2330 STA rowcounter 2340 LDA addr 2350 AND #&07 2360 STA offset 2370 LDA addr 2380 AND #&F8 2390 STA addr 2400.innerloop 2410 LDA (shape),Y 2420 INY 2430 STY temp 2440 LDY offset 2450 EOR (addr),Y 2460 STA (addr),Y 2470 INY 2480 CPY #&08 2490 BEQ block 2500.noblock 2510 STY offset 2520 LDY temp 2530 DEC rowcounter 2540 BNE innerloop 2550.nextblock 2560 LDA shape 2570 CLC 2580 ADC depth 2590 STA shape 2600 BCC nohi 2610 INC shape+1 2620.nohi 2630 CLC 2640 PLA 2650 ADC #&08 2660 STA addr 2670 PLA 2680 ADC #&00 2690 BPL nobound1 2700 SEC 2710 SBC #&50 2720.nobound1 2730 STA addr+1 2740 DEC counter 2750 BNE label 2760.return 2770 RTS 2780.block 2790 LDY #&00 2800 LDA addr 2810 CLC 2820 ADC #&80 2830 STA addr 2840 LDA addr+1 2850 ADC #&02 2860 BPL noboundary 2870 SEC 2880 SBC #&50 2890.noboundary 2900 STA addr+1 2910 BNE noblock 2920 2930] 2940NEXTpass 2950ENDPROC
!� Demonstration Game For Book � Space Invader (!!) (�2:�23;8202;0;0;0; 2�initialise < �score(0) F �lives(0) P� Z �game d �lives(-1) n � lives=0 x *FX15 �� � ���initialise �� code 500 ��assemble(code,2) �alien=0 � base=1 � bomb=2 �bullet=3 � alienX=40 �alienY=128 �baseX=40 �baseY=20 bulletflag=� bombflag=� lives=3 "�plot(alien,alienX,alienY) ,�plot(base,baseX,baseY) 6� @ J ��game T� ^ �movealien h �movebase r �movebomb | �movebullet �4 � �deadalien � �killalien:�score(10):�newalien � � �dead �� � ���movealien ��plot(alien,alienX,alienY) �alienX=alienX+�(5)-3 �alienY=alienY+�(5)-3 ��plot(alien,alienX,alienY) �.� �(5) = 1 � �dropbomb(alienX+2,alienY-14) �� � ���movebase �plot(base,baseX,baseY) baseX=baseX+�-98-�-67 �plot(base,baseX,baseY) &)� �-74 � �firebullet(baseX+1,baseY+8) 0� : D��dropbomb(X,Y) N� bombflag � � Xbombflag=� bbombX=X lbombY=Y v�plot(bomb,bombX,bombY) �� � ���firebullet(X,Y) �� bulletflag � � �bulletflag=� � bulletX=X � bulletY=Y �!�plot(bullet,bulletX,bulletY) �� � ���movebomb �� bombflag=� � � ��plot(bomb,bombX,bombY) bombY=bombY-4 � bombY<=8 � bombflag=�:� �plot(bomb,bombX,bombY) � * 4��movebullet >� bulletflag=� � � H!�plot(bullet,bulletX,bulletY) RbulletY=bulletY+6 \%� bulletY >= 248 � bulletflag=�:� f!�plot(bullet,bulletX,bulletY) p� z �ݤdeadalien �o� bulletflag � � �(bulletY-alienY)<5 � �(bulletX-alienX)<5 � �plot(bullet,bulletX,bulletY):bulletflag=�: =� �= � � ���killalien ��plot(alien,alienX,alienY) �� � ���score(increment) �score=score+increment ��(30);"Score :";score; �� � ��lives(increment) lives=lives+increment �12,0);"Lives :";lives $� . 8��newalien B alienX=40 LalienY=128 V�plot(alien,alienX,alienY) `� j t ݤdead ~^� bombflag � � �(bombX-baseX)<4 � �(bombY-baseY)<8 � bombflag=�:�plot(bomb,bombX,bombY):=� �=� � ���plot(A%,X%,Y%) �� plotshape �� � ���assemble(origin,maxpass) � P%=&70 � [OPT 0 � .addr � EQUW 0 �.top EQUW &3000 .rowcounter EQUB 0 .counter ( EQUB 0 2 .temp < EQUB 0 F .temp1 P EQUB 0 Z .depth d EQUB 0 n .shape x EQUW 0 �.offset � EQUB 0 �] �=� shapeloaddr 3, shapehiaddr 3, shapesize 3, shapedepth 3 �� shapes 300 �� I%=0�3 ��filename$ �%�("LOAD "+filename$+" "+�~shapes) �I%?shapeloaddr=shapes �&FF �I%?shapehiaddr=shapes �256 �� I%?shapesize �� I%?shapedepth �,shapes=shapes+I%?shapedepth*I%?shapesize � � G.CAALIEN, 5, 14 � G.CABASE, 4, 20 "� G.CABOMB, 2, 8 ,� G.CABULET, 2, 8 6!� pass =0 � maxpass � maxpass @ P%=origin J [OPT pass T.getaddr ^ LDA #&00 h STA addr+1 r TYA | � #&FF � PHA � LSR A � LSR A � LSR A � TAY � LSR A � STA temp � LDA #&00 � ROR A � ADC top � PHP � STA addr � TYA ASL A ADC temp PLP & ADC top+1 0 STA addr+1 : LDA #&00 D STA temp N TXA X ASL A b ROL temp l ASL A v ROL temp � ASL A � ROL temp � ADC addr � STA addr � LDA temp � ADC addr+1 � BPL ok � SEC � SBC #&50 �.ok � STA addr+1 � PLA � � #&07 �A addr STA addr RTS *.plotshape 4 PHA > JSR getaddr H PLA R TAY \ LDA shapeloaddr, Y f STA shape p LDA shapehiaddr, Y z STA shape + 1 � LDA shapesize, Y � STA counter � LDA shapedepth, Y � STA depth �\fall through to 'doplot' �.doplot � LDA addr+1 � BEQ return � .label � LDY #&00 � LDA addr+1 � PHA � LDA addr PHA LDA depth STA rowcounter $ LDA addr . � #&07 8 STA offset B LDA addr L � #&F8 V STA addr `.innerloop j LDA (shape),Y t INY ~ STY temp � LDY offset � � (addr),Y � STA (addr),Y � INY � CPY #&08 � BEQ block �.noblock � STY offset � LDY temp � DEC rowcounter � BNE innerloop �.nextblock LDA shape CLC ADC depth STA shape ( BCC nohi 2 INC shape+1 < .nohi F CLC P PLA Z ADC #&08 d STA addr n PLA x ADC #&00 � BPL nobound1 � SEC � SBC #&50 � .nobound1 � STA addr+1 � DEC counter � BNE label �.return � RTS � .block � LDY #&00 � LDA addr � CLC ADC #&80 STA addr LDA addr+1 " ADC #&02 , BPL noboundary 6 SEC @ SBC #&50 J.noboundary T STA addr+1 ^ BNE noblock h r] | �pass �� �
00000000 0d 00 00 21 f4 20 44 65 6d 6f 6e 73 74 72 61 74 |...!. Demonstrat| 00000010 69 6f 6e 20 47 61 6d 65 20 46 6f 72 20 42 6f 6f |ion Game For Boo| 00000020 6b 0d 00 0a 05 20 0d 00 14 18 f4 20 53 70 61 63 |k.... ..... Spac| 00000030 65 20 49 6e 76 61 64 65 72 20 28 21 21 29 0d 00 |e Invader (!!)..| 00000040 1e 05 20 0d 00 28 16 eb 32 3a ef 32 33 3b 38 32 |.. ..(..2:.23;82| 00000050 30 32 3b 30 3b 30 3b 30 3b 0d 00 32 0f f2 69 6e |02;0;0;0;..2..in| 00000060 69 74 69 61 6c 69 73 65 0d 00 3c 0d f2 73 63 6f |itialise..<..sco| 00000070 72 65 28 30 29 0d 00 46 0d f2 6c 69 76 65 73 28 |re(0)..F..lives(| 00000080 30 29 0d 00 50 05 f5 0d 00 5a 0b 20 20 f2 67 61 |0)..P....Z. .ga| 00000090 6d 65 0d 00 64 10 20 20 f2 6c 69 76 65 73 28 2d |me..d. .lives(-| 000000a0 31 29 0d 00 6e 0f 20 20 fd 20 6c 69 76 65 73 3d |1)..n. . lives=| 000000b0 30 0d 00 78 09 2a 46 58 31 35 0d 00 82 05 e0 0d |0..x.*FX15......| 000000c0 00 8c 05 20 0d 00 96 10 dd f2 69 6e 69 74 69 61 |... ......initia| 000000d0 6c 69 73 65 0d 00 a0 0e de 20 63 6f 64 65 20 35 |lise..... code 5| 000000e0 30 30 0d 00 aa 15 f2 61 73 73 65 6d 62 6c 65 28 |00.....assemble(| 000000f0 63 6f 64 65 2c 32 29 0d 00 b4 0b 61 6c 69 65 6e |code,2)....alien| 00000100 3d 30 0d 00 be 0a 62 61 73 65 3d 31 0d 00 c8 0a |=0....base=1....| 00000110 62 6f 6d 62 3d 32 0d 00 d2 0c 62 75 6c 6c 65 74 |bomb=2....bullet| 00000120 3d 33 0d 00 dc 0d 61 6c 69 65 6e 58 3d 34 30 0d |=3....alienX=40.| 00000130 00 e6 0e 61 6c 69 65 6e 59 3d 31 32 38 0d 00 f0 |...alienY=128...| 00000140 0c 62 61 73 65 58 3d 34 30 0d 00 fa 0c 62 61 73 |.baseX=40....bas| 00000150 65 59 3d 32 30 0d 01 04 10 62 75 6c 6c 65 74 66 |eY=20....bulletf| 00000160 6c 61 67 3d a3 0d 01 0e 0e 62 6f 6d 62 66 6c 61 |lag=.....bombfla| 00000170 67 3d a3 0d 01 18 0b 6c 69 76 65 73 3d 33 0d 01 |g=.....lives=3..| 00000180 22 1e f2 70 6c 6f 74 28 61 6c 69 65 6e 2c 61 6c |"..plot(alien,al| 00000190 69 65 6e 58 2c 61 6c 69 65 6e 59 29 0d 01 2c 1b |ienX,alienY)..,.| 000001a0 f2 70 6c 6f 74 28 62 61 73 65 2c 62 61 73 65 58 |.plot(base,baseX| 000001b0 2c 62 61 73 65 59 29 0d 01 36 05 e1 0d 01 40 05 |,baseY)..6....@.| 000001c0 20 0d 01 4a 0a dd f2 67 61 6d 65 0d 01 54 05 f5 | ..J...game..T..| 000001d0 0d 01 5e 10 20 20 f2 6d 6f 76 65 61 6c 69 65 6e |..^. .movealien| 000001e0 0d 01 68 0f 20 20 f2 6d 6f 76 65 62 61 73 65 0d |..h. .movebase.| 000001f0 01 72 0f 20 20 f2 6d 6f 76 65 62 6f 6d 62 0d 01 |.r. .movebomb..| 00000200 7c 11 20 20 f2 6d 6f 76 65 62 75 6c 6c 65 74 0d ||. .movebullet.| 00000210 01 86 34 20 20 e7 20 a4 64 65 61 64 61 6c 69 65 |..4 . .deadalie| 00000220 6e 20 8c 20 f2 6b 69 6c 6c 61 6c 69 65 6e 3a f2 |n . .killalien:.| 00000230 73 63 6f 72 65 28 31 30 29 3a f2 6e 65 77 61 6c |score(10):.newal| 00000240 69 65 6e 0d 01 90 0d 20 20 fd 20 a4 64 65 61 64 |ien.... . .dead| 00000250 0d 01 9a 05 e1 0d 01 a4 05 20 0d 01 ae 0f dd f2 |......... ......| 00000260 6d 6f 76 65 61 6c 69 65 6e 0d 01 b8 1e f2 70 6c |movealien.....pl| 00000270 6f 74 28 61 6c 69 65 6e 2c 61 6c 69 65 6e 58 2c |ot(alien,alienX,| 00000280 61 6c 69 65 6e 59 29 0d 01 c2 18 61 6c 69 65 6e |alienY)....alien| 00000290 58 3d 61 6c 69 65 6e 58 2b b3 28 35 29 2d 33 0d |X=alienX+.(5)-3.| 000002a0 01 cc 18 61 6c 69 65 6e 59 3d 61 6c 69 65 6e 59 |...alienY=alienY| 000002b0 2b b3 28 35 29 2d 33 0d 01 d6 1e f2 70 6c 6f 74 |+.(5)-3.....plot| 000002c0 28 61 6c 69 65 6e 2c 61 6c 69 65 6e 58 2c 61 6c |(alien,alienX,al| 000002d0 69 65 6e 59 29 0d 01 e0 2e e7 20 b3 28 35 29 20 |ienY)..... .(5) | 000002e0 3d 20 31 20 8c 20 f2 64 72 6f 70 62 6f 6d 62 28 |= 1 . .dropbomb(| 000002f0 61 6c 69 65 6e 58 2b 32 2c 61 6c 69 65 6e 59 2d |alienX+2,alienY-| 00000300 31 34 29 0d 01 ea 05 e1 0d 01 f4 05 20 0d 01 fe |14)......... ...| 00000310 0e dd f2 6d 6f 76 65 62 61 73 65 0d 02 08 1b f2 |...movebase.....| 00000320 70 6c 6f 74 28 62 61 73 65 2c 62 61 73 65 58 2c |plot(base,baseX,| 00000330 62 61 73 65 59 29 0d 02 12 19 62 61 73 65 58 3d |baseY)....baseX=| 00000340 62 61 73 65 58 2b a6 2d 39 38 2d a6 2d 36 37 0d |baseX+.-98-.-67.| 00000350 02 1c 1b f2 70 6c 6f 74 28 62 61 73 65 2c 62 61 |....plot(base,ba| 00000360 73 65 58 2c 62 61 73 65 59 29 0d 02 26 29 e7 20 |seX,baseY)..&). | 00000370 a6 2d 37 34 20 8c 20 f2 66 69 72 65 62 75 6c 6c |.-74 . .firebull| 00000380 65 74 28 62 61 73 65 58 2b 31 2c 62 61 73 65 59 |et(baseX+1,baseY| 00000390 2b 38 29 0d 02 30 05 e1 0d 02 3a 05 20 0d 02 44 |+8)..0....:. ..D| 000003a0 13 dd f2 64 72 6f 70 62 6f 6d 62 28 58 2c 59 29 |...dropbomb(X,Y)| 000003b0 0d 02 4e 12 e7 20 62 6f 6d 62 66 6c 61 67 20 8c |..N.. bombflag .| 000003c0 20 e1 0d 02 58 0e 62 6f 6d 62 66 6c 61 67 3d b9 | ...X.bombflag=.| 000003d0 0d 02 62 0b 62 6f 6d 62 58 3d 58 0d 02 6c 0b 62 |..b.bombX=X..l.b| 000003e0 6f 6d 62 59 3d 59 0d 02 76 1b f2 70 6c 6f 74 28 |ombY=Y..v..plot(| 000003f0 62 6f 6d 62 2c 62 6f 6d 62 58 2c 62 6f 6d 62 59 |bomb,bombX,bombY| 00000400 29 0d 02 80 05 e1 0d 02 8a 05 20 0d 02 94 15 dd |)......... .....| 00000410 f2 66 69 72 65 62 75 6c 6c 65 74 28 58 2c 59 29 |.firebullet(X,Y)| 00000420 0d 02 9e 14 e7 20 62 75 6c 6c 65 74 66 6c 61 67 |..... bulletflag| 00000430 20 8c 20 e1 0d 02 a8 10 62 75 6c 6c 65 74 66 6c | . .....bulletfl| 00000440 61 67 3d b9 0d 02 b2 0d 62 75 6c 6c 65 74 58 3d |ag=.....bulletX=| 00000450 58 0d 02 bc 0d 62 75 6c 6c 65 74 59 3d 59 0d 02 |X....bulletY=Y..| 00000460 c6 21 f2 70 6c 6f 74 28 62 75 6c 6c 65 74 2c 62 |.!.plot(bullet,b| 00000470 75 6c 6c 65 74 58 2c 62 75 6c 6c 65 74 59 29 0d |ulletX,bulletY).| 00000480 02 d0 05 e1 0d 02 da 05 20 0d 02 e4 0e dd f2 6d |........ ......m| 00000490 6f 76 65 62 6f 6d 62 0d 02 ee 14 e7 20 62 6f 6d |ovebomb..... bom| 000004a0 62 66 6c 61 67 3d a3 20 8c 20 e1 0d 02 f8 1b f2 |bflag=. . ......| 000004b0 70 6c 6f 74 28 62 6f 6d 62 2c 62 6f 6d 62 58 2c |plot(bomb,bombX,| 000004c0 62 6f 6d 62 59 29 0d 03 02 11 62 6f 6d 62 59 3d |bombY)....bombY=| 000004d0 62 6f 6d 62 59 2d 34 0d 03 0c 1d e7 20 62 6f 6d |bombY-4..... bom| 000004e0 62 59 3c 3d 38 20 8c 20 62 6f 6d 62 66 6c 61 67 |bY<=8 . bombflag| 000004f0 3d a3 3a e1 0d 03 16 1b f2 70 6c 6f 74 28 62 6f |=.:......plot(bo| 00000500 6d 62 2c 62 6f 6d 62 58 2c 62 6f 6d 62 59 29 0d |mb,bombX,bombY).| 00000510 03 20 05 e1 0d 03 2a 05 20 0d 03 34 10 dd f2 6d |. ....*. ..4...m| 00000520 6f 76 65 62 75 6c 6c 65 74 0d 03 3e 16 e7 20 62 |ovebullet..>.. b| 00000530 75 6c 6c 65 74 66 6c 61 67 3d a3 20 8c 20 e1 0d |ulletflag=. . ..| 00000540 03 48 21 f2 70 6c 6f 74 28 62 75 6c 6c 65 74 2c |.H!.plot(bullet,| 00000550 62 75 6c 6c 65 74 58 2c 62 75 6c 6c 65 74 59 29 |bulletX,bulletY)| 00000560 0d 03 52 15 62 75 6c 6c 65 74 59 3d 62 75 6c 6c |..R.bulletY=bull| 00000570 65 74 59 2b 36 0d 03 5c 25 e7 20 62 75 6c 6c 65 |etY+6..\%. bulle| 00000580 74 59 20 3e 3d 20 32 34 38 20 8c 20 62 75 6c 6c |tY >= 248 . bull| 00000590 65 74 66 6c 61 67 3d a3 3a e1 0d 03 66 21 f2 70 |etflag=.:...f!.p| 000005a0 6c 6f 74 28 62 75 6c 6c 65 74 2c 62 75 6c 6c 65 |lot(bullet,bulle| 000005b0 74 58 2c 62 75 6c 6c 65 74 59 29 0d 03 70 05 e1 |tX,bulletY)..p..| 000005c0 0d 03 7a 05 20 0d 03 84 0f dd a4 64 65 61 64 61 |..z. ......deada| 000005d0 6c 69 65 6e 0d 03 8e 6f e7 20 62 75 6c 6c 65 74 |lien...o. bullet| 000005e0 66 6c 61 67 20 8c 20 e7 20 94 28 62 75 6c 6c 65 |flag . . .(bulle| 000005f0 74 59 2d 61 6c 69 65 6e 59 29 3c 35 20 80 20 94 |tY-alienY)<5 . .| 00000600 28 62 75 6c 6c 65 74 58 2d 61 6c 69 65 6e 58 29 |(bulletX-alienX)| 00000610 3c 35 20 8c 20 f2 70 6c 6f 74 28 62 75 6c 6c 65 |<5 . .plot(bulle| 00000620 74 2c 62 75 6c 6c 65 74 58 2c 62 75 6c 6c 65 74 |t,bulletX,bullet| 00000630 59 29 3a 62 75 6c 6c 65 74 66 6c 61 67 3d a3 3a |Y):bulletflag=.:| 00000640 20 3d b9 0d 03 98 07 3d 20 a3 0d 03 a2 05 20 0d | =.....= ..... .| 00000650 03 ac 0f dd f2 6b 69 6c 6c 61 6c 69 65 6e 0d 03 |.....killalien..| 00000660 b6 1e f2 70 6c 6f 74 28 61 6c 69 65 6e 2c 61 6c |...plot(alien,al| 00000670 69 65 6e 58 2c 61 6c 69 65 6e 59 29 0d 03 c0 05 |ienX,alienY)....| 00000680 e1 0d 03 ca 05 20 0d 03 d4 16 dd f2 73 63 6f 72 |..... ......scor| 00000690 65 28 69 6e 63 72 65 6d 65 6e 74 29 0d 03 de 19 |e(increment)....| 000006a0 73 63 6f 72 65 3d 73 63 6f 72 65 2b 69 6e 63 72 |score=score+incr| 000006b0 65 6d 65 6e 74 0d 03 e8 1b f1 bd 28 33 30 29 3b |ement......(30);| 000006c0 22 53 63 6f 72 65 20 3a 22 3b 73 63 6f 72 65 3b |"Score :";score;| 000006d0 0d 03 f2 05 e1 0d 03 fc 05 20 0d 04 06 16 dd f2 |......... ......| 000006e0 6c 69 76 65 73 28 69 6e 63 72 65 6d 65 6e 74 29 |lives(increment)| 000006f0 0d 04 10 19 6c 69 76 65 73 3d 6c 69 76 65 73 2b |....lives=lives+| 00000700 69 6e 63 72 65 6d 65 6e 74 0d 04 1a 1b f1 8a 31 |increment......1| 00000710 32 2c 30 29 3b 22 4c 69 76 65 73 20 3a 22 3b 6c |2,0);"Lives :";l| 00000720 69 76 65 73 0d 04 24 05 e1 0d 04 2e 05 20 0d 04 |ives..$...... ..| 00000730 38 0e dd f2 6e 65 77 61 6c 69 65 6e 0d 04 42 0d |8...newalien..B.| 00000740 61 6c 69 65 6e 58 3d 34 30 0d 04 4c 0e 61 6c 69 |alienX=40..L.ali| 00000750 65 6e 59 3d 31 32 38 0d 04 56 1e f2 70 6c 6f 74 |enY=128..V..plot| 00000760 28 61 6c 69 65 6e 2c 61 6c 69 65 6e 58 2c 61 6c |(alien,alienX,al| 00000770 69 65 6e 59 29 0d 04 60 05 e1 0d 04 6a 05 20 0d |ienY)..`....j. .| 00000780 04 74 0a dd a4 64 65 61 64 0d 04 7e 5e e7 20 62 |.t...dead..~^. b| 00000790 6f 6d 62 66 6c 61 67 20 8c 20 e7 20 94 28 62 6f |ombflag . . .(bo| 000007a0 6d 62 58 2d 62 61 73 65 58 29 3c 34 20 80 20 94 |mbX-baseX)<4 . .| 000007b0 28 62 6f 6d 62 59 2d 62 61 73 65 59 29 3c 38 20 |(bombY-baseY)<8 | 000007c0 8c 20 62 6f 6d 62 66 6c 61 67 3d a3 3a f2 70 6c |. bombflag=.:.pl| 000007d0 6f 74 28 62 6f 6d 62 2c 62 6f 6d 62 58 2c 62 6f |ot(bomb,bombX,bo| 000007e0 6d 62 59 29 3a 3d b9 0d 04 88 06 3d a3 0d 04 92 |mbY):=.....=....| 000007f0 05 20 0d 04 9c 14 dd f2 70 6c 6f 74 28 41 25 2c |. ......plot(A%,| 00000800 58 25 2c 59 25 29 0d 04 a6 0f d6 20 70 6c 6f 74 |X%,Y%)..... plot| 00000810 73 68 61 70 65 0d 04 b0 05 e1 0d 04 ba 05 20 0d |shape......... .| 00000820 04 c4 1e dd f2 61 73 73 65 6d 62 6c 65 28 6f 72 |.....assemble(or| 00000830 69 67 69 6e 2c 6d 61 78 70 61 73 73 29 0d 04 ce |igin,maxpass)...| 00000840 0a 50 25 3d 26 37 30 0d 04 d8 0a 5b 4f 50 54 20 |.P%=&70....[OPT | 00000850 30 0d 04 e2 09 2e 61 64 64 72 0d 04 ec 0c 20 20 |0.....addr.... | 00000860 45 51 55 57 20 30 0d 04 f6 08 2e 74 6f 70 0d 05 |EQUW 0.....top..| 00000870 00 10 20 20 45 51 55 57 20 26 33 30 30 30 0d 05 |.. EQUW &3000..| 00000880 0a 0f 2e 72 6f 77 63 6f 75 6e 74 65 72 0d 05 14 |...rowcounter...| 00000890 0c 20 20 45 51 55 42 20 30 0d 05 1e 0c 2e 63 6f |. EQUB 0.....co| 000008a0 75 6e 74 65 72 0d 05 28 0c 20 20 45 51 55 42 20 |unter..(. EQUB | 000008b0 30 0d 05 32 09 2e 74 65 6d 70 0d 05 3c 0c 20 20 |0..2..temp..<. | 000008c0 45 51 55 42 20 30 0d 05 46 0a 2e 74 65 6d 70 31 |EQUB 0..F..temp1| 000008d0 0d 05 50 0c 20 20 45 51 55 42 20 30 0d 05 5a 0a |..P. EQUB 0..Z.| 000008e0 2e 64 65 70 74 68 0d 05 64 0c 20 20 45 51 55 42 |.depth..d. EQUB| 000008f0 20 30 0d 05 6e 0a 2e 73 68 61 70 65 0d 05 78 0c | 0..n..shape..x.| 00000900 20 20 45 51 55 57 20 30 0d 05 82 0b 2e 6f 66 66 | EQUW 0.....off| 00000910 73 65 74 0d 05 8c 0c 20 20 45 51 55 42 20 30 0d |set.... EQUB 0.| 00000920 05 96 05 5d 0d 05 a0 3d de 20 73 68 61 70 65 6c |...]...=. shapel| 00000930 6f 61 64 64 72 20 33 2c 20 73 68 61 70 65 68 69 |oaddr 3, shapehi| 00000940 61 64 64 72 20 33 2c 20 73 68 61 70 65 73 69 7a |addr 3, shapesiz| 00000950 65 20 33 2c 20 73 68 61 70 65 64 65 70 74 68 20 |e 3, shapedepth | 00000960 33 0d 05 aa 10 de 20 73 68 61 70 65 73 20 33 30 |3..... shapes 30| 00000970 30 0d 05 b4 0c e3 20 49 25 3d 30 b8 33 0d 05 be |0..... I%=0.3...| 00000980 0e f3 66 69 6c 65 6e 61 6d 65 24 0d 05 c8 25 ff |..filename$...%.| 00000990 28 22 4c 4f 41 44 20 22 2b 66 69 6c 65 6e 61 6d |("LOAD "+filenam| 000009a0 65 24 2b 22 20 22 2b c3 7e 73 68 61 70 65 73 29 |e$+" "+.~shapes)| 000009b0 0d 05 d2 1e 49 25 3f 73 68 61 70 65 6c 6f 61 64 |....I%?shapeload| 000009c0 64 72 3d 73 68 61 70 65 73 20 80 26 46 46 0d 05 |dr=shapes .&FF..| 000009d0 dc 1e 49 25 3f 73 68 61 70 65 68 69 61 64 64 72 |..I%?shapehiaddr| 000009e0 3d 73 68 61 70 65 73 20 81 32 35 36 0d 05 e6 12 |=shapes .256....| 000009f0 f3 20 49 25 3f 73 68 61 70 65 73 69 7a 65 0d 05 |. I%?shapesize..| 00000a00 f0 13 f3 20 49 25 3f 73 68 61 70 65 64 65 70 74 |... I%?shapedept| 00000a10 68 0d 05 fa 2c 73 68 61 70 65 73 3d 73 68 61 70 |h...,shapes=shap| 00000a20 65 73 2b 49 25 3f 73 68 61 70 65 64 65 70 74 68 |es+I%?shapedepth| 00000a30 2a 49 25 3f 73 68 61 70 65 73 69 7a 65 0d 06 04 |*I%?shapesize...| 00000a40 05 ed 0d 06 0e 16 dc 20 47 2e 43 41 41 4c 49 45 |....... G.CAALIE| 00000a50 4e 2c 20 35 2c 20 31 34 0d 06 18 15 dc 20 47 2e |N, 5, 14..... G.| 00000a60 43 41 42 41 53 45 2c 20 34 2c 20 32 30 0d 06 22 |CABASE, 4, 20.."| 00000a70 14 dc 20 47 2e 43 41 42 4f 4d 42 2c 20 32 2c 20 |.. G.CABOMB, 2, | 00000a80 38 0d 06 2c 15 dc 20 47 2e 43 41 42 55 4c 45 54 |8..,.. G.CABULET| 00000a90 2c 20 32 2c 20 38 0d 06 36 21 e3 20 70 61 73 73 |, 2, 8..6!. pass| 00000aa0 20 3d 30 20 b8 20 6d 61 78 70 61 73 73 20 88 20 | =0 . maxpass . | 00000ab0 6d 61 78 70 61 73 73 0d 06 40 0d 50 25 3d 6f 72 |maxpass..@.P%=or| 00000ac0 69 67 69 6e 0d 06 4a 0d 5b 4f 50 54 20 70 61 73 |igin..J.[OPT pas| 00000ad0 73 0d 06 54 0c 2e 67 65 74 61 64 64 72 0d 06 5e |s..T..getaddr..^| 00000ae0 0e 20 20 4c 44 41 20 23 26 30 30 0d 06 68 10 20 |. LDA #&00..h. | 00000af0 20 53 54 41 20 61 64 64 72 2b 31 0d 06 72 09 20 | STA addr+1..r. | 00000b00 20 54 59 41 0d 06 7c 0c 20 20 82 20 23 26 46 46 | TYA..|. . #&FF| 00000b10 0d 06 86 09 20 20 50 48 41 0d 06 90 0b 20 20 4c |.... PHA.... L| 00000b20 53 52 20 41 0d 06 9a 0b 20 20 4c 53 52 20 41 0d |SR A.... LSR A.| 00000b30 06 a4 0b 20 20 4c 53 52 20 41 0d 06 ae 09 20 20 |... LSR A.... | 00000b40 54 41 59 0d 06 b8 0b 20 20 4c 53 52 20 41 0d 06 |TAY.... LSR A..| 00000b50 c2 0e 20 20 53 54 41 20 74 65 6d 70 0d 06 cc 0e |.. STA temp....| 00000b60 20 20 4c 44 41 20 23 26 30 30 0d 06 d6 0b 20 20 | LDA #&00.... | 00000b70 52 4f 52 20 41 0d 06 e0 0d 20 20 41 44 43 20 74 |ROR A.... ADC t| 00000b80 6f 70 0d 06 ea 09 20 20 50 48 50 0d 06 f4 0e 20 |op.... PHP.... | 00000b90 20 53 54 41 20 61 64 64 72 0d 06 fe 09 20 20 54 | STA addr.... T| 00000ba0 59 41 0d 07 08 0b 20 20 41 53 4c 20 41 0d 07 12 |YA.... ASL A...| 00000bb0 0e 20 20 41 44 43 20 74 65 6d 70 0d 07 1c 09 20 |. ADC temp.... | 00000bc0 20 50 4c 50 0d 07 26 0f 20 20 41 44 43 20 74 6f | PLP..&. ADC to| 00000bd0 70 2b 31 0d 07 30 10 20 20 53 54 41 20 61 64 64 |p+1..0. STA add| 00000be0 72 2b 31 0d 07 3a 0e 20 20 4c 44 41 20 23 26 30 |r+1..:. LDA #&0| 00000bf0 30 0d 07 44 0e 20 20 53 54 41 20 74 65 6d 70 0d |0..D. STA temp.| 00000c00 07 4e 09 20 20 54 58 41 0d 07 58 0b 20 20 41 53 |.N. TXA..X. AS| 00000c10 4c 20 41 0d 07 62 0e 20 20 52 4f 4c 20 74 65 6d |L A..b. ROL tem| 00000c20 70 0d 07 6c 0b 20 20 41 53 4c 20 41 0d 07 76 0e |p..l. ASL A..v.| 00000c30 20 20 52 4f 4c 20 74 65 6d 70 0d 07 80 0b 20 20 | ROL temp.... | 00000c40 41 53 4c 20 41 0d 07 8a 0e 20 20 52 4f 4c 20 74 |ASL A.... ROL t| 00000c50 65 6d 70 0d 07 94 0e 20 20 41 44 43 20 61 64 64 |emp.... ADC add| 00000c60 72 0d 07 9e 0e 20 20 53 54 41 20 61 64 64 72 0d |r.... STA addr.| 00000c70 07 a8 0e 20 20 4c 44 41 20 74 65 6d 70 0d 07 b2 |... LDA temp...| 00000c80 10 20 20 41 44 43 20 61 64 64 72 2b 31 0d 07 bc |. ADC addr+1...| 00000c90 0c 20 20 42 50 4c 20 6f 6b 0d 07 c6 09 20 20 53 |. BPL ok.... S| 00000ca0 45 43 0d 07 d0 0e 20 20 53 42 43 20 23 26 35 30 |EC.... SBC #&50| 00000cb0 0d 07 da 07 2e 6f 6b 0d 07 e4 10 20 20 53 54 41 |.....ok.... STA| 00000cc0 20 61 64 64 72 2b 31 0d 07 ee 09 20 20 50 4c 41 | addr+1.... PLA| 00000cd0 0d 07 f8 0c 20 20 80 20 23 26 30 37 0d 08 02 0d |.... . #&07....| 00000ce0 20 20 84 41 20 61 64 64 72 0d 08 0c 0e 20 20 53 | .A addr.... S| 00000cf0 54 41 20 61 64 64 72 0d 08 16 09 20 20 52 54 53 |TA addr.... RTS| 00000d00 0d 08 20 05 20 0d 08 2a 0e 2e 70 6c 6f 74 73 68 |.. . ..*..plotsh| 00000d10 61 70 65 0d 08 34 09 20 20 50 48 41 0d 08 3e 11 |ape..4. PHA..>.| 00000d20 20 20 4a 53 52 20 67 65 74 61 64 64 72 0d 08 48 | JSR getaddr..H| 00000d30 09 20 20 50 4c 41 0d 08 52 09 20 20 54 41 59 0d |. PLA..R. TAY.| 00000d40 08 5c 18 20 20 4c 44 41 20 73 68 61 70 65 6c 6f |.\. LDA shapelo| 00000d50 61 64 64 72 2c 20 59 0d 08 66 0f 20 20 53 54 41 |addr, Y..f. STA| 00000d60 20 73 68 61 70 65 0d 08 70 18 20 20 4c 44 41 20 | shape..p. LDA | 00000d70 73 68 61 70 65 68 69 61 64 64 72 2c 20 59 0d 08 |shapehiaddr, Y..| 00000d80 7a 13 20 20 53 54 41 20 73 68 61 70 65 20 2b 20 |z. STA shape + | 00000d90 31 0d 08 84 16 20 20 4c 44 41 20 73 68 61 70 65 |1.... LDA shape| 00000da0 73 69 7a 65 2c 20 59 0d 08 8e 11 20 20 53 54 41 |size, Y.... STA| 00000db0 20 63 6f 75 6e 74 65 72 0d 08 98 17 20 20 4c 44 | counter.... LD| 00000dc0 41 20 73 68 61 70 65 64 65 70 74 68 2c 20 59 0d |A shapedepth, Y.| 00000dd0 08 a2 0f 20 20 53 54 41 20 64 65 70 74 68 0d 08 |... STA depth..| 00000de0 ac 1d 5c 66 61 6c 6c 20 74 68 72 6f 75 67 68 20 |..\fall through | 00000df0 74 6f 20 27 64 6f 70 6c 6f 74 27 0d 08 b6 0b 2e |to 'doplot'.....| 00000e00 64 6f 70 6c 6f 74 0d 08 c0 10 20 20 4c 44 41 20 |doplot.... LDA | 00000e10 61 64 64 72 2b 31 0d 08 ca 10 20 20 42 45 51 20 |addr+1.... BEQ | 00000e20 72 65 74 75 72 6e 0d 08 d4 0a 2e 6c 61 62 65 6c |return.....label| 00000e30 0d 08 de 0e 20 20 4c 44 59 20 23 26 30 30 0d 08 |.... LDY #&00..| 00000e40 e8 10 20 20 4c 44 41 20 61 64 64 72 2b 31 0d 08 |.. LDA addr+1..| 00000e50 f2 09 20 20 50 48 41 0d 08 fc 0e 20 20 4c 44 41 |.. PHA.... LDA| 00000e60 20 61 64 64 72 0d 09 06 09 20 20 50 48 41 0d 09 | addr.... PHA..| 00000e70 10 0f 20 20 4c 44 41 20 64 65 70 74 68 0d 09 1a |.. LDA depth...| 00000e80 14 20 20 53 54 41 20 72 6f 77 63 6f 75 6e 74 65 |. STA rowcounte| 00000e90 72 0d 09 24 0e 20 20 4c 44 41 20 61 64 64 72 0d |r..$. LDA addr.| 00000ea0 09 2e 0c 20 20 80 20 23 26 30 37 0d 09 38 10 20 |... . #&07..8. | 00000eb0 20 53 54 41 20 6f 66 66 73 65 74 0d 09 42 0e 20 | STA offset..B. | 00000ec0 20 4c 44 41 20 61 64 64 72 0d 09 4c 0c 20 20 80 | LDA addr..L. .| 00000ed0 20 23 26 46 38 0d 09 56 0e 20 20 53 54 41 20 61 | #&F8..V. STA a| 00000ee0 64 64 72 0d 09 60 0e 2e 69 6e 6e 65 72 6c 6f 6f |ddr..`..innerloo| 00000ef0 70 0d 09 6a 13 20 20 4c 44 41 20 28 73 68 61 70 |p..j. LDA (shap| 00000f00 65 29 2c 59 0d 09 74 09 20 20 49 4e 59 0d 09 7e |e),Y..t. INY..~| 00000f10 0e 20 20 53 54 59 20 74 65 6d 70 0d 09 88 10 20 |. STY temp.... | 00000f20 20 4c 44 59 20 6f 66 66 73 65 74 0d 09 92 10 20 | LDY offset.... | 00000f30 20 82 20 28 61 64 64 72 29 2c 59 0d 09 9c 12 20 | . (addr),Y.... | 00000f40 20 53 54 41 20 28 61 64 64 72 29 2c 59 0d 09 a6 | STA (addr),Y...| 00000f50 09 20 20 49 4e 59 0d 09 b0 0e 20 20 43 50 59 20 |. INY.... CPY | 00000f60 23 26 30 38 0d 09 ba 0f 20 20 42 45 51 20 62 6c |#&08.... BEQ bl| 00000f70 6f 63 6b 0d 09 c4 0c 2e 6e 6f 62 6c 6f 63 6b 0d |ock.....noblock.| 00000f80 09 ce 10 20 20 53 54 59 20 6f 66 66 73 65 74 0d |... STY offset.| 00000f90 09 d8 0e 20 20 4c 44 59 20 74 65 6d 70 0d 09 e2 |... LDY temp...| 00000fa0 14 20 20 44 45 43 20 72 6f 77 63 6f 75 6e 74 65 |. DEC rowcounte| 00000fb0 72 0d 09 ec 13 20 20 42 4e 45 20 69 6e 6e 65 72 |r.... BNE inner| 00000fc0 6c 6f 6f 70 0d 09 f6 0e 2e 6e 65 78 74 62 6c 6f |loop.....nextblo| 00000fd0 63 6b 0d 0a 00 0f 20 20 4c 44 41 20 73 68 61 70 |ck.... LDA shap| 00000fe0 65 0d 0a 0a 09 20 20 43 4c 43 0d 0a 14 0f 20 20 |e.... CLC.... | 00000ff0 41 44 43 20 64 65 70 74 68 0d 0a 1e 0f 20 20 53 |ADC depth.... S| 00001000 54 41 20 73 68 61 70 65 0d 0a 28 0e 20 20 42 43 |TA shape..(. BC| 00001010 43 20 6e 6f 68 69 0d 0a 32 11 20 20 49 4e 43 20 |C nohi..2. INC | 00001020 73 68 61 70 65 2b 31 0d 0a 3c 09 2e 6e 6f 68 69 |shape+1..<..nohi| 00001030 0d 0a 46 09 20 20 43 4c 43 0d 0a 50 09 20 20 50 |..F. CLC..P. P| 00001040 4c 41 0d 0a 5a 0e 20 20 41 44 43 20 23 26 30 38 |LA..Z. ADC #&08| 00001050 0d 0a 64 0e 20 20 53 54 41 20 61 64 64 72 0d 0a |..d. STA addr..| 00001060 6e 09 20 20 50 4c 41 0d 0a 78 0e 20 20 41 44 43 |n. PLA..x. ADC| 00001070 20 23 26 30 30 0d 0a 82 12 20 20 42 50 4c 20 6e | #&00.... BPL n| 00001080 6f 62 6f 75 6e 64 31 0d 0a 8c 09 20 20 53 45 43 |obound1.... SEC| 00001090 0d 0a 96 0e 20 20 53 42 43 20 23 26 35 30 0d 0a |.... SBC #&50..| 000010a0 a0 0d 2e 6e 6f 62 6f 75 6e 64 31 0d 0a aa 10 20 |...nobound1.... | 000010b0 20 53 54 41 20 61 64 64 72 2b 31 0d 0a b4 11 20 | STA addr+1.... | 000010c0 20 44 45 43 20 63 6f 75 6e 74 65 72 0d 0a be 0f | DEC counter....| 000010d0 20 20 42 4e 45 20 6c 61 62 65 6c 0d 0a c8 0b 2e | BNE label.....| 000010e0 72 65 74 75 72 6e 0d 0a d2 09 20 20 52 54 53 0d |return.... RTS.| 000010f0 0a dc 0a 2e 62 6c 6f 63 6b 0d 0a e6 0e 20 20 4c |....block.... L| 00001100 44 59 20 23 26 30 30 0d 0a f0 0e 20 20 4c 44 41 |DY #&00.... LDA| 00001110 20 61 64 64 72 0d 0a fa 09 20 20 43 4c 43 0d 0b | addr.... CLC..| 00001120 04 0e 20 20 41 44 43 20 23 26 38 30 0d 0b 0e 0e |.. ADC #&80....| 00001130 20 20 53 54 41 20 61 64 64 72 0d 0b 18 10 20 20 | STA addr.... | 00001140 4c 44 41 20 61 64 64 72 2b 31 0d 0b 22 0e 20 20 |LDA addr+1..". | 00001150 41 44 43 20 23 26 30 32 0d 0b 2c 14 20 20 42 50 |ADC #&02..,. BP| 00001160 4c 20 6e 6f 62 6f 75 6e 64 61 72 79 0d 0b 36 09 |L noboundary..6.| 00001170 20 20 53 45 43 0d 0b 40 0e 20 20 53 42 43 20 23 | SEC..@. SBC #| 00001180 26 35 30 0d 0b 4a 0f 2e 6e 6f 62 6f 75 6e 64 61 |&50..J..nobounda| 00001190 72 79 0d 0b 54 10 20 20 53 54 41 20 61 64 64 72 |ry..T. STA addr| 000011a0 2b 31 0d 0b 5e 11 20 20 42 4e 45 20 6e 6f 62 6c |+1..^. BNE nobl| 000011b0 6f 63 6b 0d 0b 68 05 20 0d 0b 72 05 5d 0d 0b 7c |ock..h. ..r.]..|| 000011c0 09 ed 70 61 73 73 0d 0b 86 05 e1 0d ff |..pass.......| 000011cd