Home » Archimedes archive » Acorn User » AU 1998-13 (Christmas).adf » Extras » Rambles/!LEDGuess/!Help

Rambles/!LEDGuess/!Help

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 1998-13 (Christmas).adf » Extras
Filename: Rambles/!LEDGuess/!Help
Read OK:
File size: 066E bytes
Load address: 0000
Exec address: 0000
File contents
LED Guess V1.00
Requires WBModules

�K Wright 1998

This program is freeware. It can be distributed freely as long as all
files of this archive remain in tact and unaltered.
It was authored on behalf of the 
Educational Computing Association of Western Australia (ECAWA).
Donations to ECAWA can be made by sending cash/cheque/money order
to:

ECAWA
PO Box 297
Claremont 
West Australia  
Australia 6010


This program controls the LED's of the parallel port expansion interface card,
(details of which can be found at Jim Fuller's site
http://www.southwest.com.au/~jfuller/)
on Acorn machines with bidirectional parallel ports...i.e. A3020/4000/5000/RiscPC.
It has not been tested on A3000 machines but could work on them along with Mike Cook's
modules from Acorn User July 1995.

It allows the user to investigate which numbers control which LED's of the aforementioned
expansion board. The user types in a number, clicks on a button and the LED's corresponding to
that number will light up on the screen and on the board.  The user can trial different numbers
to control patterns of LED's which can later control stepper motors.
If you don't have access to the expansion card or don't have the technical know how
to make one yourself you can always use Mike Cook's PortMonitor
(Acorn User July 1995) to test this software.

Thanks go to:
 Mike Cook   for making PortMonitor which allowed me to test LEDCont.
 Richard Whincup for assistance in sprite control and general programming.
"WimpBasic" for making something that even I can use.
 ECAWA       for providing the enthusiasm ignition.

I can be contacted at kwright@denmarkwa.net.au







00000000  4c 45 44 20 47 75 65 73  73 20 56 31 2e 30 30 0a  |LED Guess V1.00.|
00000010  52 65 71 75 69 72 65 73  20 57 42 4d 6f 64 75 6c  |Requires WBModul|
00000020  65 73 0a 0a a9 4b 20 57  72 69 67 68 74 20 31 39  |es...K Wright 19|
00000030  39 38 0a 0a 54 68 69 73  20 70 72 6f 67 72 61 6d  |98..This program|
00000040  20 69 73 20 66 72 65 65  77 61 72 65 2e 20 49 74  | is freeware. It|
00000050  20 63 61 6e 20 62 65 20  64 69 73 74 72 69 62 75  | can be distribu|
00000060  74 65 64 20 66 72 65 65  6c 79 20 61 73 20 6c 6f  |ted freely as lo|
00000070  6e 67 20 61 73 20 61 6c  6c 0a 66 69 6c 65 73 20  |ng as all.files |
00000080  6f 66 20 74 68 69 73 20  61 72 63 68 69 76 65 20  |of this archive |
00000090  72 65 6d 61 69 6e 20 69  6e 20 74 61 63 74 20 61  |remain in tact a|
000000a0  6e 64 20 75 6e 61 6c 74  65 72 65 64 2e 0a 49 74  |nd unaltered..It|
000000b0  20 77 61 73 20 61 75 74  68 6f 72 65 64 20 6f 6e  | was authored on|
000000c0  20 62 65 68 61 6c 66 20  6f 66 20 74 68 65 20 0a  | behalf of the .|
000000d0  45 64 75 63 61 74 69 6f  6e 61 6c 20 43 6f 6d 70  |Educational Comp|
000000e0  75 74 69 6e 67 20 41 73  73 6f 63 69 61 74 69 6f  |uting Associatio|
000000f0  6e 20 6f 66 20 57 65 73  74 65 72 6e 20 41 75 73  |n of Western Aus|
00000100  74 72 61 6c 69 61 20 28  45 43 41 57 41 29 2e 0a  |tralia (ECAWA)..|
00000110  44 6f 6e 61 74 69 6f 6e  73 20 74 6f 20 45 43 41  |Donations to ECA|
00000120  57 41 20 63 61 6e 20 62  65 20 6d 61 64 65 20 62  |WA can be made b|
00000130  79 20 73 65 6e 64 69 6e  67 20 63 61 73 68 2f 63  |y sending cash/c|
00000140  68 65 71 75 65 2f 6d 6f  6e 65 79 20 6f 72 64 65  |heque/money orde|
00000150  72 0a 74 6f 3a 0a 0a 45  43 41 57 41 0a 50 4f 20  |r.to:..ECAWA.PO |
00000160  42 6f 78 20 32 39 37 0a  43 6c 61 72 65 6d 6f 6e  |Box 297.Claremon|
00000170  74 20 0a 57 65 73 74 20  41 75 73 74 72 61 6c 69  |t .West Australi|
00000180  61 20 20 0a 41 75 73 74  72 61 6c 69 61 20 36 30  |a  .Australia 60|
00000190  31 30 0a 0a 0a 54 68 69  73 20 70 72 6f 67 72 61  |10...This progra|
000001a0  6d 20 63 6f 6e 74 72 6f  6c 73 20 74 68 65 20 4c  |m controls the L|
000001b0  45 44 27 73 20 6f 66 20  74 68 65 20 70 61 72 61  |ED's of the para|
000001c0  6c 6c 65 6c 20 70 6f 72  74 20 65 78 70 61 6e 73  |llel port expans|
000001d0  69 6f 6e 20 69 6e 74 65  72 66 61 63 65 20 63 61  |ion interface ca|
000001e0  72 64 2c 0a 28 64 65 74  61 69 6c 73 20 6f 66 20  |rd,.(details of |
000001f0  77 68 69 63 68 20 63 61  6e 20 62 65 20 66 6f 75  |which can be fou|
00000200  6e 64 20 61 74 20 4a 69  6d 20 46 75 6c 6c 65 72  |nd at Jim Fuller|
00000210  27 73 20 73 69 74 65 0a  68 74 74 70 3a 2f 2f 77  |'s site.http://w|
00000220  77 77 2e 73 6f 75 74 68  77 65 73 74 2e 63 6f 6d  |ww.southwest.com|
00000230  2e 61 75 2f 7e 6a 66 75  6c 6c 65 72 2f 29 0a 6f  |.au/~jfuller/).o|
00000240  6e 20 41 63 6f 72 6e 20  6d 61 63 68 69 6e 65 73  |n Acorn machines|
00000250  20 77 69 74 68 20 62 69  64 69 72 65 63 74 69 6f  | with bidirectio|
00000260  6e 61 6c 20 70 61 72 61  6c 6c 65 6c 20 70 6f 72  |nal parallel por|
00000270  74 73 2e 2e 2e 69 2e 65  2e 20 41 33 30 32 30 2f  |ts...i.e. A3020/|
00000280  34 30 30 30 2f 35 30 30  30 2f 52 69 73 63 50 43  |4000/5000/RiscPC|
00000290  2e 0a 49 74 20 68 61 73  20 6e 6f 74 20 62 65 65  |..It has not bee|
000002a0  6e 20 74 65 73 74 65 64  20 6f 6e 20 41 33 30 30  |n tested on A300|
000002b0  30 20 6d 61 63 68 69 6e  65 73 20 62 75 74 20 63  |0 machines but c|
000002c0  6f 75 6c 64 20 77 6f 72  6b 20 6f 6e 20 74 68 65  |ould work on the|
000002d0  6d 20 61 6c 6f 6e 67 20  77 69 74 68 20 4d 69 6b  |m along with Mik|
000002e0  65 20 43 6f 6f 6b 27 73  0a 6d 6f 64 75 6c 65 73  |e Cook's.modules|
000002f0  20 66 72 6f 6d 20 41 63  6f 72 6e 20 55 73 65 72  | from Acorn User|
00000300  20 4a 75 6c 79 20 31 39  39 35 2e 0a 0a 49 74 20  | July 1995...It |
00000310  61 6c 6c 6f 77 73 20 74  68 65 20 75 73 65 72 20  |allows the user |
00000320  74 6f 20 69 6e 76 65 73  74 69 67 61 74 65 20 77  |to investigate w|
00000330  68 69 63 68 20 6e 75 6d  62 65 72 73 20 63 6f 6e  |hich numbers con|
00000340  74 72 6f 6c 20 77 68 69  63 68 20 4c 45 44 27 73  |trol which LED's|
00000350  20 6f 66 20 74 68 65 20  61 66 6f 72 65 6d 65 6e  | of the aforemen|
00000360  74 69 6f 6e 65 64 0a 65  78 70 61 6e 73 69 6f 6e  |tioned.expansion|
00000370  20 62 6f 61 72 64 2e 20  54 68 65 20 75 73 65 72  | board. The user|
00000380  20 74 79 70 65 73 20 69  6e 20 61 20 6e 75 6d 62  | types in a numb|
00000390  65 72 2c 20 63 6c 69 63  6b 73 20 6f 6e 20 61 20  |er, clicks on a |
000003a0  62 75 74 74 6f 6e 20 61  6e 64 20 74 68 65 20 4c  |button and the L|
000003b0  45 44 27 73 20 63 6f 72  72 65 73 70 6f 6e 64 69  |ED's correspondi|
000003c0  6e 67 20 74 6f 0a 74 68  61 74 20 6e 75 6d 62 65  |ng to.that numbe|
000003d0  72 20 77 69 6c 6c 20 6c  69 67 68 74 20 75 70 20  |r will light up |
000003e0  6f 6e 20 74 68 65 20 73  63 72 65 65 6e 20 61 6e  |on the screen an|
000003f0  64 20 6f 6e 20 74 68 65  20 62 6f 61 72 64 2e 20  |d on the board. |
00000400  20 54 68 65 20 75 73 65  72 20 63 61 6e 20 74 72  | The user can tr|
00000410  69 61 6c 20 64 69 66 66  65 72 65 6e 74 20 6e 75  |ial different nu|
00000420  6d 62 65 72 73 0a 74 6f  20 63 6f 6e 74 72 6f 6c  |mbers.to control|
00000430  20 70 61 74 74 65 72 6e  73 20 6f 66 20 4c 45 44  | patterns of LED|
00000440  27 73 20 77 68 69 63 68  20 63 61 6e 20 6c 61 74  |'s which can lat|
00000450  65 72 20 63 6f 6e 74 72  6f 6c 20 73 74 65 70 70  |er control stepp|
00000460  65 72 20 6d 6f 74 6f 72  73 2e 0a 49 66 20 79 6f  |er motors..If yo|
00000470  75 20 64 6f 6e 27 74 20  68 61 76 65 20 61 63 63  |u don't have acc|
00000480  65 73 73 20 74 6f 20 74  68 65 20 65 78 70 61 6e  |ess to the expan|
00000490  73 69 6f 6e 20 63 61 72  64 20 6f 72 20 64 6f 6e  |sion card or don|
000004a0  27 74 20 68 61 76 65 20  74 68 65 20 74 65 63 68  |'t have the tech|
000004b0  6e 69 63 61 6c 20 6b 6e  6f 77 20 68 6f 77 0a 74  |nical know how.t|
000004c0  6f 20 6d 61 6b 65 20 6f  6e 65 20 79 6f 75 72 73  |o make one yours|
000004d0  65 6c 66 20 79 6f 75 20  63 61 6e 20 61 6c 77 61  |elf you can alwa|
000004e0  79 73 20 75 73 65 20 4d  69 6b 65 20 43 6f 6f 6b  |ys use Mike Cook|
000004f0  27 73 20 50 6f 72 74 4d  6f 6e 69 74 6f 72 0a 28  |'s PortMonitor.(|
00000500  41 63 6f 72 6e 20 55 73  65 72 20 4a 75 6c 79 20  |Acorn User July |
00000510  31 39 39 35 29 20 74 6f  20 74 65 73 74 20 74 68  |1995) to test th|
00000520  69 73 20 73 6f 66 74 77  61 72 65 2e 0a 0a 54 68  |is software...Th|
00000530  61 6e 6b 73 20 67 6f 20  74 6f 3a 0a 20 4d 69 6b  |anks go to:. Mik|
00000540  65 20 43 6f 6f 6b 20 20  20 66 6f 72 20 6d 61 6b  |e Cook   for mak|
00000550  69 6e 67 20 50 6f 72 74  4d 6f 6e 69 74 6f 72 20  |ing PortMonitor |
00000560  77 68 69 63 68 20 61 6c  6c 6f 77 65 64 20 6d 65  |which allowed me|
00000570  20 74 6f 20 74 65 73 74  20 4c 45 44 43 6f 6e 74  | to test LEDCont|
00000580  2e 0a 20 52 69 63 68 61  72 64 20 57 68 69 6e 63  |.. Richard Whinc|
00000590  75 70 20 66 6f 72 20 61  73 73 69 73 74 61 6e 63  |up for assistanc|
000005a0  65 20 69 6e 20 73 70 72  69 74 65 20 63 6f 6e 74  |e in sprite cont|
000005b0  72 6f 6c 20 61 6e 64 20  67 65 6e 65 72 61 6c 20  |rol and general |
000005c0  70 72 6f 67 72 61 6d 6d  69 6e 67 2e 0a 22 57 69  |programming.."Wi|
000005d0  6d 70 42 61 73 69 63 22  20 66 6f 72 20 6d 61 6b  |mpBasic" for mak|
000005e0  69 6e 67 20 73 6f 6d 65  74 68 69 6e 67 20 74 68  |ing something th|
000005f0  61 74 20 65 76 65 6e 20  49 20 63 61 6e 20 75 73  |at even I can us|
00000600  65 2e 0a 20 45 43 41 57  41 20 20 20 20 20 20 20  |e.. ECAWA       |
00000610  66 6f 72 20 70 72 6f 76  69 64 69 6e 67 20 74 68  |for providing th|
00000620  65 20 65 6e 74 68 75 73  69 61 73 6d 20 69 67 6e  |e enthusiasm ign|
00000630  69 74 69 6f 6e 2e 0a 0a  49 20 63 61 6e 20 62 65  |ition...I can be|
00000640  20 63 6f 6e 74 61 63 74  65 64 20 61 74 20 6b 77  | contacted at kw|
00000650  72 69 67 68 74 40 64 65  6e 6d 61 72 6b 77 61 2e  |right@denmarkwa.|
00000660  6e 65 74 2e 61 75 0a 0a  0a 0a 0a 0a 0a 0a        |net.au........|
0000066e