Home » CEEFAX disks » telesoftware17.adl » 25-08-89/NICHECK

25-08-89/NICHECK

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 » CEEFAX disks » telesoftware17.adl
Filename: 25-08-89/NICHECK
Read OK:
File size: 075E bytes
Load address: FFFF0E00
Exec address: FFFF802B
File contents
   10REM    ************************
   20REM    *  Nicad Cell Checker  *
   30REM    *                      *
   40REM    * (c) E. Mark Jolliffe *
   50REM    *                      *
   60REM    *        1988          *
   70REM    ************************
   80:
   90ONERROR RUN
  100MODE1
  110TIME=0:cal=&8E30: REM ALTER cal TO ADJUST VOLTS
  120CLS:VDU23;8202;0;0;0;0;:REM CURSOR OFF
  130DIM volts(4),time(4),caps(4),start(4)
  140GCOL0,1:VDU26
  150VDU28,7,11,34,0
  160PRINTTAB(4)"NICAD CELL CHECKER":PRINTTAB(4)STRING$(18,"-")
  170PRINTTAB(0,3)"Nominal Capacities:":PRINT'"AAA";SPC(3);"180mah":PRINT"AA";SPC(4);"500mah"
  180PRINT"C";SPC(4);"1200mah";SPC(2);"(Commercial)":PRINT"C";SPC(4);"2000mah";SPC(2);"(Industrial)"
  190PRINT"D";SPC(4);"1200mah";SPC(2);"(Commercial)":PRINT"D";SPC(4);"4000mah";SPC(2);"(Industrial)"
  200PROCframe
  210FORx%=295 TO 871 STEP 192:PROCbats(x%)
  220NEXT
  230VDU5:MOVE 532,450:PRINT"A":MOVE724,450:PRINT"B":MOVE916,450:PRINT"C":MOVE1108,450:PRINT"D":VDU4:PROCload
  240VDU28,1,30,13,24
  250PRINT"Voltage";SPC(4);"v":PRINT'"Life";SPC(7);"m":PRINT'"Capacity mah"
  260VDU28,13,30,39,24
  270REPEAT
  280REPEAT UNTIL TIME MOD 100<1:REM READ EVERY SECOND
  290PROCread
  300PROCscreen(0,volts(1),volts(2),volts(3),volts(4))
  310PROCscreen(2,INT(time(1)),INT(time(2)),INT(time(3)),INT(time(4)))
  320PROCscreen(4,INT(caps(1)),INT(caps(2)),INT(caps(3)),INT(caps(4)))
  330UNTIL FALSE
  340END
  350:
  360DEFPROCframe
  370MOVE0,0:DRAW1276,0:DRAW1276,640:DRAW0,640:DRAW0,0
  380MOVE4,4:DRAW1272,4:DRAW1272,636:DRAW4,636:DRAW4,4
  390ENDPROC
  400:
  410DEFPROCbats(x%)
  420MOVEx%+200,300:DRAWx%+200,550:DRAWx%+230,550:DRAWx%+230,560:DRAWx%+230,560:DRAWx%+270,560:DRAWx%+270,550:DRAWx%+300,550:DRAWx%+300,300:DRAWx%+200,300
  430ENDPROC
  440:
  450DEFPROCload
  460VDU28,1,19,13,17
  470@%=&06
  480REPEAT:CLS:PRINT"Enter load":INPUT'"in ohms: "load:UNTIL load>.5 AND load<20:CLS:PRINT"Nominal load":PRINT';INT(120/load)*10;"ma";
  490ENDPROC
  500:
  510DEFPROCread
  520FOR ch%=1 TO 4
  530IF ADVAL(ch%)/cal>0.8 volts(ch%)=ADVAL(ch%)/cal:time(ch%)=TIME/6000-start(ch%):caps(ch%)=caps(ch%)+(volts(ch%)/load)/3.6 ELSE IF ADVAL(ch%)<.7 start(ch%)=TIME/6000
  540REM WAITS UNTIL CELL INSERTED, STOPS WHEN CELL EXHAUSTED
  550REM USES LAPSED TIME AND SUMS ma/second
  560NEXT
  570ENDPROC
  580:
  590DEFPROCscreen(q,a,b,c,d)
  600IFq=0 @%=&020206 ELSE @%=&06
  610PRINTTAB(0,q)a,b,c,d
  620ENDPROC
  630:

