Home » Personal collection » Acorn ADFS disks » Electron » Electrolysis.ADF » fuse

fuse

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 » Electron » Electrolysis.ADF
Filename: fuse
Read OK:
File size: 01F8 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
    1 REM AMMETER WITH RESISTANCE R. (E.G. 0.5 Ohm RESISTANCE WIRE
    3 PROCsetup
    5 MODE6
   10 F=FNcalc:PRINT TAB(5,12) F:IF F<=trip THEN 20 ELSE *M.0
   15 VDU19,1,1,0;0;0;:VDU7
   20 GOTO10
 1000 PROCsetup:MODE6
 1010 A=0:B%=0
 1015 B%=B%+1
 1018 A=A+(FNcalc-A)/B%
 1019 IF A MOD10<>0 OR A<=trip THEN 1025 ELSE *M.0
 1020 VDU 19,1,1,0;0;0;:VDU7
 1025 IF B% MOD100=0 THEN PRINT B%,A:GOTO1010
 1030 GOTO 1015
 1040 DEF FNcalc
 1050 adv=ADVAL(CH):v=adv/65536*1.8
 1060 value=v/R
 1070 IF value>trip THEN *M.0
 1080 =value
 2000 DEFPROCsetup
 2005 *M.1
 2006 trip=0.1
 2010 R=3
 2020 CH=1:REM ADVAL CHANNEL
 2030 @%=&2040A
 2040 ENDPROC
? � AMMETER WITH RESISTANCE R. (E.G. 0.5 Ohm RESISTANCE WIRE
 �setup
 �6

/ F=�calc:� �5,12) F:� F<=trip � �TT@ � *M.0
 �19,1,1,0;0;0;:�7

 �TJ@
� �setup:�6
�
 A=0:B%=0
� B%=B%+1
� A=A+(�calc-A)/B%
�' � A �10<>0 � A<=trip � �TAD � *M.0
� � 19,1,1,0;0;0;:�7
 � B% �100=0 � � B%,A:�drC
 � �dwC
 � �calc
 adv=�(CH):v=adv/65536*1.8
$ value=v/R
. � value>trip � *M.0
8 =value
� ��setup
�	 *M.1
�
 trip=0.1
� R=3
� CH=1:� ADVAL CHANNEL
� @%=&2040A
� �
�
00000000  0d 00 01 3f 20 f4 20 41  4d 4d 45 54 45 52 20 57  |...? . AMMETER W|
00000010  49 54 48 20 52 45 53 49  53 54 41 4e 43 45 20 52  |ITH RESISTANCE R|
00000020  2e 20 28 45 2e 47 2e 20  30 2e 35 20 4f 68 6d 20  |. (E.G. 0.5 Ohm |
00000030  52 45 53 49 53 54 41 4e  43 45 20 57 49 52 45 0d  |RESISTANCE WIRE.|
00000040  00 03 0b 20 f2 73 65 74  75 70 0d 00 05 07 20 eb  |... .setup.... .|
00000050  36 0d 00 0a 2f 20 46 3d  a4 63 61 6c 63 3a f1 20  |6.../ F=.calc:. |
00000060  8a 35 2c 31 32 29 20 46  3a e7 20 46 3c 3d 74 72  |.5,12) F:. F<=tr|
00000070  69 70 20 8c 20 8d 54 54  40 20 8b 20 2a 4d 2e 30  |ip . .TT@ . *M.0|
00000080  0d 00 0f 16 20 ef 31 39  2c 31 2c 31 2c 30 3b 30  |.... .19,1,1,0;0|
00000090  3b 30 3b 3a ef 37 0d 00  14 0a 20 e5 8d 54 4a 40  |;0;:.7.... ..TJ@|
000000a0  0d 03 e8 0e 20 f2 73 65  74 75 70 3a eb 36 0d 03  |.... .setup:.6..|
000000b0  f2 0d 20 41 3d 30 3a 42  25 3d 30 0d 03 f7 0c 20  |.. A=0:B%=0.... |
000000c0  42 25 3d 42 25 2b 31 0d  03 fa 15 20 41 3d 41 2b  |B%=B%+1.... A=A+|
000000d0  28 a4 63 61 6c 63 2d 41  29 2f 42 25 0d 03 fb 27  |(.calc-A)/B%...'|
000000e0  20 e7 20 41 20 83 31 30  3c 3e 30 20 84 20 41 3c  | . A .10<>0 . A<|
000000f0  3d 74 72 69 70 20 8c 20  8d 54 41 44 20 8b 20 2a  |=trip . .TAD . *|
00000100  4d 2e 30 0d 03 fc 17 20  ef 20 31 39 2c 31 2c 31  |M.0.... . 19,1,1|
00000110  2c 30 3b 30 3b 30 3b 3a  ef 37 0d 04 01 1f 20 e7  |,0;0;0;:.7.... .|
00000120  20 42 25 20 83 31 30 30  3d 30 20 8c 20 f1 20 42  | B% .100=0 . . B|
00000130  25 2c 41 3a e5 8d 64 72  43 0d 04 06 0b 20 e5 20  |%,A:..drC.... . |
00000140  8d 64 77 43 0d 04 10 0c  20 dd 20 a4 63 61 6c 63  |.dwC.... . .calc|
00000150  0d 04 1a 1e 20 61 64 76  3d 96 28 43 48 29 3a 76  |.... adv=.(CH):v|
00000160  3d 61 64 76 2f 36 35 35  33 36 2a 31 2e 38 0d 04  |=adv/65536*1.8..|
00000170  24 0e 20 76 61 6c 75 65  3d 76 2f 52 0d 04 2e 18  |$. value=v/R....|
00000180  20 e7 20 76 61 6c 75 65  3e 74 72 69 70 20 8c 20  | . value>trip . |
00000190  2a 4d 2e 30 0d 04 38 0b  20 3d 76 61 6c 75 65 0d  |*M.0..8. =value.|
000001a0  07 d0 0c 20 dd f2 73 65  74 75 70 0d 07 d5 09 20  |... ..setup.... |
000001b0  2a 4d 2e 31 0d 07 d6 0d  20 74 72 69 70 3d 30 2e  |*M.1.... trip=0.|
000001c0  31 0d 07 da 08 20 52 3d  33 0d 07 e4 19 20 43 48  |1.... R=3.... CH|
000001d0  3d 31 3a f4 20 41 44 56  41 4c 20 43 48 41 4e 4e  |=1:. ADVAL CHANN|
000001e0  45 4c 0d 07 ee 0e 20 40  25 3d 26 32 30 34 30 41  |EL.... @%=&2040A|
000001f0  0d 07 f8 06 20 e1 0d ff                           |.... ...|
000001f8
fuse.m0
fuse.m1
fuse.m2
fuse.m4
fuse.m5