Home » CEEFAX disks » telesoftware17.adl » 25-08-89/SVPIC-S
25-08-89/SVPIC-S
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 » CEEFAX disks » telesoftware17.adl |
Filename: | 25-08-89/SVPIC-S |
Read OK: | ✔ |
File size: | 0E7C bytes |
Load address: | FFFF1B00 |
Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » au » au_5_25_discs_Acorn_User_86_10_D-AU8610.ssd » E.SVPIC_S
- CEEFAX disks » telesoftware17.adl » 25-08-89/SVPIC-S
File contents
10REM Screen Compressor 20REM David Acton/Bruce Smith 30REM BBC B/B+/M/E 40REM (C) Acorn User October 1986 50: 60PROCassemble 70PROCchecksum 80*SAVE SVPIC 2E00 2FFF 90END 100: 110DEF PROCassemble 120FOR pass=0 TO 3 STEP 3 130P%=&2E00 140[OPT pass 150STY &84 160LDA #&01 170STA &83 180LDA #&02 190STA &82 200JSR writecat 210LDA #&00 220STA &83 230LDA #&FF 240STA &86 250STA &87 260LDA #&01 270STA &82 280.restart 290LDA #&02 300STA &88 310LDA #&03 320STA &79 330.redo 340LDA #&00 350STA &80 360STA &81 370JSR subone 380LDA &81 390CMP &87 400BCC forward10 410BNE roll 420LDA &80 430CMP &86 440BCS roll 450.forward10 460LDA &80 470STA &86 480LDA &81 490STA &87 500LDA &82 510STA &85 520LDA &88 530STA &89 540LDA &79 550STA &8A 560.roll 570SEC 580ROL &79 590INC &88 600LDA &88 610CMP #&09 620BNE redo 630INC &82 640LDA &82 650CMP #&09 660BNE restart 670LDA #&01 680STA &83 690LDA &85 700STA &82 710LDX #&08 720STX &73 730JSR transfer 740LDX #&08 750LDA &89 760STA &88 770JSR transfer 780LDA &8A 790STA &79 800JSR subone 810JMP subtwo 820.subone 830LDA &82 840STA &7E 850SEC 860SBC #&01 870STA &7F 880.doall 890JSR copy 900LDA &7F 910STA &70 920.allagain 930LDY #&00 940LDA (&70),Y 950LDY &7E 960CMP (&70),Y 970BEQ over16 980CLC 990JSR subthree 1000LDX &7A 1010LDY #&00 1020LDA (&70),Y 1030JSR transfer 1040JMP forward 1050.over16 1060STA &78 1070LDY #&00 1080STY &77 1090.back11 1100INC &77 1110JSR addthem 1120BMI setcarry 1130LDA &77 1140CMP &79 1150BEQ setcarry 1160LDA (&70),Y 1170CMP &78 1180BEQ back11 1190.setcarry 1200SEC 1210JSR subthree 1220LDA &77 1230LDX &88 1240JSR transfer 1250LDA &78 1260LDX &7A 1270JSR transfer 1280LDA &70 1290SEC 1300SBC &7E 1310STA &70 1320LDA &71 1330SBC #&00 1340STA &71 1350.forward 1360JSR addthem 1370BPL allagain 1380DEC &7F 1390BPL doall 1400RTS 1410.subtwo 1420LDX #&08 1430LDA #&00 1440JSR transfer 1450LDA #&00 1460LDY &75 1470JMP &FFCE 1480.subthree 1490ROL &74 1500DEC &73 1510BNE return 1520INC &80 1530BNE nohigh 1540INC &81 1550.nohigh 1560LDA &83 1570BEQ noput 1580LDY &75 1590LDA &74 1600JSR &FFD4 1610.noput 1620LDA #&08 1630STA &73 1640.return 1650RTS 1660.transfer 1670LSR A 1680PHA 1690JSR subthree 1700PLA 1710DEX 1720BNE transfer 1730RTS 1740.copy 1750LDA &7C 1760STA &70 1770LDA &7D 1780STA &71 1790RTS 1800.addthem 1810LDA &70 1820CLC 1830ADC &7E 1840STA &70 1850LDA &71 1860ADC #&00 1870STA &71 1880RTS 1890.writecat 1900LDA &84 1910CLC 1920ADC &F2 1930TAX 1940LDA &F3 1950ADC #&00 1960TAY 1970LDA #&80 1980JSR &FFCE 1990STA &75 2000LDA #&08 2010STA &73 2020LDA #&84 2030LDX #&00 2040LDY #&00 2050JSR &FFF4 2060STX &7C 2070STY &7D 2080JSR copy 2090LDY #&00 2100LDX #&01 2110STX &7A 2120STX &7F 2130.back10 2140STX &7E 2150LDA &7A 2160CMP (&70),Y 2170BCS over8 2180SEC 2190ROL &7A 2200INX 2210BNE back10 2220.over8 2230JSR addthem 2240BPL back10 2250STX &7A 2260LDX #&08 2270LDA &7A 2280JSR transfer 2290LDX #&55 2300LDY #&00 2310LDA #&A0 2320JSR &FFF4 2330TXA 2340LDX #&08 2350JSR transfer 2360LDX #&0F 2370.back17 2380TXA 2390STA &8B 2400PHA 2410LDX #&8B 2420LDY #&00 2430LDA #&0B 2440JSR &FFF1 2450LDA &8C 2460LDX #&04 2470JSR transfer 2480PLA 2490TAX 2500DEX 2510BPL back17 2520RTS 2530] 2540NEXT 2550ENDPROC 2560: 2570DEF PROCchecksum 2580C%=0 2590FOR X%=&2E00 TO &2FAE 2600C%=C%+?X% 2610NEXT 2620IF C%=50668 THEN ENDPROC 2630VDU 7 2640PRINT"Checksum error!" 2650END
� Screen Compressor � David Acton/Bruce Smith � BBC B/B+/M/E (!� (C) Acorn User October 1986 2: < �assemble F �checksum P*SAVE SVPIC 2E00 2FFF Z� d: n� �assemble x� pass=0 � 3 � 3 �P%=&2E00 � [OPT pass �STY &84 �LDA #&01 �STA &83 �LDA #&02 �STA &82 �JSR writecat �LDA #&00 �STA &83 �LDA #&FF �STA &86 �STA &87 LDA #&01 STA &82 .restart "LDA #&02 ,STA &88 6LDA #&03 @STA &79 J .redo TLDA #&00 ^STA &80 hSTA &81 rJSR subone |LDA &81 �CMP &87 �BCC forward10 �BNE roll �LDA &80 �CMP &86 �BCS roll �.forward10 �LDA &80 �STA &86 �LDA &81 �STA &87 �LDA &82 �STA &85 LDA &88 STA &89 LDA &79 &STA &8A 0 .roll :SEC DROL &79 NINC &88 XLDA &88 bCMP #&09 lBNE redo vINC &82 �LDA &82 �CMP #&09 �BNE restart �LDA #&01 �STA &83 �LDA &85 �STA &82 �LDX #&08 �STX &73 �JSR transfer �LDX #&08 �LDA &89 �STA &88 JSR transfer LDA &8A STA &79 JSR subone *JMP subtwo 4.subone >LDA &82 HSTA &7E RSEC \SBC #&01 fSTA &7F p .doall zJSR copy �LDA &7F �STA &70 � .allagain �LDY #&00 �LDA (&70),Y �LDY &7E �CMP (&70),Y �BEQ over16 �CLC �JSR subthree �LDX &7A �LDY #&00 �LDA (&70),Y JSR transfer JMP forward .over16 $STA &78 .LDY #&00 8STY &77 B.back11 LINC &77 VJSR addthem `BMI setcarry jLDA &77 tCMP &79 ~BEQ setcarry �LDA (&70),Y �CMP &78 �BEQ back11 � .setcarry �SEC �JSR subthree �LDA &77 �LDX &88 �JSR transfer �LDA &78 �LDX &7A �JSR transfer LDA &70 SEC SBC &7E STA &70 (LDA &71 2SBC #&00 <STA &71 F.forward PJSR addthem ZBPL allagain dDEC &7F n BPL doall xRTS �.subtwo �LDX #&08 �LDA #&00 �JSR transfer �LDA #&00 �LDY &75 �JMP &FFCE � .subthree �ROL &74 �DEC &73 �BNE return �INC &80 �BNE nohigh INC &81 .nohigh LDA &83 " BEQ noput ,LDY &75 6LDA &74 @JSR &FFD4 J .noput TLDA #&08 ^STA &73 h.return rRTS | .transfer � LSR A �PHA �JSR subthree �PLA �DEX �BNE transfer �RTS � .copy �LDA &7C �STA &70 �LDA &7D �STA &71 �RTS .addthem LDA &70 CLC &ADC &7E 0STA &70 :LDA &71 DADC #&00 NSTA &71 XRTS b .writecat lLDA &84 vCLC �ADC &F2 �TAX �LDA &F3 �ADC #&00 �TAY �LDA #&80 �JSR &FFCE �STA &75 �LDA #&08 �STA &73 �LDA #&84 �LDX #&00 �LDY #&00 JSR &FFF4 STX &7C STY &7D JSR copy *LDY #&00 4LDX #&01 >STX &7A HSTX &7F R.back10 \STX &7E fLDA &7A pCMP (&70),Y z BCS over8 �SEC �ROL &7A �INX �BNE back10 � .over8 �JSR addthem �BPL back10 �STX &7A �LDX #&08 �LDA &7A �JSR transfer �LDX #&55 �LDY #&00 LDA #&A0 JSR &FFF4 TXA $LDX #&08 .JSR transfer 8LDX #&0F B.back17 LTXA VSTA &8B `PHA jLDX #&8B tLDY #&00 ~LDA #&0B �JSR &FFF1 �LDA &8C �LDX #&04 �JSR transfer �PLA �TAX �DEX �BPL back17 �RTS �] �� �� : � �checksum C%=0 � X%=&2E00 � &2FAE ( C%=C%+?X% 2� <� C%=50668 � � F� 7 P�"Checksum error!" Z� �
00000000 0d 00 0a 17 f4 20 53 63 72 65 65 6e 20 43 6f 6d |..... Screen Com| 00000010 70 72 65 73 73 6f 72 0d 00 14 1d f4 20 44 61 76 |pressor..... Dav| 00000020 69 64 20 41 63 74 6f 6e 2f 42 72 75 63 65 20 53 |id Acton/Bruce S| 00000030 6d 69 74 68 0d 00 1e 12 f4 20 42 42 43 20 42 2f |mith..... BBC B/| 00000040 42 2b 2f 4d 2f 45 0d 00 28 21 f4 20 28 43 29 20 |B+/M/E..(!. (C) | 00000050 41 63 6f 72 6e 20 55 73 65 72 20 4f 63 74 6f 62 |Acorn User Octob| 00000060 65 72 20 31 39 38 36 0d 00 32 05 3a 0d 00 3c 0d |er 1986..2.:..<.| 00000070 f2 61 73 73 65 6d 62 6c 65 0d 00 46 0d f2 63 68 |.assemble..F..ch| 00000080 65 63 6b 73 75 6d 0d 00 50 19 2a 53 41 56 45 20 |ecksum..P.*SAVE | 00000090 53 56 50 49 43 20 32 45 30 30 20 32 46 46 46 0d |SVPIC 2E00 2FFF.| 000000a0 00 5a 05 e0 0d 00 64 05 3a 0d 00 6e 0f dd 20 f2 |.Z....d.:..n.. .| 000000b0 61 73 73 65 6d 62 6c 65 0d 00 78 14 e3 20 70 61 |assemble..x.. pa| 000000c0 73 73 3d 30 20 b8 20 33 20 88 20 33 0d 00 82 0c |ss=0 . 3 . 3....| 000000d0 50 25 3d 26 32 45 30 30 0d 00 8c 0d 5b 4f 50 54 |P%=&2E00....[OPT| 000000e0 20 70 61 73 73 0d 00 96 0f 53 54 59 20 26 38 34 | pass....STY &84| 000000f0 20 20 20 20 0d 00 a0 0f 4c 44 41 20 23 26 30 31 | ....LDA #&01| 00000100 20 20 20 0d 00 aa 0f 53 54 41 20 26 38 33 20 20 | ....STA &83 | 00000110 20 20 0d 00 b4 0f 4c 44 41 20 23 26 30 32 20 20 | ....LDA #&02 | 00000120 20 0d 00 be 0f 53 54 41 20 26 38 32 20 20 20 20 | ....STA &82 | 00000130 0d 00 c8 10 4a 53 52 20 77 72 69 74 65 63 61 74 |....JSR writecat| 00000140 0d 00 d2 0f 4c 44 41 20 23 26 30 30 20 20 20 0d |....LDA #&00 .| 00000150 00 dc 0f 53 54 41 20 26 38 33 20 20 20 20 0d 00 |...STA &83 ..| 00000160 e6 0f 4c 44 41 20 23 26 46 46 20 20 20 0d 00 f0 |..LDA #&FF ...| 00000170 0f 53 54 41 20 26 38 36 20 20 20 20 0d 00 fa 0f |.STA &86 ....| 00000180 53 54 41 20 26 38 37 20 20 20 20 0d 01 04 0f 4c |STA &87 ....L| 00000190 44 41 20 23 26 30 31 20 20 20 0d 01 0e 0f 53 54 |DA #&01 ....ST| 000001a0 41 20 26 38 32 20 20 20 20 0d 01 18 0c 2e 72 65 |A &82 .....re| 000001b0 73 74 61 72 74 0d 01 22 0c 4c 44 41 20 23 26 30 |start..".LDA #&0| 000001c0 32 0d 01 2c 0b 53 54 41 20 26 38 38 0d 01 36 0f |2..,.STA &88..6.| 000001d0 4c 44 41 20 23 26 30 33 20 20 20 0d 01 40 0f 53 |LDA #&03 ..@.S| 000001e0 54 41 20 26 37 39 20 20 20 20 0d 01 4a 09 2e 72 |TA &79 ..J..r| 000001f0 65 64 6f 0d 01 54 0c 4c 44 41 20 23 26 30 30 0d |edo..T.LDA #&00.| 00000200 01 5e 0f 53 54 41 20 26 38 30 20 20 20 20 0d 01 |.^.STA &80 ..| 00000210 68 0f 53 54 41 20 26 38 31 20 20 20 20 0d 01 72 |h.STA &81 ..r| 00000220 0e 4a 53 52 20 73 75 62 6f 6e 65 0d 01 7c 0f 4c |.JSR subone..|.L| 00000230 44 41 20 26 38 31 20 20 20 20 0d 01 86 0f 43 4d |DA &81 ....CM| 00000240 50 20 26 38 37 20 20 20 20 0d 01 90 11 42 43 43 |P &87 ....BCC| 00000250 20 66 6f 72 77 61 72 64 31 30 0d 01 9a 0c 42 4e | forward10....BN| 00000260 45 20 72 6f 6c 6c 0d 01 a4 0f 4c 44 41 20 26 38 |E roll....LDA &8| 00000270 30 20 20 20 20 0d 01 ae 0f 43 4d 50 20 26 38 36 |0 ....CMP &86| 00000280 20 20 20 20 0d 01 b8 0c 42 43 53 20 72 6f 6c 6c | ....BCS roll| 00000290 0d 01 c2 0e 2e 66 6f 72 77 61 72 64 31 30 0d 01 |.....forward10..| 000002a0 cc 0b 4c 44 41 20 26 38 30 0d 01 d6 0f 53 54 41 |..LDA &80....STA| 000002b0 20 26 38 36 20 20 20 20 0d 01 e0 0f 4c 44 41 20 | &86 ....LDA | 000002c0 26 38 31 20 20 20 20 0d 01 ea 0f 53 54 41 20 26 |&81 ....STA &| 000002d0 38 37 20 20 20 20 0d 01 f4 0f 4c 44 41 20 26 38 |87 ....LDA &8| 000002e0 32 20 20 20 20 0d 01 fe 0f 53 54 41 20 26 38 35 |2 ....STA &85| 000002f0 20 20 20 20 0d 02 08 0f 4c 44 41 20 26 38 38 20 | ....LDA &88 | 00000300 20 20 20 0d 02 12 0f 53 54 41 20 26 38 39 20 20 | ....STA &89 | 00000310 20 20 0d 02 1c 0f 4c 44 41 20 26 37 39 20 20 20 | ....LDA &79 | 00000320 20 0d 02 26 0f 53 54 41 20 26 38 41 20 20 20 20 | ..&.STA &8A | 00000330 0d 02 30 09 2e 72 6f 6c 6c 0d 02 3a 07 53 45 43 |..0..roll..:.SEC| 00000340 0d 02 44 0f 52 4f 4c 20 26 37 39 20 20 20 20 0d |..D.ROL &79 .| 00000350 02 4e 0f 49 4e 43 20 26 38 38 20 20 20 20 0d 02 |.N.INC &88 ..| 00000360 58 0f 4c 44 41 20 26 38 38 20 20 20 20 0d 02 62 |X.LDA &88 ..b| 00000370 0f 43 4d 50 20 23 26 30 39 20 20 20 0d 02 6c 0c |.CMP #&09 ..l.| 00000380 42 4e 45 20 72 65 64 6f 0d 02 76 0f 49 4e 43 20 |BNE redo..v.INC | 00000390 26 38 32 20 20 20 20 0d 02 80 0f 4c 44 41 20 26 |&82 ....LDA &| 000003a0 38 32 20 20 20 20 0d 02 8a 0f 43 4d 50 20 23 26 |82 ....CMP #&| 000003b0 30 39 20 20 20 0d 02 94 0f 42 4e 45 20 72 65 73 |09 ....BNE res| 000003c0 74 61 72 74 0d 02 9e 0f 4c 44 41 20 23 26 30 31 |tart....LDA #&01| 000003d0 20 20 20 0d 02 a8 0f 53 54 41 20 26 38 33 20 20 | ....STA &83 | 000003e0 20 20 0d 02 b2 0f 4c 44 41 20 26 38 35 20 20 20 | ....LDA &85 | 000003f0 20 0d 02 bc 0f 53 54 41 20 26 38 32 20 20 20 20 | ....STA &82 | 00000400 0d 02 c6 0f 4c 44 58 20 23 26 30 38 20 20 20 0d |....LDX #&08 .| 00000410 02 d0 0f 53 54 58 20 26 37 33 20 20 20 20 0d 02 |...STX &73 ..| 00000420 da 10 4a 53 52 20 74 72 61 6e 73 66 65 72 0d 02 |..JSR transfer..| 00000430 e4 0f 4c 44 58 20 23 26 30 38 20 20 20 0d 02 ee |..LDX #&08 ...| 00000440 0f 4c 44 41 20 26 38 39 20 20 20 20 0d 02 f8 0f |.LDA &89 ....| 00000450 53 54 41 20 26 38 38 20 20 20 20 0d 03 02 10 4a |STA &88 ....J| 00000460 53 52 20 74 72 61 6e 73 66 65 72 0d 03 0c 0f 4c |SR transfer....L| 00000470 44 41 20 26 38 41 20 20 20 20 0d 03 16 0f 53 54 |DA &8A ....ST| 00000480 41 20 26 37 39 20 20 20 20 0d 03 20 0e 4a 53 52 |A &79 .. .JSR| 00000490 20 73 75 62 6f 6e 65 0d 03 2a 0e 4a 4d 50 20 73 | subone..*.JMP s| 000004a0 75 62 74 77 6f 0d 03 34 0b 2e 73 75 62 6f 6e 65 |ubtwo..4..subone| 000004b0 0d 03 3e 0b 4c 44 41 20 26 38 32 0d 03 48 0f 53 |..>.LDA &82..H.S| 000004c0 54 41 20 26 37 45 20 20 20 20 0d 03 52 0f 53 45 |TA &7E ..R.SE| 000004d0 43 20 20 20 20 20 20 20 20 0d 03 5c 0f 53 42 43 |C ..\.SBC| 000004e0 20 23 26 30 31 20 20 20 0d 03 66 0f 53 54 41 20 | #&01 ..f.STA | 000004f0 26 37 46 20 20 20 20 0d 03 70 0a 2e 64 6f 61 6c |&7F ..p..doal| 00000500 6c 0d 03 7a 0c 4a 53 52 20 63 6f 70 79 0d 03 84 |l..z.JSR copy...| 00000510 0f 4c 44 41 20 26 37 46 20 20 20 20 0d 03 8e 0f |.LDA &7F ....| 00000520 53 54 41 20 26 37 30 20 20 20 20 0d 03 98 0d 2e |STA &70 .....| 00000530 61 6c 6c 61 67 61 69 6e 0d 03 a2 0c 4c 44 59 20 |allagain....LDY | 00000540 23 26 30 30 0d 03 ac 0f 4c 44 41 20 28 26 37 30 |#&00....LDA (&70| 00000550 29 2c 59 0d 03 b6 0f 4c 44 59 20 26 37 45 20 20 |),Y....LDY &7E | 00000560 20 20 0d 03 c0 0f 43 4d 50 20 28 26 37 30 29 2c | ....CMP (&70),| 00000570 59 0d 03 ca 0e 42 45 51 20 6f 76 65 72 31 36 0d |Y....BEQ over16.| 00000580 03 d4 0f 43 4c 43 20 20 20 20 20 20 20 20 0d 03 |...CLC ..| 00000590 de 10 4a 53 52 20 73 75 62 74 68 72 65 65 0d 03 |..JSR subthree..| 000005a0 e8 0f 4c 44 58 20 26 37 41 20 20 20 20 0d 03 f2 |..LDX &7A ...| 000005b0 0f 4c 44 59 20 23 26 30 30 20 20 20 0d 03 fc 0f |.LDY #&00 ....| 000005c0 4c 44 41 20 28 26 37 30 29 2c 59 0d 04 06 10 4a |LDA (&70),Y....J| 000005d0 53 52 20 74 72 61 6e 73 66 65 72 0d 04 10 0f 4a |SR transfer....J| 000005e0 4d 50 20 66 6f 72 77 61 72 64 0d 04 1a 0b 2e 6f |MP forward.....o| 000005f0 76 65 72 31 36 0d 04 24 0b 53 54 41 20 26 37 38 |ver16..$.STA &78| 00000600 0d 04 2e 0f 4c 44 59 20 23 26 30 30 20 20 20 0d |....LDY #&00 .| 00000610 04 38 0b 53 54 59 20 26 37 37 0d 04 42 0b 2e 62 |.8.STY &77..B..b| 00000620 61 63 6b 31 31 0d 04 4c 0f 49 4e 43 20 26 37 37 |ack11..L.INC &77| 00000630 20 20 20 20 0d 04 56 0f 4a 53 52 20 61 64 64 74 | ..V.JSR addt| 00000640 68 65 6d 0d 04 60 10 42 4d 49 20 73 65 74 63 61 |hem..`.BMI setca| 00000650 72 72 79 0d 04 6a 0f 4c 44 41 20 26 37 37 20 20 |rry..j.LDA &77 | 00000660 20 20 0d 04 74 0f 43 4d 50 20 26 37 39 20 20 20 | ..t.CMP &79 | 00000670 20 0d 04 7e 11 42 45 51 20 73 65 74 63 61 72 72 | ..~.BEQ setcarr| 00000680 79 20 0d 04 88 0f 4c 44 41 20 28 26 37 30 29 2c |y ....LDA (&70),| 00000690 59 0d 04 92 0f 43 4d 50 20 26 37 38 20 20 20 20 |Y....CMP &78 | 000006a0 0d 04 9c 0e 42 45 51 20 62 61 63 6b 31 31 0d 04 |....BEQ back11..| 000006b0 a6 0d 2e 73 65 74 63 61 72 72 79 0d 04 b0 07 53 |...setcarry....S| 000006c0 45 43 0d 04 ba 10 4a 53 52 20 73 75 62 74 68 72 |EC....JSR subthr| 000006d0 65 65 0d 04 c4 0f 4c 44 41 20 26 37 37 20 20 20 |ee....LDA &77 | 000006e0 20 0d 04 ce 0f 4c 44 58 20 26 38 38 20 20 20 20 | ....LDX &88 | 000006f0 0d 04 d8 10 4a 53 52 20 74 72 61 6e 73 66 65 72 |....JSR transfer| 00000700 0d 04 e2 0f 4c 44 41 20 26 37 38 20 20 20 20 0d |....LDA &78 .| 00000710 04 ec 0f 4c 44 58 20 26 37 41 20 20 20 20 0d 04 |...LDX &7A ..| 00000720 f6 10 4a 53 52 20 74 72 61 6e 73 66 65 72 0d 05 |..JSR transfer..| 00000730 00 0f 4c 44 41 20 26 37 30 20 20 20 20 0d 05 0a |..LDA &70 ...| 00000740 0f 53 45 43 20 20 20 20 20 20 20 20 0d 05 14 0f |.SEC ....| 00000750 53 42 43 20 26 37 45 20 20 20 20 0d 05 1e 0f 53 |SBC &7E ....S| 00000760 54 41 20 26 37 30 20 20 20 20 0d 05 28 0f 4c 44 |TA &70 ..(.LD| 00000770 41 20 26 37 31 20 20 20 20 0d 05 32 0f 53 42 43 |A &71 ..2.SBC| 00000780 20 23 26 30 30 20 20 20 0d 05 3c 0f 53 54 41 20 | #&00 ..<.STA | 00000790 26 37 31 20 20 20 20 0d 05 46 0c 2e 66 6f 72 77 |&71 ..F..forw| 000007a0 61 72 64 0d 05 50 0f 4a 53 52 20 61 64 64 74 68 |ard..P.JSR addth| 000007b0 65 6d 0d 05 5a 10 42 50 4c 20 61 6c 6c 61 67 61 |em..Z.BPL allaga| 000007c0 69 6e 0d 05 64 0f 44 45 43 20 26 37 46 20 20 20 |in..d.DEC &7F | 000007d0 20 0d 05 6e 0d 42 50 4c 20 64 6f 61 6c 6c 0d 05 | ..n.BPL doall..| 000007e0 78 0f 52 54 53 20 20 20 20 20 20 20 20 0d 05 82 |x.RTS ...| 000007f0 0b 2e 73 75 62 74 77 6f 0d 05 8c 0c 4c 44 58 20 |..subtwo....LDX | 00000800 23 26 30 38 0d 05 96 0f 4c 44 41 20 23 26 30 30 |#&08....LDA #&00| 00000810 20 20 20 0d 05 a0 10 4a 53 52 20 74 72 61 6e 73 | ....JSR trans| 00000820 66 65 72 0d 05 aa 0f 4c 44 41 20 23 26 30 30 20 |fer....LDA #&00 | 00000830 20 20 0d 05 b4 0f 4c 44 59 20 26 37 35 20 20 20 | ....LDY &75 | 00000840 20 0d 05 be 0f 4a 4d 50 20 26 46 46 43 45 20 20 | ....JMP &FFCE | 00000850 0d 05 c8 0d 2e 73 75 62 74 68 72 65 65 0d 05 d2 |.....subthree...| 00000860 0b 52 4f 4c 20 26 37 34 0d 05 dc 0f 44 45 43 20 |.ROL &74....DEC | 00000870 26 37 33 20 20 20 20 0d 05 e6 0e 42 4e 45 20 72 |&73 ....BNE r| 00000880 65 74 75 72 6e 0d 05 f0 0f 49 4e 43 20 26 38 30 |eturn....INC &80| 00000890 20 20 20 20 0d 05 fa 0e 42 4e 45 20 6e 6f 68 69 | ....BNE nohi| 000008a0 67 68 0d 06 04 0f 49 4e 43 20 26 38 31 20 20 20 |gh....INC &81 | 000008b0 20 0d 06 0e 0b 2e 6e 6f 68 69 67 68 0d 06 18 0b | .....nohigh....| 000008c0 4c 44 41 20 26 38 33 0d 06 22 0d 42 45 51 20 6e |LDA &83..".BEQ n| 000008d0 6f 70 75 74 0d 06 2c 0f 4c 44 59 20 26 37 35 20 |oput..,.LDY &75 | 000008e0 20 20 20 0d 06 36 0f 4c 44 41 20 26 37 34 20 20 | ..6.LDA &74 | 000008f0 20 20 0d 06 40 0f 4a 53 52 20 26 46 46 44 34 20 | ..@.JSR &FFD4 | 00000900 20 0d 06 4a 0a 2e 6e 6f 70 75 74 0d 06 54 0c 4c | ..J..noput..T.L| 00000910 44 41 20 23 26 30 38 0d 06 5e 0f 53 54 41 20 26 |DA #&08..^.STA &| 00000920 37 33 20 20 20 20 0d 06 68 0b 2e 72 65 74 75 72 |73 ..h..retur| 00000930 6e 0d 06 72 07 52 54 53 0d 06 7c 0d 2e 74 72 61 |n..r.RTS..|..tra| 00000940 6e 73 66 65 72 0d 06 86 09 4c 53 52 20 41 0d 06 |nsfer....LSR A..| 00000950 90 0f 50 48 41 20 20 20 20 20 20 20 20 0d 06 9a |..PHA ...| 00000960 10 4a 53 52 20 73 75 62 74 68 72 65 65 0d 06 a4 |.JSR subthree...| 00000970 0f 50 4c 41 20 20 20 20 20 20 20 20 0d 06 ae 0f |.PLA ....| 00000980 44 45 58 20 20 20 20 20 20 20 20 0d 06 b8 10 42 |DEX ....B| 00000990 4e 45 20 74 72 61 6e 73 66 65 72 0d 06 c2 0f 52 |NE transfer....R| 000009a0 54 53 20 20 20 20 20 20 20 20 0d 06 cc 09 2e 63 |TS .....c| 000009b0 6f 70 79 0d 06 d6 0b 4c 44 41 20 26 37 43 0d 06 |opy....LDA &7C..| 000009c0 e0 0f 53 54 41 20 26 37 30 20 20 20 20 0d 06 ea |..STA &70 ...| 000009d0 0f 4c 44 41 20 26 37 44 20 20 20 20 0d 06 f4 0f |.LDA &7D ....| 000009e0 53 54 41 20 26 37 31 20 20 20 20 0d 06 fe 0f 52 |STA &71 ....R| 000009f0 54 53 20 20 20 20 20 20 20 20 0d 07 08 0c 2e 61 |TS .....a| 00000a00 64 64 74 68 65 6d 0d 07 12 0b 4c 44 41 20 26 37 |ddthem....LDA &7| 00000a10 30 0d 07 1c 0f 43 4c 43 20 20 20 20 20 20 20 20 |0....CLC | 00000a20 0d 07 26 0f 41 44 43 20 26 37 45 20 20 20 20 0d |..&.ADC &7E .| 00000a30 07 30 0f 53 54 41 20 26 37 30 20 20 20 20 0d 07 |.0.STA &70 ..| 00000a40 3a 0f 4c 44 41 20 26 37 31 20 20 20 20 0d 07 44 |:.LDA &71 ..D| 00000a50 0f 41 44 43 20 23 26 30 30 20 20 20 0d 07 4e 0f |.ADC #&00 ..N.| 00000a60 53 54 41 20 26 37 31 20 20 20 20 0d 07 58 0f 52 |STA &71 ..X.R| 00000a70 54 53 20 20 20 20 20 20 20 20 0d 07 62 0d 2e 77 |TS ..b..w| 00000a80 72 69 74 65 63 61 74 0d 07 6c 0b 4c 44 41 20 26 |ritecat..l.LDA &| 00000a90 38 34 0d 07 76 07 43 4c 43 0d 07 80 0b 41 44 43 |84..v.CLC....ADC| 00000aa0 20 26 46 32 0d 07 8a 07 54 41 58 0d 07 94 0b 4c | &F2....TAX....L| 00000ab0 44 41 20 26 46 33 0d 07 9e 0c 41 44 43 20 23 26 |DA &F3....ADC #&| 00000ac0 30 30 0d 07 a8 07 54 41 59 0d 07 b2 0f 4c 44 41 |00....TAY....LDA| 00000ad0 20 23 26 38 30 20 20 20 0d 07 bc 0f 4a 53 52 20 | #&80 ....JSR | 00000ae0 26 46 46 43 45 20 20 0d 07 c6 0f 53 54 41 20 26 |&FFCE ....STA &| 00000af0 37 35 20 20 20 20 0d 07 d0 0f 4c 44 41 20 23 26 |75 ....LDA #&| 00000b00 30 38 20 20 20 0d 07 da 0f 53 54 41 20 26 37 33 |08 ....STA &73| 00000b10 20 20 20 20 0d 07 e4 0f 4c 44 41 20 23 26 38 34 | ....LDA #&84| 00000b20 20 20 20 0d 07 ee 0f 4c 44 58 20 23 26 30 30 20 | ....LDX #&00 | 00000b30 20 20 0d 07 f8 0f 4c 44 59 20 23 26 30 30 20 20 | ....LDY #&00 | 00000b40 20 0d 08 02 0f 4a 53 52 20 26 46 46 46 34 20 20 | ....JSR &FFF4 | 00000b50 0d 08 0c 0f 53 54 58 20 26 37 43 20 20 20 20 0d |....STX &7C .| 00000b60 08 16 0f 53 54 59 20 26 37 44 20 20 20 20 0d 08 |...STY &7D ..| 00000b70 20 0c 4a 53 52 20 63 6f 70 79 0d 08 2a 0f 4c 44 | .JSR copy..*.LD| 00000b80 59 20 23 26 30 30 20 20 20 0d 08 34 0f 4c 44 58 |Y #&00 ..4.LDX| 00000b90 20 23 26 30 31 20 20 20 0d 08 3e 0f 53 54 58 20 | #&01 ..>.STX | 00000ba0 26 37 41 20 20 20 20 0d 08 48 0f 53 54 58 20 26 |&7A ..H.STX &| 00000bb0 37 46 20 20 20 20 0d 08 52 0b 2e 62 61 63 6b 31 |7F ..R..back1| 00000bc0 30 0d 08 5c 0b 53 54 58 20 26 37 45 0d 08 66 0f |0..\.STX &7E..f.| 00000bd0 4c 44 41 20 26 37 41 20 20 20 20 0d 08 70 0f 43 |LDA &7A ..p.C| 00000be0 4d 50 20 28 26 37 30 29 2c 59 0d 08 7a 0d 42 43 |MP (&70),Y..z.BC| 00000bf0 53 20 6f 76 65 72 38 0d 08 84 0f 53 45 43 20 20 |S over8....SEC | 00000c00 20 20 20 20 20 20 0d 08 8e 0f 52 4f 4c 20 26 37 | ....ROL &7| 00000c10 41 20 20 20 20 0d 08 98 0f 49 4e 58 20 20 20 20 |A ....INX | 00000c20 20 20 20 20 0d 08 a2 0e 42 4e 45 20 62 61 63 6b | ....BNE back| 00000c30 31 30 0d 08 ac 0a 2e 6f 76 65 72 38 0d 08 b6 0f |10.....over8....| 00000c40 4a 53 52 20 61 64 64 74 68 65 6d 0d 08 c0 0e 42 |JSR addthem....B| 00000c50 50 4c 20 62 61 63 6b 31 30 0d 08 ca 0f 53 54 58 |PL back10....STX| 00000c60 20 26 37 41 20 20 20 20 0d 08 d4 0f 4c 44 58 20 | &7A ....LDX | 00000c70 23 26 30 38 20 20 20 0d 08 de 0f 4c 44 41 20 26 |#&08 ....LDA &| 00000c80 37 41 20 20 20 20 0d 08 e8 10 4a 53 52 20 74 72 |7A ....JSR tr| 00000c90 61 6e 73 66 65 72 0d 08 f2 0f 4c 44 58 20 23 26 |ansfer....LDX #&| 00000ca0 35 35 20 20 20 0d 08 fc 0f 4c 44 59 20 23 26 30 |55 ....LDY #&0| 00000cb0 30 20 20 20 0d 09 06 0f 4c 44 41 20 23 26 41 30 |0 ....LDA #&A0| 00000cc0 20 20 20 0d 09 10 0f 4a 53 52 20 26 46 46 46 34 | ....JSR &FFF4| 00000cd0 20 20 0d 09 1a 0f 54 58 41 20 20 20 20 20 20 20 | ....TXA | 00000ce0 20 0d 09 24 0f 4c 44 58 20 23 26 30 38 20 20 20 | ..$.LDX #&08 | 00000cf0 0d 09 2e 10 4a 53 52 20 74 72 61 6e 73 66 65 72 |....JSR transfer| 00000d00 0d 09 38 0f 4c 44 58 20 23 26 30 46 20 20 20 0d |..8.LDX #&0F .| 00000d10 09 42 0b 2e 62 61 63 6b 31 37 0d 09 4c 07 54 58 |.B..back17..L.TX| 00000d20 41 0d 09 56 0f 53 54 41 20 26 38 42 20 20 20 20 |A..V.STA &8B | 00000d30 0d 09 60 0f 50 48 41 20 20 20 20 20 20 20 20 0d |..`.PHA .| 00000d40 09 6a 0f 4c 44 58 20 23 26 38 42 20 20 20 0d 09 |.j.LDX #&8B ..| 00000d50 74 0f 4c 44 59 20 23 26 30 30 20 20 20 0d 09 7e |t.LDY #&00 ..~| 00000d60 0f 4c 44 41 20 23 26 30 42 20 20 20 0d 09 88 0f |.LDA #&0B ....| 00000d70 4a 53 52 20 26 46 46 46 31 20 20 0d 09 92 0f 4c |JSR &FFF1 ....L| 00000d80 44 41 20 26 38 43 20 20 20 20 0d 09 9c 0f 4c 44 |DA &8C ....LD| 00000d90 58 20 23 26 30 34 20 20 20 0d 09 a6 10 4a 53 52 |X #&04 ....JSR| 00000da0 20 74 72 61 6e 73 66 65 72 0d 09 b0 0f 50 4c 41 | transfer....PLA| 00000db0 20 20 20 20 20 20 20 20 0d 09 ba 0f 54 41 58 20 | ....TAX | 00000dc0 20 20 20 20 20 20 20 0d 09 c4 0f 44 45 58 20 20 | ....DEX | 00000dd0 20 20 20 20 20 20 0d 09 ce 0e 42 50 4c 20 62 61 | ....BPL ba| 00000de0 63 6b 31 37 0d 09 d8 0f 52 54 53 20 20 20 20 20 |ck17....RTS | 00000df0 20 20 20 0d 09 e2 05 5d 0d 09 ec 05 ed 0d 09 f6 | ....]........| 00000e00 05 e1 0d 0a 00 05 3a 0d 0a 0a 0f dd 20 f2 63 68 |......:..... .ch| 00000e10 65 63 6b 73 75 6d 0d 0a 14 08 43 25 3d 30 0d 0a |ecksum....C%=0..| 00000e20 1e 16 e3 20 58 25 3d 26 32 45 30 30 20 b8 20 26 |... X%=&2E00 . &| 00000e30 32 46 41 45 0d 0a 28 0d 43 25 3d 43 25 2b 3f 58 |2FAE..(.C%=C%+?X| 00000e40 25 0d 0a 32 05 ed 0d 0a 3c 12 e7 20 43 25 3d 35 |%..2....<.. C%=5| 00000e50 30 36 36 38 20 8c 20 e1 0d 0a 46 07 ef 20 37 0d |0668 . ...F.. 7.| 00000e60 0a 50 16 f1 22 43 68 65 63 6b 73 75 6d 20 65 72 |.P.."Checksum er| 00000e70 72 6f 72 21 22 0d 0a 5a 05 e0 0d ff |ror!"..Z....| 00000e7c