Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_E00.adf » WELCOME/Clock

WELCOME/Clock

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_E00.adf
Filename: WELCOME/Clock
Read OK:
File size: 0A5B bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10VDU6:*FX220,27
   20ONERRORGOTO120
   30DIMM 255,B 8,s%120:@%=2:o=&FFF1:O%=1:MODE4:PROCO:FORI%=0TO119:s%?I%=100*(1+SINRAD(I%*6)):NEXT:IFTIME<0THENTIME=0
   40GOTO130
   50ONO%GOTO60,100,60
   60MODE4:PROCO:VDU19,0,1;0;19,3,3;0;16,29,500;512;5:MOVE0,400:FORI%=1TO60:DRAW4*(s%?I%-100),4*(s%?(I%+15)-100):NEXT:FORI%=1TO12:MOVESINRAD(I%*30)*400*1.1-32-16*(I%<10),COSRAD(I%*30)*400*1.1+16:PRINT;I%;:X%=SINRAD(I%*30)*400:Y%=COSRAD(I%*30)*400:MOVEX%,Y%:DRAWX%*.9,Y%*.9:NEXT:VDU4:PROCO:PROCE:PROCH:PROCM:PROCS:REPEAT:REPEATUNTILTIMEMOD100=0:PROCS
   70S%=(S%+1)MOD60:PROCS:IFS%=0PROCM:L%=(L%+1)MOD60:PROCM:IFL%MOD12=0PROCH:H%=(H%+1)MOD120:PROCH
   80IFO%=3PRINTTAB(30,5);:PROCP
   90UNTIL0
  100MODE5:VDU19,0,0;0;19,7,2;0;12:MOVE300,400:DRAW980,400:DRAW980,648:DRAW300,648:DRAW300,400:PROCO:PROCE:REPEAT:REPEATUNTILTIMEMOD100=0:S%=(S%+1)MOD60:IFS%=0L%=(L%+1)MOD60:IFL%MOD12=0:H%=(H%+1)MOD120
  110PRINTTAB(6,15);:PROCP:UNTIL0
  120IFERR<>17REPORT:PRINT" at line ";ERL:END
  130MODE4:PRINTTAB(15,1);"M E N U"'''"Choose between...."':PRINTTAB(5)"1 - Analogue Display"''TAB(5)"2 - Digital Display"''TAB(5)"3 - Analogue and Digital Display"''TAB(5)"4 - Set Time":PRINTTAB(0,16)"Press ESCAPE to exit the program":PRINT'"Enter 1-4 and Press RETURN: ";:ONERRORGOTO180
  140REPEAT:REPEATK%=GETAND&EF-32:UNTILK%>=1ANDK%<=4:PRINT;K%;:REPEATY%=GET:UNTILY%=127ORY%=13:VDUY%:UNTILY%=13:ONERRORGOTO120
  150IFK%<4O%=K%:GOTO50
  160MODE4:PROCD("ENTER TIME -",8):INPUTLINE''TAB(14)"HOURS  :"H%'TAB(14)"MINUTES:"L%'TAB(14)"SECONDS:"S%:IFH%<0ORH%>23ORL%<0ORL%>59ORS%<0ORS%>59THENPROCO:PRINT'TAB(12)"INVALID TIME -"'TAB(12)"PLEASE RE-ENTER":N%=INKEY(400):GOTO160
  170TIME=(S%+(L%+(H%*60))*60)*100:GOTO50
  180PROCc:CLEAR:REPEAT:MODE4:CLS:ONERROROFF
  190PROCC("Which do you want to do ?",10):PRINTTAB(10,VPOS+3)"";:PROCn("R"):PRINT"epeat this program":PRINTTAB(10,VPOS+1)"Go to ";:PROCn("N"):PRINT"ext program":PRINTTAB(10,VPOS+1)"Return to main ";:PROCn("M"):PRINT"enu":PRINTTAB(10,VPOS+1)"";:PROCn("E"):PRINT"xit from disc":PRINTTAB(0,VPOS+3)"Choose from ";:PROCn("R"):PRINT"epeat, ";
  200PROCn("N"):PRINT"ext, ";:PROCn("M"):PRINT"enu or ";:PROCn("E"):PRINT"xit ";:A$=GET$:UNTIL(A$="R")OR(A$="N")OR(A$="M")OR(A$="E"):CLS:IFA$="R"THENGOTO20
  210IFA$="N"THENP%=7ELSEIFA$="M"THENP%=1ELSEP%=17
  220*FX4
  230VDU21:*FX220,0
  240*FX15,1
  250*FX201,1
  260CHAIN"BOOT":END
  270DEFPROCn(A$):COLOUR0:COLOUR135:PRINTA$;:COLOUR7:COLOUR128:ENDPROC
  280DEFPROCC(A$,y%)PRINTTAB((38-LENA$)/2,y%)A$;:ENDPROC
  290DEFPROCSMOVE0,0:PLOT6,3.2*(s%?S%-100),3.2*(s%?(S%+15)-100):ENDPROC
  300DEFPROCMMOVE0,0:MOVE1.5*(s%?(L%+59)-100),1.5*(s%?(L%+14)-100):PLOT86,1.5*(s%?(L%+1)-100),1.5*(s%?(L%+16)-100):PLOT6,1.5*(s%?(L%+59)-100),1.5*(s%?(L%+14)-100):PLOT86,3*(s%?L%-100),3*(s%?(L%+15)-100):ENDPROC
  310DEFPROCH G%=H%MOD60:MOVE0,0:MOVEs%?(G%+58)-100,s%?(G%+13)-100:PLOT86,s%?(G%+2)-100,s%?(G%+17)-100:PLOT6,s%?(G%+58)-100,s%?(G%+13)-100:PLOT86,2*(s%?G%-100),2*(s%?(G%+15)-100):ENDPROC
  320DEFPROCPPRINTH%DIV5":";L%DIV10;L%MOD10":";S%DIV10;S%MOD10:ENDPROC
  330DEFPROCOVDU23,1,0;0;0;0;:ENDPROC
  340DEFPROCE T%=TIME:S%=(T%DIV100)MOD60:L%=(T%DIV6000)MOD60:H%=(T%DIV72000)MOD120:ENDPROC
  350DEFPROCD(A$,y%)$M=STRING$(255,CHR$0):M?255=0:C=224:B$="":C$="":FORB%=1TOLENA$:K%=FNC(ASCMID$(A$,B%,1)):B$=B$+CHR$K%:C$=C$+CHR$(K%+1):NEXT:K%=19-LENA$/2:D$=CHR$31+CHR$K%+CHR$y%+B$+CHR$31+CHR$K%+CHR$(y%+1)+C$:PRINTD$;:ENDPROC
  360DEFFNC(C%)IFM?C%THEN=M?C%ELSEIFC>=256STOPELSEM?C%=C:?B=C%:A%=10:X%=B:Y%=BDIV256:CALLo:FORJ%=0TO1:VDU23,C+J%:FORI%=2TO9:VDUB?(J%*4+I%DIV2):NEXT,:C=C+2:=M?C%
  370DEFPROCc:*FX4
  380*FX225,1
  390*FX226,1
  400*FX227,1
  410ENDPROC

�6:*FX220,27
��Dx@
X�M 255,B 8,s%120:@%=2:o=&FFF1:O%=1:�4:�O:�I%=0�119:s%?I%=100*(1+��(I%*6)):�:�<0��=0
(	�tB@
2�O%�T|@,�Dd@,�T|@
<��4:�O:�19,0,1;0;19,3,3;0;16,29,500;512;5:�0,400:�I%=1�60:�4*(s%?I%-100),4*(s%?(I%+15)-100):�:�I%=1�12:쵲(I%*30)*400*1.1-32-16*(I%<10),��(I%*30)*400*1.1+16:�;I%;:X%=��(I%*30)*400:Y%=��(I%*30)*400:�X%,Y%:�X%*.9,Y%*.9:�:�4:�O:�E:�H:�M:�S:�:����100=0:�S
FGS%=(S%+1)�60:�S:�S%=0�M:L%=(L%+1)�60:�M:�L%�12=0�H:H%=(H%+1)�120:�H
P�O%=3�30,5);:�P
Z�0
d��5:�19,0,0;0;19,7,2;0;12:�300,400:�980,400:�980,648:�300,648:�300,400:�O:�E:�:����100=0:S%=(S%+1)�60:�S%=0L%=(L%+1)�60:�L%�12=0:H%=(H%+1)�120
n�6,15);:�P:�0
x�<>17�:�" at line ";�:�
���4:�15,1);"M E N U"'''"Choose between...."':�5)"1 - Analogue Display"''�5)"2 - Digital Display"''�5)"3 - Analogue and Digital Display"''�5)"4 - Set Time":�0,16)"Press ESCAPE to exit the program":�'"Enter 1-4 and Press RETURN: ";:��tt@
�L�:�K%=��&EF-32:�K%>=1�K%<=4:�;K%;:�Y%=�:�Y%=127�Y%=13:�Y%:�Y%=13:��Dx@
��K%<4O%=K%:�Tr@
���4:�D("ENTER TIME -",8):�''�14)"HOURS  :"H%'�14)"MINUTES:"L%'�14)"SECONDS:"S%:�H%<0�H%>23�L%<0�L%>59�S%<0�S%>59��O:�'�12)"INVALID TIME -"'�12)"PLEASE RE-ENTER":N%=�(400):�t`@
�$�=(S%+(L%+(H%*60))*60)*100:�Tr@
��c:�:�:�4:�:
���C("Which do you want to do ?",10):�10,�+3)"";:�n("R"):�"epeat this program":�10,�+1)"Go to ";:�n("N"):�"ext program":�10,�+1)"Return to main ";:�n("M"):�"enu":�10,�+1)"";:�n("E"):�"xit from disc":�0,�+3)"Choose from ";:�n("R"):�"epeat, ";
�t�n("N"):�"ext, ";:�n("M"):�"enu or ";:�n("E"):�"xit ";:A$=�:�(A$="R")�(A$="N")�(A$="M")�(A$="E"):�:�A$="R"��TT@
�#�A$="N"�P%=7��A$="M"�P%=1�P%=17
�*FX4
��21:*FX220,0
�*FX15,1
�*FX201,1

�"BOOT":�
"��n(A$):�0:�135:�A$;:�7:�128:�
#��C(A$,y%)�(38-�A$)/2,y%)A$;:�
"5��S�0,0:�6,3.2*(s%?S%-100),3.2*(s%?(S%+15)-100):�
,���M�0,0:�1.5*(s%?(L%+59)-100),1.5*(s%?(L%+14)-100):�86,1.5*(s%?(L%+1)-100),1.5*(s%?(L%+16)-100):�6,1.5*(s%?(L%+59)-100),1.5*(s%?(L%+14)-100):�86,3*(s%?L%-100),3*(s%?(L%+15)-100):�
6���H G%=H%�60:�0,0:�s%?(G%+58)-100,s%?(G%+13)-100:�86,s%?(G%+2)-100,s%?(G%+17)-100:�6,s%?(G%+58)-100,s%?(G%+13)-100:�86,2*(s%?G%-100),2*(s%?(G%+15)-100):�
@,��P�H%�5":";L%�10;L%�10":";S%�10;S%�10:�
J��O�23,1,0;0;0;0;:�
T?��E T%=�:S%=(T%�100)�60:L%=(T%�6000)�60:H%=(T%�72000)�120:�
^���D(A$,y%)$M=�255,�0):M?255=0:C=224:B$="":C$="":�B%=1��A$:K%=�C(��A$,B%,1)):B$=B$+�K%:C$=C$+�(K%+1):�:K%=19-�A$/2:D$=�31+�K%+�y%+B$+�31+�K%+�(y%+1)+C$:�D$;:�
hzݤC(C%)�M?C%�=M?C%��C>=256��M?C%=C:?B=C%:A%=10:X%=B:Y%=B�256:�o:�J%=0�1:�23,C+J%:�I%=2�9:�B?(J%*4+I%�2):�,:C=C+2:=M?C%
r��c:*FX4
|*FX225,1
�*FX226,1
�*FX227,1
��
�
00000000  0d 00 0a 10 ef 36 3a 2a  46 58 32 32 30 2c 32 37  |.....6:*FX220,27|
00000010  0d 00 14 0b ee 85 e5 8d  44 78 40 0d 00 1e 58 de  |........Dx@...X.|
00000020  4d 20 32 35 35 2c 42 20  38 2c 73 25 31 32 30 3a  |M 255,B 8,s%120:|
00000030  40 25 3d 32 3a 6f 3d 26  46 46 46 31 3a 4f 25 3d  |@%=2:o=&FFF1:O%=|
00000040  31 3a eb 34 3a f2 4f 3a  e3 49 25 3d 30 b8 31 31  |1:.4:.O:.I%=0.11|
00000050  39 3a 73 25 3f 49 25 3d  31 30 30 2a 28 31 2b b5  |9:s%?I%=100*(1+.|
00000060  b2 28 49 25 2a 36 29 29  3a ed 3a e7 91 3c 30 8c  |.(I%*6)):.:..<0.|
00000070  d1 3d 30 0d 00 28 09 e5  8d 74 42 40 0d 00 32 16  |.=0..(...tB@..2.|
00000080  ee 4f 25 e5 8d 54 7c 40  2c 8d 44 64 40 2c 8d 54  |.O%..T|@,.Dd@,.T|
00000090  7c 40 0d 00 3c fe eb 34  3a f2 4f 3a ef 31 39 2c  ||@..<..4:.O:.19,|
000000a0  30 2c 31 3b 30 3b 31 39  2c 33 2c 33 3b 30 3b 31  |0,1;0;19,3,3;0;1|
000000b0  36 2c 32 39 2c 35 30 30  3b 35 31 32 3b 35 3a ec  |6,29,500;512;5:.|
000000c0  30 2c 34 30 30 3a e3 49  25 3d 31 b8 36 30 3a df  |0,400:.I%=1.60:.|
000000d0  34 2a 28 73 25 3f 49 25  2d 31 30 30 29 2c 34 2a  |4*(s%?I%-100),4*|
000000e0  28 73 25 3f 28 49 25 2b  31 35 29 2d 31 30 30 29  |(s%?(I%+15)-100)|
000000f0  3a ed 3a e3 49 25 3d 31  b8 31 32 3a ec b5 b2 28  |:.:.I%=1.12:...(|
00000100  49 25 2a 33 30 29 2a 34  30 30 2a 31 2e 31 2d 33  |I%*30)*400*1.1-3|
00000110  32 2d 31 36 2a 28 49 25  3c 31 30 29 2c 9b b2 28  |2-16*(I%<10),..(|
00000120  49 25 2a 33 30 29 2a 34  30 30 2a 31 2e 31 2b 31  |I%*30)*400*1.1+1|
00000130  36 3a f1 3b 49 25 3b 3a  58 25 3d b5 b2 28 49 25  |6:.;I%;:X%=..(I%|
00000140  2a 33 30 29 2a 34 30 30  3a 59 25 3d 9b b2 28 49  |*30)*400:Y%=..(I|
00000150  25 2a 33 30 29 2a 34 30  30 3a ec 58 25 2c 59 25  |%*30)*400:.X%,Y%|
00000160  3a df 58 25 2a 2e 39 2c  59 25 2a 2e 39 3a ed 3a  |:.X%*.9,Y%*.9:.:|
00000170  ef 34 3a f2 4f 3a f2 45  3a f2 48 3a f2 4d 3a f2  |.4:.O:.E:.H:.M:.|
00000180  53 3a f5 3a f5 fd 91 83  31 30 30 3d 30 3a f2 53  |S:.:....100=0:.S|
00000190  0d 00 46 47 53 25 3d 28  53 25 2b 31 29 83 36 30  |..FGS%=(S%+1).60|
000001a0  3a f2 53 3a e7 53 25 3d  30 f2 4d 3a 4c 25 3d 28  |:.S:.S%=0.M:L%=(|
000001b0  4c 25 2b 31 29 83 36 30  3a f2 4d 3a e7 4c 25 83  |L%+1).60:.M:.L%.|
000001c0  31 32 3d 30 f2 48 3a 48  25 3d 28 48 25 2b 31 29  |12=0.H:H%=(H%+1)|
000001d0  83 31 32 30 3a f2 48 0d  00 50 14 e7 4f 25 3d 33  |.120:.H..P..O%=3|
000001e0  f1 8a 33 30 2c 35 29 3b  3a f2 50 0d 00 5a 06 fd  |..30,5);:.P..Z..|
000001f0  30 0d 00 64 91 eb 35 3a  ef 31 39 2c 30 2c 30 3b  |0..d..5:.19,0,0;|
00000200  30 3b 31 39 2c 37 2c 32  3b 30 3b 31 32 3a ec 33  |0;19,7,2;0;12:.3|
00000210  30 30 2c 34 30 30 3a df  39 38 30 2c 34 30 30 3a  |00,400:.980,400:|
00000220  df 39 38 30 2c 36 34 38  3a df 33 30 30 2c 36 34  |.980,648:.300,64|
00000230  38 3a df 33 30 30 2c 34  30 30 3a f2 4f 3a f2 45  |8:.300,400:.O:.E|
00000240  3a f5 3a f5 fd 91 83 31  30 30 3d 30 3a 53 25 3d  |:.:....100=0:S%=|
00000250  28 53 25 2b 31 29 83 36  30 3a e7 53 25 3d 30 4c  |(S%+1).60:.S%=0L|
00000260  25 3d 28 4c 25 2b 31 29  83 36 30 3a e7 4c 25 83  |%=(L%+1).60:.L%.|
00000270  31 32 3d 30 3a 48 25 3d  28 48 25 2b 31 29 83 31  |12=0:H%=(H%+1).1|
00000280  32 30 0d 00 6e 12 f1 8a  36 2c 31 35 29 3b 3a f2  |20..n...6,15);:.|
00000290  50 3a fd 30 0d 00 78 1c  e7 9f 3c 3e 31 37 f6 3a  |P:.0..x...<>17.:|
000002a0  f1 22 20 61 74 20 6c 69  6e 65 20 22 3b 9e 3a e0  |." at line ";.:.|
000002b0  0d 00 82 f3 eb 34 3a f1  8a 31 35 2c 31 29 3b 22  |.....4:..15,1);"|
000002c0  4d 20 45 20 4e 20 55 22  27 27 27 22 43 68 6f 6f  |M E N U"'''"Choo|
000002d0  73 65 20 62 65 74 77 65  65 6e 2e 2e 2e 2e 22 27  |se between...."'|
000002e0  3a f1 8a 35 29 22 31 20  2d 20 41 6e 61 6c 6f 67  |:..5)"1 - Analog|
000002f0  75 65 20 44 69 73 70 6c  61 79 22 27 27 8a 35 29  |ue Display"''.5)|
00000300  22 32 20 2d 20 44 69 67  69 74 61 6c 20 44 69 73  |"2 - Digital Dis|
00000310  70 6c 61 79 22 27 27 8a  35 29 22 33 20 2d 20 41  |play"''.5)"3 - A|
00000320  6e 61 6c 6f 67 75 65 20  61 6e 64 20 44 69 67 69  |nalogue and Digi|
00000330  74 61 6c 20 44 69 73 70  6c 61 79 22 27 27 8a 35  |tal Display"''.5|
00000340  29 22 34 20 2d 20 53 65  74 20 54 69 6d 65 22 3a  |)"4 - Set Time":|
00000350  f1 8a 30 2c 31 36 29 22  50 72 65 73 73 20 45 53  |..0,16)"Press ES|
00000360  43 41 50 45 20 74 6f 20  65 78 69 74 20 74 68 65  |CAPE to exit the|
00000370  20 70 72 6f 67 72 61 6d  22 3a f1 27 22 45 6e 74  | program":.'"Ent|
00000380  65 72 20 31 2d 34 20 61  6e 64 20 50 72 65 73 73  |er 1-4 and Press|
00000390  20 52 45 54 55 52 4e 3a  20 22 3b 3a ee 85 e5 8d  | RETURN: ";:....|
000003a0  74 74 40 0d 00 8c 4c f5  3a f5 4b 25 3d a5 80 26  |tt@...L.:.K%=..&|
000003b0  45 46 2d 33 32 3a fd 4b  25 3e 3d 31 80 4b 25 3c  |EF-32:.K%>=1.K%<|
000003c0  3d 34 3a f1 3b 4b 25 3b  3a f5 59 25 3d a5 3a fd  |=4:.;K%;:.Y%=.:.|
000003d0  59 25 3d 31 32 37 84 59  25 3d 31 33 3a ef 59 25  |Y%=127.Y%=13:.Y%|
000003e0  3a fd 59 25 3d 31 33 3a  ee 85 e5 8d 44 78 40 0d  |:.Y%=13:....Dx@.|
000003f0  00 96 14 e7 4b 25 3c 34  4f 25 3d 4b 25 3a e5 8d  |....K%<4O%=K%:..|
00000400  54 72 40 0d 00 a0 b4 eb  34 3a f2 44 28 22 45 4e  |Tr@.....4:.D("EN|
00000410  54 45 52 20 54 49 4d 45  20 2d 22 2c 38 29 3a e8  |TER TIME -",8):.|
00000420  86 27 27 8a 31 34 29 22  48 4f 55 52 53 20 20 3a  |.''.14)"HOURS  :|
00000430  22 48 25 27 8a 31 34 29  22 4d 49 4e 55 54 45 53  |"H%'.14)"MINUTES|
00000440  3a 22 4c 25 27 8a 31 34  29 22 53 45 43 4f 4e 44  |:"L%'.14)"SECOND|
00000450  53 3a 22 53 25 3a e7 48  25 3c 30 84 48 25 3e 32  |S:"S%:.H%<0.H%>2|
00000460  33 84 4c 25 3c 30 84 4c  25 3e 35 39 84 53 25 3c  |3.L%<0.L%>59.S%<|
00000470  30 84 53 25 3e 35 39 8c  f2 4f 3a f1 27 8a 31 32  |0.S%>59..O:.'.12|
00000480  29 22 49 4e 56 41 4c 49  44 20 54 49 4d 45 20 2d  |)"INVALID TIME -|
00000490  22 27 8a 31 32 29 22 50  4c 45 41 53 45 20 52 45  |"'.12)"PLEASE RE|
000004a0  2d 45 4e 54 45 52 22 3a  4e 25 3d a6 28 34 30 30  |-ENTER":N%=.(400|
000004b0  29 3a e5 8d 74 60 40 0d  00 aa 24 d1 3d 28 53 25  |):..t`@...$.=(S%|
000004c0  2b 28 4c 25 2b 28 48 25  2a 36 30 29 29 2a 36 30  |+(L%+(H%*60))*60|
000004d0  29 2a 31 30 30 3a e5 8d  54 72 40 0d 00 b4 13 f2  |)*100:..Tr@.....|
000004e0  63 3a d8 3a f5 3a eb 34  3a db 3a ee 85 87 0d 00  |c:.:.:.4:.:.....|
000004f0  be f8 f2 43 28 22 57 68  69 63 68 20 64 6f 20 79  |...C("Which do y|
00000500  6f 75 20 77 61 6e 74 20  74 6f 20 64 6f 20 3f 22  |ou want to do ?"|
00000510  2c 31 30 29 3a f1 8a 31  30 2c bc 2b 33 29 22 22  |,10):..10,.+3)""|
00000520  3b 3a f2 6e 28 22 52 22  29 3a f1 22 65 70 65 61  |;:.n("R"):."epea|
00000530  74 20 74 68 69 73 20 70  72 6f 67 72 61 6d 22 3a  |t this program":|
00000540  f1 8a 31 30 2c bc 2b 31  29 22 47 6f 20 74 6f 20  |..10,.+1)"Go to |
00000550  22 3b 3a f2 6e 28 22 4e  22 29 3a f1 22 65 78 74  |";:.n("N"):."ext|
00000560  20 70 72 6f 67 72 61 6d  22 3a f1 8a 31 30 2c bc  | program":..10,.|
00000570  2b 31 29 22 52 65 74 75  72 6e 20 74 6f 20 6d 61  |+1)"Return to ma|
00000580  69 6e 20 22 3b 3a f2 6e  28 22 4d 22 29 3a f1 22  |in ";:.n("M"):."|
00000590  65 6e 75 22 3a f1 8a 31  30 2c bc 2b 31 29 22 22  |enu":..10,.+1)""|
000005a0  3b 3a f2 6e 28 22 45 22  29 3a f1 22 78 69 74 20  |;:.n("E"):."xit |
000005b0  66 72 6f 6d 20 64 69 73  63 22 3a f1 8a 30 2c bc  |from disc":..0,.|
000005c0  2b 33 29 22 43 68 6f 6f  73 65 20 66 72 6f 6d 20  |+3)"Choose from |
000005d0  22 3b 3a f2 6e 28 22 52  22 29 3a f1 22 65 70 65  |";:.n("R"):."epe|
000005e0  61 74 2c 20 22 3b 0d 00  c8 74 f2 6e 28 22 4e 22  |at, ";...t.n("N"|
000005f0  29 3a f1 22 65 78 74 2c  20 22 3b 3a f2 6e 28 22  |):."ext, ";:.n("|
00000600  4d 22 29 3a f1 22 65 6e  75 20 6f 72 20 22 3b 3a  |M"):."enu or ";:|
00000610  f2 6e 28 22 45 22 29 3a  f1 22 78 69 74 20 22 3b  |.n("E"):."xit ";|
00000620  3a 41 24 3d be 3a fd 28  41 24 3d 22 52 22 29 84  |:A$=.:.(A$="R").|
00000630  28 41 24 3d 22 4e 22 29  84 28 41 24 3d 22 4d 22  |(A$="N").(A$="M"|
00000640  29 84 28 41 24 3d 22 45  22 29 3a db 3a e7 41 24  |).(A$="E"):.:.A$|
00000650  3d 22 52 22 8c e5 8d 54  54 40 0d 00 d2 23 e7 41  |="R"...TT@...#.A|
00000660  24 3d 22 4e 22 8c 50 25  3d 37 8b e7 41 24 3d 22  |$="N".P%=7..A$="|
00000670  4d 22 8c 50 25 3d 31 8b  50 25 3d 31 37 0d 00 dc  |M".P%=1.P%=17...|
00000680  08 2a 46 58 34 0d 00 e6  10 ef 32 31 3a 2a 46 58  |.*FX4.....21:*FX|
00000690  32 32 30 2c 30 0d 00 f0  0b 2a 46 58 31 35 2c 31  |220,0....*FX15,1|
000006a0  0d 00 fa 0c 2a 46 58 32  30 31 2c 31 0d 01 04 0d  |....*FX201,1....|
000006b0  d7 22 42 4f 4f 54 22 3a  e0 0d 01 0e 22 dd f2 6e  |."BOOT":...."..n|
000006c0  28 41 24 29 3a fb 30 3a  fb 31 33 35 3a f1 41 24  |(A$):.0:.135:.A$|
000006d0  3b 3a fb 37 3a fb 31 32  38 3a e1 0d 01 18 23 dd  |;:.7:.128:....#.|
000006e0  f2 43 28 41 24 2c 79 25  29 f1 8a 28 33 38 2d a9  |.C(A$,y%)..(38-.|
000006f0  41 24 29 2f 32 2c 79 25  29 41 24 3b 3a e1 0d 01  |A$)/2,y%)A$;:...|
00000700  22 35 dd f2 53 ec 30 2c  30 3a f0 36 2c 33 2e 32  |"5..S.0,0:.6,3.2|
00000710  2a 28 73 25 3f 53 25 2d  31 30 30 29 2c 33 2e 32  |*(s%?S%-100),3.2|
00000720  2a 28 73 25 3f 28 53 25  2b 31 35 29 2d 31 30 30  |*(s%?(S%+15)-100|
00000730  29 3a e1 0d 01 2c b7 dd  f2 4d ec 30 2c 30 3a ec  |):...,...M.0,0:.|
00000740  31 2e 35 2a 28 73 25 3f  28 4c 25 2b 35 39 29 2d  |1.5*(s%?(L%+59)-|
00000750  31 30 30 29 2c 31 2e 35  2a 28 73 25 3f 28 4c 25  |100),1.5*(s%?(L%|
00000760  2b 31 34 29 2d 31 30 30  29 3a f0 38 36 2c 31 2e  |+14)-100):.86,1.|
00000770  35 2a 28 73 25 3f 28 4c  25 2b 31 29 2d 31 30 30  |5*(s%?(L%+1)-100|
00000780  29 2c 31 2e 35 2a 28 73  25 3f 28 4c 25 2b 31 36  |),1.5*(s%?(L%+16|
00000790  29 2d 31 30 30 29 3a f0  36 2c 31 2e 35 2a 28 73  |)-100):.6,1.5*(s|
000007a0  25 3f 28 4c 25 2b 35 39  29 2d 31 30 30 29 2c 31  |%?(L%+59)-100),1|
000007b0  2e 35 2a 28 73 25 3f 28  4c 25 2b 31 34 29 2d 31  |.5*(s%?(L%+14)-1|
000007c0  30 30 29 3a f0 38 36 2c  33 2a 28 73 25 3f 4c 25  |00):.86,3*(s%?L%|
000007d0  2d 31 30 30 29 2c 33 2a  28 73 25 3f 28 4c 25 2b  |-100),3*(s%?(L%+|
000007e0  31 35 29 2d 31 30 30 29  3a e1 0d 01 36 9d dd f2  |15)-100):...6...|
000007f0  48 20 47 25 3d 48 25 83  36 30 3a ec 30 2c 30 3a  |H G%=H%.60:.0,0:|
00000800  ec 73 25 3f 28 47 25 2b  35 38 29 2d 31 30 30 2c  |.s%?(G%+58)-100,|
00000810  73 25 3f 28 47 25 2b 31  33 29 2d 31 30 30 3a f0  |s%?(G%+13)-100:.|
00000820  38 36 2c 73 25 3f 28 47  25 2b 32 29 2d 31 30 30  |86,s%?(G%+2)-100|
00000830  2c 73 25 3f 28 47 25 2b  31 37 29 2d 31 30 30 3a  |,s%?(G%+17)-100:|
00000840  f0 36 2c 73 25 3f 28 47  25 2b 35 38 29 2d 31 30  |.6,s%?(G%+58)-10|
00000850  30 2c 73 25 3f 28 47 25  2b 31 33 29 2d 31 30 30  |0,s%?(G%+13)-100|
00000860  3a f0 38 36 2c 32 2a 28  73 25 3f 47 25 2d 31 30  |:.86,2*(s%?G%-10|
00000870  30 29 2c 32 2a 28 73 25  3f 28 47 25 2b 31 35 29  |0),2*(s%?(G%+15)|
00000880  2d 31 30 30 29 3a e1 0d  01 40 2c dd f2 50 f1 48  |-100):...@,..P.H|
00000890  25 81 35 22 3a 22 3b 4c  25 81 31 30 3b 4c 25 83  |%.5":";L%.10;L%.|
000008a0  31 30 22 3a 22 3b 53 25  81 31 30 3b 53 25 83 31  |10":";S%.10;S%.1|
000008b0  30 3a e1 0d 01 4a 17 dd  f2 4f ef 32 33 2c 31 2c  |0:...J...O.23,1,|
000008c0  30 3b 30 3b 30 3b 30 3b  3a e1 0d 01 54 3f dd f2  |0;0;0;0;:...T?..|
000008d0  45 20 54 25 3d 91 3a 53  25 3d 28 54 25 81 31 30  |E T%=.:S%=(T%.10|
000008e0  30 29 83 36 30 3a 4c 25  3d 28 54 25 81 36 30 30  |0).60:L%=(T%.600|
000008f0  30 29 83 36 30 3a 48 25  3d 28 54 25 81 37 32 30  |0).60:H%=(T%.720|
00000900  30 30 29 83 31 32 30 3a  e1 0d 01 5e a1 dd f2 44  |00).120:...^...D|
00000910  28 41 24 2c 79 25 29 24  4d 3d c4 32 35 35 2c bd  |(A$,y%)$M=.255,.|
00000920  30 29 3a 4d 3f 32 35 35  3d 30 3a 43 3d 32 32 34  |0):M?255=0:C=224|
00000930  3a 42 24 3d 22 22 3a 43  24 3d 22 22 3a e3 42 25  |:B$="":C$="":.B%|
00000940  3d 31 b8 a9 41 24 3a 4b  25 3d a4 43 28 97 c1 41  |=1..A$:K%=.C(..A|
00000950  24 2c 42 25 2c 31 29 29  3a 42 24 3d 42 24 2b bd  |$,B%,1)):B$=B$+.|
00000960  4b 25 3a 43 24 3d 43 24  2b bd 28 4b 25 2b 31 29  |K%:C$=C$+.(K%+1)|
00000970  3a ed 3a 4b 25 3d 31 39  2d a9 41 24 2f 32 3a 44  |:.:K%=19-.A$/2:D|
00000980  24 3d bd 33 31 2b bd 4b  25 2b bd 79 25 2b 42 24  |$=.31+.K%+.y%+B$|
00000990  2b bd 33 31 2b bd 4b 25  2b bd 28 79 25 2b 31 29  |+.31+.K%+.(y%+1)|
000009a0  2b 43 24 3a f1 44 24 3b  3a e1 0d 01 68 7a dd a4  |+C$:.D$;:...hz..|
000009b0  43 28 43 25 29 e7 4d 3f  43 25 8c 3d 4d 3f 43 25  |C(C%).M?C%.=M?C%|
000009c0  8b e7 43 3e 3d 32 35 36  fa 8b 4d 3f 43 25 3d 43  |..C>=256..M?C%=C|
000009d0  3a 3f 42 3d 43 25 3a 41  25 3d 31 30 3a 58 25 3d  |:?B=C%:A%=10:X%=|
000009e0  42 3a 59 25 3d 42 81 32  35 36 3a d6 6f 3a e3 4a  |B:Y%=B.256:.o:.J|
000009f0  25 3d 30 b8 31 3a ef 32  33 2c 43 2b 4a 25 3a e3  |%=0.1:.23,C+J%:.|
00000a00  49 25 3d 32 b8 39 3a ef  42 3f 28 4a 25 2a 34 2b  |I%=2.9:.B?(J%*4+|
00000a10  49 25 81 32 29 3a ed 2c  3a 43 3d 43 2b 32 3a 3d  |I%.2):.,:C=C+2:=|
00000a20  4d 3f 43 25 0d 01 72 0c  dd f2 63 3a 2a 46 58 34  |M?C%..r...c:*FX4|
00000a30  0d 01 7c 0c 2a 46 58 32  32 35 2c 31 0d 01 86 0c  |..|.*FX225,1....|
00000a40  2a 46 58 32 32 36 2c 31  0d 01 90 0c 2a 46 58 32  |*FX226,1....*FX2|
00000a50  32 37 2c 31 0d 01 9a 05  e1 0d ff                 |27,1.......|
00000a5b
WELCOME/Clock.m0
WELCOME/Clock.m1
WELCOME/Clock.m2
WELCOME/Clock.m4
WELCOME/Clock.m5