Home » Archimedes archive » Archimedes World » AW-1994-11-Disc2.adf » Disk2Nov94 » !AWNov94/Goodies/UNCFS/!Install/!RunImage

!AWNov94/Goodies/UNCFS/!Install/!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 » Archimedes World » AW-1994-11-Disc2.adf » Disk2Nov94
Filename: !AWNov94/Goodies/UNCFS/!Install/!RunImage
Read OK:
File size: 06A3 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM>!RunImage
    2REMProduced by BasCompress v1.31 (18 Jan 1993)
    3N%=FALSE:IFN%THEN
    4ONERROR:ERROREXTERR,REPORT$+" ["+STR$(ERL)+"]"
    5ENDIF:Z$="CFSUtil":M$="<Cfsmod$Dir>.":F$="<InstallUnCFS$Dir>."+Z$:C$="RMEnsure CFSUtil 1.00 RMLoad <Obey$Dir>."+Z$+CHR$(10):A$=M$+"!Run":S$="Install UnCFS"+CHR$(0):E=4075:A=4090:DIME%300:$E%="TASK":SYS&400c0,200,!E%,S$TO,Q%:LOCALERROR:ONERRORLOCALRESTOREERROR:PROCS
    6REPEATSYS&400c7,0,E%+4TOA%:UNTILA%=0:PROCE("This program is SHAREWARE, it is not free software.  Please read the accompanying documents for details of how to register."):PROCA(A$,E,W%,B%,X%,U%,C%):IFFNA(M$+Z$)THEN
    7PROCE("UnCFS is already installed.  Not registering is THEFT.")
    8ELSEPROCF:SYS5,"RMEnsure CFSUtil 1.00 RMLoad "+F$:PROCE("UnCFS is now installed and ready to use.  Not registering is THEFT.")
    9ENDIF:RESTOREERROR:SYS&400dd,Q%,!E%:END
   10DEFPROCFLOCALS%:PROCC(F$,M$+Z$):LOCALERROR:ONERRORLOCALRESTOREERROR:PROCM
   11SYS8,4,A$,,,,C%OR34:SYS13,139,A$TOS%:LOCALERROR:ONERRORLOCALRESTOREERROR:CLOSE#S%:PROCJ
   12SYS12,2,S%,C$,LEN(C$):SYS12,2,S%,W%,B%:RESTOREERROR:CLOSE#S%:SYS8,18,A$,E:SYS8,4,A$,,,,C%:RESTOREERROR:ENDPROC
   13DEFPROCA(E$,L%,RETURNJ%,RETURNM%,RETURNP%,RETURNG%,RETURNF%)LOCALZ%:SYS8,5,E$TOZ%,,P%,G%,M%,F%:IFZ%<>1THENERROR1,"Missing/bad `"+E$+"'"
   14IF(F%AND1)=0THENERROR1,"File `"+E$+"' does not have owner Read access"
   15IF(F%AND8)THENERROR1,"File `"+E$+"' is locked"
   16IFFNE(P%)<>L%THENERROR1,"File `"+E$+"' is of the wrong type"
   17IFM%=0THENERROR1,"File `"+E$+"' has zero length"
   18DIMJ%M%:SYS8,255,E$,J%:ENDPROC
   19DEFFNA(E$)LOCALZ%:SYS8,5,E$TOZ%:=(Z%=1)
   20DEFPROCC(W$,J$)LOCALJ%,M%,P%,G%,F%:PROCA(W$,A,J%,M%,P%,G%,F%):SYS8,0,J$,P%,G%,J%,J%+M%:SYS8,4,J$,,,,F%:ENDPROC
   21DEFPROCJSYS&20008,0,A$,X%,U%,W%,W%+B%:SYS&20008,4,A$,,,,C%:PROCZ:ENDPROC
   22DEFPROCMSYS&20005,"%Remove "+M$+Z$:PROCZ:ENDPROC
   23DEFFNE(D%)LOCALZ%:IF(D%AND-1048576)<>-1048576THEN
   24Z%=-1
   25ELSEZ%=(D%>>8)AND4095
   26ENDIF:=Z%
   27DEFPROCE(P$)E%!4=1:$(E%+8)=P$+CHR$(0):SYS&400df,E%+4,17,S$:ENDPROC
   28DEFPROCS:E%!4=1:$(E%+8)=REPORT$+CHR$(0):SYS&400df,E%+4,1,S$:SYS&400dd,Q%,!E%:END:ENDPROC
   29DEFPROCZIFN%THEN
   30ERRORERR,REPORT$+", ["+STR$(ERL)+"]"
   31ENDIF:ERRORERR,REPORT$:ENDPROC
