Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF » L/+dimon1

L/+dimon1

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_User_Group » EUG_40.ADF
Filename: L/+dimon1
Read OK:
File size: 0B5A bytes
Load address: 2B206576
Exec address: 6F6D6964
Duplicates

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

File contents
        *******************************************************
        Richard Dimond, 5 Briary Court, SIDCUP, Kent, DA14 6HZ. 
                      Tel. (0181) 302 2395
        *******************************************************

Dear All,

I was interested in Robert Sprowson's Wordwrap coding in the last mag as
he has used the same routine that I have used in my codes 6 & 7.  This
made me look at my coding again as I had only used space for the routine
to check back for while he uses all below CHR$48.

My coding will check for all characters which are neither letters nor
numbers and enables long strings - eg. M/code - to be printed provided
they contain these characters so that they are split up if necessary.  I
have found two characters which should not be used - the apostrophe and
the slash - as they split words like don't, Robert's and M/code.  I have
added a routine 'chkchr2' which is described in my article on the coding
to check for these.  I have also included the '_' character in 'chkchr'
so that solid  lines may be printed.

The coding is now CODE8 and I have included the assembler listing, to
which I have added REM lines and used ASC" " in check routines to make the
coding clearer, and explained this and also the menu system so that you
may see how the discs work.  

I had many problems to shorten the menu sufficiently for it to work with
the additional DATA lines with PAGE at &1D00 and had to transfer the print
routines to the 'PRINT' program and this caused the problem of
transferring variables between the two programs.  The numerical variables
were easy to transfer by using the integer variables.  The three string
variables were a problem though and I tried various addresses until I
found that I could use the bottom of the stack. 

I have revised my info part of the Information on EUG to cover these
changes as there should no longer be chances of locking up the program now
and I would suggest you all re-read them.

I have also made some small changes the VTYPE program which I suggest you
use to check your files.  The two CALLs to the coding are now 'clear' and
'print' as in the coding and coding number to 8.  Also line 20 sets the
variable 'skp' at &82 to zero as I found this could get set to another
value and cause the perforation skip routine to print several blank lines.

I also read with interest Chadders suggestions to produce a better and
hopefully an error free magazine and would say that I have already offered
my help in this way.  Had I checked EUG36 before it was published, there
would have been no problem.  I know that Gus does not get sufficient
submissions to plan even one issue ahead to enable this to be done.  May I
too encourage you to send in your submissons?

Regards,

Richard

As Ive said before and you pointed out, time is the problem. It is
November 7 now, this disc was due out at the beginning of October. 


