Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_20.ADF » format1

format1

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_20.ADF
Filename: format1
Read OK:
File size: 0777 bytes
Load address: 46204556
Exec address: 616D726F
File contents
PERFORATION SKIP
~~~~~~~~~~~~~~~~
The perforation skip routine is set for printing 60 lines 
and skipping 12. These values are inserted into 'lines' 
and 'skiplines' in line 30 of themenu and may be altered 
if necessary.

On pressing 'P' for output to printer, you will need to 
press 'Y' or 'N'on cue before the text is printed.

40 COLUMN PRINTING
~~~~~~~~~~~~~~~~~~
The difficulty of converting an 80 column for 40 columns is 
that the CR(newline) characters occur at the wrong 
position when using the routinefor word-wrapping.  I have 
made a routine which prints a space instead ofthese but 
prints those necessary for correct printing of the titles 
andsubheadings and separates the paragraphs.

The correct printing depends on -
     1.  The '~' should be used for the underlining of 
titles and subheadings. These may be centralised by 
using spaces or control 9 but not by using TAB as 
this will appear as a one space only.  They will be 
left justified in 40 column to avoid being split.

     2.  A blank line should separate paragraphs.
     3.  Indenting any other lines where a new line is
         required again using spaces only.

I think most members do type files in this way.  Files with 
program oritem lists may still cause problems.  I have 
made up a short program whichwith the the new code can be 
used to try out your files before submission.This is 
'V-TYPE' and when run you need to press 3 or 6 to select 
the MODEand then load your file.  If the left 
justification causes problems - forexample where items 
must line up - this can be prevented by adding a '.'or 
other character at the beginning of the line.