�>!RunImage
0�Produced by BasCompress v1.31 (18 Jan 1993)

N%=�:�N%�
�:���,�$+" ["+�(�)+"]"
��:Z$="CFSUtil":M$="<Cfsmod$Dir>.":F$="<InstallUnCFS$Dir>."+Z$:C$="RMEnsure CFSUtil 1.00 RMLoad <Obey$Dir>."+Z$+�(10):A$=M$+"!Run":S$="Install UnCFS"+�(0):E=4075:A=4090:�E%300:$E%="TASK":ș&400c0,200,!E%,S$�,Q%:�:��:�S
�ș&400c7,0,E%+4�A%:�A%=0:�E("This program is SHAREWARE, it is not free software.  Please read the accompanying documents for details of how to register."):�A(A$,E,W%,B%,X%,U%,C%):�A(M$+Z$)�
@�E("UnCFS is already installed.  Not registering is THEFT.")
x��F:ș5,"RMEnsure CFSUtil 1.00 RMLoad "+F$:�E("UnCFS is now installed and ready to use.  Not registering is THEFT.")
	�:��:ș&400dd,Q%,!E%:�

#��F�S%:�C(F$,M$+Z$):�:��:�M
5ș8,4,A$,,,,C%�34:ș13,139,A$�S%:�:��:�#S%:�J
Nș12,2,S%,C$,�(C$):ș12,2,S%,W%,B%:��:�#S%:ș8,18,A$,E:ș8,4,A$,,,,C%:��:�

