Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_IJJOBS21.adf » Icon

Icon

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_IJJOBS21.adf
Filename: Icon
Read OK:
File size: 05A6 bytes
Load address: FFFFFB47
Exec address: 8694DD6C
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
   10 REM Bacterial Growth Demonstration
   20 REM by Dr. Edwards, Warwick University.
   30 REM Use lyphacite and phagocite programmes to demonstrate
   40 REM how the body fights infection!
   50 :
   60 DIM taskid%4:$taskid%="TASK":SYS "Wimp_Initialise",200,!taskid%," " TO version%,handle%
   70 Wimp    = (1<<18) + (3<<6):CreateW = Wimp+1:OpenW   = Wimp+5:CloseW  = Wimp+6:Poll%   = Wimp+7:RedrawW = Wimp+8:UpdateW = Wimp+9
   80 GetR%   = Wimp+10:GetW    = Wimp+11:GetP    = Wimp+15:Drag    = Wimp+16:CrMenu  = Wimp+20:DcMenu  = Wimp+21
   90 DIM q% &300,buffer% &200
  100 q%!4=handle%:!q%=20:q%!12=0:q%!16=&400C3:SYS "Wimp_SendMessage",17,q%,0
  110 ON ERROR SYS"Wimp_CloseDown":END
  120 REPEAT
  130 SYS Poll%,0,q% TO A%
  140 CASE A% OF
  150 WHEN17,18:PROCmain(q%)
  160 ENDCASE
  170 UNTIL FALSE
  180 DEFPROCmitosis
  190 SYS "Hourglass_On"
  200 ON ERROR LOCAL OSCLI"SHUT":ENDPROC
  210 nam$="":FORn=0TORND(5)+2:nam$=nam$+CHR$(RND(96)+32):NEXT
  220 CASE RND(8) OF
  230 WHEN1:type$="SPRITE"
  240 WHEN2:type$="BASIC"
  250 WHEN3:type$="OBEY"
  260 WHEN4:type$="DRAWFILE"
  270 WHEN5:type$="ABSOLUTE"
  280 WHEN6:type$="DATA"
  290 WHEN7:type$="TEXT"
  300 WHEN8:type$="BBC FONT"
  310 ENDCASE
  320 OSCLI"SA. <Obey$Dir>."+nam$+" "+STR$~PAGE+" "+STR$~TOP
  330 OSCLI"SETT. <Obey$dir>."+nam$+" "+type$
  340 OSCLI"ACC. <Obey$Dir>.!Boot WR"
  350 x=OPENUP"<Obey$dir>.!boot":PTR#x=EXT#x:BPUT #x,CHR$10+"wimpslot -min 16k -max 16k"+CHR$10+"BASIC -quit <Obey$Dir>."+nam$:CLOSE#x
  360 SYS "Hourglass_Off"
  370 ENDPROC
  380 DEFPROCmain(q%):LOCAL sz%,act%:ON ERROR LOCAL ENDPROC
  390 act%=q%!16
  400 CASE act% OF
  410 WHEN 0:IF A%=18 THEN SYS"Wimp_CloseDown":END
  420 WHEN &400C3:IF (A%=17) AND (q%!4<>handle%) THEN PROCmitosis
  430 ENDCASE
  440 ENDPROC

