Home » Archimedes archive » Acorn User » AU 1997-11 B.adf » Regulars » StarInfo/spooky/Simmons/!Wind/!RunImage

StarInfo/spooky/Simmons/!Wind/!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 » Archimedes archive » Acorn User » AU 1997-11 B.adf » Regulars
Filename: StarInfo/spooky/Simmons/!Wind/!RunImage
Read OK:
File size: 01DE bytes
Load address: 0000
Exec address: 0000
File contents
   10DIM b% 256
   20SYS "Wimp_Initialise",200,&4B534154,"Wind" TO ,task%
   30quit%=FALSE
   40
   50REPEAT
   60 PROCwind
   70 IF RND(3)=1 PROCowl
   80 IF quit%=FALSE SYS "Wimp_Poll",0,b% TO r%:PROCcheckquit
   90UNTIL quit%
  100END
  110
  120DEF PROCwind
  130 OSCLI "SPlay_Wind"
  140 PROCwait(300)
  150ENDPROC
  160
  170DEF PROCowl
  180 OSCLI "SPlay_Owl"
  190 PROCwait(100)
  200ENDPROC
  210
  220DEF PROCwait(n%)
  230 TIME=0
  240 REPEAT
  250  SYS "Wimp_Poll",0,b% TO r%
  260 UNTIL TIME>=n% OR ((r%=17 OR r%=18) AND b%!16=0)
  270 PROCcheckquit
  280ENDPROC
  290
  300DEF PROCcheckquit
  310 IF (r%=17 OR r%=18) AND b%!16=0 quit%=TRUE
  320ENDPROC

� b% 256
6ș "Wimp_Initialise",200,&4B534154,"Wind" � ,task%
quit%=�
(
2�
<
 �wind
F � �(3)=1 �owl
P2 � quit%=� ș "Wimp_Poll",0,b% � r%:�checkquit
Z� quit%
d�
n
x� �wind
� � "SPlay_Wind"
� �wait(300)
��
�
�
� �owl
� � "SPlay_Owl"
� �wait(100)
��
�
�� �wait(n%)
� �=0
� �
�  ș "Wimp_Poll",0,b% � r%
* � �>=n% � ((r%=17 � r%=18) � b%!16=0)
 �checkquit
�
"
,� �checkquit
6( � (r%=17 � r%=18) � b%!16=0 quit%=�
@�
�
00000000  0d 00 0a 0c de 20 62 25  20 32 35 36 0d 00 14 36  |..... b% 256...6|
00000010  c8 99 20 22 57 69 6d 70  5f 49 6e 69 74 69 61 6c  |.. "Wimp_Initial|
00000020  69 73 65 22 2c 32 30 30  2c 26 34 42 35 33 34 31  |ise",200,&4B5341|
00000030  35 34 2c 22 57 69 6e 64  22 20 b8 20 2c 74 61 73  |54,"Wind" . ,tas|
00000040  6b 25 0d 00 1e 0b 71 75  69 74 25 3d a3 0d 00 28  |k%....quit%=...(|
00000050  04 0d 00 32 05 f5 0d 00  3c 0a 20 f2 77 69 6e 64  |...2....<. .wind|
00000060  0d 00 46 12 20 e7 20 b3  28 33 29 3d 31 20 f2 6f  |..F. . .(3)=1 .o|
00000070  77 6c 0d 00 50 32 20 e7  20 71 75 69 74 25 3d a3  |wl..P2 . quit%=.|
00000080  20 c8 99 20 22 57 69 6d  70 5f 50 6f 6c 6c 22 2c  | .. "Wimp_Poll",|
00000090  30 2c 62 25 20 b8 20 72  25 3a f2 63 68 65 63 6b  |0,b% . r%:.check|
000000a0  71 75 69 74 0d 00 5a 0b  fd 20 71 75 69 74 25 0d  |quit..Z.. quit%.|
000000b0  00 64 05 e0 0d 00 6e 04  0d 00 78 0b dd 20 f2 77  |.d....n...x.. .w|
000000c0  69 6e 64 0d 00 82 13 20  ff 20 22 53 50 6c 61 79  |ind.... . "SPlay|
000000d0  5f 57 69 6e 64 22 0d 00  8c 0f 20 f2 77 61 69 74  |_Wind".... .wait|
000000e0  28 33 30 30 29 0d 00 96  05 e1 0d 00 a0 04 0d 00  |(300)...........|
000000f0  aa 0a dd 20 f2 6f 77 6c  0d 00 b4 12 20 ff 20 22  |... .owl.... . "|
00000100  53 50 6c 61 79 5f 4f 77  6c 22 0d 00 be 0f 20 f2  |SPlay_Owl".... .|
00000110  77 61 69 74 28 31 30 30  29 0d 00 c8 05 e1 0d 00  |wait(100).......|
00000120  d2 04 0d 00 dc 0f dd 20  f2 77 61 69 74 28 6e 25  |....... .wait(n%|
00000130  29 0d 00 e6 08 20 d1 3d  30 0d 00 f0 06 20 f5 0d  |).... .=0.... ..|
00000140  00 fa 1e 20 20 c8 99 20  22 57 69 6d 70 5f 50 6f  |...  .. "Wimp_Po|
00000150  6c 6c 22 2c 30 2c 62 25  20 b8 20 72 25 0d 01 04  |ll",0,b% . r%...|
00000160  2a 20 fd 20 91 3e 3d 6e  25 20 84 20 28 28 72 25  |* . .>=n% . ((r%|
00000170  3d 31 37 20 84 20 72 25  3d 31 38 29 20 80 20 62  |=17 . r%=18) . b|
00000180  25 21 31 36 3d 30 29 0d  01 0e 0f 20 f2 63 68 65  |%!16=0).... .che|
00000190  63 6b 71 75 69 74 0d 01  18 05 e1 0d 01 22 04 0d  |ckquit......."..|
000001a0  01 2c 10 dd 20 f2 63 68  65 63 6b 71 75 69 74 0d  |.,.. .checkquit.|
000001b0  01 36 28 20 e7 20 28 72  25 3d 31 37 20 84 20 72  |.6( . (r%=17 . r|
000001c0  25 3d 31 38 29 20 80 20  62 25 21 31 36 3d 30 20  |%=18) . b%!16=0 |
000001d0  71 75 69 74 25 3d b9 0d  01 40 05 e1 0d ff        |quit%=...@....|
000001de