00000000  0d 20 20 20 20 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  |****************|
*
00000040  0d 20 20 20 20 20 20 20  20 52 69 63 68 61 72 64  |.        Richard|
00000050  20 44 69 6d 6f 6e 64 2c  20 35 20 42 72 69 61 72  | Dimond, 5 Briar|
00000060  79 20 43 6f 75 72 74 2c  20 53 49 44 43 55 50 2c  |y Court, SIDCUP,|
00000070  20 4b 65 6e 74 2c 20 44  41 31 34 20 36 48 5a 2e  | Kent, DA14 6HZ.|
00000080  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00000090  20 20 20 20 20 20 20 20  54 65 6c 2e 20 28 30 31  |        Tel. (01|
000000a0  38 31 29 20 33 30 32 20  32 33 39 35 0d 20 20 20  |81) 302 2395.   |
000000b0  20 20 20 20 20 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |     ***********|
000000c0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
000000e0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 0d 0d 44 65  |************..De|
000000f0  61 72 20 41 6c 6c 2c 0d  0d 49 20 77 61 73 20 69  |ar All,..I was i|
00000100  6e 74 65 72 65 73 74 65  64 20 69 6e 20 52 6f 62  |nterested in Rob|
00000110  65 72 74 20 53 70 72 6f  77 73 6f 6e 27 73 20 57  |ert Sprowson's W|
00000120  6f 72 64 77 72 61 70 20  63 6f 64 69 6e 67 20 69  |ordwrap coding i|
00000130  6e 20 74 68 65 20 6c 61  73 74 20 6d 61 67 20 61  |n the last mag a|
00000140  73 0d 68 65 20 68 61 73  20 75 73 65 64 20 74 68  |s.he has used th|
00000150  65 20 73 61 6d 65 20 72  6f 75 74 69 6e 65 20 74  |e same routine t|
00000160  68 61 74 20 49 20 68 61  76 65 20 75 73 65 64 20  |hat I have used |
00000170  69 6e 20 6d 79 20 63 6f  64 65 73 20 36 20 26 20  |in my codes 6 & |
00000180  37 2e 20 20 54 68 69 73  0d 6d 61 64 65 20 6d 65  |7.  This.made me|
00000190  20 6c 6f 6f 6b 20 61 74  20 6d 79 20 63 6f 64 69  | look at my codi|
000001a0  6e 67 20 61 67 61 69 6e  20 61 73 20 49 20 68 61  |ng again as I ha|
000001b0  64 20 6f 6e 6c 79 20 75  73 65 64 20 73 70 61 63  |d only used spac|
000001c0  65 20 66 6f 72 20 74 68  65 20 72 6f 75 74 69 6e  |e for the routin|
000001d0  65 0d 74 6f 20 63 68 65  63 6b 20 62 61 63 6b 20  |e.to check back |
000001e0  66 6f 72 20 77 68 69 6c  65 20 68 65 20 75 73 65  |for while he use|
000001f0  73 20 61 6c 6c 20 62 65  6c 6f 77 20 43 48 52 24  |s all below CHR$|
00000200  34 38 2e 0d 0d 4d 79 20  63 6f 64 69 6e 67 20 77  |48...My coding w|
00000210  69 6c 6c 20 63 68 65 63  6b 20 66 6f 72 20 61 6c  |ill check for al|
00000220  6c 20 63 68 61 72 61 63  74 65 72 73 20 77 68 69  |l characters whi|
00000230  63 68 20 61 72 65 20 6e  65 69 74 68 65 72 20 6c  |ch are neither l|
00000240  65 74 74 65 72 73 20 6e  6f 72 0d 6e 75 6d 62 65  |etters nor.numbe|
00000250  72 73 20 61 6e 64 20 65  6e 61 62 6c 65 73 20 6c  |rs and enables l|
00000260  6f 6e 67 20 73 74 72 69  6e 67 73 20 2d 20 65 67  |ong strings - eg|
00000270  2e 20 4d 2f 63 6f 64 65  20 2d 20 74 6f 20 62 65  |. M/code - to be|
00000280  20 70 72 69 6e 74 65 64  20 70 72 6f 76 69 64 65  | printed provide|
00000290  64 0d 74 68 65 79 20 63  6f 6e 74 61 69 6e 20 74  |d.they contain t|
000002a0  68 65 73 65 20 63 68 61  72 61 63 74 65 72 73 20  |hese characters |
000002b0  73 6f 20 74 68 61 74 20  74 68 65 79 20 61 72 65  |so that they are|
000002c0  20 73 70 6c 69 74 20 75  70 20 69 66 20 6e 65 63  | split up if nec|
000002d0  65 73 73 61 72 79 2e 20  20 49 0d 68 61 76 65 20  |essary.  I.have |
000002e0  66 6f 75 6e 64 20 74 77  6f 20 63 68 61 72 61 63  |found two charac|
000002f0  74 65 72 73 20 77 68 69  63 68 20 73 68 6f 75 6c  |ters which shoul|
00000300  64 20 6e 6f 74 20 62 65  20 75 73 65 64 20 2d 20  |d not be used - |
00000310  74 68 65 20 61 70 6f 73  74 72 6f 70 68 65 20 61  |the apostrophe a|
00000320  6e 64 0d 74 68 65 20 73  6c 61 73 68 20 2d 20 61  |nd.the slash - a|
00000330  73 20 74 68 65 79 20 73  70 6c 69 74 20 77 6f 72  |s they split wor|
00000340  64 73 20 6c 69 6b 65 20  64 6f 6e 27 74 2c 20 52  |ds like don't, R|
00000350  6f 62 65 72 74 27 73 20  61 6e 64 20 4d 2f 63 6f  |obert's and M/co|
00000360  64 65 2e 20 20 49 20 68  61 76 65 0d 61 64 64 65  |de.  I have.adde|
00000370  64 20 61 20 72 6f 75 74  69 6e 65 20 27 63 68 6b  |d a routine 'chk|
00000380  63 68 72 32 27 20 77 68  69 63 68 20 69 73 20 64  |chr2' which is d|
00000390  65 73 63 72 69 62 65 64  20 69 6e 20 6d 79 20 61  |escribed in my a|
000003a0  72 74 69 63 6c 65 20 6f  6e 20 74 68 65 20 63 6f  |rticle on the co|
000003b0  64 69 6e 67 0d 74 6f 20  63 68 65 63 6b 20 66 6f  |ding.to check fo|
000003c0  72 20 74 68 65 73 65 2e  20 20 49 20 68 61 76 65  |r these.  I have|
000003d0  20 61 6c 73 6f 20 69 6e  63 6c 75 64 65 64 20 74  | also included t|
000003e0  68 65 20 27 5f 27 20 63  68 61 72 61 63 74 65 72  |he '_' character|
000003f0  20 69 6e 20 27 63 68 6b  63 68 72 27 0d 73 6f 20  | in 'chkchr'.so |
00000400  74 68 61 74 20 73 6f 6c  69 64 20 20 6c 69 6e 65  |that solid  line|
00000410  73 20 6d 61 79 20 62 65  20 70 72 69 6e 74 65 64  |s may be printed|
00000420  2e 0d 0d 54 68 65 20 63  6f 64 69 6e 67 20 69 73  |...The coding is|
00000430  20 6e 6f 77 20 43 4f 44  45 38 20 61 6e 64 20 49  | now CODE8 and I|
00000440  20 68 61 76 65 20 69 6e  63 6c 75 64 65 64 20 74  | have included t|
00000450  68 65 20 61 73 73 65 6d  62 6c 65 72 20 6c 69 73  |he assembler lis|
00000460  74 69 6e 67 2c 20 74 6f  0d 77 68 69 63 68 20 49  |ting, to.which I|
00000470  20 68 61 76 65 20 61 64  64 65 64 20 52 45 4d 20  | have added REM |
00000480  6c 69 6e 65 73 20 61 6e  64 20 75 73 65 64 20 41  |lines and used A|
00000490  53 43 22 20 22 20 69 6e  20 63 68 65 63 6b 20 72  |SC" " in check r|
000004a0  6f 75 74 69 6e 65 73 20  74 6f 20 6d 61 6b 65 20  |outines to make |
000004b0  74 68 65 0d 63 6f 64 69  6e 67 20 63 6c 65 61 72  |the.coding clear|
000004c0  65 72 2c 20 61 6e 64 20  65 78 70 6c 61 69 6e 65  |er, and explaine|
000004d0  64 20 74 68 69 73 20 61  6e 64 20 61 6c 73 6f 20  |d this and also |
000004e0  74 68 65 20 6d 65 6e 75  20 73 79 73 74 65 6d 20  |the menu system |
000004f0  73 6f 20 74 68 61 74 20  79 6f 75 0d 6d 61 79 20  |so that you.may |
00000500  73 65 65 20 68 6f 77 20  74 68 65 20 64 69 73 63  |see how the disc|
00000510  73 20 77 6f 72 6b 2e 20  20 0d 0d 49 20 68 61 64  |s work.  ..I had|
00000520  20 6d 61 6e 79 20 70 72  6f 62 6c 65 6d 73 20 74  | many problems t|
00000530  6f 20 73 68 6f 72 74 65  6e 20 74 68 65 20 6d 65  |o shorten the me|
00000540  6e 75 20 73 75 66 66 69  63 69 65 6e 74 6c 79 20  |nu sufficiently |
00000550  66 6f 72 20 69 74 20 74  6f 20 77 6f 72 6b 20 77  |for it to work w|
00000560  69 74 68 0d 74 68 65 20  61 64 64 69 74 69 6f 6e  |ith.the addition|
00000570  61 6c 20 44 41 54 41 20  6c 69 6e 65 73 20 77 69  |al DATA lines wi|
00000580  74 68 20 50 41 47 45 20  61 74 20 26 31 44 30 30  |th PAGE at &1D00|
00000590  20 61 6e 64 20 68 61 64  20 74 6f 20 74 72 61 6e  | and had to tran|
000005a0  73 66 65 72 20 74 68 65  20 70 72 69 6e 74 0d 72  |sfer the print.r|
000005b0  6f 75 74 69 6e 65 73 20  74 6f 20 74 68 65 20 27  |outines to the '|
000005c0  50 52 49 4e 54 27 20 70  72 6f 67 72 61 6d 20 61  |PRINT' program a|
000005d0  6e 64 20 74 68 69 73 20  63 61 75 73 65 64 20 74  |nd this caused t|
000005e0  68 65 20 70 72 6f 62 6c  65 6d 20 6f 66 0d 74 72  |he problem of.tr|
000005f0  61 6e 73 66 65 72 72 69  6e 67 20 76 61 72 69 61  |ansferring varia|
00000600  62 6c 65 73 20 62 65 74  77 65 65 6e 20 74 68 65  |bles between the|
00000610  20 74 77 6f 20 70 72 6f  67 72 61 6d 73 2e 20 20  | two programs.  |
00000620  54 68 65 20 6e 75 6d 65  72 69 63 61 6c 20 76 61  |The numerical va|
00000630  72 69 61 62 6c 65 73 0d  77 65 72 65 20 65 61 73  |riables.were eas|
00000640  79 20 74 6f 20 74 72 61  6e 73 66 65 72 20 62 79  |y to transfer by|
00000650  20 75 73 69 6e 67 20 74  68 65 20 69 6e 74 65 67  | using the integ|
00000660  65 72 20 76 61 72 69 61  62 6c 65 73 2e 20 20 54  |er variables.  T|
00000670  68 65 20 74 68 72 65 65  20 73 74 72 69 6e 67 0d  |he three string.|
00000680  76 61 72 69 61 62 6c 65  73 20 77 65 72 65 20 61  |variables were a|
00000690  20 70 72 6f 62 6c 65 6d  20 74 68 6f 75 67 68 20  | problem though |
000006a0  61 6e 64 20 49 20 74 72  69 65 64 20 76 61 72 69  |and I tried vari|
000006b0  6f 75 73 20 61 64 64 72  65 73 73 65 73 20 75 6e  |ous addresses un|
000006c0  74 69 6c 20 49 0d 66 6f  75 6e 64 20 74 68 61 74  |til I.found that|
000006d0  20 49 20 63 6f 75 6c 64  20 75 73 65 20 74 68 65  | I could use the|
000006e0  20 62 6f 74 74 6f 6d 20  6f 66 20 74 68 65 20 73  | bottom of the s|
000006f0  74 61 63 6b 2e 20 0d 0d  49 20 68 61 76 65 20 72  |tack. ..I have r|
00000700  65 76 69 73 65 64 20 6d  79 20 69 6e 66 6f 20 70  |evised my info p|
00000710  61 72 74 20 6f 66 20 74  68 65 20 49 6e 66 6f 72  |art of the Infor|
00000720  6d 61 74 69 6f 6e 20 6f  6e 20 45 55 47 20 74 6f  |mation on EUG to|
00000730  20 63 6f 76 65 72 20 74  68 65 73 65 0d 63 68 61  | cover these.cha|
00000740  6e 67 65 73 20 61 73 20  74 68 65 72 65 20 73 68  |nges as there sh|
00000750  6f 75 6c 64 20 6e 6f 20  6c 6f 6e 67 65 72 20 62  |ould no longer b|
00000760  65 20 63 68 61 6e 63 65  73 20 6f 66 20 6c 6f 63  |e chances of loc|
00000770  6b 69 6e 67 20 75 70 20  74 68 65 20 70 72 6f 67  |king up the prog|
00000780  72 61 6d 20 6e 6f 77 0d  61 6e 64 20 49 20 77 6f  |ram now.and I wo|
00000790  75 6c 64 20 73 75 67 67  65 73 74 20 79 6f 75 20  |uld suggest you |
000007a0  61 6c 6c 20 72 65 2d 72  65 61 64 20 74 68 65 6d  |all re-read them|
000007b0  2e 0d 0d 49 20 68 61 76  65 20 61 6c 73 6f 20 6d  |...I have also m|
000007c0  61 64 65 20 73 6f 6d 65  20 73 6d 61 6c 6c 20 63  |ade some small c|
000007d0  68 61 6e 67 65 73 20 74  68 65 20 56 54 59 50 45  |hanges the VTYPE|
000007e0  20 70 72 6f 67 72 61 6d  20 77 68 69 63 68 20 49  | program which I|
000007f0  20 73 75 67 67 65 73 74  20 79 6f 75 0d 75 73 65  | suggest you.use|
00000800  20 74 6f 20 63 68 65 63  6b 20 79 6f 75 72 20 66  | to check your f|
00000810  69 6c 65 73 2e 20 20 54  68 65 20 74 77 6f 20 43  |iles.  The two C|
00000820  41 4c 4c 73 20 74 6f 20  74 68 65 20 63 6f 64 69  |ALLs to the codi|
00000830  6e 67 20 61 72 65 20 6e  6f 77 20 27 63 6c 65 61  |ng are now 'clea|
00000840  72 27 20 61 6e 64 0d 27  70 72 69 6e 74 27 20 61  |r' and.'print' a|
00000850  73 20 69 6e 20 74 68 65  20 63 6f 64 69 6e 67 20  |s in the coding |
00000860  61 6e 64 20 63 6f 64 69  6e 67 20 6e 75 6d 62 65  |and coding numbe|
00000870  72 20 74 6f 20 38 2e 20  20 41 6c 73 6f 20 6c 69  |r to 8.  Also li|
00000880  6e 65 20 32 30 20 73 65  74 73 20 74 68 65 0d 76  |ne 20 sets the.v|
00000890  61 72 69 61 62 6c 65 20  27 73 6b 70 27 20 61 74  |ariable 'skp' at|
000008a0  20 26 38 32 20 74 6f 20  7a 65 72 6f 20 61 73 20  | &82 to zero as |
000008b0  49 20 66 6f 75 6e 64 20  74 68 69 73 20 63 6f 75  |I found this cou|
000008c0  6c 64 20 67 65 74 20 73  65 74 20 74 6f 20 61 6e  |ld get set to an|
000008d0  6f 74 68 65 72 0d 76 61  6c 75 65 20 61 6e 64 20  |other.value and |
000008e0  63 61 75 73 65 20 74 68  65 20 70 65 72 66 6f 72  |cause the perfor|
000008f0  61 74 69 6f 6e 20 73 6b  69 70 20 72 6f 75 74 69  |ation skip routi|
00000900  6e 65 20 74 6f 20 70 72  69 6e 74 20 73 65 76 65  |ne to print seve|
00000910  72 61 6c 20 62 6c 61 6e  6b 20 6c 69 6e 65 73 2e  |ral blank lines.|
00000920  0d 0d 49 20 61 6c 73 6f  20 72 65 61 64 20 77 69  |..I also read wi|
00000930  74 68 20 69 6e 74 65 72  65 73 74 20 43 68 61 64  |th interest Chad|
00000940  64 65 72 73 20 73 75 67  67 65 73 74 69 6f 6e 73  |ders suggestions|
00000950  20 74 6f 20 70 72 6f 64  75 63 65 20 61 20 62 65  | to produce a be|
00000960  74 74 65 72 20 61 6e 64  0d 68 6f 70 65 66 75 6c  |tter and.hopeful|
00000970  6c 79 20 61 6e 20 65 72  72 6f 72 20 66 72 65 65  |ly an error free|
00000980  20 6d 61 67 61 7a 69 6e  65 20 61 6e 64 20 77 6f  | magazine and wo|
00000990  75 6c 64 20 73 61 79 20  74 68 61 74 20 49 20 68  |uld say that I h|
000009a0  61 76 65 20 61 6c 72 65  61 64 79 20 6f 66 66 65  |ave already offe|
000009b0  72 65 64 0d 6d 79 20 68  65 6c 70 20 69 6e 20 74  |red.my help in t|
000009c0  68 69 73 20 77 61 79 2e  20 20 48 61 64 20 49 20  |his way.  Had I |
000009d0  63 68 65 63 6b 65 64 20  45 55 47 33 36 20 62 65  |checked EUG36 be|
000009e0  66 6f 72 65 20 69 74 20  77 61 73 20 70 75 62 6c  |fore it was publ|
000009f0  69 73 68 65 64 2c 20 74  68 65 72 65 0d 77 6f 75  |ished, there.wou|
00000a00  6c 64 20 68 61 76 65 20  62 65 65 6e 20 6e 6f 20  |ld have been no |
00000a10  70 72 6f 62 6c 65 6d 2e  20 20 49 20 6b 6e 6f 77  |problem.  I know|
00000a20  20 74 68 61 74 20 47 75  73 20 64 6f 65 73 20 6e  | that Gus does n|
00000a30  6f 74 20 67 65 74 20 73  75 66 66 69 63 69 65 6e  |ot get sufficien|
00000a40  74 0d 73 75 62 6d 69 73  73 69 6f 6e 73 20 74 6f  |t.submissions to|
00000a50  20 70 6c 61 6e 20 65 76  65 6e 20 6f 6e 65 20 69  | plan even one i|
00000a60  73 73 75 65 20 61 68 65  61 64 20 74 6f 20 65 6e  |ssue ahead to en|
00000a70  61 62 6c 65 20 74 68 69  73 20 74 6f 20 62 65 20  |able this to be |
00000a80  64 6f 6e 65 2e 20 20 4d  61 79 20 49 0d 74 6f 6f  |done.  May I.too|
00000a90  20 65 6e 63 6f 75 72 61  67 65 20 79 6f 75 20 74  | encourage you t|
00000aa0  6f 20 73 65 6e 64 20 69  6e 20 79 6f 75 72 20 73  |o send in your s|
00000ab0  75 62 6d 69 73 73 6f 6e  73 3f 0d 0d 52 65 67 61  |ubmissons?..Rega|
00000ac0  72 64 73 2c 0d 0d 52 69  63 68 61 72 64 0d 0d 1c  |rds,..Richard...|
00000ad0  41 73 20 49 76 65 20 73  61 69 64 20 62 65 66 6f  |As Ive said befo|
00000ae0  72 65 20 61 6e 64 20 79  6f 75 20 70 6f 69 6e 74  |re and you point|
00000af0  65 64 20 6f 75 74 2c 20  74 69 6d 65 20 69 73 20  |ed out, time is |
00000b00  74 68 65 20 70 72 6f 62  6c 65 6d 2e 20 49 74 20  |the problem. It |
00000b10  69 73 0d 4e 6f 76 65 6d  62 65 72 20 37 20 6e 6f  |is.November 7 no|
00000b20  77 2c 20 74 68 69 73 20  64 69 73 63 20 77 61 73  |w, this disc was|
00000b30  20 64 75 65 20 6f 75 74  20 61 74 20 74 68 65 20  | due out at the |
00000b40  62 65 67 69 6e 6e 69 6e  67 20 6f 66 20 4f 63 74  |beginning of Oct|
00000b50  6f 62 65 72 2e 20 1c 0d  0d 0d                    |ober. ....|
00000b5a
L/+dimon1.m0
L/+dimon1.m1
L/+dimon1.m2
L/+dimon1.m4
L/+dimon1.m5