Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403_2.adf » Disk2Mar94 » !AWMar94/Goodies/yass/!Yass2/Savers/Slider
!AWMar94/Goodies/yass/!Yass2/Savers/Slider
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 » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403_2.adf » Disk2Mar94 |
Filename: | !AWMar94/Goodies/yass/!Yass2/Savers/Slider |
Read OK: | ✔ |
File size: | 06B1 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM 20REM Yass 2 Screen Saver Module : Slider 30REM 31REM LEN copyright 1993, Ian Palmer 32REM 40 50DEFFNslider_start 60slider_x%=max_x%-(max_x% DIV 8):slider_y%=0 70slider_state%=max_y% DIV 16:slider_dir%=2:slider_mx%=max_x% DIV 8:slider_my%=max_y% DIV 8:slider_ox%=slider_x%:slider_oy%=slider_y%:slider_first%=TRUE 80=1 90 100DEFFNslider_poll 110LOCAL X%,Y% 120PROCset_colour(0,135) 130IF slider_first% THEN 140 PROCset_colour(0,7) 150 FOR X%=0 TO max_x% STEP slider_mx%:MOVE X%,0:DRAW X%,max_y%:NEXT 151 FOR Y%=0 TO max_y% STEP slider_my%:MOVE 0,Y%:DRAW max_x%,Y%:NEXT 152 slider_first%=FALSE 153ENDIF 160CASE slider_dir% OF 170WHEN 1: RECTANGLE FILL slider_x%,slider_y%,slider_mx%-1,slider_my%-1 TO slider_x%,slider_y%+2:slider_y%+=2 180WHEN 2: RECTANGLE FILL slider_x%,slider_y%,slider_mx%-1,slider_my%-1 TO slider_x%,slider_y%-2:slider_y%-=2 190WHEN 3: RECTANGLE FILL slider_x%,slider_y%,slider_mx%-1,slider_my%-1 TO slider_x%+2,slider_y%:slider_x%+=2 200WHEN 4: RECTANGLE FILL slider_x%,slider_y%,slider_mx%-1,slider_my%-1 TO slider_x%-2,slider_y%:slider_x%-=2 210ENDCASE 220slider_state%-=1 230IF slider_state%=0 THEN 231 X%=((slider_dir%-1)EOR 1)+1 240 REPEAT:slider_dir%=RND(4) 250 slider_x%=slider_ox%:slider_y%=slider_oy% 260 IF slider_dir%=2 slider_state%=max_y% DIV 16:slider_y%+=slider_my%:IF slider_y%>max_y%-slider_my% slider_dir%=0 270 IF slider_dir%=1 slider_state%=max_y% DIV 16:slider_y%-=slider_my%:IF slider_y%<0 THEN slider_dir%=0 280 IF slider_dir%=4 slider_state%=max_x% DIV 16:slider_x%+=slider_mx%:IF slider_x%>max_x%-slider_mx% slider_dir%=0 290 IF slider_dir%=3 slider_state%=max_x% DIV 16:slider_x%-=slider_mx%:IF slider_x%<0 THEN slider_dir%=0 300 UNTIL slider_dir%>0 AND slider_dir%<>X% 310 slider_ox%=slider_x%:slider_oy%=slider_y%:REM TIME=0:REPEAT:UNTIL TIME>=100 320ENDIF 321IF now_going%>12000 THEN =TRUE 330=0 340 350DEFFNslider_stop 360=0 370
� )� Yass 2 Screen Saver Module : Slider � "� � copyright 1993, Ian Palmer � ( 2ݤslider_start <-slider_x%=max_x%-(max_x% � 8):slider_y%=0 F�slider_state%=max_y% � 16:slider_dir%=2:slider_mx%=max_x% � 8:slider_my%=max_y% � 8:slider_ox%=slider_x%:slider_oy%=slider_y%:slider_first%=� P=1 Z dݤslider_poll n� X%,Y% x�set_colour(0,135) �� slider_first% � � �set_colour(0,7) �7 � X%=0 � max_x% � slider_mx%:� X%,0:� X%,max_y%:� �7 � Y%=0 � max_y% � slider_my%:� 0,Y%:� max_x%,Y%:� � slider_first%=� �� �Ȏ slider_dir% � �a� 1: ȓ Ȑ slider_x%,slider_y%,slider_mx%-1,slider_my%-1 � slider_x%,slider_y%+2:slider_y%+=2 �a� 2: ȓ Ȑ slider_x%,slider_y%,slider_mx%-1,slider_my%-1 � slider_x%,slider_y%-2:slider_y%-=2 �a� 3: ȓ Ȑ slider_x%,slider_y%,slider_mx%-1,slider_my%-1 � slider_x%+2,slider_y%:slider_x%+=2 �a� 4: ȓ Ȑ slider_x%,slider_y%,slider_mx%-1,slider_my%-1 � slider_x%-2,slider_y%:slider_x%-=2 �� �slider_state%-=1 �� slider_state%=0 � � X%=((slider_dir%-1)� 1)+1 � �:slider_dir%=�(4) �/ slider_x%=slider_ox%:slider_y%=slider_oy% q � slider_dir%=2 slider_state%=max_y% � 16:slider_y%+=slider_my%:� slider_y%>max_y%-slider_my% slider_dir%=0 c � slider_dir%=1 slider_state%=max_y% � 16:slider_y%-=slider_my%:� slider_y%<0 � slider_dir%=0 q � slider_dir%=4 slider_state%=max_x% � 16:slider_x%+=slider_mx%:� slider_x%>max_x%-slider_mx% slider_dir%=0 "c � slider_dir%=3 slider_state%=max_x% � 16:slider_x%-=slider_mx%:� slider_x%<0 � slider_dir%=0 ,' � slider_dir%>0 � slider_dir%<>X% 6O slider_ox%=slider_x%:slider_oy%=slider_y%:� TIME=0:REPEAT:UNTIL TIME>=100 @� A� now_going%>12000 � =� J=0 T ^ݤslider_stop h=0 r �
00000000 0d 00 0a 06 f4 20 0d 00 14 29 f4 20 59 61 73 73 |..... ...). Yass| 00000010 20 32 20 53 63 72 65 65 6e 20 53 61 76 65 72 20 | 2 Screen Saver | 00000020 4d 6f 64 75 6c 65 20 3a 20 53 6c 69 64 65 72 0d |Module : Slider.| 00000030 00 1e 05 f4 0d 00 1f 22 f4 20 a9 20 63 6f 70 79 |.......". . copy| 00000040 72 69 67 68 74 20 31 39 39 33 2c 20 49 61 6e 20 |right 1993, Ian | 00000050 50 61 6c 6d 65 72 0d 00 20 05 f4 0d 00 28 04 0d |Palmer.. ....(..| 00000060 00 32 12 dd a4 73 6c 69 64 65 72 5f 73 74 61 72 |.2...slider_star| 00000070 74 0d 00 3c 2d 73 6c 69 64 65 72 5f 78 25 3d 6d |t..<-slider_x%=m| 00000080 61 78 5f 78 25 2d 28 6d 61 78 5f 78 25 20 81 20 |ax_x%-(max_x% . | 00000090 38 29 3a 73 6c 69 64 65 72 5f 79 25 3d 30 0d 00 |8):slider_y%=0..| 000000a0 46 91 73 6c 69 64 65 72 5f 73 74 61 74 65 25 3d |F.slider_state%=| 000000b0 6d 61 78 5f 79 25 20 81 20 31 36 3a 73 6c 69 64 |max_y% . 16:slid| 000000c0 65 72 5f 64 69 72 25 3d 32 3a 73 6c 69 64 65 72 |er_dir%=2:slider| 000000d0 5f 6d 78 25 3d 6d 61 78 5f 78 25 20 81 20 38 3a |_mx%=max_x% . 8:| 000000e0 73 6c 69 64 65 72 5f 6d 79 25 3d 6d 61 78 5f 79 |slider_my%=max_y| 000000f0 25 20 81 20 38 3a 73 6c 69 64 65 72 5f 6f 78 25 |% . 8:slider_ox%| 00000100 3d 73 6c 69 64 65 72 5f 78 25 3a 73 6c 69 64 65 |=slider_x%:slide| 00000110 72 5f 6f 79 25 3d 73 6c 69 64 65 72 5f 79 25 3a |r_oy%=slider_y%:| 00000120 73 6c 69 64 65 72 5f 66 69 72 73 74 25 3d b9 0d |slider_first%=..| 00000130 00 50 06 3d 31 0d 00 5a 04 0d 00 64 11 dd a4 73 |.P.=1..Z...d...s| 00000140 6c 69 64 65 72 5f 70 6f 6c 6c 0d 00 6e 0b ea 20 |lider_poll..n.. | 00000150 58 25 2c 59 25 0d 00 78 16 f2 73 65 74 5f 63 6f |X%,Y%..x..set_co| 00000160 6c 6f 75 72 28 30 2c 31 33 35 29 0d 00 82 15 e7 |lour(0,135).....| 00000170 20 73 6c 69 64 65 72 5f 66 69 72 73 74 25 20 8c | slider_first% .| 00000180 0d 00 8c 16 20 20 f2 73 65 74 5f 63 6f 6c 6f 75 |.... .set_colou| 00000190 72 28 30 2c 37 29 0d 00 96 37 20 20 e3 20 58 25 |r(0,7)...7 . X%| 000001a0 3d 30 20 b8 20 6d 61 78 5f 78 25 20 88 20 73 6c |=0 . max_x% . sl| 000001b0 69 64 65 72 5f 6d 78 25 3a ec 20 58 25 2c 30 3a |ider_mx%:. X%,0:| 000001c0 df 20 58 25 2c 6d 61 78 5f 79 25 3a ed 0d 00 97 |. X%,max_y%:....| 000001d0 37 20 20 e3 20 59 25 3d 30 20 b8 20 6d 61 78 5f |7 . Y%=0 . max_| 000001e0 79 25 20 88 20 73 6c 69 64 65 72 5f 6d 79 25 3a |y% . slider_my%:| 000001f0 ec 20 30 2c 59 25 3a df 20 6d 61 78 5f 78 25 2c |. 0,Y%:. max_x%,| 00000200 59 25 3a ed 0d 00 98 15 20 20 73 6c 69 64 65 72 |Y%:..... slider| 00000210 5f 66 69 72 73 74 25 3d a3 0d 00 99 05 cd 0d 00 |_first%=........| 00000220 a0 14 c8 8e 20 73 6c 69 64 65 72 5f 64 69 72 25 |.... slider_dir%| 00000230 20 ca 0d 00 aa 61 c9 20 31 3a 20 c8 93 20 c8 90 | ....a. 1: .. ..| 00000240 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c 69 64 65 | slider_x%,slide| 00000250 72 5f 79 25 2c 73 6c 69 64 65 72 5f 6d 78 25 2d |r_y%,slider_mx%-| 00000260 31 2c 73 6c 69 64 65 72 5f 6d 79 25 2d 31 20 b8 |1,slider_my%-1 .| 00000270 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c 69 64 65 | slider_x%,slide| 00000280 72 5f 79 25 2b 32 3a 73 6c 69 64 65 72 5f 79 25 |r_y%+2:slider_y%| 00000290 2b 3d 32 0d 00 b4 61 c9 20 32 3a 20 c8 93 20 c8 |+=2...a. 2: .. .| 000002a0 90 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c 69 64 |. slider_x%,slid| 000002b0 65 72 5f 79 25 2c 73 6c 69 64 65 72 5f 6d 78 25 |er_y%,slider_mx%| 000002c0 2d 31 2c 73 6c 69 64 65 72 5f 6d 79 25 2d 31 20 |-1,slider_my%-1 | 000002d0 b8 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c 69 64 |. slider_x%,slid| 000002e0 65 72 5f 79 25 2d 32 3a 73 6c 69 64 65 72 5f 79 |er_y%-2:slider_y| 000002f0 25 2d 3d 32 0d 00 be 61 c9 20 33 3a 20 c8 93 20 |%-=2...a. 3: .. | 00000300 c8 90 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c 69 |.. slider_x%,sli| 00000310 64 65 72 5f 79 25 2c 73 6c 69 64 65 72 5f 6d 78 |der_y%,slider_mx| 00000320 25 2d 31 2c 73 6c 69 64 65 72 5f 6d 79 25 2d 31 |%-1,slider_my%-1| 00000330 20 b8 20 73 6c 69 64 65 72 5f 78 25 2b 32 2c 73 | . slider_x%+2,s| 00000340 6c 69 64 65 72 5f 79 25 3a 73 6c 69 64 65 72 5f |lider_y%:slider_| 00000350 78 25 2b 3d 32 0d 00 c8 61 c9 20 34 3a 20 c8 93 |x%+=2...a. 4: ..| 00000360 20 c8 90 20 73 6c 69 64 65 72 5f 78 25 2c 73 6c | .. slider_x%,sl| 00000370 69 64 65 72 5f 79 25 2c 73 6c 69 64 65 72 5f 6d |ider_y%,slider_m| 00000380 78 25 2d 31 2c 73 6c 69 64 65 72 5f 6d 79 25 2d |x%-1,slider_my%-| 00000390 31 20 b8 20 73 6c 69 64 65 72 5f 78 25 2d 32 2c |1 . slider_x%-2,| 000003a0 73 6c 69 64 65 72 5f 79 25 3a 73 6c 69 64 65 72 |slider_y%:slider| 000003b0 5f 78 25 2d 3d 32 0d 00 d2 05 cb 0d 00 dc 14 73 |_x%-=2.........s| 000003c0 6c 69 64 65 72 5f 73 74 61 74 65 25 2d 3d 31 0d |lider_state%-=1.| 000003d0 00 e6 17 e7 20 73 6c 69 64 65 72 5f 73 74 61 74 |.... slider_stat| 000003e0 65 25 3d 30 20 8c 0d 00 e7 1f 20 20 58 25 3d 28 |e%=0 ..... X%=(| 000003f0 28 73 6c 69 64 65 72 5f 64 69 72 25 2d 31 29 82 |(slider_dir%-1).| 00000400 20 31 29 2b 31 0d 00 f0 18 20 20 f5 3a 73 6c 69 | 1)+1.... .:sli| 00000410 64 65 72 5f 64 69 72 25 3d b3 28 34 29 0d 00 fa |der_dir%=.(4)...| 00000420 2f 20 20 73 6c 69 64 65 72 5f 78 25 3d 73 6c 69 |/ slider_x%=sli| 00000430 64 65 72 5f 6f 78 25 3a 73 6c 69 64 65 72 5f 79 |der_ox%:slider_y| 00000440 25 3d 73 6c 69 64 65 72 5f 6f 79 25 0d 01 04 71 |%=slider_oy%...q| 00000450 20 20 e7 20 73 6c 69 64 65 72 5f 64 69 72 25 3d | . slider_dir%=| 00000460 32 20 73 6c 69 64 65 72 5f 73 74 61 74 65 25 3d |2 slider_state%=| 00000470 6d 61 78 5f 79 25 20 81 20 31 36 3a 73 6c 69 64 |max_y% . 16:slid| 00000480 65 72 5f 79 25 2b 3d 73 6c 69 64 65 72 5f 6d 79 |er_y%+=slider_my| 00000490 25 3a e7 20 73 6c 69 64 65 72 5f 79 25 3e 6d 61 |%:. slider_y%>ma| 000004a0 78 5f 79 25 2d 73 6c 69 64 65 72 5f 6d 79 25 20 |x_y%-slider_my% | 000004b0 73 6c 69 64 65 72 5f 64 69 72 25 3d 30 0d 01 0e |slider_dir%=0...| 000004c0 63 20 20 e7 20 73 6c 69 64 65 72 5f 64 69 72 25 |c . slider_dir%| 000004d0 3d 31 20 73 6c 69 64 65 72 5f 73 74 61 74 65 25 |=1 slider_state%| 000004e0 3d 6d 61 78 5f 79 25 20 81 20 31 36 3a 73 6c 69 |=max_y% . 16:sli| 000004f0 64 65 72 5f 79 25 2d 3d 73 6c 69 64 65 72 5f 6d |der_y%-=slider_m| 00000500 79 25 3a e7 20 73 6c 69 64 65 72 5f 79 25 3c 30 |y%:. slider_y%<0| 00000510 20 8c 20 73 6c 69 64 65 72 5f 64 69 72 25 3d 30 | . slider_dir%=0| 00000520 0d 01 18 71 20 20 e7 20 73 6c 69 64 65 72 5f 64 |...q . slider_d| 00000530 69 72 25 3d 34 20 73 6c 69 64 65 72 5f 73 74 61 |ir%=4 slider_sta| 00000540 74 65 25 3d 6d 61 78 5f 78 25 20 81 20 31 36 3a |te%=max_x% . 16:| 00000550 73 6c 69 64 65 72 5f 78 25 2b 3d 73 6c 69 64 65 |slider_x%+=slide| 00000560 72 5f 6d 78 25 3a e7 20 73 6c 69 64 65 72 5f 78 |r_mx%:. slider_x| 00000570 25 3e 6d 61 78 5f 78 25 2d 73 6c 69 64 65 72 5f |%>max_x%-slider_| 00000580 6d 78 25 20 73 6c 69 64 65 72 5f 64 69 72 25 3d |mx% slider_dir%=| 00000590 30 0d 01 22 63 20 20 e7 20 73 6c 69 64 65 72 5f |0.."c . slider_| 000005a0 64 69 72 25 3d 33 20 73 6c 69 64 65 72 5f 73 74 |dir%=3 slider_st| 000005b0 61 74 65 25 3d 6d 61 78 5f 78 25 20 81 20 31 36 |ate%=max_x% . 16| 000005c0 3a 73 6c 69 64 65 72 5f 78 25 2d 3d 73 6c 69 64 |:slider_x%-=slid| 000005d0 65 72 5f 6d 78 25 3a e7 20 73 6c 69 64 65 72 5f |er_mx%:. slider_| 000005e0 78 25 3c 30 20 8c 20 73 6c 69 64 65 72 5f 64 69 |x%<0 . slider_di| 000005f0 72 25 3d 30 0d 01 2c 27 20 20 fd 20 73 6c 69 64 |r%=0..,' . slid| 00000600 65 72 5f 64 69 72 25 3e 30 20 80 20 73 6c 69 64 |er_dir%>0 . slid| 00000610 65 72 5f 64 69 72 25 3c 3e 58 25 0d 01 36 4f 20 |er_dir%<>X%..6O | 00000620 20 73 6c 69 64 65 72 5f 6f 78 25 3d 73 6c 69 64 | slider_ox%=slid| 00000630 65 72 5f 78 25 3a 73 6c 69 64 65 72 5f 6f 79 25 |er_x%:slider_oy%| 00000640 3d 73 6c 69 64 65 72 5f 79 25 3a f4 20 54 49 4d |=slider_y%:. TIM| 00000650 45 3d 30 3a 52 45 50 45 41 54 3a 55 4e 54 49 4c |E=0:REPEAT:UNTIL| 00000660 20 54 49 4d 45 3e 3d 31 30 30 0d 01 40 05 cd 0d | TIME>=100..@...| 00000670 01 41 1b e7 20 6e 6f 77 5f 67 6f 69 6e 67 25 3e |.A.. now_going%>| 00000680 31 32 30 30 30 20 8c 20 3d b9 0d 01 4a 06 3d 30 |12000 . =...J.=0| 00000690 0d 01 54 04 0d 01 5e 11 dd a4 73 6c 69 64 65 72 |..T...^...slider| 000006a0 5f 73 74 6f 70 0d 01 68 06 3d 30 0d 01 72 04 0d |_stop..h.=0..r..| 000006b0 ff |.| 000006b1