Home » Archimedes archive » Acorn User » AU 1997-11 A.adf » Regulars1 » MikeC/Software/ReadMe

MikeC/Software/ReadMe

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 » Acorn User » AU 1997-11 A.adf » Regulars1
Filename: MikeC/Software/ReadMe
Read OK:
File size: 0554 bytes
Load address: 0000
Exec address: 0000
File contents
Test files to run on the Simulator drag the /H version into the simulator.

Count :-  Binary Count on Output Port. Just run this.
        
Shift :-  Shifting bit, set Watchdog time out to 10 and then run.
          Watchdog time out set to other values will alter the speed.
        
The following are by Bill Jeffs, as no contact bounce is used they might
produce inconsistant results when blown into a chip.

Test-A :- A test for most instructions enabled by the PORT A switches.
          Set all switches to low
          Toggle PortA,4 Switch Hi-Lo for a sequnce, if held high it will repeat.
          Toggle PortA,3 and 2 Hi-Lo for a differant sequnce of LEDs.
          PortA,1 Hi then PortA,0 LED toggles until PortA,1 is Lo.
          
Test-B :- Checks operation of the interrupts from PortB and RTCC
          Operate switches PortB, 4 to 7 to generate interrupt.
          Interrupts generated on the lo-hi and hi-lo transitions.
          Detection of operation confirmed when PortA, 1 to 4 LEDs are on.
          PortB,0 a hi-lo transition Toggles PortA,0 LED
          PortB,2 LED toggles on each timeout of the RTCC
           
Test-C :- Test of the SLEEP mode
          PortB,7 hi the sleep mode is enabled, lo to disable.
          When watchdog timer reaches time out (set to 40 or so) Sleep LED is off
          and then goes on again.

       
