Home » Personal collection » Acorn DFS disks » dfs_box03_disk01b_utilities_disk.scp » W.BPART2

W.BPART2

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 DFS disks » dfs_box03_disk01b_utilities_disk.scp
Filename: W.BPART2
Read OK:
File size: 02BF bytes
Load address: FF1B00
Exec address: FF8023
Duplicates

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

File contents
   10 REM BIORHYTHM/Part 2
   30 IF Z%<>1 THEN 900
   40 ON ERROR GOTO50
   60 MODE5:ON ERROR GOTO800
  100 CLG:VDU5;19,3,2;0;19,2,6;0;:D=D%:I=I%
  105 VDU23,254,24,60,90,153,24,24,24,24
  106 VDU23,255,32,32,32,252,32,32,32,0
  110 MOVEE%,X%-Y%:DRAWE%,X%+Y%:MOVEE%,X%:DRAWF%,X%
  120 FOR K=1 TO 20:MOVEE%+K*I%,X%:DRAWE%+K*I%,X%-20:NEXT
  130 MOVEE%-50,X%+Y%/2:PRINTCHR$(255):MOVEE%-50,X%-Y%/2:PRINT"-"
  140 GCOL0,1:MOVEE%+10*I%,X%:DRAWE%+10*I%,X%-20
  145 MOVE E%+10*I%-20,X%-40:PRINTCHR$(254)
  150 PROCBDRAW(2,A%):PRINT"P"
  160 PROCBDRAW(3,B%):PRINT"E"
  170 PROCBDRAW(1,C%):PRINT"I"
  180 GOTO180
  200 DEFPROCBDRAW(C,CY)
  210 GCOL0,C:MOVEE%,Y%*SIN(2*PI/CY*D)+X%:FOR X=E% TO F% STEP 8:DRAWX,Y%*SIN(2*PI/CY*(D+(X-E%)/I))+X%:NEXT:ENDPROC
  800 MODE7:IF ERR<>17 THEN PRINT'"ERROR ";ERR;" IN LINE ";ERL:END
  900 CHAIN "MESSAGE"
 8000 DEFPROCSPACE
 8010 PRINTTAB(3,22);"Press the SPACE BAR to continue";
 8020 REPEAT UNTIL GET$=" "
 8099 ENDPROC

 � BIORHYTHM/Part 2
 � Z%<>1 � �tDC
