Home » Archimedes archive » Acorn User » AU 1993-06.adf » !StarInfo_StarInfo » Mould
Mould
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 » Archimedes archive » Acorn User » AU 1993-06.adf » !StarInfo_StarInfo |
Filename: | Mould |
Read OK: | ✔ |
File size: | 0A9A bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >Mould (Info10) 20REM By David Llewellyn-Jones 30REM For 32-bit machines 40REM (c) BAU June 1993 50: 60ON ERROR IFERR<>17 PRINTREPORT$;" at line ";ERL:END ELSE END 70PROCcode 80MODE 0 90PRINT"Choose mould program:"' 100PRINT"1. Mouldy mouse" 110PRINT"2. Full screen of various mould varieties" 120PRINT"3. Random specks of mould on screen" 130PRINT"4. Mould in a grid" 140PRINT"5. Lines of mould" 150PRINT"6. Load a screen and draw" 160PRINT'"Press 1-6 to start..."; 170REPEAT 180 c$=GET$ 190UNTIL c$>="1" AND c$<="6" 200ON ERROR IFERR<>17 PRINTREPORT$;" at line ";ERL:END ELSE RUN 210MODE13:OFF 220CLS 230CALL init 240CASE c$ OF 250 WHEN "1":PROCdraw 260 WHEN "2":PROCwipe:PROCgrow 270 WHEN "3":PROCdots:PROCgrow 280 WHEN "4":PROCgrid:PROCgrow 290 WHEN "5":PROClines:PROCgrow 300 WHEN "6":PROCload:PROCdraw 310ENDCASE 320END 330: 340DEF PROCload 350INPUT"Screen to load ";screen$ 360SYS "OS_CLI","ScreenLoad "+screen$ 370ENDPROC 380: 390DEF PROCdraw 400*POINTER 1 410REPEAT 420 C%=RND(50)+5 430 D%=(D%+1)MOD320 440 CALL startup 450 MOUSE X,Y,Z 460 IF Z AND 1 GCOL0TINT0:CIRCLEFILLX,Y,96:GCOLRND(64)TINTRND(256) 470 IF Z AND 4 CIRCLE FILLX,Y,6 480 IF Z AND 2 GCOLRND(64)TINTRND(256) 490UNTIL FALSE 500ENDPROC 510: 520DEF PROCwipe 530C%=0 540T%=0 550FOR x=0 TO 12 STEP 4 560 FOR y=0 TO 1023 STEP 4 570 T%+=16 580 GCOL C% TINT T% 590 IF T%>255 T%=0:C%+=1:IF C%>63 C%=0 600 POINT x,y 610 NEXT 620NEXT 630FOR x=16 TO 1280 STEP 16 640 RECTANGLE 0,0,16,1024 TO x,0 650NEXT 660ENDPROC 670: 680DEF PROCdots 690C%=0:T%=0 700FOR n=1 TO 50 710 GCOL RND(64) TINT RND(256) 720 POINT RND(1280),RND(1024) 730NEXT 740ENDPROC 750: 760DEF PROCgrid 770g%=RND(80)+10 780c%=0 790FOR x=0 TO 1280 STEP g% 800 FOR y=16 TO 1007 STEP g% 810 c%+=1:IF c%>63 c%=1 820 GCOL c% 830 POINT x,y 840 NEXT 850NEXT 860ENDPROC 870: 880DEF PROClines 890FOR n=0 TO 30 900 GCOL RND(64)TINTRND(256) 910 LINE RND(1280),RND(1024),RND(1280),RND(1024) 920NEXT 930ENDPROC 940: 950DEF PROCgrow 960REPEAT 970 C%=RND(50)+10 980 D%=(D%+1)MOD320 990 CALL startup 1000UNTIL0 1010ENDPROC 1020: 1030DEF PROCcode 1040DIM code2% 1500 1050link=14:pc=15 1060top=11 1070rnd1=3 1080temp=5 1090point=6 1100colour=7 1110point2=8 1120return=9 1130rnd2=2 1140tint=10 1150FORpass%=0TO2STEP2 1160P%=code2% 1170[OPTpass% 1180.vdu 1190EQUD 148 1200EQUD -1 1210.vdu2 1220EQUD 0 1230.init 1240ADR 0,vdu 1250ADR 1,vdu 1260SWI "OS_ReadVduVariables" 1270LDR point,vdu 1280ADD top,point,#81920 1290SUB top,top,#640 1300STR top,vdu2 1310ADD point,point,#320 1320STR point,vdu 1330MOV rnd1,#1 1340MOV pc,link 1350.startup 1360MOV return,link 1370LDR point,vdu 1380LDR top,vdu2 1390ADD point,point,rnd1 1400.loop 1410ADD point,point,rnd2 1420LDRB colour,[point] 1430MOV colour,colour,LSR#2 1440CMP colour,#0 1450BLNE direct 1460ADDNE colour,tint,colour,LSL#2 1470STRNEB colour,[point2] 1480CMP point,top 1490BLT loop 1500MOV pc,return 1510.direct 1520SUBS tint,tint,#1 1530MOVLT tint,#3 1540MOV point2,point 1550LDRB temp,[point2,#1]! 1560CMP colour,temp,LSR#2 1570MOVNE pc,link 1580LDRB temp,[point2,#-2]! 1590CMP colour,temp,LSR#2 1600MOVNE pc,link 1610LDRB temp,[point2,#321]! 1620CMP colour,temp,LSR#2 1630MOVNE pc,link 1640LDRB temp,[point2,#-640]! 1650CMP colour,temp,LSR#2 1660MOV pc,link 1670]NEXTpass% 1680ENDPROC
� >Mould (Info10) � By David Llewellyn-Jones � For 32-bit machines (� (c) BAU June 1993 2: <&� � �<>17 �$;" at line ";�:� � � F �code P� 0 Z�"Choose mould program:"' d�"1. Mouldy mouse" n0�"2. Full screen of various mould varieties" x*�"3. Random specks of mould on screen" ��"4. Mould in a grid" ��"5. Lines of mould" � �"6. Load a screen and draw" ��'"Press 1-6 to start..."; �� � c$=� �� c$>="1" � c$<="6" �&� � �<>17 �$;" at line ";�:� � � � �13:� �� � � init �Ȏ c$ � � � "1":�draw � "2":�wipe:�grow � "3":�dots:�grow � "4":�grid:�grow " � "5":�lines:�grow , � "6":�load:�draw 6� @� J: T� �load ^�"Screen to load ";screen$ h%ș "OS_CLI","ScreenLoad "+screen$ r� |: �� �draw �*POINTER 1 �� � C%=�(50)+5 � D%=(D%+1)�320 � � startup � ȗ X,Y,Z �, � Z � 1 �0Ȝ0:ȏȐX,Y,96:�(64)Ȝ�(256) � � Z � 4 ȏ ȐX,Y,6 � � Z � 2 �(64)Ȝ�(256) �� � �� �: � �wipe C%=0 T%=0 &� x=0 � 12 � 4 0 � y=0 � 1023 � 4 : T%+=16 D � C% Ȝ T% N& � T%>255 T%=0:C%+=1:� C%>63 C%=0 X Ȓ x,y b � l� v� x=16 � 1280 � 16 � ȓ 0,0,16,1024 � x,0 �� �� �: �� �dots � C%=0:T%=0 �� n=1 � 50 � � �(64) Ȝ �(256) � Ȓ �(1280),�(1024) �� �� �: �� �grid g%=�(80)+10 c%=0 � x=0 � 1280 � g% � y=16 � 1007 � g% * c%+=1:� c%>63 c%=1 4 � c% > Ȓ x,y H � R� \� f: p� �lines z� n=0 � 30 � � �(64)Ȝ�(256) �& � �(1280),�(1024),�(1280),�(1024) �� �� �: �� �grow �� � C%=�(50)+10 � D%=(D%+1)�320 � � startup ��0 �� �: � �code � code2% 1500 link=14:pc=15 $ top=11 . rnd1=3 8 temp=5 Bpoint=6 Lcolour=7 Vpoint2=8 `return=9 j rnd2=2 ttint=10 ~�pass%=0�2�2 � P%=code2% � [OPTpass% �.vdu �EQUD 148 �EQUD -1 � .vdu2 � EQUD 0 � .init � ADR 0,vdu � ADR 1,vdu �SWI "OS_ReadVduVariables" �LDR point,vdu ADD top,point,#81920 SUB top,top,#640 STR top,vdu2 ADD point,point,#320 (STR point,vdu 2MOV rnd1,#1 <MOV pc,link F.startup PMOV return,link ZLDR point,vdu dLDR top,vdu2 nADD point,point,rnd1 x .loop �ADD point,point,rnd2 �LDRB colour,[point] �MOV colour,colour,LSR#2 �CMP colour,#0 �BLNE direct �"ADDNE colour,tint,colour,LSL#2 �STRNEB colour,[point2] �CMP point,top �BLT loop �MOV pc,return �.direct �SUBS tint,tint,#1 �MOVLT tint,#3 MOV point2,point LDRB temp,[point2,#1]! CMP colour,temp,LSR#2 "MOVNE pc,link ,LDRB temp,[point2,#-2]! 6CMP colour,temp,LSR#2 @MOVNE pc,link JLDRB temp,[point2,#321]! TCMP colour,temp,LSR#2 ^MOVNE pc,link hLDRB temp,[point2,#-640]! rCMP colour,temp,LSR#2 |MOV pc,link �]�pass% �� �
00000000 0d 00 0a 19 f4 20 20 20 20 20 3e 4d 6f 75 6c 64 |..... >Mould| 00000010 20 28 49 6e 66 6f 31 30 29 0d 00 14 1f f4 20 42 | (Info10)..... B| 00000020 79 20 20 44 61 76 69 64 20 4c 6c 65 77 65 6c 6c |y David Llewell| 00000030 79 6e 2d 4a 6f 6e 65 73 0d 00 1e 19 f4 20 46 6f |yn-Jones..... Fo| 00000040 72 20 33 32 2d 62 69 74 20 6d 61 63 68 69 6e 65 |r 32-bit machine| 00000050 73 0d 00 28 17 f4 20 28 63 29 20 42 41 55 20 4a |s..(.. (c) BAU J| 00000060 75 6e 65 20 31 39 39 33 0d 00 32 05 3a 0d 00 3c |une 1993..2.:..<| 00000070 26 ee 20 85 20 e7 9f 3c 3e 31 37 20 f1 f6 24 3b |&. . ..<>17 ..$;| 00000080 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 20 |" at line ";.:. | 00000090 8b 20 e0 0d 00 46 09 f2 63 6f 64 65 0d 00 50 07 |. ...F..code..P.| 000000a0 eb 20 30 0d 00 5a 1d f1 22 43 68 6f 6f 73 65 20 |. 0..Z.."Choose | 000000b0 6d 6f 75 6c 64 20 70 72 6f 67 72 61 6d 3a 22 27 |mould program:"'| 000000c0 0d 00 64 16 f1 22 31 2e 20 4d 6f 75 6c 64 79 20 |..d.."1. Mouldy | 000000d0 6d 6f 75 73 65 22 0d 00 6e 30 f1 22 32 2e 20 46 |mouse"..n0."2. F| 000000e0 75 6c 6c 20 73 63 72 65 65 6e 20 6f 66 20 76 61 |ull screen of va| 000000f0 72 69 6f 75 73 20 6d 6f 75 6c 64 20 76 61 72 69 |rious mould vari| 00000100 65 74 69 65 73 22 0d 00 78 2a f1 22 33 2e 20 52 |eties"..x*."3. R| 00000110 61 6e 64 6f 6d 20 73 70 65 63 6b 73 20 6f 66 20 |andom specks of | 00000120 6d 6f 75 6c 64 20 6f 6e 20 73 63 72 65 65 6e 22 |mould on screen"| 00000130 0d 00 82 19 f1 22 34 2e 20 4d 6f 75 6c 64 20 69 |....."4. Mould i| 00000140 6e 20 61 20 67 72 69 64 22 0d 00 8c 18 f1 22 35 |n a grid"....."5| 00000150 2e 20 4c 69 6e 65 73 20 6f 66 20 6d 6f 75 6c 64 |. Lines of mould| 00000160 22 0d 00 96 20 f1 22 36 2e 20 4c 6f 61 64 20 61 |"... ."6. Load a| 00000170 20 73 63 72 65 65 6e 20 61 6e 64 20 64 72 61 77 | screen and draw| 00000180 22 0d 00 a0 1e f1 27 22 50 72 65 73 73 20 31 2d |".....'"Press 1-| 00000190 36 20 74 6f 20 73 74 61 72 74 2e 2e 2e 22 3b 0d |6 to start...";.| 000001a0 00 aa 05 f5 0d 00 b4 09 20 63 24 3d be 0d 00 be |........ c$=....| 000001b0 17 fd 20 63 24 3e 3d 22 31 22 20 80 20 63 24 3c |.. c$>="1" . c$<| 000001c0 3d 22 36 22 0d 00 c8 26 ee 20 85 20 e7 9f 3c 3e |="6"...&. . ..<>| 000001d0 31 37 20 f1 f6 24 3b 22 20 61 74 20 6c 69 6e 65 |17 ..$;" at line| 000001e0 20 22 3b 9e 3a e0 20 8b 20 f9 0d 00 d2 09 eb 31 | ";.:. . ......1| 000001f0 33 3a 87 0d 00 dc 05 db 0d 00 e6 0a d6 20 69 6e |3:........... in| 00000200 69 74 0d 00 f0 0b c8 8e 20 63 24 20 ca 0d 00 fa |it...... c$ ....| 00000210 10 20 c9 20 22 31 22 3a f2 64 72 61 77 0d 01 04 |. . "1":.draw...| 00000220 16 20 c9 20 22 32 22 3a f2 77 69 70 65 3a f2 67 |. . "2":.wipe:.g| 00000230 72 6f 77 0d 01 0e 16 20 c9 20 22 33 22 3a f2 64 |row.... . "3":.d| 00000240 6f 74 73 3a f2 67 72 6f 77 0d 01 18 16 20 c9 20 |ots:.grow.... . | 00000250 22 34 22 3a f2 67 72 69 64 3a f2 67 72 6f 77 0d |"4":.grid:.grow.| 00000260 01 22 17 20 c9 20 22 35 22 3a f2 6c 69 6e 65 73 |.". . "5":.lines| 00000270 3a f2 67 72 6f 77 0d 01 2c 16 20 c9 20 22 36 22 |:.grow..,. . "6"| 00000280 3a f2 6c 6f 61 64 3a f2 64 72 61 77 0d 01 36 05 |:.load:.draw..6.| 00000290 cb 0d 01 40 05 e0 0d 01 4a 05 3a 0d 01 54 0b dd |...@....J.:..T..| 000002a0 20 f2 6c 6f 61 64 0d 01 5e 1e e8 22 53 63 72 65 | .load..^.."Scre| 000002b0 65 6e 20 74 6f 20 6c 6f 61 64 20 22 3b 73 63 72 |en to load ";scr| 000002c0 65 65 6e 24 0d 01 68 25 c8 99 20 22 4f 53 5f 43 |een$..h%.. "OS_C| 000002d0 4c 49 22 2c 22 53 63 72 65 65 6e 4c 6f 61 64 20 |LI","ScreenLoad | 000002e0 22 2b 73 63 72 65 65 6e 24 0d 01 72 05 e1 0d 01 |"+screen$..r....| 000002f0 7c 05 3a 0d 01 86 0b dd 20 f2 64 72 61 77 0d 01 ||.:..... .draw..| 00000300 90 0e 2a 50 4f 49 4e 54 45 52 20 31 0d 01 9a 05 |..*POINTER 1....| 00000310 f5 0d 01 a4 0f 20 43 25 3d b3 28 35 30 29 2b 35 |..... C%=.(50)+5| 00000320 0d 01 ae 12 20 44 25 3d 28 44 25 2b 31 29 83 33 |.... D%=(D%+1).3| 00000330 32 30 0d 01 b8 0e 20 d6 20 73 74 61 72 74 75 70 |20.... . startup| 00000340 0d 01 c2 0d 20 c8 97 20 58 2c 59 2c 5a 0d 01 cc |.... .. X,Y,Z...| 00000350 2c 20 e7 20 5a 20 80 20 31 20 e6 30 c8 9c 30 3a |, . Z . 1 .0..0:| 00000360 c8 8f c8 90 58 2c 59 2c 39 36 3a e6 b3 28 36 34 |....X,Y,96:..(64| 00000370 29 c8 9c b3 28 32 35 36 29 0d 01 d6 17 20 e7 20 |)...(256).... . | 00000380 5a 20 80 20 34 20 c8 8f 20 c8 90 58 2c 59 2c 36 |Z . 4 .. ..X,Y,6| 00000390 0d 01 e0 1b 20 e7 20 5a 20 80 20 32 20 e6 b3 28 |.... . Z . 2 ..(| 000003a0 36 34 29 c8 9c b3 28 32 35 36 29 0d 01 ea 07 fd |64)...(256).....| 000003b0 20 a3 0d 01 f4 05 e1 0d 01 fe 05 3a 0d 02 08 0b | ..........:....| 000003c0 dd 20 f2 77 69 70 65 0d 02 12 08 43 25 3d 30 0d |. .wipe....C%=0.| 000003d0 02 1c 08 54 25 3d 30 0d 02 26 12 e3 20 78 3d 30 |...T%=0..&.. x=0| 000003e0 20 b8 20 31 32 20 88 20 34 0d 02 30 15 20 e3 20 | . 12 . 4..0. . | 000003f0 79 3d 30 20 b8 20 31 30 32 33 20 88 20 34 0d 02 |y=0 . 1023 . 4..| 00000400 3a 0c 20 20 54 25 2b 3d 31 36 0d 02 44 10 20 20 |:. T%+=16..D. | 00000410 e6 20 43 25 20 c8 9c 20 54 25 0d 02 4e 26 20 20 |. C% .. T%..N& | 00000420 e7 20 54 25 3e 32 35 35 20 54 25 3d 30 3a 43 25 |. T%>255 T%=0:C%| 00000430 2b 3d 31 3a e7 20 43 25 3e 36 33 20 43 25 3d 30 |+=1:. C%>63 C%=0| 00000440 0d 02 58 0c 20 20 c8 92 20 78 2c 79 0d 02 62 06 |..X. .. x,y..b.| 00000450 20 ed 0d 02 6c 05 ed 0d 02 76 16 e3 20 78 3d 31 | ...l....v.. x=1| 00000460 36 20 b8 20 31 32 38 30 20 88 20 31 36 0d 02 80 |6 . 1280 . 16...| 00000470 19 20 c8 93 20 30 2c 30 2c 31 36 2c 31 30 32 34 |. .. 0,0,16,1024| 00000480 20 b8 20 78 2c 30 0d 02 8a 05 ed 0d 02 94 05 e1 | . x,0..........| 00000490 0d 02 9e 05 3a 0d 02 a8 0b dd 20 f2 64 6f 74 73 |....:..... .dots| 000004a0 0d 02 b2 0d 43 25 3d 30 3a 54 25 3d 30 0d 02 bc |....C%=0:T%=0...| 000004b0 0e e3 20 6e 3d 31 20 b8 20 35 30 0d 02 c6 16 20 |.. n=1 . 50.... | 000004c0 e6 20 b3 28 36 34 29 20 c8 9c 20 b3 28 32 35 36 |. .(64) .. .(256| 000004d0 29 0d 02 d0 17 20 c8 92 20 b3 28 31 32 38 30 29 |).... .. .(1280)| 000004e0 2c b3 28 31 30 32 34 29 0d 02 da 05 ed 0d 02 e4 |,.(1024)........| 000004f0 05 e1 0d 02 ee 05 3a 0d 02 f8 0b dd 20 f2 67 72 |......:..... .gr| 00000500 69 64 0d 03 02 0f 67 25 3d b3 28 38 30 29 2b 31 |id....g%=.(80)+1| 00000510 30 0d 03 0c 08 63 25 3d 30 0d 03 16 15 e3 20 78 |0....c%=0..... x| 00000520 3d 30 20 b8 20 31 32 38 30 20 88 20 67 25 0d 03 |=0 . 1280 . g%..| 00000530 20 17 20 e3 20 79 3d 31 36 20 b8 20 31 30 30 37 | . . y=16 . 1007| 00000540 20 88 20 67 25 0d 03 2a 18 20 20 63 25 2b 3d 31 | . g%..*. c%+=1| 00000550 3a e7 20 63 25 3e 36 33 20 63 25 3d 31 0d 03 34 |:. c%>63 c%=1..4| 00000560 0a 20 20 e6 20 63 25 0d 03 3e 0c 20 20 c8 92 20 |. . c%..>. .. | 00000570 78 2c 79 0d 03 48 06 20 ed 0d 03 52 05 ed 0d 03 |x,y..H. ...R....| 00000580 5c 05 e1 0d 03 66 05 3a 0d 03 70 0c dd 20 f2 6c |\....f.:..p.. .l| 00000590 69 6e 65 73 0d 03 7a 0e e3 20 6e 3d 30 20 b8 20 |ines..z.. n=0 . | 000005a0 33 30 0d 03 84 14 20 e6 20 b3 28 36 34 29 c8 9c |30.... . .(64)..| 000005b0 b3 28 32 35 36 29 0d 03 8e 26 20 86 20 b3 28 31 |.(256)...& . .(1| 000005c0 32 38 30 29 2c b3 28 31 30 32 34 29 2c b3 28 31 |280),.(1024),.(1| 000005d0 32 38 30 29 2c b3 28 31 30 32 34 29 0d 03 98 05 |280),.(1024)....| 000005e0 ed 0d 03 a2 05 e1 0d 03 ac 05 3a 0d 03 b6 0b dd |..........:.....| 000005f0 20 f2 67 72 6f 77 0d 03 c0 05 f5 0d 03 ca 10 20 | .grow......... | 00000600 43 25 3d b3 28 35 30 29 2b 31 30 0d 03 d4 12 20 |C%=.(50)+10.... | 00000610 44 25 3d 28 44 25 2b 31 29 83 33 32 30 0d 03 de |D%=(D%+1).320...| 00000620 0e 20 d6 20 73 74 61 72 74 75 70 0d 03 e8 06 fd |. . startup.....| 00000630 30 0d 03 f2 05 e1 0d 03 fc 05 3a 0d 04 06 0b dd |0.........:.....| 00000640 20 f2 63 6f 64 65 0d 04 10 11 de 20 63 6f 64 65 | .code..... code| 00000650 32 25 20 31 35 30 30 0d 04 1a 11 6c 69 6e 6b 3d |2% 1500....link=| 00000660 31 34 3a 70 63 3d 31 35 0d 04 24 0a 74 6f 70 3d |14:pc=15..$.top=| 00000670 31 31 0d 04 2e 0a 72 6e 64 31 3d 33 0d 04 38 0a |11....rnd1=3..8.| 00000680 74 65 6d 70 3d 35 0d 04 42 0b 70 6f 69 6e 74 3d |temp=5..B.point=| 00000690 36 0d 04 4c 0c 63 6f 6c 6f 75 72 3d 37 0d 04 56 |6..L.colour=7..V| 000006a0 0c 70 6f 69 6e 74 32 3d 38 0d 04 60 0c 72 65 74 |.point2=8..`.ret| 000006b0 75 72 6e 3d 39 0d 04 6a 0a 72 6e 64 32 3d 32 0d |urn=9..j.rnd2=2.| 000006c0 04 74 0b 74 69 6e 74 3d 31 30 0d 04 7e 10 e3 70 |.t.tint=10..~..p| 000006d0 61 73 73 25 3d 30 b8 32 88 32 0d 04 88 0d 50 25 |ass%=0.2.2....P%| 000006e0 3d 63 6f 64 65 32 25 0d 04 92 0d 5b 4f 50 54 70 |=code2%....[OPTp| 000006f0 61 73 73 25 0d 04 9c 08 2e 76 64 75 0d 04 a6 0c |ass%.....vdu....| 00000700 45 51 55 44 20 31 34 38 0d 04 b0 0b 45 51 55 44 |EQUD 148....EQUD| 00000710 20 2d 31 0d 04 ba 09 2e 76 64 75 32 0d 04 c4 0a | -1.....vdu2....| 00000720 45 51 55 44 20 30 0d 04 ce 09 2e 69 6e 69 74 0d |EQUD 0.....init.| 00000730 04 d8 0d 41 44 52 20 30 2c 76 64 75 0d 04 e2 0d |...ADR 0,vdu....| 00000740 41 44 52 20 31 2c 76 64 75 0d 04 ec 1d 53 57 49 |ADR 1,vdu....SWI| 00000750 20 22 4f 53 5f 52 65 61 64 56 64 75 56 61 72 69 | "OS_ReadVduVari| 00000760 61 62 6c 65 73 22 0d 04 f6 11 4c 44 52 20 70 6f |ables"....LDR po| 00000770 69 6e 74 2c 76 64 75 0d 05 00 18 41 44 44 20 74 |int,vdu....ADD t| 00000780 6f 70 2c 70 6f 69 6e 74 2c 23 38 31 39 32 30 0d |op,point,#81920.| 00000790 05 0a 14 53 55 42 20 74 6f 70 2c 74 6f 70 2c 23 |...SUB top,top,#| 000007a0 36 34 30 0d 05 14 10 53 54 52 20 74 6f 70 2c 76 |640....STR top,v| 000007b0 64 75 32 0d 05 1e 18 41 44 44 20 70 6f 69 6e 74 |du2....ADD point| 000007c0 2c 70 6f 69 6e 74 2c 23 33 32 30 0d 05 28 11 53 |,point,#320..(.S| 000007d0 54 52 20 70 6f 69 6e 74 2c 76 64 75 0d 05 32 0f |TR point,vdu..2.| 000007e0 4d 4f 56 20 72 6e 64 31 2c 23 31 0d 05 3c 0f 4d |MOV rnd1,#1..<.M| 000007f0 4f 56 20 70 63 2c 6c 69 6e 6b 0d 05 46 0c 2e 73 |OV pc,link..F..s| 00000800 74 61 72 74 75 70 0d 05 50 13 4d 4f 56 20 72 65 |tartup..P.MOV re| 00000810 74 75 72 6e 2c 6c 69 6e 6b 0d 05 5a 11 4c 44 52 |turn,link..Z.LDR| 00000820 20 70 6f 69 6e 74 2c 76 64 75 0d 05 64 10 4c 44 | point,vdu..d.LD| 00000830 52 20 74 6f 70 2c 76 64 75 32 0d 05 6e 18 41 44 |R top,vdu2..n.AD| 00000840 44 20 70 6f 69 6e 74 2c 70 6f 69 6e 74 2c 72 6e |D point,point,rn| 00000850 64 31 0d 05 78 09 2e 6c 6f 6f 70 0d 05 82 18 41 |d1..x..loop....A| 00000860 44 44 20 70 6f 69 6e 74 2c 70 6f 69 6e 74 2c 72 |DD point,point,r| 00000870 6e 64 32 0d 05 8c 17 4c 44 52 42 20 63 6f 6c 6f |nd2....LDRB colo| 00000880 75 72 2c 5b 70 6f 69 6e 74 5d 0d 05 96 1b 4d 4f |ur,[point]....MO| 00000890 56 20 63 6f 6c 6f 75 72 2c 63 6f 6c 6f 75 72 2c |V colour,colour,| 000008a0 4c 53 52 23 32 0d 05 a0 11 43 4d 50 20 63 6f 6c |LSR#2....CMP col| 000008b0 6f 75 72 2c 23 30 0d 05 aa 0f 42 4c 4e 45 20 64 |our,#0....BLNE d| 000008c0 69 72 65 63 74 0d 05 b4 22 41 44 44 4e 45 20 63 |irect..."ADDNE c| 000008d0 6f 6c 6f 75 72 2c 74 69 6e 74 2c 63 6f 6c 6f 75 |olour,tint,colou| 000008e0 72 2c 4c 53 4c 23 32 0d 05 be 1a 53 54 52 4e 45 |r,LSL#2....STRNE| 000008f0 42 20 63 6f 6c 6f 75 72 2c 5b 70 6f 69 6e 74 32 |B colour,[point2| 00000900 5d 0d 05 c8 11 43 4d 50 20 70 6f 69 6e 74 2c 74 |]....CMP point,t| 00000910 6f 70 0d 05 d2 0c 42 4c 54 20 6c 6f 6f 70 0d 05 |op....BLT loop..| 00000920 dc 11 4d 4f 56 20 70 63 2c 72 65 74 75 72 6e 0d |..MOV pc,return.| 00000930 05 e6 0b 2e 64 69 72 65 63 74 0d 05 f0 15 53 55 |....direct....SU| 00000940 42 53 20 74 69 6e 74 2c 74 69 6e 74 2c 23 31 0d |BS tint,tint,#1.| 00000950 05 fa 11 4d 4f 56 4c 54 20 74 69 6e 74 2c 23 33 |...MOVLT tint,#3| 00000960 0d 06 04 14 4d 4f 56 20 70 6f 69 6e 74 32 2c 70 |....MOV point2,p| 00000970 6f 69 6e 74 0d 06 0e 1a 4c 44 52 42 20 74 65 6d |oint....LDRB tem| 00000980 70 2c 5b 70 6f 69 6e 74 32 2c 23 31 5d 21 0d 06 |p,[point2,#1]!..| 00000990 18 19 43 4d 50 20 63 6f 6c 6f 75 72 2c 74 65 6d |..CMP colour,tem| 000009a0 70 2c 4c 53 52 23 32 0d 06 22 11 4d 4f 56 4e 45 |p,LSR#2..".MOVNE| 000009b0 20 70 63 2c 6c 69 6e 6b 0d 06 2c 1b 4c 44 52 42 | pc,link..,.LDRB| 000009c0 20 74 65 6d 70 2c 5b 70 6f 69 6e 74 32 2c 23 2d | temp,[point2,#-| 000009d0 32 5d 21 0d 06 36 19 43 4d 50 20 63 6f 6c 6f 75 |2]!..6.CMP colou| 000009e0 72 2c 74 65 6d 70 2c 4c 53 52 23 32 0d 06 40 11 |r,temp,LSR#2..@.| 000009f0 4d 4f 56 4e 45 20 70 63 2c 6c 69 6e 6b 0d 06 4a |MOVNE pc,link..J| 00000a00 1c 4c 44 52 42 20 74 65 6d 70 2c 5b 70 6f 69 6e |.LDRB temp,[poin| 00000a10 74 32 2c 23 33 32 31 5d 21 0d 06 54 19 43 4d 50 |t2,#321]!..T.CMP| 00000a20 20 63 6f 6c 6f 75 72 2c 74 65 6d 70 2c 4c 53 52 | colour,temp,LSR| 00000a30 23 32 0d 06 5e 11 4d 4f 56 4e 45 20 70 63 2c 6c |#2..^.MOVNE pc,l| 00000a40 69 6e 6b 0d 06 68 1d 4c 44 52 42 20 74 65 6d 70 |ink..h.LDRB temp| 00000a50 2c 5b 70 6f 69 6e 74 32 2c 23 2d 36 34 30 5d 21 |,[point2,#-640]!| 00000a60 0d 06 72 19 43 4d 50 20 63 6f 6c 6f 75 72 2c 74 |..r.CMP colour,t| 00000a70 65 6d 70 2c 4c 53 52 23 32 0d 06 7c 0f 4d 4f 56 |emp,LSR#2..|.MOV| 00000a80 20 70 63 2c 6c 69 6e 6b 0d 06 86 0b 5d ed 70 61 | pc,link....].pa| 00000a90 73 73 25 0d 06 90 05 e1 0d ff |ss%.......| 00000a9a