00000000  54 65 73 74 20 66 69 6c  65 73 20 74 6f 20 72 75  |Test files to ru|
00000010  6e 20 6f 6e 20 74 68 65  20 53 69 6d 75 6c 61 74  |n on the Simulat|
00000020  6f 72 20 64 72 61 67 20  74 68 65 20 2f 48 20 76  |or drag the /H v|
00000030  65 72 73 69 6f 6e 20 69  6e 74 6f 20 74 68 65 20  |ersion into the |
00000040  73 69 6d 75 6c 61 74 6f  72 2e 0a 0a 43 6f 75 6e  |simulator...Coun|
00000050  74 20 3a 2d 20 20 42 69  6e 61 72 79 20 43 6f 75  |t :-  Binary Cou|
00000060  6e 74 20 6f 6e 20 4f 75  74 70 75 74 20 50 6f 72  |nt on Output Por|
00000070  74 2e 20 4a 75 73 74 20  72 75 6e 20 74 68 69 73  |t. Just run this|
00000080  2e 0a 20 20 20 20 20 20  20 20 0a 53 68 69 66 74  |..        .Shift|
00000090  20 3a 2d 20 20 53 68 69  66 74 69 6e 67 20 62 69  | :-  Shifting bi|
000000a0  74 2c 20 73 65 74 20 57  61 74 63 68 64 6f 67 20  |t, set Watchdog |
000000b0  74 69 6d 65 20 6f 75 74  20 74 6f 20 31 30 20 61  |time out to 10 a|
000000c0  6e 64 20 74 68 65 6e 20  72 75 6e 2e 0a 20 20 20  |nd then run..   |
000000d0  20 20 20 20 20 20 20 57  61 74 63 68 64 6f 67 20  |       Watchdog |
000000e0  74 69 6d 65 20 6f 75 74  20 73 65 74 20 74 6f 20  |time out set to |
000000f0  6f 74 68 65 72 20 76 61  6c 75 65 73 20 77 69 6c  |other values wil|
00000100  6c 20 61 6c 74 65 72 20  74 68 65 20 73 70 65 65  |l alter the spee|
00000110  64 2e 0a 20 20 20 20 20  20 20 20 0a 54 68 65 20  |d..        .The |
00000120  66 6f 6c 6c 6f 77 69 6e  67 20 61 72 65 20 62 79  |following are by|
00000130  20 42 69 6c 6c 20 4a 65  66 66 73 2c 20 61 73 20  | Bill Jeffs, as |
00000140  6e 6f 20 63 6f 6e 74 61  63 74 20 62 6f 75 6e 63  |no contact bounc|
00000150  65 20 69 73 20 75 73 65  64 20 74 68 65 79 20 6d  |e is used they m|
00000160  69 67 68 74 0a 70 72 6f  64 75 63 65 20 69 6e 63  |ight.produce inc|
00000170  6f 6e 73 69 73 74 61 6e  74 20 72 65 73 75 6c 74  |onsistant result|
00000180  73 20 77 68 65 6e 20 62  6c 6f 77 6e 20 69 6e 74  |s when blown int|
00000190  6f 20 61 20 63 68 69 70  2e 0a 0a 54 65 73 74 2d  |o a chip...Test-|
000001a0  41 20 3a 2d 20 41 20 74  65 73 74 20 66 6f 72 20  |A :- A test for |
000001b0  6d 6f 73 74 20 69 6e 73  74 72 75 63 74 69 6f 6e  |most instruction|
000001c0  73 20 65 6e 61 62 6c 65  64 20 62 79 20 74 68 65  |s enabled by the|
000001d0  20 50 4f 52 54 20 41 20  73 77 69 74 63 68 65 73  | PORT A switches|
000001e0  2e 0a 20 20 20 20 20 20  20 20 20 20 53 65 74 20  |..          Set |
000001f0  61 6c 6c 20 73 77 69 74  63 68 65 73 20 74 6f 20  |all switches to |
00000200  6c 6f 77 0a 20 20 20 20  20 20 20 20 20 20 54 6f  |low.          To|
00000210  67 67 6c 65 20 50 6f 72  74 41 2c 34 20 53 77 69  |ggle PortA,4 Swi|
00000220  74 63 68 20 48 69 2d 4c  6f 20 66 6f 72 20 61 20  |tch Hi-Lo for a |
00000230  73 65 71 75 6e 63 65 2c  20 69 66 20 68 65 6c 64  |sequnce, if held|
00000240  20 68 69 67 68 20 69 74  20 77 69 6c 6c 20 72 65  | high it will re|
00000250  70 65 61 74 2e 0a 20 20  20 20 20 20 20 20 20 20  |peat..          |
00000260  54 6f 67 67 6c 65 20 50  6f 72 74 41 2c 33 20 61  |Toggle PortA,3 a|
00000270  6e 64 20 32 20 48 69 2d  4c 6f 20 66 6f 72 20 61  |nd 2 Hi-Lo for a|
00000280  20 64 69 66 66 65 72 61  6e 74 20 73 65 71 75 6e  | differant sequn|
00000290  63 65 20 6f 66 20 4c 45  44 73 2e 0a 20 20 20 20  |ce of LEDs..    |
000002a0  20 20 20 20 20 20 50 6f  72 74 41 2c 31 20 48 69  |      PortA,1 Hi|
000002b0  20 74 68 65 6e 20 50 6f  72 74 41 2c 30 20 4c 45  | then PortA,0 LE|
000002c0  44 20 74 6f 67 67 6c 65  73 20 75 6e 74 69 6c 20  |D toggles until |
000002d0  50 6f 72 74 41 2c 31 20  69 73 20 4c 6f 2e 0a 20  |PortA,1 is Lo.. |
000002e0  20 20 20 20 20 20 20 20  20 0a 54 65 73 74 2d 42  |         .Test-B|
000002f0  20 3a 2d 20 43 68 65 63  6b 73 20 6f 70 65 72 61  | :- Checks opera|
00000300  74 69 6f 6e 20 6f 66 20  74 68 65 20 69 6e 74 65  |tion of the inte|
00000310  72 72 75 70 74 73 20 66  72 6f 6d 20 50 6f 72 74  |rrupts from Port|
00000320  42 20 61 6e 64 20 52 54  43 43 0a 20 20 20 20 20  |B and RTCC.     |
00000330  20 20 20 20 20 4f 70 65  72 61 74 65 20 73 77 69  |     Operate swi|
00000340  74 63 68 65 73 20 50 6f  72 74 42 2c 20 34 20 74  |tches PortB, 4 t|
00000350  6f 20 37 20 74 6f 20 67  65 6e 65 72 61 74 65 20  |o 7 to generate |
00000360  69 6e 74 65 72 72 75 70  74 2e 0a 20 20 20 20 20  |interrupt..     |
00000370  20 20 20 20 20 49 6e 74  65 72 72 75 70 74 73 20  |     Interrupts |
00000380  67 65 6e 65 72 61 74 65  64 20 6f 6e 20 74 68 65  |generated on the|
00000390  20 6c 6f 2d 68 69 20 61  6e 64 20 68 69 2d 6c 6f  | lo-hi and hi-lo|
000003a0  20 74 72 61 6e 73 69 74  69 6f 6e 73 2e 0a 20 20  | transitions..  |
000003b0  20 20 20 20 20 20 20 20  44 65 74 65 63 74 69 6f  |        Detectio|
000003c0  6e 20 6f 66 20 6f 70 65  72 61 74 69 6f 6e 20 63  |n of operation c|
000003d0  6f 6e 66 69 72 6d 65 64  20 77 68 65 6e 20 50 6f  |onfirmed when Po|
000003e0  72 74 41 2c 20 31 20 74  6f 20 34 20 4c 45 44 73  |rtA, 1 to 4 LEDs|
000003f0  20 61 72 65 20 6f 6e 2e  0a 20 20 20 20 20 20 20  | are on..       |
00000400  20 20 20 50 6f 72 74 42  2c 30 20 61 20 68 69 2d  |   PortB,0 a hi-|
00000410  6c 6f 20 74 72 61 6e 73  69 74 69 6f 6e 20 54 6f  |lo transition To|
00000420  67 67 6c 65 73 20 50 6f  72 74 41 2c 30 20 4c 45  |ggles PortA,0 LE|
00000430  44 0a 20 20 20 20 20 20  20 20 20 20 50 6f 72 74  |D.          Port|
00000440  42 2c 32 20 4c 45 44 20  74 6f 67 67 6c 65 73 20  |B,2 LED toggles |
00000450  6f 6e 20 65 61 63 68 20  74 69 6d 65 6f 75 74 20  |on each timeout |
00000460  6f 66 20 74 68 65 20 52  54 43 43 0a 20 20 20 20  |of the RTCC.    |
00000470  20 20 20 20 20 20 20 0a  54 65 73 74 2d 43 20 3a  |       .Test-C :|
00000480  2d 20 54 65 73 74 20 6f  66 20 74 68 65 20 53 4c  |- Test of the SL|
00000490  45 45 50 20 6d 6f 64 65  0a 20 20 20 20 20 20 20  |EEP mode.       |
000004a0  20 20 20 50 6f 72 74 42  2c 37 20 68 69 20 74 68  |   PortB,7 hi th|
000004b0  65 20 73 6c 65 65 70 20  6d 6f 64 65 20 69 73 20  |e sleep mode is |
000004c0  65 6e 61 62 6c 65 64 2c  20 6c 6f 20 74 6f 20 64  |enabled, lo to d|
000004d0  69 73 61 62 6c 65 2e 0a  20 20 20 20 20 20 20 20  |isable..        |
000004e0  20 20 57 68 65 6e 20 77  61 74 63 68 64 6f 67 20  |  When watchdog |
000004f0  74 69 6d 65 72 20 72 65  61 63 68 65 73 20 74 69  |timer reaches ti|
00000500  6d 65 20 6f 75 74 20 28  73 65 74 20 74 6f 20 34  |me out (set to 4|
00000510  30 20 6f 72 20 73 6f 29  20 53 6c 65 65 70 20 4c  |0 or so) Sleep L|
00000520  45 44 20 69 73 20 6f 66  66 0a 20 20 20 20 20 20  |ED is off.      |
00000530  20 20 20 20 61 6e 64 20  74 68 65 6e 20 67 6f 65  |    and then goe|
00000540  73 20 6f 6e 20 61 67 61  69 6e 2e 0a 0a 20 20 20  |s on again...   |
00000550  20 20 20 20                                       |    |
00000554