( � � �Tr@
< �5:� � �T`C
d& �:�5;19,3,2;0;19,2,6;0;:D=D%:I=I%
i% �23,254,24,60,90,153,24,24,24,24
j$ �23,255,32,32,32,252,32,32,32,0
n& �E%,X%-Y%:�E%,X%+Y%:�E%,X%:�F%,X%
x, � K=1 � 20:�E%+K*I%,X%:�E%+K*I%,X%-20:�
�/ �E%-50,X%+Y%/2:�(255):�E%-50,X%-Y%/2:�"-"
�& �0,1:�E%+10*I%,X%:�E%+10*I%,X%-20
�  � E%+10*I%-20,X%-40:�(254)
� �BDRAW(2,A%):�"P"
� �BDRAW(3,B%):�"E"
� �BDRAW(1,C%):�"I"
�
 �tt@
� ��BDRAW(C,CY)
�S �0,C:�E%,Y%*�(2*�/CY*D)+X%:� X=E% � F% � 8:�X,Y%*�(2*�/CY*(D+(X-E%)/I))+X%:�:�
 . �7:� �<>17 � �'"ERROR ";�;" IN LINE ";�:�
� � "MESSAGE"
@ ��SPACE
J/ �3,22);"Press the SPACE BAR to continue";
T � � �=" "
� �
�
00000000  0d 00 0a 17 20 f4 20 42  49 4f 52 48 59 54 48 4d  |.... . BIORHYTHM|
00000010  2f 50 61 72 74 20 32 0d  00 1e 13 20 e7 20 5a 25  |/Part 2.... . Z%|
00000020  3c 3e 31 20 8c 20 8d 74  44 43 0d 00 28 0e 20 ee  |<>1 . .tDC..(. .|
00000030  20 85 20 e5 8d 54 72 40  0d 00 3c 11 20 eb 35 3a  | . ..Tr@..<. .5:|
00000040  ee 20 85 20 e5 8d 54 60  43 0d 00 64 26 20 da 3a  |. . ..T`C..d& .:|
00000050  ef 35 3b 31 39 2c 33 2c  32 3b 30 3b 31 39 2c 32  |.5;19,3,2;0;19,2|
00000060  2c 36 3b 30 3b 3a 44 3d  44 25 3a 49 3d 49 25 0d  |,6;0;:D=D%:I=I%.|
00000070  00 69 25 20 ef 32 33 2c  32 35 34 2c 32 34 2c 36  |.i% .23,254,24,6|
00000080  30 2c 39 30 2c 31 35 33  2c 32 34 2c 32 34 2c 32  |0,90,153,24,24,2|
00000090  34 2c 32 34 0d 00 6a 24  20 ef 32 33 2c 32 35 35  |4,24..j$ .23,255|
000000a0  2c 33 32 2c 33 32 2c 33  32 2c 32 35 32 2c 33 32  |,32,32,32,252,32|
000000b0  2c 33 32 2c 33 32 2c 30  0d 00 6e 26 20 ec 45 25  |,32,32,0..n& .E%|
000000c0  2c 58 25 2d 59 25 3a df  45 25 2c 58 25 2b 59 25  |,X%-Y%:.E%,X%+Y%|
000000d0  3a ec 45 25 2c 58 25 3a  df 46 25 2c 58 25 0d 00  |:.E%,X%:.F%,X%..|
000000e0  78 2c 20 e3 20 4b 3d 31  20 b8 20 32 30 3a ec 45  |x, . K=1 . 20:.E|
000000f0  25 2b 4b 2a 49 25 2c 58  25 3a df 45 25 2b 4b 2a  |%+K*I%,X%:.E%+K*|
00000100  49 25 2c 58 25 2d 32 30  3a ed 0d 00 82 2f 20 ec  |I%,X%-20:..../ .|
00000110  45 25 2d 35 30 2c 58 25  2b 59 25 2f 32 3a f1 bd  |E%-50,X%+Y%/2:..|
00000120  28 32 35 35 29 3a ec 45  25 2d 35 30 2c 58 25 2d  |(255):.E%-50,X%-|
00000130  59 25 2f 32 3a f1 22 2d  22 0d 00 8c 26 20 e6 30  |Y%/2:."-"...& .0|
00000140  2c 31 3a ec 45 25 2b 31  30 2a 49 25 2c 58 25 3a  |,1:.E%+10*I%,X%:|
00000150  df 45 25 2b 31 30 2a 49  25 2c 58 25 2d 32 30 0d  |.E%+10*I%,X%-20.|
00000160  00 91 20 20 ec 20 45 25  2b 31 30 2a 49 25 2d 32  |..  . E%+10*I%-2|
00000170  30 2c 58 25 2d 34 30 3a  f1 bd 28 32 35 34 29 0d  |0,X%-40:..(254).|
00000180  00 96 16 20 f2 42 44 52  41 57 28 32 2c 41 25 29  |... .BDRAW(2,A%)|
00000190  3a f1 22 50 22 0d 00 a0  16 20 f2 42 44 52 41 57  |:."P".... .BDRAW|
000001a0  28 33 2c 42 25 29 3a f1  22 45 22 0d 00 aa 16 20  |(3,B%):."E".... |
000001b0  f2 42 44 52 41 57 28 31  2c 43 25 29 3a f1 22 49  |.BDRAW(1,C%):."I|
000001c0  22 0d 00 b4 0a 20 e5 8d  74 74 40 0d 00 c8 12 20  |".... ..tt@.... |
000001d0  dd f2 42 44 52 41 57 28  43 2c 43 59 29 0d 00 d2  |..BDRAW(C,CY)...|
000001e0  53 20 e6 30 2c 43 3a ec  45 25 2c 59 25 2a b5 28  |S .0,C:.E%,Y%*.(|
000001f0  32 2a af 2f 43 59 2a 44  29 2b 58 25 3a e3 20 58  |2*./CY*D)+X%:. X|
00000200  3d 45 25 20 b8 20 46 25  20 88 20 38 3a df 58 2c  |=E% . F% . 8:.X,|
00000210  59 25 2a b5 28 32 2a af  2f 43 59 2a 28 44 2b 28  |Y%*.(2*./CY*(D+(|
00000220  58 2d 45 25 29 2f 49 29  29 2b 58 25 3a ed 3a e1  |X-E%)/I))+X%:.:.|
00000230  0d 03 20 2e 20 eb 37 3a  e7 20 9f 3c 3e 31 37 20  |.. . .7:. .<>17 |
00000240  8c 20 f1 27 22 45 52 52  4f 52 20 22 3b 9f 3b 22  |. .'"ERROR ";.;"|
00000250  20 49 4e 20 4c 49 4e 45  20 22 3b 9e 3a e0 0d 03  | IN LINE ";.:...|
00000260  84 10 20 d7 20 22 4d 45  53 53 41 47 45 22 0d 1f  |.. . "MESSAGE"..|
00000270  40 0c 20 dd f2 53 50 41  43 45 0d 1f 4a 2f 20 f1  |@. ..SPACE..J/ .|
00000280  8a 33 2c 32 32 29 3b 22  50 72 65 73 73 20 74 68  |.3,22);"Press th|
00000290  65 20 53 50 41 43 45 20  42 41 52 20 74 6f 20 63  |e SPACE BAR to c|
000002a0  6f 6e 74 69 6e 75 65 22  3b 0d 1f 54 0e 20 f5 20  |ontinue";..T. . |
000002b0  fd 20 be 3d 22 20 22 0d  1f a3 06 20 e1 0d ff     |. .=" ".... ...|
000002bf
W.BPART2.m0
W.BPART2.m1
W.BPART2.m2
W.BPART2.m4
W.BPART2.m5