Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_3.adf » Files/Programs/!Magnifier/!RunImage
Files/Programs/!Magnifier/!RunImage
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 » Greaseweazled » adfs_Dominic_3.adf |
Filename: | Files/Programs/!Magnifier/!RunImage |
Read OK: | ✔ |
File size: | 09D5 bytes |
Load address: | FFFFFB41 |
Exec address: | 1ABE0639 |
Duplicates
There are 6 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » Dominic_3B.ADF » Files/Programs/!Magnifier/!RunImage
- Personal collection » Acorn ADFS disks » Archimedes » Dominic_3.ADF » Files/Programs/!Magnifier/!RunImage
- Personal collection » Acorn ADFS disks » Archimedes » RiscOs_Apps_2.ADF » !Magnifier/!RunImage
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_3.adf » Files/Programs/!Magnifier/!RunImage
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_3B.adf » Files/Programs/!Magnifier/!RunImage
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_2.adf » !Magnifier/!RunImage
- Personal collection » Acorn hard disk » apps » AppDiscs » !Magnifier/!RunImage
File contents
10REM > !Magnifier 20REM /// Expands an area of the screen inside a circle /// 30DIM taskid%4:$taskid%="TASK" 40SYS "Wimp_Initialise",200,!taskid%,"Magnifier" TO version% 50DIM image% 12,get% 12,factors% 15,inv% 12,outv% 8 60 70inv%!0=4:inv%!4=5:inv%!8=-1 80SYS "OS_SWINumberFromString",,"OS_SpriteOp" TO spop% 90SYS "OS_ReadVduVariables",inv%,outv% 100px%=1<<!outv%:py%=1<<outv%!4 110 120mx%=200:my%=200:dx%=100:dy%=100 130factors%!0=mx%:factors%!4=my% 140factors%!8=dx%:factors%!12=dy% 150 160DIM name% 12,blk% 100000:!blk%=100000:blk%!8=16 170SYS spop%,&109,blk% 180 190xs%=128 200x%=640:y%=512 210ox%=x%:oy%=y% 220 230$get%="get1":getc%=get%+3:REM address of 1 240PROCinit("image1") 250L%=(1EOR2):?getc%=?getc%EOR L% 260SYS "Wimp_SetColour",7 270 280exit%=TRUE:PROCmove:exit%=FALSE:MOUSE OFF 290ON ERROR MOUSE ON:ERROR EXT ERR,REPORT$+". Internal code ("+STR$ERL+" ["+STR$mx%+"])" 300PROCget 310REPEAT 320SYS spop%,&13C,blk%,get%,0 TO R0%,R1%,R2%,R3% 330SYS spop%,&122,blk%,image%,x%-ox%,y%-oy%,8 340CIRCLEx%-ox%+xs%,y%-oy%+xs%,xs% 350MOVEx%-ox%+2*xs%,y%-oy%:MOVEBY-32,0:PLOT&51,0,40:MOVEBY-20,-16:PLOT&51,20,-24 360SYS spop%,R0%,R1%,R2%,R3% 370SYS spop%,&122,blk%,get%,ox%-xs%,oy%-xs%,0 380SYS spop%,&122,blk%,image%,x%-xs%,y%-xs%,8 390CIRCLEx%,y%,xs% 400MOVEx%+xs%,y%-xs%:MOVEBY-32,0:PLOT&51,0,40:MOVEBY-20,-16:PLOT&51,20,-24 410PROCmove 420PROCget 430UNTIL exit% 440SYS spop%,&122,blk%,get%,ox%-xs%,oy%-xs%,0 450SYS "Wimp_CloseDown":MOUSE ON 460END 470 480DEF PROCget 490SYS spop%,&110,blk%,get%,0,x%-xs%,y%-xs%,x%+xs%,y%+xs% 500SYS spop%,&13C,blk%,get%,0 TO R0%,R1%,R2%,R3% 510?getc%=?getc%EOR L% 520SYS spop%,&122,blk%,get%,ox%-x%,oy%-y%,0 530?getc%=?getc%EOR L% 540SYS spop%,&13C,blk%,image%,0 550SYS spop%,&134,blk%,get%,xs%-xs%*mx%DIVdx%,xs%-xs%*my%DIVdy%,0,factors%,-1 560SYS spop%,R0%,R1%,R2%,R3% 570?getc%=?getc%EOR L% 580ENDPROC 590 600DEF PROCmove 610ox%=x%:oy%=y% 620REPEAT 630MOUSE x%,y%,b% 640IF b%AND1 AND mx%<1000000 THEN 650 IF mx%>=125 mx%+=mx%DIV20 ELSE mx%+=5 660ENDIF 670IF b%AND4 THEN 680 IF mx%>=125 mx%-=mx%DIV20 ELSE IF mx%>100 mx%-=5 ELSE mx%=100 690ENDIF 700IF b%AND2 exit%=TRUE 710x%=x%ANDNOT(px%-1):y%=y%ANDNOT(py%-1) 720UNTILx%<>ox%ORy%<>oy%ORmx%<>my% ORexit% 730my%=mx% 740factors%!0=mx%:factors%!4=my% 750ENDPROC 760 770DEF PROCinit(image$) 780SYS spop%,&110,blk%,get%,0,x%-xs%,y%-xs%,x%+xs%,y%+xs% 790$image%=image$ 800SYS spop%,&10F,blk%,image%,0,xs%*2/px%,xs%*2/py%,MODE 810SYS spop%,&11D,blk%,image% 820SYS spop%,&13D,blk%,image%,0 TO R0%,R1%,R2%,R3% 830GCOL0,128:TINT 3,0:CLG 840GCOL0,63:TINT 2,&FF:CIRCLEFILL xs%,xs%,xs% 850SYS spop%,R0%,R1%,R2%,R3% 860ENDPROC 870 880DEF PROClist 890A%=blk%+16 900PRINT"Sprite area at &";~(A%-16)' 910FOR I%=0 TO (A%!-12)-1 920PRINT~A%": ";:J%=A%+4:REPEATVDU?J%:J%+=1:UNTIL?J%<32:PRINT 930A%+=!A% 940NEXT 950PRINT'"There were ";I%;" sprites." 960ENDPROC
� > !Magnifier ;� /// Expands an area of the screen inside a circle /// � taskid%4:$taskid%="TASK" (<ș "Wimp_Initialise",200,!taskid%,"Magnifier" � version% 23� image% 12,get% 12,factors% 15,inv% 12,outv% 8 < Finv%!0=4:inv%!4=5:inv%!8=-1 P6ș "OS_SWINumberFromString",,"OS_SpriteOp" � spop% Z'ș "OS_ReadVduVariables",inv%,outv% d px%=1<<!outv%:py%=1<<outv%!4 n x#mx%=200:my%=200:dx%=100:dy%=100 �!factors%!0=mx%:factors%!4=my% �"factors%!8=dx%:factors%!12=dy% � �1� name% 12,blk% 100000:!blk%=100000:blk%!8=16 �ș spop%,&109,blk% � �xs%=128 �x%=640:y%=512 �ox%=x%:oy%=y% � �,$get%="get1":getc%=get%+3:� address of 1 ��init("image1") �L%=(1�2):?getc%=?getc%� L% ș "Wimp_SetColour",7 exit%=�:�move:exit%=�:ȗ � ";� � ȗ �:� � �,�$+". Internal code ("+Þ+" ["+�mx%+"])" ,�get 6� @/ș spop%,&13C,blk%,get%,0 � R0%,R1%,R2%,R3% J-ș spop%,&122,blk%,image%,x%-ox%,y%-oy%,8 Tȏx%-ox%+xs%,y%-oy%+xs%,xs% ^B�x%-ox%+2*xs%,y%-oy%:�BY-32,0:�&51,0,40:�BY-20,-16:�&51,20,-24 hș spop%,R0%,R1%,R2%,R3% r-ș spop%,&122,blk%,get%,ox%-xs%,oy%-xs%,0 |-ș spop%,&122,blk%,image%,x%-xs%,y%-xs%,8 �ȏx%,y%,xs% �<�x%+xs%,y%-xs%:�BY-32,0:�&51,0,40:�BY-20,-16:�&51,20,-24 � �move ��get �� exit% �-ș spop%,&122,blk%,get%,ox%-xs%,oy%-xs%,0 �ș "Wimp_CloseDown":ȗ � �� � � � �get �9ș spop%,&110,blk%,get%,0,x%-xs%,y%-xs%,x%+xs%,y%+xs% �/ș spop%,&13C,blk%,get%,0 � R0%,R1%,R2%,R3% �?getc%=?getc%� L% +ș spop%,&122,blk%,get%,ox%-x%,oy%-y%,0 ?getc%=?getc%� L% ș spop%,&13C,blk%,image%,0 &Iș spop%,&134,blk%,get%,xs%-xs%*mx%�dx%,xs%-xs%*my%�dy%,0,factors%,-1 0ș spop%,R0%,R1%,R2%,R3% :?getc%=?getc%� L% D� N X� �move box%=x%:oy%=y% l� vȗ x%,y%,b% �� b%�1 � mx%<1000000 � �% � mx%>=125 mx%+=mx%�20 � mx%+=5 �� �� b%�4 � �9 � mx%>=125 mx%-=mx%�20 � � mx%>100 mx%-=5 � mx%=100 �� �� b%�2 exit%=� �!x%=x%��(px%-1):y%=y%��(py%-1) �$�x%<>ox%�y%<>oy%�mx%<>my% �exit% �my%=mx% �!factors%!0=mx%:factors%!4=my% �� � � �init(image$) 9ș spop%,&110,blk%,get%,0,x%-xs%,y%-xs%,x%+xs%,y%+xs% $image%=image$ 5ș spop%,&10F,blk%,image%,0,xs%*2/px%,xs%*2/py%,� *ș spop%,&11D,blk%,image% 41ș spop%,&13D,blk%,image%,0 � R0%,R1%,R2%,R3% >�0,128:Ȝ 3,0:� H#�0,63:Ȝ 2,&FF:ȏȐ xs%,xs%,xs% Rș spop%,R0%,R1%,R2%,R3% \� f p� �list zA%=blk%+16 �!�"Sprite area at &";~(A%-16)' �� I%=0 � (A%!-12)-1 �+�~A%": ";:J%=A%+4:��?J%:J%+=1:�?J%<32:� �A%+=!A% �� �"�'"There were ";I%;" sprites." �� �
00000000 0d 00 0a 12 f4 20 3e 20 21 4d 61 67 6e 69 66 69 |..... > !Magnifi| 00000010 65 72 0d 00 14 3b f4 20 2f 2f 2f 20 45 78 70 61 |er...;. /// Expa| 00000020 6e 64 73 20 61 6e 20 61 72 65 61 20 6f 66 20 74 |nds an area of t| 00000030 68 65 20 73 63 72 65 65 6e 20 69 6e 73 69 64 65 |he screen inside| 00000040 20 61 20 63 69 72 63 6c 65 20 2f 2f 2f 0d 00 1e | a circle ///...| 00000050 1e de 20 74 61 73 6b 69 64 25 34 3a 24 74 61 73 |.. taskid%4:$tas| 00000060 6b 69 64 25 3d 22 54 41 53 4b 22 0d 00 28 3c c8 |kid%="TASK"..(<.| 00000070 99 20 22 57 69 6d 70 5f 49 6e 69 74 69 61 6c 69 |. "Wimp_Initiali| 00000080 73 65 22 2c 32 30 30 2c 21 74 61 73 6b 69 64 25 |se",200,!taskid%| 00000090 2c 22 4d 61 67 6e 69 66 69 65 72 22 20 b8 20 76 |,"Magnifier" . v| 000000a0 65 72 73 69 6f 6e 25 0d 00 32 33 de 20 69 6d 61 |ersion%..23. ima| 000000b0 67 65 25 20 31 32 2c 67 65 74 25 20 31 32 2c 66 |ge% 12,get% 12,f| 000000c0 61 63 74 6f 72 73 25 20 31 35 2c 69 6e 76 25 20 |actors% 15,inv% | 000000d0 31 32 2c 6f 75 74 76 25 20 38 0d 00 3c 04 0d 00 |12,outv% 8..<...| 000000e0 46 1f 69 6e 76 25 21 30 3d 34 3a 69 6e 76 25 21 |F.inv%!0=4:inv%!| 000000f0 34 3d 35 3a 69 6e 76 25 21 38 3d 2d 31 0d 00 50 |4=5:inv%!8=-1..P| 00000100 36 c8 99 20 22 4f 53 5f 53 57 49 4e 75 6d 62 65 |6.. "OS_SWINumbe| 00000110 72 46 72 6f 6d 53 74 72 69 6e 67 22 2c 2c 22 4f |rFromString",,"O| 00000120 53 5f 53 70 72 69 74 65 4f 70 22 20 b8 20 73 70 |S_SpriteOp" . sp| 00000130 6f 70 25 0d 00 5a 27 c8 99 20 22 4f 53 5f 52 65 |op%..Z'.. "OS_Re| 00000140 61 64 56 64 75 56 61 72 69 61 62 6c 65 73 22 2c |adVduVariables",| 00000150 69 6e 76 25 2c 6f 75 74 76 25 0d 00 64 20 70 78 |inv%,outv%..d px| 00000160 25 3d 31 3c 3c 21 6f 75 74 76 25 3a 70 79 25 3d |%=1<<!outv%:py%=| 00000170 31 3c 3c 6f 75 74 76 25 21 34 0d 00 6e 04 0d 00 |1<<outv%!4..n...| 00000180 78 23 6d 78 25 3d 32 30 30 3a 6d 79 25 3d 32 30 |x#mx%=200:my%=20| 00000190 30 3a 64 78 25 3d 31 30 30 3a 64 79 25 3d 31 30 |0:dx%=100:dy%=10| 000001a0 30 0d 00 82 21 66 61 63 74 6f 72 73 25 21 30 3d |0...!factors%!0=| 000001b0 6d 78 25 3a 66 61 63 74 6f 72 73 25 21 34 3d 6d |mx%:factors%!4=m| 000001c0 79 25 0d 00 8c 22 66 61 63 74 6f 72 73 25 21 38 |y%..."factors%!8| 000001d0 3d 64 78 25 3a 66 61 63 74 6f 72 73 25 21 31 32 |=dx%:factors%!12| 000001e0 3d 64 79 25 0d 00 96 04 0d 00 a0 31 de 20 6e 61 |=dy%.......1. na| 000001f0 6d 65 25 20 31 32 2c 62 6c 6b 25 20 31 30 30 30 |me% 12,blk% 1000| 00000200 30 30 3a 21 62 6c 6b 25 3d 31 30 30 30 30 30 3a |00:!blk%=100000:| 00000210 62 6c 6b 25 21 38 3d 31 36 0d 00 aa 16 c8 99 20 |blk%!8=16...... | 00000220 73 70 6f 70 25 2c 26 31 30 39 2c 62 6c 6b 25 0d |spop%,&109,blk%.| 00000230 00 b4 04 0d 00 be 0b 78 73 25 3d 31 32 38 0d 00 |.......xs%=128..| 00000240 c8 11 78 25 3d 36 34 30 3a 79 25 3d 35 31 32 0d |..x%=640:y%=512.| 00000250 00 d2 11 6f 78 25 3d 78 25 3a 6f 79 25 3d 79 25 |...ox%=x%:oy%=y%| 00000260 0d 00 dc 04 0d 00 e6 2c 24 67 65 74 25 3d 22 67 |.......,$get%="g| 00000270 65 74 31 22 3a 67 65 74 63 25 3d 67 65 74 25 2b |et1":getc%=get%+| 00000280 33 3a f4 20 61 64 64 72 65 73 73 20 6f 66 20 31 |3:. address of 1| 00000290 0d 00 f0 13 f2 69 6e 69 74 28 22 69 6d 61 67 65 |.....init("image| 000002a0 31 22 29 0d 00 fa 1e 4c 25 3d 28 31 82 32 29 3a |1")....L%=(1.2):| 000002b0 3f 67 65 74 63 25 3d 3f 67 65 74 63 25 82 20 4c |?getc%=?getc%. L| 000002c0 25 0d 01 04 19 c8 99 20 22 57 69 6d 70 5f 53 65 |%...... "Wimp_Se| 000002d0 74 43 6f 6c 6f 75 72 22 2c 37 0d 01 0e 05 20 0d |tColour",7.... .| 000002e0 01 18 1e 65 78 69 74 25 3d b9 3a f2 6d 6f 76 65 |...exit%=.:.move| 000002f0 3a 65 78 69 74 25 3d a3 3a c8 97 20 87 0d 01 22 |:exit%=.:.. ..."| 00000300 3b ee 20 85 20 c8 97 20 ee 3a 85 20 a2 20 9f 2c |;. . .. .:. . .,| 00000310 f6 24 2b 22 2e 20 49 6e 74 65 72 6e 61 6c 20 63 |.$+". Internal c| 00000320 6f 64 65 20 28 22 2b c3 9e 2b 22 20 5b 22 2b c3 |ode ("+..+" ["+.| 00000330 6d 78 25 2b 22 5d 29 22 0d 01 2c 08 f2 67 65 74 |mx%+"])"..,..get| 00000340 0d 01 36 05 f5 0d 01 40 2f c8 99 20 73 70 6f 70 |..6....@/.. spop| 00000350 25 2c 26 31 33 43 2c 62 6c 6b 25 2c 67 65 74 25 |%,&13C,blk%,get%| 00000360 2c 30 20 b8 20 52 30 25 2c 52 31 25 2c 52 32 25 |,0 . R0%,R1%,R2%| 00000370 2c 52 33 25 0d 01 4a 2d c8 99 20 73 70 6f 70 25 |,R3%..J-.. spop%| 00000380 2c 26 31 32 32 2c 62 6c 6b 25 2c 69 6d 61 67 65 |,&122,blk%,image| 00000390 25 2c 78 25 2d 6f 78 25 2c 79 25 2d 6f 79 25 2c |%,x%-ox%,y%-oy%,| 000003a0 38 0d 01 54 1f c8 8f 78 25 2d 6f 78 25 2b 78 73 |8..T...x%-ox%+xs| 000003b0 25 2c 79 25 2d 6f 79 25 2b 78 73 25 2c 78 73 25 |%,y%-oy%+xs%,xs%| 000003c0 0d 01 5e 42 ec 78 25 2d 6f 78 25 2b 32 2a 78 73 |..^B.x%-ox%+2*xs| 000003d0 25 2c 79 25 2d 6f 79 25 3a ec 42 59 2d 33 32 2c |%,y%-oy%:.BY-32,| 000003e0 30 3a f0 26 35 31 2c 30 2c 34 30 3a ec 42 59 2d |0:.&51,0,40:.BY-| 000003f0 32 30 2c 2d 31 36 3a f0 26 35 31 2c 32 30 2c 2d |20,-16:.&51,20,-| 00000400 32 34 0d 01 68 1c c8 99 20 73 70 6f 70 25 2c 52 |24..h... spop%,R| 00000410 30 25 2c 52 31 25 2c 52 32 25 2c 52 33 25 0d 01 |0%,R1%,R2%,R3%..| 00000420 72 2d c8 99 20 73 70 6f 70 25 2c 26 31 32 32 2c |r-.. spop%,&122,| 00000430 62 6c 6b 25 2c 67 65 74 25 2c 6f 78 25 2d 78 73 |blk%,get%,ox%-xs| 00000440 25 2c 6f 79 25 2d 78 73 25 2c 30 0d 01 7c 2d c8 |%,oy%-xs%,0..|-.| 00000450 99 20 73 70 6f 70 25 2c 26 31 32 32 2c 62 6c 6b |. spop%,&122,blk| 00000460 25 2c 69 6d 61 67 65 25 2c 78 25 2d 78 73 25 2c |%,image%,x%-xs%,| 00000470 79 25 2d 78 73 25 2c 38 0d 01 86 0f c8 8f 78 25 |y%-xs%,8......x%| 00000480 2c 79 25 2c 78 73 25 0d 01 90 3c ec 78 25 2b 78 |,y%,xs%...<.x%+x| 00000490 73 25 2c 79 25 2d 78 73 25 3a ec 42 59 2d 33 32 |s%,y%-xs%:.BY-32| 000004a0 2c 30 3a f0 26 35 31 2c 30 2c 34 30 3a ec 42 59 |,0:.&51,0,40:.BY| 000004b0 2d 32 30 2c 2d 31 36 3a f0 26 35 31 2c 32 30 2c |-20,-16:.&51,20,| 000004c0 2d 32 34 0d 01 9a 09 f2 6d 6f 76 65 0d 01 a4 08 |-24.....move....| 000004d0 f2 67 65 74 0d 01 ae 0b fd 20 65 78 69 74 25 0d |.get..... exit%.| 000004e0 01 b8 2d c8 99 20 73 70 6f 70 25 2c 26 31 32 32 |..-.. spop%,&122| 000004f0 2c 62 6c 6b 25 2c 67 65 74 25 2c 6f 78 25 2d 78 |,blk%,get%,ox%-x| 00000500 73 25 2c 6f 79 25 2d 78 73 25 2c 30 0d 01 c2 1c |s%,oy%-xs%,0....| 00000510 c8 99 20 22 57 69 6d 70 5f 43 6c 6f 73 65 44 6f |.. "Wimp_CloseDo| 00000520 77 6e 22 3a c8 97 20 ee 0d 01 cc 05 e0 0d 01 d6 |wn":.. .........| 00000530 04 0d 01 e0 0a dd 20 f2 67 65 74 0d 01 ea 39 c8 |...... .get...9.| 00000540 99 20 73 70 6f 70 25 2c 26 31 31 30 2c 62 6c 6b |. spop%,&110,blk| 00000550 25 2c 67 65 74 25 2c 30 2c 78 25 2d 78 73 25 2c |%,get%,0,x%-xs%,| 00000560 79 25 2d 78 73 25 2c 78 25 2b 78 73 25 2c 79 25 |y%-xs%,x%+xs%,y%| 00000570 2b 78 73 25 0d 01 f4 2f c8 99 20 73 70 6f 70 25 |+xs%.../.. spop%| 00000580 2c 26 31 33 43 2c 62 6c 6b 25 2c 67 65 74 25 2c |,&13C,blk%,get%,| 00000590 30 20 b8 20 52 30 25 2c 52 31 25 2c 52 32 25 2c |0 . R0%,R1%,R2%,| 000005a0 52 33 25 0d 01 fe 15 3f 67 65 74 63 25 3d 3f 67 |R3%....?getc%=?g| 000005b0 65 74 63 25 82 20 4c 25 0d 02 08 2b c8 99 20 73 |etc%. L%...+.. s| 000005c0 70 6f 70 25 2c 26 31 32 32 2c 62 6c 6b 25 2c 67 |pop%,&122,blk%,g| 000005d0 65 74 25 2c 6f 78 25 2d 78 25 2c 6f 79 25 2d 79 |et%,ox%-x%,oy%-y| 000005e0 25 2c 30 0d 02 12 15 3f 67 65 74 63 25 3d 3f 67 |%,0....?getc%=?g| 000005f0 65 74 63 25 82 20 4c 25 0d 02 1c 1f c8 99 20 73 |etc%. L%...... s| 00000600 70 6f 70 25 2c 26 31 33 43 2c 62 6c 6b 25 2c 69 |pop%,&13C,blk%,i| 00000610 6d 61 67 65 25 2c 30 0d 02 26 49 c8 99 20 73 70 |mage%,0..&I.. sp| 00000620 6f 70 25 2c 26 31 33 34 2c 62 6c 6b 25 2c 67 65 |op%,&134,blk%,ge| 00000630 74 25 2c 78 73 25 2d 78 73 25 2a 6d 78 25 81 64 |t%,xs%-xs%*mx%.d| 00000640 78 25 2c 78 73 25 2d 78 73 25 2a 6d 79 25 81 64 |x%,xs%-xs%*my%.d| 00000650 79 25 2c 30 2c 66 61 63 74 6f 72 73 25 2c 2d 31 |y%,0,factors%,-1| 00000660 0d 02 30 1c c8 99 20 73 70 6f 70 25 2c 52 30 25 |..0... spop%,R0%| 00000670 2c 52 31 25 2c 52 32 25 2c 52 33 25 0d 02 3a 15 |,R1%,R2%,R3%..:.| 00000680 3f 67 65 74 63 25 3d 3f 67 65 74 63 25 82 20 4c |?getc%=?getc%. L| 00000690 25 0d 02 44 05 e1 0d 02 4e 04 0d 02 58 0b dd 20 |%..D....N...X.. | 000006a0 f2 6d 6f 76 65 0d 02 62 11 6f 78 25 3d 78 25 3a |.move..b.ox%=x%:| 000006b0 6f 79 25 3d 79 25 0d 02 6c 05 f5 0d 02 76 0f c8 |oy%=y%..l....v..| 000006c0 97 20 78 25 2c 79 25 2c 62 25 0d 02 80 1a e7 20 |. x%,y%,b%..... | 000006d0 62 25 80 31 20 80 20 6d 78 25 3c 31 30 30 30 30 |b%.1 . mx%<10000| 000006e0 30 30 20 8c 0d 02 8a 25 20 20 e7 20 6d 78 25 3e |00 ....% . mx%>| 000006f0 3d 31 32 35 20 6d 78 25 2b 3d 6d 78 25 81 32 30 |=125 mx%+=mx%.20| 00000700 20 8b 20 6d 78 25 2b 3d 35 0d 02 94 05 cd 0d 02 | . mx%+=5.......| 00000710 9e 0c e7 20 62 25 80 34 20 8c 0d 02 a8 39 20 20 |... b%.4 ....9 | 00000720 e7 20 6d 78 25 3e 3d 31 32 35 20 6d 78 25 2d 3d |. mx%>=125 mx%-=| 00000730 6d 78 25 81 32 30 20 8b 20 e7 20 6d 78 25 3e 31 |mx%.20 . . mx%>1| 00000740 30 30 20 6d 78 25 2d 3d 35 20 8b 20 6d 78 25 3d |00 mx%-=5 . mx%=| 00000750 31 30 30 0d 02 b2 05 cd 0d 02 bc 12 e7 20 62 25 |100.......... b%| 00000760 80 32 20 65 78 69 74 25 3d b9 0d 02 c6 21 78 25 |.2 exit%=....!x%| 00000770 3d 78 25 80 ac 28 70 78 25 2d 31 29 3a 79 25 3d |=x%..(px%-1):y%=| 00000780 79 25 80 ac 28 70 79 25 2d 31 29 0d 02 d0 24 fd |y%..(py%-1)...$.| 00000790 78 25 3c 3e 6f 78 25 84 79 25 3c 3e 6f 79 25 84 |x%<>ox%.y%<>oy%.| 000007a0 6d 78 25 3c 3e 6d 79 25 20 84 65 78 69 74 25 0d |mx%<>my% .exit%.| 000007b0 02 da 0b 6d 79 25 3d 6d 78 25 0d 02 e4 21 66 61 |...my%=mx%...!fa| 000007c0 63 74 6f 72 73 25 21 30 3d 6d 78 25 3a 66 61 63 |ctors%!0=mx%:fac| 000007d0 74 6f 72 73 25 21 34 3d 6d 79 25 0d 02 ee 05 e1 |tors%!4=my%.....| 000007e0 0d 02 f8 04 0d 03 02 13 dd 20 f2 69 6e 69 74 28 |......... .init(| 000007f0 69 6d 61 67 65 24 29 0d 03 0c 39 c8 99 20 73 70 |image$)...9.. sp| 00000800 6f 70 25 2c 26 31 31 30 2c 62 6c 6b 25 2c 67 65 |op%,&110,blk%,ge| 00000810 74 25 2c 30 2c 78 25 2d 78 73 25 2c 79 25 2d 78 |t%,0,x%-xs%,y%-x| 00000820 73 25 2c 78 25 2b 78 73 25 2c 79 25 2b 78 73 25 |s%,x%+xs%,y%+xs%| 00000830 0d 03 16 12 24 69 6d 61 67 65 25 3d 69 6d 61 67 |....$image%=imag| 00000840 65 24 0d 03 20 35 c8 99 20 73 70 6f 70 25 2c 26 |e$.. 5.. spop%,&| 00000850 31 30 46 2c 62 6c 6b 25 2c 69 6d 61 67 65 25 2c |10F,blk%,image%,| 00000860 30 2c 78 73 25 2a 32 2f 70 78 25 2c 78 73 25 2a |0,xs%*2/px%,xs%*| 00000870 32 2f 70 79 25 2c eb 0d 03 2a 1d c8 99 20 73 70 |2/py%,...*... sp| 00000880 6f 70 25 2c 26 31 31 44 2c 62 6c 6b 25 2c 69 6d |op%,&11D,blk%,im| 00000890 61 67 65 25 0d 03 34 31 c8 99 20 73 70 6f 70 25 |age%..41.. spop%| 000008a0 2c 26 31 33 44 2c 62 6c 6b 25 2c 69 6d 61 67 65 |,&13D,blk%,image| 000008b0 25 2c 30 20 b8 20 52 30 25 2c 52 31 25 2c 52 32 |%,0 . R0%,R1%,R2| 000008c0 25 2c 52 33 25 0d 03 3e 13 e6 30 2c 31 32 38 3a |%,R3%..>..0,128:| 000008d0 c8 9c 20 33 2c 30 3a da 0d 03 48 23 e6 30 2c 36 |.. 3,0:...H#.0,6| 000008e0 33 3a c8 9c 20 32 2c 26 46 46 3a c8 8f c8 90 20 |3:.. 2,&FF:.... | 000008f0 78 73 25 2c 78 73 25 2c 78 73 25 0d 03 52 1c c8 |xs%,xs%,xs%..R..| 00000900 99 20 73 70 6f 70 25 2c 52 30 25 2c 52 31 25 2c |. spop%,R0%,R1%,| 00000910 52 32 25 2c 52 33 25 0d 03 5c 05 e1 0d 03 66 04 |R2%,R3%..\....f.| 00000920 0d 03 70 0b dd 20 f2 6c 69 73 74 0d 03 7a 0e 41 |..p.. .list..z.A| 00000930 25 3d 62 6c 6b 25 2b 31 36 0d 03 84 21 f1 22 53 |%=blk%+16...!."S| 00000940 70 72 69 74 65 20 61 72 65 61 20 61 74 20 26 22 |prite area at &"| 00000950 3b 7e 28 41 25 2d 31 36 29 27 0d 03 8e 17 e3 20 |;~(A%-16)'..... | 00000960 49 25 3d 30 20 b8 20 28 41 25 21 2d 31 32 29 2d |I%=0 . (A%!-12)-| 00000970 31 0d 03 98 2b f1 7e 41 25 22 3a 20 22 3b 3a 4a |1...+.~A%": ";:J| 00000980 25 3d 41 25 2b 34 3a f5 ef 3f 4a 25 3a 4a 25 2b |%=A%+4:..?J%:J%+| 00000990 3d 31 3a fd 3f 4a 25 3c 33 32 3a f1 0d 03 a2 0b |=1:.?J%<32:.....| 000009a0 41 25 2b 3d 21 41 25 0d 03 ac 05 ed 0d 03 b6 22 |A%+=!A%........"| 000009b0 f1 27 22 54 68 65 72 65 20 77 65 72 65 20 22 3b |.'"There were ";| 000009c0 49 25 3b 22 20 73 70 72 69 74 65 73 2e 22 0d 03 |I%;" sprites."..| 000009d0 c0 05 e1 0d ff |.....| 000009d5