Files should preferably be formatted to the full width of a 
View file inMODE 3.  The files will appear as though 
unformatted since the new codingignores the formatting 
characters (16 and 26).
00000000  0d 50 45 52 46 4f 52 41  54 49 4f 4e 20 53 4b 49  |.PERFORATION SKI|
00000010  50 0d 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |P.~~~~~~~~~~~~~~|
00000020  7e 7e 0d 54 68 65 20 70  65 72 66 6f 72 61 74 69  |~~.The perforati|
00000030  6f 6e 20 73 6b 69 70 20  72 6f 75 74 69 6e 65 20  |on skip routine |
00000040  69 73 20 73 65 74 20 66  6f 72 20 70 72 69 6e 74  |is set for print|
00000050  69 6e 67 20 36 30 20 6c  69 6e 65 73 20 10 0d 61  |ing 60 lines ..a|
00000060  6e 64 20 73 6b 69 70 70  69 6e 67 20 31 32 2e 20  |nd skipping 12. |
00000070  54 68 65 73 65 20 76 61  6c 75 65 73 20 61 72 65  |These values are|
00000080  20 69 6e 73 65 72 74 65  64 20 69 6e 74 6f 1a 20  | inserted into. |
00000090  27 6c 69 6e 65 73 27 1a  20 10 0d 61 6e 64 20 27  |'lines'. ..and '|
000000a0  73 6b 69 70 6c 69 6e 65  73 27 20 69 6e 20 6c 69  |skiplines' in li|
000000b0  6e 65 20 33 30 20 6f 66  20 74 68 65 6d 65 6e 75  |ne 30 of themenu|
000000c0  20 61 6e 64 20 6d 61 79  20 62 65 20 61 6c 74 65  | and may be alte|
000000d0  72 65 64 20 10 0d 69 66  20 6e 65 63 65 73 73 61  |red ..if necessa|
000000e0  72 79 2e 0d 0d 4f 6e 1a  20 70 72 65 73 73 69 6e  |ry...On. pressin|
000000f0  67 1a 20 27 50 27 20 66  6f 72 20 6f 75 74 70 75  |g. 'P' for outpu|
00000100  74 20 74 6f 20 70 72 69  6e 74 65 72 2c 20 79 6f  |t to printer, yo|
00000110  75 20 77 69 6c 6c 20 6e  65 65 64 20 74 6f 20 0d  |u will need to .|
00000120  70 72 65 73 73 20 27 59  27 20 6f 72 20 27 4e 27  |press 'Y' or 'N'|
00000130  10 6f 6e 20 63 75 65 20  62 65 66 6f 72 65 20 74  |.on cue before t|
00000140  68 65 20 74 65 78 74 20  69 73 20 70 72 69 6e 74  |he text is print|
00000150  65 64 2e 0d 0d 34 30 20  43 4f 4c 55 4d 4e 20 50  |ed...40 COLUMN P|
00000160  52 49 4e 54 49 4e 47 0d  7e 7e 7e 7e 7e 7e 7e 7e  |RINTING.~~~~~~~~|
00000170  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 0d 54 68 65 1a 20  |~~~~~~~~~~.The. |
00000180  64 69 66 66 69 63 75 6c  74 79 1a 20 6f 66 1a 20  |difficulty. of. |
00000190  63 6f 6e 76 65 72 74 69  6e 67 20 61 6e 20 38 30  |converting an 80|
000001a0  20 63 6f 6c 75 6d 6e 20  66 6f 72 20 34 30 20 63  | column for 40 c|
000001b0  6f 6c 75 6d 6e 73 20 69  73 20 0d 74 68 61 74 20  |olumns is .that |
000001c0  74 68 65 20 43 52 10 28  6e 65 77 6c 69 6e 65 29  |the CR.(newline)|
000001d0  20 63 68 61 72 61 63 74  65 72 73 20 6f 63 63 75  | characters occu|
000001e0  72 20 61 74 1a 20 74 68  65 1a 20 77 72 6f 6e 67  |r at. the. wrong|
000001f0  1a 20 0d 70 6f 73 69 74  69 6f 6e 20 77 68 65 6e  |. .position when|
00000200  20 75 73 69 6e 67 20 74  68 65 20 72 6f 75 74 69  | using the routi|
00000210  6e 65 10 66 6f 72 20 77  6f 72 64 2d 77 72 61 70  |ne.for word-wrap|
00000220  70 69 6e 67 2e 20 20 49  20 68 61 76 65 20 0d 6d  |ping.  I have .m|
00000230  61 64 65 1a 20 61 20 72  6f 75 74 69 6e 65 20 77  |ade. a routine w|
00000240  68 69 63 68 20 70 72 69  6e 74 73 20 61 20 73 70  |hich prints a sp|
00000250  61 63 65 20 69 6e 73 74  65 61 64 20 6f 66 10 74  |ace instead of.t|
00000260  68 65 73 65 20 62 75 74  20 0d 70 72 69 6e 74 73  |hese but .prints|
00000270  20 74 68 6f 73 65 20 6e  65 63 65 73 73 61 72 79  | those necessary|
00000280  20 66 6f 72 1a 20 63 6f  72 72 65 63 74 1a 20 70  | for. correct. p|
00000290  72 69 6e 74 69 6e 67 1a  20 6f 66 20 74 68 65 20  |rinting. of the |
000002a0  74 69 74 6c 65 73 20 0d  61 6e 64 10 73 75 62 68  |titles .and.subh|
000002b0  65 61 64 69 6e 67 73 20  61 6e 64 20 73 65 70 61  |eadings and sepa|
000002c0  72 61 74 65 73 20 74 68  65 20 70 61 72 61 67 72  |rates the paragr|
000002d0  61 70 68 73 2e 0d 0d 54  68 65 20 63 6f 72 72 65  |aphs...The corre|
000002e0  63 74 20 70 72 69 6e 74  69 6e 67 20 64 65 70 65  |ct printing depe|
000002f0  6e 64 73 20 6f 6e 20 2d  0d 10 10 10 10 10 20 20  |nds on -......  |
00000300  20 20 20 31 2e 20 20 54  68 65 20 27 7e 27 20 73  |   1.  The '~' s|
00000310  68 6f 75 6c 64 20 62 65  20 75 73 65 64 20 66 6f  |hould be used fo|
00000320  72 20 74 68 65 20 75 6e  64 65 72 6c 69 6e 69 6e  |r the underlinin|
00000330  67 20 6f 66 20 10 0d 10  10 10 10 10 74 69 74 6c  |g of .......titl|
00000340  65 73 20 61 6e 64 20 73  75 62 68 65 61 64 69 6e  |es and subheadin|
00000350  67 73 2e 20 54 68 65 73  65 20 6d 61 79 20 62 65  |gs. These may be|
00000360  20 10 63 65 6e 74 72 61  6c 69 73 65 64 20 62 79  | .centralised by|
00000370  20 0d 10 10 10 10 10 75  73 69 6e 67 20 73 70 61  | ......using spa|
00000380  63 65 73 20 6f 72 20 63  6f 6e 74 72 6f 6c 20 39  |ces or control 9|
00000390  20 62 75 74 20 10 6e 6f  74 20 62 79 20 75 73 69  | but .not by usi|
000003a0  6e 67 20 54 41 42 20 61  73 20 0d 10 10 10 10 10  |ng TAB as ......|
000003b0  74 68 69 73 20 77 69 6c  6c 20 61 70 70 65 61 72  |this will appear|
000003c0  20 61 73 20 61 20 6f 6e  65 20 10 73 70 61 63 65  | as a one .space|
000003d0  20 6f 6e 6c 79 2e 20 20  54 68 65 79 20 77 69 6c  | only.  They wil|
000003e0  6c 20 62 65 20 0d 10 10  10 10 10 6c 65 66 74 20  |l be ......left |
000003f0  6a 75 73 74 69 66 69 65  64 20 69 6e 20 34 30 20  |justified in 40 |
00000400  63 6f 6c 75 6d 6e 20 74  6f 20 61 76 6f 69 64 20  |column to avoid |
00000410  62 65 69 6e 67 20 73 70  6c 69 74 2e 0d 0d 20 20  |being split...  |
00000420  20 20 20 32 2e 20 20 41  20 62 6c 61 6e 6b 20 6c  |   2.  A blank l|
00000430  69 6e 65 20 73 68 6f 75  6c 64 20 73 65 70 61 72  |ine should separ|
00000440  61 74 65 20 70 61 72 61  67 72 61 70 68 73 2e 0d  |ate paragraphs..|
00000450  20 20 20 20 20 33 2e 20  20 49 6e 64 65 6e 74 69  |     3.  Indenti|
00000460  6e 67 20 61 6e 79 20 6f  74 68 65 72 20 6c 69 6e  |ng any other lin|
00000470  65 73 20 77 68 65 72 65  20 61 20 6e 65 77 20 6c  |es where a new l|
00000480  69 6e 65 20 69 73 0d 20  20 20 20 20 20 20 20 20  |ine is.         |
00000490  72 65 71 75 69 72 65 64  20 61 67 61 69 6e 20 75  |required again u|
000004a0  73 69 6e 67 20 73 70 61  63 65 73 20 6f 6e 6c 79  |sing spaces only|
000004b0  2e 0d 0d 49 20 74 68 69  6e 6b 20 6d 6f 73 74 20  |...I think most |
000004c0  6d 65 6d 62 65 72 73 20  64 6f 20 74 79 70 65 20  |members do type |
000004d0  66 69 6c 65 73 20 69 6e  20 74 68 69 73 20 77 61  |files in this wa|
000004e0  79 2e 1a 20 20 46 69 6c  65 73 1a 20 77 69 74 68  |y..  Files. with|
000004f0  1a 20 0d 70 72 6f 67 72  61 6d 1a 20 6f 72 10 69  |. .program. or.i|
00000500  74 65 6d 20 6c 69 73 74  73 20 6d 61 79 20 73 74  |tem lists may st|
00000510  69 6c 6c 20 63 61 75 73  65 20 70 72 6f 62 6c 65  |ill cause proble|
00000520  6d 73 2e 20 20 49 20 68  61 76 65 20 0d 6d 61 64  |ms.  I have .mad|
00000530  65 20 75 70 20 61 20 73  68 6f 72 74 20 70 72 6f  |e up a short pro|
00000540  67 72 61 6d 20 77 68 69  63 68 10 77 69 74 68 20  |gram which.with |
00000550  74 68 65 20 74 68 65 20  6e 65 77 20 63 6f 64 65  |the the new code|
00000560  20 63 61 6e 20 62 65 20  0d 75 73 65 64 20 74 6f  | can be .used to|
00000570  20 74 72 79 20 6f 75 74  20 79 6f 75 72 20 66 69  | try out your fi|
00000580  6c 65 73 20 62 65 66 6f  72 65 20 73 75 62 6d 69  |les before submi|
00000590  73 73 69 6f 6e 2e 10 54  68 69 73 1a 20 69 73 20  |ssion..This. is |
000005a0  0d 27 56 2d 54 59 50 45  27 20 61 6e 64 20 77 68  |.'V-TYPE' and wh|
000005b0  65 6e 20 72 75 6e 20 79  6f 75 20 6e 65 65 64 20  |en run you need |
000005c0  74 6f 20 70 72 65 73 73  20 33 20 6f 72 20 36 20  |to press 3 or 6 |
000005d0  74 6f 20 73 65 6c 65 63  74 20 0d 74 68 65 20 4d  |to select .the M|
000005e0  4f 44 45 10 61 6e 64 20  74 68 65 6e 1a 20 6c 6f  |ODE.and then. lo|
000005f0  61 64 20 79 6f 75 72 20  66 69 6c 65 2e 20 20 49  |ad your file.  I|
00000600  66 20 74 68 65 20 6c 65  66 74 20 0d 6a 75 73 74  |f the left .just|
00000610  69 66 69 63 61 74 69 6f  6e 20 63 61 75 73 65 73  |ification causes|
00000620  20 70 72 6f 62 6c 65 6d  73 20 2d 20 66 6f 72 10  | problems - for.|
00000630  65 78 61 6d 70 6c 65 20  77 68 65 72 65 20 69 74  |example where it|
00000640  65 6d 73 1a 20 0d 6d 75  73 74 1a 20 6c 69 6e 65  |ems. .must. line|
00000650  20 75 70 20 2d 20 74 68  69 73 20 63 61 6e 20 62  | up - this can b|
00000660  65 20 70 72 65 76 65 6e  74 65 64 20 62 79 20 61  |e prevented by a|
00000670  64 64 69 6e 67 20 61 20  27 2e 27 10 6f 72 20 0d  |dding a '.'.or .|
00000680  6f 74 68 65 72 20 63 68  61 72 61 63 74 65 72 20  |other character |
00000690  61 74 20 74 68 65 20 62  65 67 69 6e 6e 69 6e 67  |at the beginning|
000006a0  20 6f 66 20 74 68 65 20  6c 69 6e 65 2e 0d 0d 46  | of the line...F|
000006b0  69 6c 65 73 20 73 68 6f  75 6c 64 20 70 72 65 66  |iles should pref|
000006c0  65 72 61 62 6c 79 20 62  65 20 66 6f 72 6d 61 74  |erably be format|
000006d0  74 65 64 20 74 6f 20 74  68 65 20 66 75 6c 6c 20  |ted to the full |
000006e0  77 69 64 74 68 1a 20 6f  66 1a 20 61 20 0d 56 69  |width. of. a .Vi|
000006f0  65 77 20 66 69 6c 65 20  69 6e 10 4d 4f 44 45 20  |ew file in.MODE |
00000700  33 2e 20 20 54 68 65 20  66 69 6c 65 73 20 77 69  |3.  The files wi|
00000710  6c 6c 20 61 70 70 65 61  72 20 61 73 20 74 68 6f  |ll appear as tho|
00000720  75 67 68 20 0d 75 6e 66  6f 72 6d 61 74 74 65 64  |ugh .unformatted|
00000730  20 73 69 6e 63 65 20 74  68 65 1a 20 6e 65 77 20  | since the. new |
00000740  63 6f 64 69 6e 67 10 69  67 6e 6f 72 65 73 20 74  |coding.ignores t|
00000750  68 65 20 66 6f 72 6d 61  74 74 69 6e 67 20 0d 63  |he formatting .c|
00000760  68 61 72 61 63 74 65 72  73 20 28 31 36 20 61 6e  |haracters (16 an|
00000770  64 20 32 36 29 2e 0d                              |d 26)..|
00000777
format1.m0
format1.m1
format1.m2
format1.m4
format1.m5