!�    ************************
!�    *  Nicad Cell Checker  *
!�    *                      *
(!�    * (c) E. Mark Jolliffe *
2!�    *                      *
<!�    *        1988          *
F!�    ************************
P:
Z� �
d�1
n.�=0:cal=&8E30: � ALTER cal TO ADJUST VOLTS
x$�:�23;8202;0;0;0;0;:� CURSOR OFF
�'� volts(4),time(4),caps(4),start(4)
��0,1:�26
��28,7,11,34,0
�)�4)"NICAD CELL CHECKER":�4)�18,"-")
�I�0,3)"Nominal Capacities:":�'"AAA";�(3);"180mah":�"AA";�(4);"500mah"
�S�"C";�(4);"1200mah";�(2);"(Commercial)":�"C";�(4);"2000mah";�(2);"(Industrial)"
�S�"D";�(4);"1200mah";�(2);"(Commercial)":�"D";�(4);"4000mah";�(2);"(Industrial)"
�
�frame
�!�x%=295 � 871 � 192:�bats(x%)
��
�I�5:� 532,450:�"A":�724,450:�"B":�916,450:�"C":�1108,450:�"D":�4:�load
��28,1,30,13,24
�:�"Voltage";�(4);"v":�'"Life";�(7);"m":�'"Capacity mah"
�28,13,30,39,24
�
%� � � � 100<1:� READ EVERY SECOND
"	�read
,2�screen(0,volts(1),volts(2),volts(3),volts(4))
6:�screen(2,�(time(1)),�(time(2)),�(time(3)),�(time(4)))
@:�screen(4,�(caps(1)),�(caps(2)),�(caps(3)),�(caps(4)))
J� �
T�
^:
h��frame
r&�0,0:�1276,0:�1276,640:�0,640:�0,0
|&�4,4:�1272,4:�1272,636:�4,636:�4,4
��
�:
���bats(x%)
�{�x%+200,300:�x%+200,550:�x%+230,550:�x%+230,560:�x%+230,560:�x%+270,560:�x%+270,550:�x%+300,550:�x%+300,300:�x%+200,300
��
�:
�
��load
��28,1,19,13,17
�
@%=&06
�e�:�:�"Enter load":�'"in ohms: "load:� load>.5 � load<20:�:�"Nominal load":�';�(120/load)*10;"ma";
��
�:
�
��read
� ch%=1 � 4
�� �(ch%)/cal>0.8 volts(ch%)=�(ch%)/cal:time(ch%)=�/6000-start(ch%):caps(ch%)=caps(ch%)+(volts(ch%)/load)/3.6 � � �(ch%)<.7 start(ch%)=�/6000
:� WAITS UNTIL CELL INSERTED, STOPS WHEN CELL EXHAUSTED
&)� USES LAPSED TIME AND SUMS ma/second
0�
:�
D:
N��screen(q,a,b,c,d)
X�q=0 @%=&020206 � @%=&06
b�0,q)a,b,c,d
l�
v:
�
00000000  0d 00 0a 21 f4 20 20 20  20 2a 2a 2a 2a 2a 2a 2a  |...!.    *******|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000020  2a 0d 00 14 21 f4 20 20  20 20 2a 20 20 4e 69 63  |*...!.    *  Nic|
00000030  61 64 20 43 65 6c 6c 20  43 68 65 63 6b 65 72 20  |ad Cell Checker |
00000040  20 2a 0d 00 1e 21 f4 20  20 20 20 2a 20 20 20 20  | *...!.    *    |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  20 20 2a 0d 00 28 21 f4  20 20 20 20 2a 20 28 63  |  *..(!.    * (c|
00000070  29 20 45 2e 20 4d 61 72  6b 20 4a 6f 6c 6c 69 66  |) E. Mark Jollif|
00000080  66 65 20 2a 0d 00 32 21  f4 20 20 20 20 2a 20 20  |fe *..2!.    *  |
00000090  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000a0  20 20 20 20 2a 0d 00 3c  21 f4 20 20 20 20 2a 20  |    *..<!.    * |
000000b0  20 20 20 20 20 20 20 31  39 38 38 20 20 20 20 20  |       1988     |
000000c0  20 20 20 20 20 2a 0d 00  46 21 f4 20 20 20 20 2a  |     *..F!.    *|
000000d0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000000e0  2a 2a 2a 2a 2a 2a 2a 0d  00 50 05 3a 0d 00 5a 08  |*******..P.:..Z.|
000000f0  ee 85 20 f9 0d 00 64 06  eb 31 0d 00 6e 2e d1 3d  |.. ...d..1..n..=|
00000100  30 3a 63 61 6c 3d 26 38  45 33 30 3a 20 f4 20 41  |0:cal=&8E30: . A|
00000110  4c 54 45 52 20 63 61 6c  20 54 4f 20 41 44 4a 55  |LTER cal TO ADJU|
00000120  53 54 20 56 4f 4c 54 53  0d 00 78 24 db 3a ef 32  |ST VOLTS..x$.:.2|
00000130  33 3b 38 32 30 32 3b 30  3b 30 3b 30 3b 30 3b 3a  |3;8202;0;0;0;0;:|
00000140  f4 20 43 55 52 53 4f 52  20 4f 46 46 0d 00 82 27  |. CURSOR OFF...'|
00000150  de 20 76 6f 6c 74 73 28  34 29 2c 74 69 6d 65 28  |. volts(4),time(|
00000160  34 29 2c 63 61 70 73 28  34 29 2c 73 74 61 72 74  |4),caps(4),start|
00000170  28 34 29 0d 00 8c 0c e6  30 2c 31 3a ef 32 36 0d  |(4).....0,1:.26.|
00000180  00 96 11 ef 32 38 2c 37  2c 31 31 2c 33 34 2c 30  |....28,7,11,34,0|
00000190  0d 00 a0 29 f1 8a 34 29  22 4e 49 43 41 44 20 43  |...)..4)"NICAD C|
000001a0  45 4c 4c 20 43 48 45 43  4b 45 52 22 3a f1 8a 34  |ELL CHECKER":..4|
000001b0  29 c4 31 38 2c 22 2d 22  29 0d 00 aa 49 f1 8a 30  |).18,"-")...I..0|
000001c0  2c 33 29 22 4e 6f 6d 69  6e 61 6c 20 43 61 70 61  |,3)"Nominal Capa|
000001d0  63 69 74 69 65 73 3a 22  3a f1 27 22 41 41 41 22  |cities:":.'"AAA"|
000001e0  3b 89 28 33 29 3b 22 31  38 30 6d 61 68 22 3a f1  |;.(3);"180mah":.|
000001f0  22 41 41 22 3b 89 28 34  29 3b 22 35 30 30 6d 61  |"AA";.(4);"500ma|
00000200  68 22 0d 00 b4 53 f1 22  43 22 3b 89 28 34 29 3b  |h"...S."C";.(4);|
00000210  22 31 32 30 30 6d 61 68  22 3b 89 28 32 29 3b 22  |"1200mah";.(2);"|
00000220  28 43 6f 6d 6d 65 72 63  69 61 6c 29 22 3a f1 22  |(Commercial)":."|
00000230  43 22 3b 89 28 34 29 3b  22 32 30 30 30 6d 61 68  |C";.(4);"2000mah|
00000240  22 3b 89 28 32 29 3b 22  28 49 6e 64 75 73 74 72  |";.(2);"(Industr|
00000250  69 61 6c 29 22 0d 00 be  53 f1 22 44 22 3b 89 28  |ial)"...S."D";.(|
00000260  34 29 3b 22 31 32 30 30  6d 61 68 22 3b 89 28 32  |4);"1200mah";.(2|
00000270  29 3b 22 28 43 6f 6d 6d  65 72 63 69 61 6c 29 22  |);"(Commercial)"|
00000280  3a f1 22 44 22 3b 89 28  34 29 3b 22 34 30 30 30  |:."D";.(4);"4000|
00000290  6d 61 68 22 3b 89 28 32  29 3b 22 28 49 6e 64 75  |mah";.(2);"(Indu|
000002a0  73 74 72 69 61 6c 29 22  0d 00 c8 0a f2 66 72 61  |strial)".....fra|
000002b0  6d 65 0d 00 d2 21 e3 78  25 3d 32 39 35 20 b8 20  |me...!.x%=295 . |
000002c0  38 37 31 20 88 20 31 39  32 3a f2 62 61 74 73 28  |871 . 192:.bats(|
000002d0  78 25 29 0d 00 dc 05 ed  0d 00 e6 49 ef 35 3a ec  |x%)........I.5:.|
000002e0  20 35 33 32 2c 34 35 30  3a f1 22 41 22 3a ec 37  | 532,450:."A":.7|
000002f0  32 34 2c 34 35 30 3a f1  22 42 22 3a ec 39 31 36  |24,450:."B":.916|
00000300  2c 34 35 30 3a f1 22 43  22 3a ec 31 31 30 38 2c  |,450:."C":.1108,|
00000310  34 35 30 3a f1 22 44 22  3a ef 34 3a f2 6c 6f 61  |450:."D":.4:.loa|
00000320  64 0d 00 f0 12 ef 32 38  2c 31 2c 33 30 2c 31 33  |d.....28,1,30,13|
00000330  2c 32 34 0d 00 fa 3a f1  22 56 6f 6c 74 61 67 65  |,24...:."Voltage|
00000340  22 3b 89 28 34 29 3b 22  76 22 3a f1 27 22 4c 69  |";.(4);"v":.'"Li|
00000350  66 65 22 3b 89 28 37 29  3b 22 6d 22 3a f1 27 22  |fe";.(7);"m":.'"|
00000360  43 61 70 61 63 69 74 79  20 6d 61 68 22 0d 01 04  |Capacity mah"...|
00000370  13 ef 32 38 2c 31 33 2c  33 30 2c 33 39 2c 32 34  |..28,13,30,39,24|
00000380  0d 01 0e 05 f5 0d 01 18  25 f5 20 fd 20 91 20 83  |........%. . . .|
00000390  20 31 30 30 3c 31 3a f4  20 52 45 41 44 20 45 56  | 100<1:. READ EV|
000003a0  45 52 59 20 53 45 43 4f  4e 44 0d 01 22 09 f2 72  |ERY SECOND.."..r|
000003b0  65 61 64 0d 01 2c 32 f2  73 63 72 65 65 6e 28 30  |ead..,2.screen(0|
000003c0  2c 76 6f 6c 74 73 28 31  29 2c 76 6f 6c 74 73 28  |,volts(1),volts(|
000003d0  32 29 2c 76 6f 6c 74 73  28 33 29 2c 76 6f 6c 74  |2),volts(3),volt|
000003e0  73 28 34 29 29 0d 01 36  3a f2 73 63 72 65 65 6e  |s(4))..6:.screen|
000003f0  28 32 2c a8 28 74 69 6d  65 28 31 29 29 2c a8 28  |(2,.(time(1)),.(|
00000400  74 69 6d 65 28 32 29 29  2c a8 28 74 69 6d 65 28  |time(2)),.(time(|
00000410  33 29 29 2c a8 28 74 69  6d 65 28 34 29 29 29 0d  |3)),.(time(4))).|
00000420  01 40 3a f2 73 63 72 65  65 6e 28 34 2c a8 28 63  |.@:.screen(4,.(c|
00000430  61 70 73 28 31 29 29 2c  a8 28 63 61 70 73 28 32  |aps(1)),.(caps(2|
00000440  29 29 2c a8 28 63 61 70  73 28 33 29 29 2c a8 28  |)),.(caps(3)),.(|
00000450  63 61 70 73 28 34 29 29  29 0d 01 4a 07 fd 20 a3  |caps(4)))..J.. .|
00000460  0d 01 54 05 e0 0d 01 5e  05 3a 0d 01 68 0b dd f2  |..T....^.:..h...|
00000470  66 72 61 6d 65 0d 01 72  26 ec 30 2c 30 3a df 31  |frame..r&.0,0:.1|
00000480  32 37 36 2c 30 3a df 31  32 37 36 2c 36 34 30 3a  |276,0:.1276,640:|
00000490  df 30 2c 36 34 30 3a df  30 2c 30 0d 01 7c 26 ec  |.0,640:.0,0..|&.|
000004a0  34 2c 34 3a df 31 32 37  32 2c 34 3a df 31 32 37  |4,4:.1272,4:.127|
000004b0  32 2c 36 33 36 3a df 34  2c 36 33 36 3a df 34 2c  |2,636:.4,636:.4,|
000004c0  34 0d 01 86 05 e1 0d 01  90 05 3a 0d 01 9a 0e dd  |4.........:.....|
000004d0  f2 62 61 74 73 28 78 25  29 0d 01 a4 7b ec 78 25  |.bats(x%)...{.x%|
000004e0  2b 32 30 30 2c 33 30 30  3a df 78 25 2b 32 30 30  |+200,300:.x%+200|
000004f0  2c 35 35 30 3a df 78 25  2b 32 33 30 2c 35 35 30  |,550:.x%+230,550|
00000500  3a df 78 25 2b 32 33 30  2c 35 36 30 3a df 78 25  |:.x%+230,560:.x%|
00000510  2b 32 33 30 2c 35 36 30  3a df 78 25 2b 32 37 30  |+230,560:.x%+270|
00000520  2c 35 36 30 3a df 78 25  2b 32 37 30 2c 35 35 30  |,560:.x%+270,550|
00000530  3a df 78 25 2b 33 30 30  2c 35 35 30 3a df 78 25  |:.x%+300,550:.x%|
00000540  2b 33 30 30 2c 33 30 30  3a df 78 25 2b 32 30 30  |+300,300:.x%+200|
00000550  2c 33 30 30 0d 01 ae 05  e1 0d 01 b8 05 3a 0d 01  |,300.........:..|
00000560  c2 0a dd f2 6c 6f 61 64  0d 01 cc 12 ef 32 38 2c  |....load.....28,|
00000570  31 2c 31 39 2c 31 33 2c  31 37 0d 01 d6 0a 40 25  |1,19,13,17....@%|
00000580  3d 26 30 36 0d 01 e0 65  f5 3a db 3a f1 22 45 6e  |=&06...e.:.:."En|
00000590  74 65 72 20 6c 6f 61 64  22 3a e8 27 22 69 6e 20  |ter load":.'"in |
000005a0  6f 68 6d 73 3a 20 22 6c  6f 61 64 3a fd 20 6c 6f  |ohms: "load:. lo|
000005b0  61 64 3e 2e 35 20 80 20  6c 6f 61 64 3c 32 30 3a  |ad>.5 . load<20:|
000005c0  db 3a f1 22 4e 6f 6d 69  6e 61 6c 20 6c 6f 61 64  |.:."Nominal load|
000005d0  22 3a f1 27 3b a8 28 31  32 30 2f 6c 6f 61 64 29  |":.';.(120/load)|
000005e0  2a 31 30 3b 22 6d 61 22  3b 0d 01 ea 05 e1 0d 01  |*10;"ma";.......|
000005f0  f4 05 3a 0d 01 fe 0a dd  f2 72 65 61 64 0d 02 08  |..:......read...|
00000600  0f e3 20 63 68 25 3d 31  20 b8 20 34 0d 02 12 90  |.. ch%=1 . 4....|
00000610  e7 20 96 28 63 68 25 29  2f 63 61 6c 3e 30 2e 38  |. .(ch%)/cal>0.8|
00000620  20 76 6f 6c 74 73 28 63  68 25 29 3d 96 28 63 68  | volts(ch%)=.(ch|
00000630  25 29 2f 63 61 6c 3a 74  69 6d 65 28 63 68 25 29  |%)/cal:time(ch%)|
00000640  3d 91 2f 36 30 30 30 2d  73 74 61 72 74 28 63 68  |=./6000-start(ch|
00000650  25 29 3a 63 61 70 73 28  63 68 25 29 3d 63 61 70  |%):caps(ch%)=cap|
00000660  73 28 63 68 25 29 2b 28  76 6f 6c 74 73 28 63 68  |s(ch%)+(volts(ch|
00000670  25 29 2f 6c 6f 61 64 29  2f 33 2e 36 20 8b 20 e7  |%)/load)/3.6 . .|
00000680  20 96 28 63 68 25 29 3c  2e 37 20 73 74 61 72 74  | .(ch%)<.7 start|
00000690  28 63 68 25 29 3d 91 2f  36 30 30 30 0d 02 1c 3a  |(ch%)=./6000...:|
000006a0  f4 20 57 41 49 54 53 20  55 4e 54 49 4c 20 43 45  |. WAITS UNTIL CE|
000006b0  4c 4c 20 49 4e 53 45 52  54 45 44 2c 20 53 54 4f  |LL INSERTED, STO|
000006c0  50 53 20 57 48 45 4e 20  43 45 4c 4c 20 45 58 48  |PS WHEN CELL EXH|
000006d0  41 55 53 54 45 44 0d 02  26 29 f4 20 55 53 45 53  |AUSTED..&). USES|
000006e0  20 4c 41 50 53 45 44 20  54 49 4d 45 20 41 4e 44  | LAPSED TIME AND|
000006f0  20 53 55 4d 53 20 6d 61  2f 73 65 63 6f 6e 64 0d  | SUMS ma/second.|
00000700  02 30 05 ed 0d 02 3a 05  e1 0d 02 44 05 3a 0d 02  |.0....:....D.:..|
00000710  4e 17 dd f2 73 63 72 65  65 6e 28 71 2c 61 2c 62  |N...screen(q,a,b|
00000720  2c 63 2c 64 29 0d 02 58  1c e7 71 3d 30 20 40 25  |,c,d)..X..q=0 @%|
00000730  3d 26 30 32 30 32 30 36  20 8b 20 40 25 3d 26 30  |=&020206 . @%=&0|
00000740  36 0d 02 62 11 f1 8a 30  2c 71 29 61 2c 62 2c 63  |6..b...0,q)a,b,c|
00000750  2c 64 0d 02 6c 05 e1 0d  02 76 05 3a 0d ff        |,d..l....v.:..|
0000075e
25-08-89/NICHECK.m0
25-08-89/NICHECK.m1
25-08-89/NICHECK.m2
25-08-89/NICHECK.m4
25-08-89/NICHECK.m5