_��A(E$,L%,�J%,�M%,�P%,�G%,�F%)�Z%:ș8,5,E$�Z%,,P%,G%,M%,F%:�Z%<>1��1,"Missing/bad `"+E$+"'"
@�(F%�1)=0��1,"File `"+E$+"' does not have owner Read access"
(�(F%�8)��1,"File `"+E$+"' is locked"
7�E(P%)<>L%��1,"File `"+E$+"' is of the wrong type"
,�M%=0��1,"File `"+E$+"' has zero length"
�J%M%:ș8,255,E$,J%:�
"ݤA(E$)�Z%:ș8,5,E$�Z%:=(Z%=1)
^��C(W$,J$)�J%,M%,P%,G%,F%:�A(W$,A,J%,M%,P%,G%,F%):ș8,0,J$,P%,G%,J%,J%+M%:ș8,4,J$,,,,F%:�
<��Jș&20008,0,A$,X%,U%,W%,W%+B%:ș&20008,4,A$,,,,C%:�Z:�
%��Mș&20005,"%Remove "+M$+Z$:�Z:�
(ݤE(D%)�Z%:�(D%�-1048576)<>-1048576�
	Z%=-1
�Z%=(D%>>8)�4095
	�:=Z%
7��E(P$)E%!4=1:$(E%+8)=P$+�(0):ș&400df,E%+4,17,S$:�
E��S:E%!4=1:$(E%+8)=�$+�(0):ș&400df,E%+4,1,S$:ș&400dd,Q%,!E%:�:�
��Z�N%�
��,�$+", ["+�(�)+"]"

�:��,�$:�
�
00000000  0d 00 01 0f f4 3e 21 52  75 6e 49 6d 61 67 65 0d  |.....>!RunImage.|
00000010  00 02 30 f4 50 72 6f 64  75 63 65 64 20 62 79 20  |..0.Produced by |
00000020  42 61 73 43 6f 6d 70 72  65 73 73 20 76 31 2e 33  |BasCompress v1.3|
00000030  31 20 28 31 38 20 4a 61  6e 20 31 39 39 33 29 0d  |1 (18 Jan 1993).|
00000040  00 03 0d 4e 25 3d a3 3a  e7 4e 25 8c 0d 00 04 1b  |...N%=.:.N%.....|
00000050  ee 85 3a 85 a2 9f 2c f6  24 2b 22 20 5b 22 2b c3  |..:...,.$+" ["+.|
00000060  28 9e 29 2b 22 5d 22 0d  00 05 e1 cd 3a 5a 24 3d  |(.)+"]".....:Z$=|
00000070  22 43 46 53 55 74 69 6c  22 3a 4d 24 3d 22 3c 43  |"CFSUtil":M$="<C|
00000080  66 73 6d 6f 64 24 44 69  72 3e 2e 22 3a 46 24 3d  |fsmod$Dir>.":F$=|
00000090  22 3c 49 6e 73 74 61 6c  6c 55 6e 43 46 53 24 44  |"<InstallUnCFS$D|
000000a0  69 72 3e 2e 22 2b 5a 24  3a 43 24 3d 22 52 4d 45  |ir>."+Z$:C$="RME|
000000b0  6e 73 75 72 65 20 43 46  53 55 74 69 6c 20 31 2e  |nsure CFSUtil 1.|
000000c0  30 30 20 52 4d 4c 6f 61  64 20 3c 4f 62 65 79 24  |00 RMLoad <Obey$|
000000d0  44 69 72 3e 2e 22 2b 5a  24 2b bd 28 31 30 29 3a  |Dir>."+Z$+.(10):|
000000e0  41 24 3d 4d 24 2b 22 21  52 75 6e 22 3a 53 24 3d  |A$=M$+"!Run":S$=|
000000f0  22 49 6e 73 74 61 6c 6c  20 55 6e 43 46 53 22 2b  |"Install UnCFS"+|
00000100  bd 28 30 29 3a 45 3d 34  30 37 35 3a 41 3d 34 30  |.(0):E=4075:A=40|
00000110  39 30 3a de 45 25 33 30  30 3a 24 45 25 3d 22 54  |90:.E%300:$E%="T|
00000120  41 53 4b 22 3a c8 99 26  34 30 30 63 30 2c 32 30  |ASK":..&400c0,20|
00000130  30 2c 21 45 25 2c 53 24  b8 2c 51 25 3a ea 85 3a  |0,!E%,S$.,Q%:..:|
00000140  ee 85 ea f7 85 3a f2 53  0d 00 06 c3 f5 c8 99 26  |.....:.S.......&|
00000150  34 30 30 63 37 2c 30 2c  45 25 2b 34 b8 41 25 3a  |400c7,0,E%+4.A%:|
00000160  fd 41 25 3d 30 3a f2 45  28 22 54 68 69 73 20 70  |.A%=0:.E("This p|
00000170  72 6f 67 72 61 6d 20 69  73 20 53 48 41 52 45 57  |rogram is SHAREW|
00000180  41 52 45 2c 20 69 74 20  69 73 20 6e 6f 74 20 66  |ARE, it is not f|
00000190  72 65 65 20 73 6f 66 74  77 61 72 65 2e 20 20 50  |ree software.  P|
000001a0  6c 65 61 73 65 20 72 65  61 64 20 74 68 65 20 61  |lease read the a|
000001b0  63 63 6f 6d 70 61 6e 79  69 6e 67 20 64 6f 63 75  |ccompanying docu|
000001c0  6d 65 6e 74 73 20 66 6f  72 20 64 65 74 61 69 6c  |ments for detail|
000001d0  73 20 6f 66 20 68 6f 77  20 74 6f 20 72 65 67 69  |s of how to regi|
000001e0  73 74 65 72 2e 22 29 3a  f2 41 28 41 24 2c 45 2c  |ster."):.A(A$,E,|
000001f0  57 25 2c 42 25 2c 58 25  2c 55 25 2c 43 25 29 3a  |W%,B%,X%,U%,C%):|
00000200  e7 a4 41 28 4d 24 2b 5a  24 29 8c 0d 00 07 40 f2  |..A(M$+Z$)....@.|
00000210  45 28 22 55 6e 43 46 53  20 69 73 20 61 6c 72 65  |E("UnCFS is alre|
00000220  61 64 79 20 69 6e 73 74  61 6c 6c 65 64 2e 20 20  |ady installed.  |
00000230  4e 6f 74 20 72 65 67 69  73 74 65 72 69 6e 67 20  |Not registering |
00000240  69 73 20 54 48 45 46 54  2e 22 29 0d 00 08 78 cc  |is THEFT.")...x.|
00000250  f2 46 3a c8 99 35 2c 22  52 4d 45 6e 73 75 72 65  |.F:..5,"RMEnsure|
00000260  20 43 46 53 55 74 69 6c  20 31 2e 30 30 20 52 4d  | CFSUtil 1.00 RM|
00000270  4c 6f 61 64 20 22 2b 46  24 3a f2 45 28 22 55 6e  |Load "+F$:.E("Un|
00000280  43 46 53 20 69 73 20 6e  6f 77 20 69 6e 73 74 61  |CFS is now insta|
00000290  6c 6c 65 64 20 61 6e 64  20 72 65 61 64 79 20 74  |lled and ready t|
000002a0  6f 20 75 73 65 2e 20 20  4e 6f 74 20 72 65 67 69  |o use.  Not regi|
000002b0  73 74 65 72 69 6e 67 20  69 73 20 54 48 45 46 54  |stering is THEFT|
000002c0  2e 22 29 0d 00 09 1a cd  3a f7 85 3a c8 99 26 34  |.").....:..:..&4|
000002d0  30 30 64 64 2c 51 25 2c  21 45 25 3a e0 0d 00 0a  |00dd,Q%,!E%:....|
000002e0  23 dd f2 46 ea 53 25 3a  f2 43 28 46 24 2c 4d 24  |#..F.S%:.C(F$,M$|
000002f0  2b 5a 24 29 3a ea 85 3a  ee 85 ea f7 85 3a f2 4d  |+Z$):..:.....:.M|
00000300  0d 00 0b 35 c8 99 38 2c  34 2c 41 24 2c 2c 2c 2c  |...5..8,4,A$,,,,|
00000310  43 25 84 33 34 3a c8 99  31 33 2c 31 33 39 2c 41  |C%.34:..13,139,A|
00000320  24 b8 53 25 3a ea 85 3a  ee 85 ea f7 85 3a d9 23  |$.S%:..:.....:.#|
00000330  53 25 3a f2 4a 0d 00 0c  4e c8 99 31 32 2c 32 2c  |S%:.J...N..12,2,|
00000340  53 25 2c 43 24 2c a9 28  43 24 29 3a c8 99 31 32  |S%,C$,.(C$):..12|
00000350  2c 32 2c 53 25 2c 57 25  2c 42 25 3a f7 85 3a d9  |,2,S%,W%,B%:..:.|
00000360  23 53 25 3a c8 99 38 2c  31 38 2c 41 24 2c 45 3a  |#S%:..8,18,A$,E:|
00000370  c8 99 38 2c 34 2c 41 24  2c 2c 2c 2c 43 25 3a f7  |..8,4,A$,,,,C%:.|
00000380  85 3a e1 0d 00 0d 5f dd  f2 41 28 45 24 2c 4c 25  |.:...._..A(E$,L%|
00000390  2c f8 4a 25 2c f8 4d 25  2c f8 50 25 2c f8 47 25  |,.J%,.M%,.P%,.G%|
000003a0  2c f8 46 25 29 ea 5a 25  3a c8 99 38 2c 35 2c 45  |,.F%).Z%:..8,5,E|
000003b0  24 b8 5a 25 2c 2c 50 25  2c 47 25 2c 4d 25 2c 46  |$.Z%,,P%,G%,M%,F|
000003c0  25 3a e7 5a 25 3c 3e 31  8c 85 31 2c 22 4d 69 73  |%:.Z%<>1..1,"Mis|
000003d0  73 69 6e 67 2f 62 61 64  20 60 22 2b 45 24 2b 22  |sing/bad `"+E$+"|
000003e0  27 22 0d 00 0e 40 e7 28  46 25 80 31 29 3d 30 8c  |'"...@.(F%.1)=0.|
000003f0  85 31 2c 22 46 69 6c 65  20 60 22 2b 45 24 2b 22  |.1,"File `"+E$+"|
00000400  27 20 64 6f 65 73 20 6e  6f 74 20 68 61 76 65 20  |' does not have |
00000410  6f 77 6e 65 72 20 52 65  61 64 20 61 63 63 65 73  |owner Read acces|
00000420  73 22 0d 00 0f 28 e7 28  46 25 80 38 29 8c 85 31  |s"...(.(F%.8)..1|
00000430  2c 22 46 69 6c 65 20 60  22 2b 45 24 2b 22 27 20  |,"File `"+E$+"' |
00000440  69 73 20 6c 6f 63 6b 65  64 22 0d 00 10 37 e7 a4  |is locked"...7..|
00000450  45 28 50 25 29 3c 3e 4c  25 8c 85 31 2c 22 46 69  |E(P%)<>L%..1,"Fi|
00000460  6c 65 20 60 22 2b 45 24  2b 22 27 20 69 73 20 6f  |le `"+E$+"' is o|
00000470  66 20 74 68 65 20 77 72  6f 6e 67 20 74 79 70 65  |f the wrong type|
00000480  22 0d 00 11 2c e7 4d 25  3d 30 8c 85 31 2c 22 46  |"...,.M%=0..1,"F|
00000490  69 6c 65 20 60 22 2b 45  24 2b 22 27 20 68 61 73  |ile `"+E$+"' has|
000004a0  20 7a 65 72 6f 20 6c 65  6e 67 74 68 22 0d 00 12  | zero length"...|
000004b0  19 de 4a 25 4d 25 3a c8  99 38 2c 32 35 35 2c 45  |..J%M%:..8,255,E|
000004c0  24 2c 4a 25 3a e1 0d 00  13 22 dd a4 41 28 45 24  |$,J%:...."..A(E$|
000004d0  29 ea 5a 25 3a c8 99 38  2c 35 2c 45 24 b8 5a 25  |).Z%:..8,5,E$.Z%|
000004e0  3a 3d 28 5a 25 3d 31 29  0d 00 14 5e dd f2 43 28  |:=(Z%=1)...^..C(|
000004f0  57 24 2c 4a 24 29 ea 4a  25 2c 4d 25 2c 50 25 2c  |W$,J$).J%,M%,P%,|
00000500  47 25 2c 46 25 3a f2 41  28 57 24 2c 41 2c 4a 25  |G%,F%:.A(W$,A,J%|
00000510  2c 4d 25 2c 50 25 2c 47  25 2c 46 25 29 3a c8 99  |,M%,P%,G%,F%):..|
00000520  38 2c 30 2c 4a 24 2c 50  25 2c 47 25 2c 4a 25 2c  |8,0,J$,P%,G%,J%,|
00000530  4a 25 2b 4d 25 3a c8 99  38 2c 34 2c 4a 24 2c 2c  |J%+M%:..8,4,J$,,|
00000540  2c 2c 46 25 3a e1 0d 00  15 3c dd f2 4a c8 99 26  |,,F%:....<..J..&|
00000550  32 30 30 30 38 2c 30 2c  41 24 2c 58 25 2c 55 25  |20008,0,A$,X%,U%|
00000560  2c 57 25 2c 57 25 2b 42  25 3a c8 99 26 32 30 30  |,W%,W%+B%:..&200|
00000570  30 38 2c 34 2c 41 24 2c  2c 2c 2c 43 25 3a f2 5a  |08,4,A$,,,,C%:.Z|
00000580  3a e1 0d 00 16 25 dd f2  4d c8 99 26 32 30 30 30  |:....%..M..&2000|
00000590  35 2c 22 25 52 65 6d 6f  76 65 20 22 2b 4d 24 2b  |5,"%Remove "+M$+|
000005a0  5a 24 3a f2 5a 3a e1 0d  00 17 28 dd a4 45 28 44  |Z$:.Z:....(..E(D|
000005b0  25 29 ea 5a 25 3a e7 28  44 25 80 2d 31 30 34 38  |%).Z%:.(D%.-1048|
000005c0  35 37 36 29 3c 3e 2d 31  30 34 38 35 37 36 8c 0d  |576)<>-1048576..|
000005d0  00 18 09 5a 25 3d 2d 31  0d 00 19 14 cc 5a 25 3d  |...Z%=-1.....Z%=|
000005e0  28 44 25 3e 3e 38 29 80  34 30 39 35 0d 00 1a 09  |(D%>>8).4095....|
000005f0  cd 3a 3d 5a 25 0d 00 1b  37 dd f2 45 28 50 24 29  |.:=Z%...7..E(P$)|
00000600  45 25 21 34 3d 31 3a 24  28 45 25 2b 38 29 3d 50  |E%!4=1:$(E%+8)=P|
00000610  24 2b bd 28 30 29 3a c8  99 26 34 30 30 64 66 2c  |$+.(0):..&400df,|
00000620  45 25 2b 34 2c 31 37 2c  53 24 3a e1 0d 00 1c 45  |E%+4,17,S$:....E|
00000630  dd f2 53 3a 45 25 21 34  3d 31 3a 24 28 45 25 2b  |..S:E%!4=1:$(E%+|
00000640  38 29 3d f6 24 2b bd 28  30 29 3a c8 99 26 34 30  |8)=.$+.(0):..&40|
00000650  30 64 66 2c 45 25 2b 34  2c 31 2c 53 24 3a c8 99  |0df,E%+4,1,S$:..|
00000660  26 34 30 30 64 64 2c 51  25 2c 21 45 25 3a e0 3a  |&400dd,Q%,!E%:.:|
00000670  e1 0d 00 1d 0b dd f2 5a  e7 4e 25 8c 0d 00 1e 18  |.......Z.N%.....|
00000680  85 9f 2c f6 24 2b 22 2c  20 5b 22 2b c3 28 9e 29  |..,.$+", ["+.(.)|
00000690  2b 22 5d 22 0d 00 1f 0d  cd 3a 85 9f 2c f6 24 3a  |+"]".....:..,.$:|
000006a0  e1 0d ff                                          |...|
000006a3