% � Bacterial Growth Demonstration
* � by Dr. Edwards, Warwick University.
< � Use lyphacite and phagocite programmes to demonstrate
(% � how the body fights infection!
2 :
<X � taskid%4:$taskid%="TASK":ș "Wimp_Initialise",200,!taskid%," " � version%,handle%
F� Wimp    = (1<<18) + (3<<6):CreateW = Wimp+1:OpenW   = Wimp+5:CloseW  = Wimp+6:Poll%   = Wimp+7:RedrawW = Wimp+8:UpdateW = Wimp+9
Pp GetR%   = Wimp+10:GetW    = Wimp+11:GetP    = Wimp+15:Drag    = Wimp+16:CrMenu  = Wimp+20:DcMenu  = Wimp+21
Z � q% &300,buffer% &200
dK q%!4=handle%:!q%=20:q%!12=0:q%!16=&400C3:ș "Wimp_SendMessage",17,q%,0
n � � ș"Wimp_CloseDown":�
x �
� ș Poll%,0,q% � A%
� Ȏ A% �
� �17,18:�main(q%)
� �
� � �
� ��mitosis
� ș "Hourglass_On"
� � � � �"SHUT":�
�0 nam$="":�n=0��(5)+2:nam$=nam$+�(�(96)+32):�
� Ȏ �(8) �
� �1:type$="SPRITE"
� �2:type$="BASIC"
� �3:type$="OBEY"
 �4:type$="DRAWFILE"
 �5:type$="ABSOLUTE"
 �6:type$="DATA"
" �7:type$="TEXT"
, �8:type$="BBC FONT"
6 �
@- �"SA. <Obey$Dir>."+nam$+" "+�~�+" "+�~�P
J( �"SETT. <Obey$dir>."+nam$+" "+type$
T  �"ACC. <Obey$Dir>.!Boot WR"
^o x=�"<Obey$dir>.!boot":�#x=�#x:� #x,�10+"wimpslot -min 16k -max 16k"+�10+"BASIC -quit <Obey$Dir>."+nam$:�#x
h ș "Hourglass_Off"
r �
|" ��main(q%):� sz%,act%:� � � �
� act%=q%!16
� Ȏ act% �
�' � 0:� A%=18 � ș"Wimp_CloseDown":�
�4 � &400C3:� (A%=17) � (q%!4<>handle%) � �mitosis
� �
� �
�
00000000  0d 00 0a 25 20 f4 20 42  61 63 74 65 72 69 61 6c  |...% . Bacterial|
00000010  20 47 72 6f 77 74 68 20  44 65 6d 6f 6e 73 74 72  | Growth Demonstr|
00000020  61 74 69 6f 6e 0d 00 14  2a 20 f4 20 62 79 20 44  |ation...* . by D|
00000030  72 2e 20 45 64 77 61 72  64 73 2c 20 57 61 72 77  |r. Edwards, Warw|
00000040  69 63 6b 20 55 6e 69 76  65 72 73 69 74 79 2e 0d  |ick University..|
00000050  00 1e 3c 20 f4 20 55 73  65 20 6c 79 70 68 61 63  |..< . Use lyphac|
00000060  69 74 65 20 61 6e 64 20  70 68 61 67 6f 63 69 74  |ite and phagocit|
00000070  65 20 70 72 6f 67 72 61  6d 6d 65 73 20 74 6f 20  |e programmes to |
00000080  64 65 6d 6f 6e 73 74 72  61 74 65 0d 00 28 25 20  |demonstrate..(% |
00000090  f4 20 68 6f 77 20 74 68  65 20 62 6f 64 79 20 66  |. how the body f|
000000a0  69 67 68 74 73 20 69 6e  66 65 63 74 69 6f 6e 21  |ights infection!|
000000b0  0d 00 32 06 20 3a 0d 00  3c 58 20 de 20 74 61 73  |..2. :..<X . tas|
000000c0  6b 69 64 25 34 3a 24 74  61 73 6b 69 64 25 3d 22  |kid%4:$taskid%="|
000000d0  54 41 53 4b 22 3a c8 99  20 22 57 69 6d 70 5f 49  |TASK":.. "Wimp_I|
000000e0  6e 69 74 69 61 6c 69 73  65 22 2c 32 30 30 2c 21  |nitialise",200,!|
000000f0  74 61 73 6b 69 64 25 2c  22 20 22 20 b8 20 76 65  |taskid%," " . ve|
00000100  72 73 69 6f 6e 25 2c 68  61 6e 64 6c 65 25 0d 00  |rsion%,handle%..|
00000110  46 85 20 57 69 6d 70 20  20 20 20 3d 20 28 31 3c  |F. Wimp    = (1<|
00000120  3c 31 38 29 20 2b 20 28  33 3c 3c 36 29 3a 43 72  |<18) + (3<<6):Cr|
00000130  65 61 74 65 57 20 3d 20  57 69 6d 70 2b 31 3a 4f  |eateW = Wimp+1:O|
00000140  70 65 6e 57 20 20 20 3d  20 57 69 6d 70 2b 35 3a  |penW   = Wimp+5:|
00000150  43 6c 6f 73 65 57 20 20  3d 20 57 69 6d 70 2b 36  |CloseW  = Wimp+6|
00000160  3a 50 6f 6c 6c 25 20 20  20 3d 20 57 69 6d 70 2b  |:Poll%   = Wimp+|
00000170  37 3a 52 65 64 72 61 77  57 20 3d 20 57 69 6d 70  |7:RedrawW = Wimp|
00000180  2b 38 3a 55 70 64 61 74  65 57 20 3d 20 57 69 6d  |+8:UpdateW = Wim|
00000190  70 2b 39 0d 00 50 70 20  47 65 74 52 25 20 20 20  |p+9..Pp GetR%   |
000001a0  3d 20 57 69 6d 70 2b 31  30 3a 47 65 74 57 20 20  |= Wimp+10:GetW  |
000001b0  20 20 3d 20 57 69 6d 70  2b 31 31 3a 47 65 74 50  |  = Wimp+11:GetP|
000001c0  20 20 20 20 3d 20 57 69  6d 70 2b 31 35 3a 44 72  |    = Wimp+15:Dr|
000001d0  61 67 20 20 20 20 3d 20  57 69 6d 70 2b 31 36 3a  |ag    = Wimp+16:|
000001e0  43 72 4d 65 6e 75 20 20  3d 20 57 69 6d 70 2b 32  |CrMenu  = Wimp+2|
000001f0  30 3a 44 63 4d 65 6e 75  20 20 3d 20 57 69 6d 70  |0:DcMenu  = Wimp|
00000200  2b 32 31 0d 00 5a 1b 20  de 20 71 25 20 26 33 30  |+21..Z. . q% &30|
00000210  30 2c 62 75 66 66 65 72  25 20 26 32 30 30 0d 00  |0,buffer% &200..|
00000220  64 4b 20 71 25 21 34 3d  68 61 6e 64 6c 65 25 3a  |dK q%!4=handle%:|
00000230  21 71 25 3d 32 30 3a 71  25 21 31 32 3d 30 3a 71  |!q%=20:q%!12=0:q|
00000240  25 21 31 36 3d 26 34 30  30 43 33 3a c8 99 20 22  |%!16=&400C3:.. "|
00000250  57 69 6d 70 5f 53 65 6e  64 4d 65 73 73 61 67 65  |Wimp_SendMessage|
00000260  22 2c 31 37 2c 71 25 2c  30 0d 00 6e 1d 20 ee 20  |",17,q%,0..n. . |
00000270  85 20 c8 99 22 57 69 6d  70 5f 43 6c 6f 73 65 44  |. .."Wimp_CloseD|
00000280  6f 77 6e 22 3a e0 0d 00  78 06 20 f5 0d 00 82 17  |own":...x. .....|
00000290  20 c8 99 20 50 6f 6c 6c  25 2c 30 2c 71 25 20 b8  | .. Poll%,0,q% .|
000002a0  20 41 25 0d 00 8c 0c 20  c8 8e 20 41 25 20 ca 0d  | A%.... .. A% ..|
000002b0  00 96 15 20 c9 31 37 2c  31 38 3a f2 6d 61 69 6e  |... .17,18:.main|
000002c0  28 71 25 29 0d 00 a0 06  20 cb 0d 00 aa 08 20 fd  |(q%).... ..... .|
000002d0  20 a3 0d 00 b4 0e 20 dd  f2 6d 69 74 6f 73 69 73  | ..... ..mitosis|
000002e0  0d 00 be 16 20 c8 99 20  22 48 6f 75 72 67 6c 61  |.... .. "Hourgla|
000002f0  73 73 5f 4f 6e 22 0d 00  c8 14 20 ee 20 85 20 ea  |ss_On".... . . .|
00000300  20 ff 22 53 48 55 54 22  3a e1 0d 00 d2 30 20 6e  | ."SHUT":....0 n|
00000310  61 6d 24 3d 22 22 3a e3  6e 3d 30 b8 b3 28 35 29  |am$="":.n=0..(5)|
00000320  2b 32 3a 6e 61 6d 24 3d  6e 61 6d 24 2b bd 28 b3  |+2:nam$=nam$+.(.|
00000330  28 39 36 29 2b 33 32 29  3a ed 0d 00 dc 0e 20 c8  |(96)+32):..... .|
00000340  8e 20 b3 28 38 29 20 ca  0d 00 e6 16 20 c9 31 3a  |. .(8) ..... .1:|
00000350  74 79 70 65 24 3d 22 53  50 52 49 54 45 22 0d 00  |type$="SPRITE"..|
00000360  f0 15 20 c9 32 3a 74 79  70 65 24 3d 22 42 41 53  |.. .2:type$="BAS|
00000370  49 43 22 0d 00 fa 14 20  c9 33 3a 74 79 70 65 24  |IC".... .3:type$|
00000380  3d 22 4f 42 45 59 22 0d  01 04 18 20 c9 34 3a 74  |="OBEY".... .4:t|
00000390  79 70 65 24 3d 22 44 52  41 57 46 49 4c 45 22 0d  |ype$="DRAWFILE".|
000003a0  01 0e 18 20 c9 35 3a 74  79 70 65 24 3d 22 41 42  |... .5:type$="AB|
000003b0  53 4f 4c 55 54 45 22 0d  01 18 14 20 c9 36 3a 74  |SOLUTE".... .6:t|
000003c0  79 70 65 24 3d 22 44 41  54 41 22 0d 01 22 14 20  |ype$="DATA"..". |
000003d0  c9 37 3a 74 79 70 65 24  3d 22 54 45 58 54 22 0d  |.7:type$="TEXT".|
000003e0  01 2c 18 20 c9 38 3a 74  79 70 65 24 3d 22 42 42  |.,. .8:type$="BB|
000003f0  43 20 46 4f 4e 54 22 0d  01 36 06 20 cb 0d 01 40  |C FONT"..6. ...@|
00000400  2d 20 ff 22 53 41 2e 20  3c 4f 62 65 79 24 44 69  |- ."SA. <Obey$Di|
00000410  72 3e 2e 22 2b 6e 61 6d  24 2b 22 20 22 2b c3 7e  |r>."+nam$+" "+.~|
00000420  90 2b 22 20 22 2b c3 7e  b8 50 0d 01 4a 28 20 ff  |.+" "+.~.P..J( .|
00000430  22 53 45 54 54 2e 20 3c  4f 62 65 79 24 64 69 72  |"SETT. <Obey$dir|
00000440  3e 2e 22 2b 6e 61 6d 24  2b 22 20 22 2b 74 79 70  |>."+nam$+" "+typ|
00000450  65 24 0d 01 54 20 20 ff  22 41 43 43 2e 20 3c 4f  |e$..T  ."ACC. <O|
00000460  62 65 79 24 44 69 72 3e  2e 21 42 6f 6f 74 20 57  |bey$Dir>.!Boot W|
00000470  52 22 0d 01 5e 6f 20 78  3d ad 22 3c 4f 62 65 79  |R"..^o x=."<Obey|
00000480  24 64 69 72 3e 2e 21 62  6f 6f 74 22 3a cf 23 78  |$dir>.!boot":.#x|
00000490  3d a2 23 78 3a d5 20 23  78 2c bd 31 30 2b 22 77  |=.#x:. #x,.10+"w|
000004a0  69 6d 70 73 6c 6f 74 20  2d 6d 69 6e 20 31 36 6b  |impslot -min 16k|
000004b0  20 2d 6d 61 78 20 31 36  6b 22 2b bd 31 30 2b 22  | -max 16k"+.10+"|
000004c0  42 41 53 49 43 20 2d 71  75 69 74 20 3c 4f 62 65  |BASIC -quit <Obe|
000004d0  79 24 44 69 72 3e 2e 22  2b 6e 61 6d 24 3a d9 23  |y$Dir>."+nam$:.#|
000004e0  78 0d 01 68 17 20 c8 99  20 22 48 6f 75 72 67 6c  |x..h. .. "Hourgl|
000004f0  61 73 73 5f 4f 66 66 22  0d 01 72 06 20 e1 0d 01  |ass_Off"..r. ...|
00000500  7c 22 20 dd f2 6d 61 69  6e 28 71 25 29 3a ea 20  ||" ..main(q%):. |
00000510  73 7a 25 2c 61 63 74 25  3a ee 20 85 20 ea 20 e1  |sz%,act%:. . . .|
00000520  0d 01 86 0f 20 61 63 74  25 3d 71 25 21 31 36 0d  |.... act%=q%!16.|
00000530  01 90 0e 20 c8 8e 20 61  63 74 25 20 ca 0d 01 9a  |... .. act% ....|
00000540  27 20 c9 20 30 3a e7 20  41 25 3d 31 38 20 8c 20  |' . 0:. A%=18 . |
00000550  c8 99 22 57 69 6d 70 5f  43 6c 6f 73 65 44 6f 77  |.."Wimp_CloseDow|
00000560  6e 22 3a e0 0d 01 a4 34  20 c9 20 26 34 30 30 43  |n":....4 . &400C|
00000570  33 3a e7 20 28 41 25 3d  31 37 29 20 80 20 28 71  |3:. (A%=17) . (q|
00000580  25 21 34 3c 3e 68 61 6e  64 6c 65 25 29 20 8c 20  |%!4<>handle%) . |
00000590  f2 6d 69 74 6f 73 69 73  0d 01 ae 06 20 cb 0d 01  |.mitosis.... ...|
000005a0  b8 06 20 e1 0d ff                                 |.. ...|
000005a6
Icon.m0
Icon.m1
Icon.m2
Icon.m4
Icon.m5