Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission_1.ADF » DiagDump/Text » Compare

Compare DiagDump/Text with DiagDump/Text

File: Personal collection » Acorn ADFS disks » Electron » EUG_submission_1.ADF » DiagDump/Text
Compared with: Personal collection » Acorn ADFS disks » Electron » EUG_submission_2.ADF » DiagDump/Text
Similarity: 57% of bytes duplicated

57.1% of the bytes in these files are duplicated between them. Duplicated Different Padding (ignored)

Bytes are marked as duplicated if they lie within a run of at least 16 bytes which also appears somewhere in the other file, in any position. Long runs of padding bytes (zeros, spaces, &FF and &E5) are ignored.

DiagDump/Text
00000000  81 2e 2e 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..........*.....|
00000010  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..*.......*.....|
*
00000040  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 3c 0d 20 20  |..*.......*.<.  |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  20 20 20 20 20 20 44 69  61 67 72 61 6d 20 53 63  |      Diagram Sc|
00000070  72 65 65 6e 20 44 75 6d  70 0d 0d 20 20 20 20 20  |reen Dump..     |
00000080  20 20 49 20 68 61 76 65  20 6d 61 64 65 20 73 6f  |  I have made so|
00000090  6d 65 20 69 6d 70 72 6f  76 65 6d 65 6e 74 73 20  |me improvements |
000000a0  74 6f 20 74 68 65 20 73  63 72 65 65 6e 20 64 75  |to the screen du|
000000b0  6d 70 20 66 72 6f 6d 20  45 55 47 31 36 3a 0d 20  |mp from EUG16:. |
000000c0  31 29 20 54 68 65 20 6f  75 74 70 75 74 20 66 72  |1) The output fr|
000000d0  6f 6d 20 74 68 69 73 1a  20 64 75 6d 70 1a 20 6f  |om this. dump. o|
000000e0  6e 1a 20 6d 79 1a 20 50  61 6e 61 73 6f 6e 69 63  |n. my. Panasonic|
000000f0  1a 20 4b 58 2d 50 31 30  38 31 20 70 72 69 6e 74  |. KX-P1081 print|
00000100  65 72 20 6c 6f 6f 6b 65  64 0d 73 6c 69 67 68 74  |er looked.slight|
00000110  6c 79 1a 20 64 69 73 74  6f 72 74 65 64 2c 1a 20  |ly. distorted,. |
00000120  61 6e 64 1a 20 6c 6f 77  65 72 20 63 61 73 65 20  |and. lower case |
00000130  74 65 78 74 20 77 61 73  20 69 6c 6c 65 67 69 62  |text was illegib|
00000140  6c 65 2e 20 54 68 69 73  20 77 61 73 20 62 65 63  |le. This was bec|
00000150  61 75 73 65 0d 74 68 65  20 6c 69 6e 65 20 66 65  |ause.the line fe|
00000160  65 64 73 20 68 61 64 1a  20 62 65 65 6e 20 68 61  |eds had. been ha|
00000170  6c 76 65 64 2c 20 77 68  69 6c 65 20 74 68 65 20  |lved, while the |
00000180  73 69 7a 65 20 6f 66 20  74 68 65 20 70 72 69 6e  |size of the prin|
00000190  74 20 68 65 61 64 20 72  65 6d 61 69 6e 65 64 0d  |t head remained.|
000001a0  74 68 65 20 73 61 6d 65  2e 20 54 68 69 73 20 72  |the same. This r|
000001b0  65 73 75 6c 74 65 64 20  69 6e 1a 20 74 68 65 1a  |esulted in. the.|
000001c0  20 6c 69 6e 65 73 1a 20  6f 66 1a 20 70 72 69 6e  | lines. of. prin|
000001d0  74 20 6f 76 65 72 6c 61  70 70 69 6e 67 2c 20 70  |t overlapping, p|
000001e0  72 6f 64 75 63 69 6e 67  20 61 0d 64 69 73 74 6f  |roducing a.disto|
000001f0  72 74 65 64 20 65 66 66  65 63 74 2e 20 54 68 65  |rted effect. The|
00000200  20 72 65 6d 65 64 79 20  77 61 73 20 74 6f 20 70  | remedy was to p|
00000210  75 74 20 74 68 65 20 6c  69 6e 65 20 66 65 65 64  |ut the line feed|
00000220  73 20 62 61 63 6b 20 74  6f 20 6e 6f 72 6d 61 6c  |s back to normal|
00000230  2c 20 61 6e 64 0d 69 6e  74 65 61 64 20 63 68 61  |, and.intead cha|
00000240  6e 67 65 20 74 68 65 20  6e 75 6d 62 65 72 20 6f  |nge the number o|
00000250  66 20 70 69 6e 73 20 6f  66 20 74 68 65 20 68 65  |f pins of the he|
00000260  61 64 1a 20 63 6f 72 72  65 73 70 6f 6e 64 69 6e  |ad. correspondin|
00000270  67 20 74 6f 20 65 61 63  68 20 70 69 78 65 6c 2c  |g to each pixel,|
00000280  0d 66 72 6f 6d 20 32 20  74 6f 20 31 2e 0d 20 32  |.from 2 to 1.. 2|
00000290  29 20 20 49 20 68 61 76  65 20 61 64 64 65 64 20  |)  I have added |
000002a0  61 1a 20 72 6f 75 74 69  6e 65 20 74 6f 20 61 6c  |a. routine to al|
000002b0  6c 6f 77 20 6f 6e 6c 79  20 70 61 72 74 20 6f 66  |low only part of|
000002c0  20 74 68 65 20 73 63 72  65 65 6e 20 74 6f 20 62  | the screen to b|
000002d0  65 20 64 75 6d 70 65 64  0d 28 61 73 20 72 65 71  |e dumped.(as req|
000002e0  75 69 72 65 64 20 62 79  20 44 69 61 67 72 61 6d  |uired by Diagram|
000002f0  29 2e 20 57 68 65 6e 20  74 68 65 20 73 6f 75 72  |). When the sour|
00000300  63 65 20 70 72 6f 67 72  61 6d 20 69 73 20 72 75  |ce program is ru|
00000310  6e 2c 20 79 6f 75 20 73  68 6f 75 6c 64 20 65 6e  |n, you should en|
00000320  74 65 72 0d 74 68 65 20  74 65 78 74 20 6c 69 6e  |ter.the text lin|
00000330  65 73 20 28 77 68 69 63  68 20 72 75 6e 20 66 72  |es (which run fr|
00000340  6f 6d 1a 20 30 1a 20 74  6f 20 33 31 20 64 6f 77  |om. 0. to 31 dow|
00000350  6e 20 74 68 65 20 73 63  72 65 65 6e 29 20 63 6f  |n the screen) co|
00000360  72 72 65 73 70 6f 6e 64  69 6e 67 20 74 6f 0d 74  |rresponding to.t|
00000370  68 65 20 61 72 65 61 20  6e 65 65 64 65 64 20 2d  |he area needed -|
00000380  20 6e 6f 74 65 20 74 68  61 74 20 74 68 65 20 61  | note that the a|
00000390  72 65 61 1a 20 69 6e 63  6c 75 64 65 73 20 62 6f  |rea. includes bo|
000003a0  74 68 20 6f 66 20 74 68  65 20 6c 69 6d 69 74 73  |th of the limits|
000003b0  20 79 6f 75 20 73 65 74  2c 0d 73 6f 20 69 66 20  | you set,.so if |
000003c0  79 6f 75 20 65 6e 74 65  72 20 31 20 61 6e 64 20  |you enter 1 and |
000003d0  32 20 61 73 20 74 68 65  1a 20 6c 69 6d 69 74 73  |2 as the. limits|
000003e0  2c 1a 20 32 20 74 65 78  74 20 6c 69 6e 65 73 20  |,. 2 text lines |
000003f0  77 69 6c 6c 20 62 65 20  70 72 69 6e 74 65 64 2e  |will be printed.|
00000400  20 46 6f 72 0d 44 69 61  67 72 61 6d 2c 1a 20 79  | For.Diagram,. y|
00000410  6f 75 20 73 68 6f 75 6c  64 20 65 6e 74 65 72 20  |ou should enter |
00000420  6c 69 6e 65 73 20 33 20  61 6e 64 20 32 35 20 61  |lines 3 and 25 a|
00000430  73 20 74 68 65 20 73 74  61 72 74 1a 20 61 6e 64  |s the start. and|
00000440  1a 20 66 69 6e 69 73 68  1a 20 6c 69 6e 65 73 0d  |. finish. lines.|
00000450  72 65 73 70 65 63 74 69  76 65 6c 79 2e 0d 20 33  |respectively.. 3|
00000460  29 20 49 20 68 61 76 65  20 65 6c 69 6d 69 6e 61  |) I have elimina|
00000470  74 65 64 20 74 68 65 1a  20 6e 65 65 64 1a 20 66  |ted the. need. f|
00000480  6f 72 1a 20 61 20 73 65  70 61 72 61 74 65 20 66  |or. a separate f|
00000490  69 6c 65 20 74 6f 20 62  65 20 73 61 76 65 64 20  |ile to be saved |
000004a0  66 6f 72 20 65 61 63 68  0d 73 63 72 65 65 6e 20  |for each.screen |
000004b0  6d 6f 64 65 20 2d 20 74  68 65 20 70 72 6f 67 72  |mode - the progr|
000004c0  61 6d 20 6e 6f 77 20 72  65 61 64 73 20 74 68 65  |am now reads the|
000004d0  1a 20 73 63 72 65 65 6e  20 6d 6f 64 65 20 64 69  |. screen mode di|
000004e0  72 65 63 74 6c 79 20 65  61 63 68 20 74 69 6d 65  |rectly each time|
000004f0  20 69 74 0d 69 73 20 72  75 6e 2c 20 61 6e 64 20  | it.is run, and |
00000500  72 65 74 75 72 6e 73 20  61 6e 20 65 72 72 6f 72  |returns an error|
00000510  20 69 66 20 74 68 69 73  20 69 73 20 6e 6f 74 20  | if this is not |
00000520  61 20 67 72 61 70 68 69  63 73 20 6d 6f 64 65 2e  |a graphics mode.|
00000530  20 54 68 69 73 20 69 73  20 6f 66 20 6e 6f 0d 62  | This is of no.b|
00000540  65 6e 65 66 69 74 20 69  6e 20 44 69 61 67 72 61  |enefit in Diagra|
00000550  6d 2c 20 61 73 20 74 68  69 73 20 61 6c 77 61 79  |m, as this alway|
00000560  73 20 72 75 6e 73 20 69  6e 20 4d 6f 64 65 20 30  |s runs in Mode 0|
00000570  2c 20 62 75 74 20 6d 65  61 6e 73 20 74 68 61 74  |, but means that|
00000580  20 74 68 65 20 64 75 6d  70 0d 2d 1a 20 63 61 6c  | the dump.-. cal|
00000590  6c 65 64 20 62 79 20 2a  55 43 4f 44 45 20 2d 20  |led by *UCODE - |
000005a0  63 61 6e 20 62 65 20 20  75 73 65 64 20 75 6e 69  |can be  used uni|
000005b0  76 65 72 73 61 6c 6c 79  2c 1a 20 66 6f 72 1a 20  |versally,. for. |
000005c0  70 72 69 6e 74 69 6e 67  1a 20 6f 75 74 1a 20 74  |printing. out. t|
000005d0  69 74 6c 65 0d 73 63 72  65 65 6e 73 2c 20 65 74  |itle.screens, et|
000005e0  63 2e 0d 20 20 20 20 20  20 20 54 68 65 20 70 72  |c..       The pr|
000005f0  6f 67 72 61 6d 20 44 69  61 67 72 61 6d 32 20 66  |ogram Diagram2 f|
00000600  72 6f 6d 20 45 55 47 31  36 1a 20 77 69 6c 6c 20  |rom EUG16. will |
00000610  6e 65 65 64 20 74 77 6f  20 6d 69 6e 6f 72 20 63  |need two minor c|
00000620  68 61 6e 67 65 73 20 74  6f 20 75 73 65 0d 74 68  |hanges to use.th|
00000630  65 20 6e 65 77 20 64 75  6d 70 3a 0d 20 20 20 20  |e new dump:.    |
00000640  20 20 20 28 61 29 20 43  68 61 6e 67 65 20 6c 69  |   (a) Change li|
00000650  6e 65 20 38 30 30 20 74  6f 3a 20 38 30 30 20 2a  |ne 800 to: 800 *|
00000660  55 43 4f 44 45 0d 20 20  20 20 20 20 20 28 62 29  |UCODE.       (b)|
00000670  20 44 65 6c 65 74 65 20  6c 69 6e 65 20 38 30 34  | Delete line 804|
00000680  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000690  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000006b0  20 20 4d 61 74 74 68 65  77 20 46 6f 72 64 0d     |  Matthew Ford.|
000006bf
DiagDump/Text
00000000  81 2e 2e 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..........*.....|
00000010  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 2e 2e 2e 2e  |..*.......*.....|
*
00000040  2e 2e 2a 2e 2e 2e 2e 2e  2e 2e 2a 2e 3c 0d 20 20  |..*.......*.<.  |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  20 20 20 20 20 20 44 69  61 67 72 61 6d 20 53 63  |      Diagram Sc|
00000070  72 65 65 6e 20 44 75 6d  70 0d 0d 20 20 20 20 20  |reen Dump..     |
00000080  20 20 49 20 68 61 76 65  20 6d 61 64 65 20 73 6f  |  I have made so|
00000090  6d 65 20 69 6d 70 72 6f  76 65 6d 65 6e 74 73 20  |me improvements |
000000a0  74 6f 20 74 68 65 20 73  63 72 65 65 6e 20 64 75  |to the screen du|
000000b0  6d 70 20 66 72 6f 6d 20  45 55 47 31 36 3a 0d 20  |mp from EUG16:. |
000000c0  31 29 20 54 68 65 20 6f  75 74 70 75 74 20 66 72  |1) The output fr|
000000d0  6f 6d 20 74 68 69 73 1a  20 64 75 6d 70 1a 20 6f  |om this. dump. o|
000000e0  6e 1a 20 6d 79 1a 20 50  61 6e 61 73 6f 6e 69 63  |n. my. Panasonic|
000000f0  1a 20 4b 58 2d 50 31 30  38 31 20 70 72 69 6e 74  |. KX-P1081 print|
00000100  65 72 20 6c 6f 6f 6b 65  64 0d 73 6c 69 67 68 74  |er looked.slight|
00000110  6c 79 1a 20 64 69 73 74  6f 72 74 65 64 2c 1a 20  |ly. distorted,. |
00000120  61 6e 64 1a 20 6c 6f 77  65 72 20 63 61 73 65 20  |and. lower case |
00000130  74 65 78 74 20 77 61 73  20 69 6c 6c 65 67 69 62  |text was illegib|
00000140  6c 65 2e 20 54 68 69 73  20 77 61 73 20 62 65 63  |le. This was bec|
00000150  61 75 73 65 0d 74 68 65  20 6c 69 6e 65 20 66 65  |ause.the line fe|
00000160  65 64 73 20 68 61 64 1a  20 62 65 65 6e 1a 20 68  |eds had. been. h|
00000170  61 6c 76 65 64 2c 1a 20  77 68 69 6c 65 1a 20 74  |alved,. while. t|
00000180  68 65 1a 20 73 69 7a 65  1a 20 6f 66 1a 20 74 68  |he. size. of. th|
00000190  65 1a 20 70 72 69 6e 74  65 72 20 68 65 61 64 0d  |e. printer head.|
000001a0  72 65 6d 61 69 6e 65 64  1a 20 74 68 65 1a 20 73  |remained. the. s|
000001b0  61 6d 65 2e 1a 20 54 68  69 73 1a 20 72 65 73 75  |ame.. This. resu|
000001c0  6c 74 65 64 1a 20 69 6e  1a 20 74 68 65 1a 20 6c  |lted. in. the. l|
000001d0  69 6e 65 73 20 6f 66 20  70 72 69 6e 74 20 6f 76  |ines of print ov|
000001e0  65 72 6c 61 70 70 69 6e  67 2c 0d 70 72 6f 64 75  |erlapping,.produ|
000001f0  63 69 6e 67 20 61 20 64  69 73 74 6f 72 74 65 64  |cing a distorted|
00000200  20 65 66 66 65 63 74 2e  20 54 68 65 20 72 65 6d  | effect. The rem|
00000210  65 64 79 20 77 61 73 20  74 6f 20 70 75 74 20 74  |edy was to put t|
00000220  68 65 20 6c 69 6e 65 20  66 65 65 64 73 20 62 61  |he line feeds ba|
00000230  63 6b 20 74 6f 0d 6e 6f  72 6d 61 6c 2c 20 61 6e  |ck to.normal, an|
00000240  64 20 69 6e 73 74 65 61  64 20 63 68 61 6e 67 65  |d instead change|
00000250  20 74 68 65 20 6e 75 6d  62 65 72 20 6f 66 20 70  | the number of p|
00000260  69 6e 73 20 6f 66 20 74  68 65 20 68 65 61 64 20  |ins of the head |
00000270  63 6f 72 72 65 73 70 6f  6e 64 69 6e 67 20 74 6f  |corresponding to|
00000280  0d 65 61 63 68 20 70 69  78 65 6c 2c 20 66 72 6f  |.each pixel, fro|
00000290  6d 20 32 20 74 6f 20 31  2e 20 48 6f 77 65 76 65  |m 2 to 1. Howeve|
000002a0  72 2c 20 49 20 64 69 73  63 6f 76 65 72 65 64 20  |r, I discovered |
000002b0  6f 6e 20 74 68 65 20 45  55 47 31 37 20 64 69 73  |on the EUG17 dis|
000002c0  63 2c 20 74 68 61 74 20  47 75 73 0d 68 61 64 20  |c, that Gus.had |
000002d0  66 6f 75 6e 64 20 61 20  62 65 74 74 65 72 20 73  |found a better s|
000002e0  6f 6c 75 74 69 6f 6e 3a  20 63 68 61 6e 67 65 20  |olution: change |
000002f0  74 68 65 20 64 6f 74 1a  20 64 65 6e 73 69 74 79  |the dot. density|
00000300  1a 20 74 6f 1a 20 6d 61  6b 65 1a 20 74 68 65 20  |. to. make. the |
00000310  6f 75 74 70 75 74 0d 66  69 6c 6c 20 74 68 65 20  |output.fill the |
00000320  77 68 6f 6c 65 20 77 69  64 74 68 20 6f 66 20 74  |whole width of t|
00000330  68 65 20 63 61 72 72 69  61 67 65 20 28 38 20 69  |he carriage (8 i|
00000340  6e 63 68 65 73 29 20 2d  20 74 68 65 6e 20 74 68  |nches) - then th|
00000350  65 1a 20 68 65 69 67 68  74 1a 20 6f 66 20 74 68  |e. height. of th|
00000360  65 0d 70 72 69 6e 74 6f  75 74 20 64 6f 65 73 6e  |e.printout doesn|
00000370  27 74 20 6e 65 65 64 20  74 6f 20 62 65 20 63 68  |'t need to be ch|
00000380  61 6e 67 65 64 20 61 74  20 61 6c 6c 21 0d 20 32  |anged at all!. 2|
00000390  29 20 49 20 68 61 76 65  20 61 64 64 65 64 20 61  |) I have added a|
000003a0  1a 20 72 6f 75 74 69 6e  65 1a 20 74 6f 20 61 6c  |. routine. to al|
000003b0  6c 6f 77 20 6f 6e 6c 79  20 70 61 72 74 20 6f 66  |low only part of|
000003c0  20 74 68 65 20 73 63 72  65 65 6e 20 74 6f 20 62  | the screen to b|
000003d0  65 20 64 75 6d 70 65 64  0d 28 61 73 20 72 65 71  |e dumped.(as req|
000003e0  75 69 72 65 64 20 62 79  20 44 69 61 67 72 61 6d  |uired by Diagram|
000003f0  29 2e 20 57 68 65 6e 20  74 68 65 20 73 6f 75 72  |). When the sour|
00000400  63 65 20 70 72 6f 67 72  61 6d 20 69 73 20 72 75  |ce program is ru|
00000410  6e 2c 20 79 6f 75 20 73  68 6f 75 6c 64 20 65 6e  |n, you should en|
00000420  74 65 72 0d 74 68 65 20  74 65 78 74 20 6c 69 6e  |ter.the text lin|
00000430  65 73 20 28 77 68 69 63  68 20 72 75 6e 20 66 72  |es (which run fr|
00000440  6f 6d 20 30 1a 20 74 6f  1a 20 33 31 20 64 6f 77  |om 0. to. 31 dow|
00000450  6e 20 74 68 65 20 73 63  72 65 65 6e 29 20 63 6f  |n the screen) co|
00000460  72 72 65 73 70 6f 6e 64  69 6e 67 20 74 6f 0d 74  |rresponding to.t|
00000470  68 65 20 61 72 65 61 20  6e 65 65 64 65 64 20 2d  |he area needed -|
00000480  20 6e 6f 74 65 20 74 68  61 74 20 74 68 65 20 61  | note that the a|
00000490  72 65 61 20 69 6e 63 6c  75 64 65 73 1a 20 62 6f  |rea includes. bo|
000004a0  74 68 20 6f 66 20 74 68  65 20 6c 69 6d 69 74 73  |th of the limits|
000004b0  20 79 6f 75 20 73 65 74  2c 0d 73 6f 20 69 66 20  | you set,.so if |
000004c0  79 6f 75 20 65 6e 74 65  72 20 31 20 61 6e 64 20  |you enter 1 and |
000004d0  32 20 61 73 20 74 68 65  20 6c 69 6d 69 74 73 2c  |2 as the limits,|
000004e0  1a 20 32 1a 20 74 65 78  74 20 6c 69 6e 65 73 20  |. 2. text lines |
000004f0  77 69 6c 6c 20 62 65 20  70 72 69 6e 74 65 64 2e  |will be printed.|
00000500  20 46 6f 72 0d 44 69 61  67 72 61 6d 2c 1a 20 79  | For.Diagram,. y|
00000510  6f 75 1a 20 73 68 6f 75  6c 64 20 65 6e 74 65 72  |ou. should enter|
00000520  20 6c 69 6e 65 73 20 33  20 61 6e 64 20 32 35 20  | lines 3 and 25 |
00000530  61 73 20 74 68 65 20 73  74 61 72 74 20 61 6e 64  |as the start and|
00000540  1a 20 66 69 6e 69 73 68  1a 20 6c 69 6e 65 73 0d  |. finish. lines.|
00000550  72 65 73 70 65 63 74 69  76 65 6c 79 2e 0d 20 33  |respectively.. 3|
00000560  29 20 49 20 68 61 76 65  20 65 6c 69 6d 69 6e 61  |) I have elimina|
00000570  74 65 64 20 74 68 65 1a  20 6e 65 65 64 1a 20 66  |ted the. need. f|
00000580  6f 72 1a 20 61 20 73 65  70 61 72 61 74 65 20 66  |or. a separate f|
00000590  69 6c 65 20 74 6f 20 62  65 20 73 61 76 65 64 20  |ile to be saved |
000005a0  66 6f 72 20 65 61 63 68  0d 73 63 72 65 65 6e 20  |for each.screen |
000005b0  6d 6f 64 65 20 2d 20 74  68 65 20 70 72 6f 67 72  |mode - the progr|
000005c0  61 6d 20 6e 6f 77 20 72  65 61 64 73 20 74 68 65  |am now reads the|
000005d0  1a 20 73 63 72 65 65 6e  20 6d 6f 64 65 20 64 69  |. screen mode di|
000005e0  72 65 63 74 6c 79 20 65  61 63 68 20 74 69 6d 65  |rectly each time|
000005f0  20 69 74 0d 69 73 20 72  75 6e 2c 20 61 6e 64 20  | it.is run, and |
00000600  72 65 74 75 72 6e 73 20  61 6e 20 65 72 72 6f 72  |returns an error|
00000610  20 69 66 20 74 68 69 73  20 69 73 20 6e 6f 74 20  | if this is not |
00000620  61 20 67 72 61 70 68 69  63 73 20 6d 6f 64 65 2e  |a graphics mode.|
00000630  0d 20 34 29 20 46 6f 72  20 6d 6f 73 74 20 70 75  |. 4) For most pu|
00000640  72 70 6f 73 65 73 2c 20  74 68 65 1a 20 6f 75 74  |rposes, the. out|
00000650  70 75 74 20 66 72 6f 6d  20 61 20 73 63 72 65 65  |put from a scree|
00000660  6e 20 64 75 6d 70 20 6e  65 65 64 73 20 74 6f 20  |n dump needs to |
00000670  62 65 20 69 6e 76 65 72  74 65 64 0d 28 73 6f 20  |be inverted.(so |
00000680  74 68 61 74 20 74 68 65  20 62 6c 61 63 6b 20 69  |that the black i|
00000690  6e 6b 20 69 6e 1a 20 74  68 65 1a 20 70 72 69 6e  |nk in. the. prin|
000006a0  74 65 72 1a 20 69 73 20  75 73 65 64 20 66 6f 72  |ter. is used for|
000006b0  20 74 68 65 20 66 6f 72  65 67 72 6f 75 6e 64 2c  | the foreground,|
000006c0  20 77 68 69 63 68 0d 6e  6f 72 6d 61 6c 6c 79 20  | which.normally |
000006d0  61 70 70 65 61 72 73 20  77 68 69 74 65 20 6f 6e  |appears white on|
000006e0  20 74 68 65 20 73 63 72  65 65 6e 29 2e 20 54 68  | the screen). Th|
000006f0  65 20 6f 75 74 70 75 74  20 66 72 6f 6d 1a 20 74  |e output from. t|
00000700  68 69 73 1a 20 70 72 6f  67 72 61 6d 1a 20 28 61  |his. program. (a|
00000710  73 0d 70 75 62 6c 69 73  68 65 64 1a 20 62 79 1a  |s.published. by.|
00000720  20 74 68 65 1a 20 45 6c  65 63 74 72 6f 6e 1a 20  | the. Electron. |
00000730  55 73 65 72 29 2c 1a 20  77 61 73 1a 20 61 6c 77  |User),. was. alw|
00000740  61 79 73 1a 20 69 6e 76  65 72 74 65 64 2e 1a 20  |ays. inverted.. |
00000750  48 6f 77 65 76 65 72 20  73 6f 6d 65 0d 70 69 63  |However some.pic|
00000760  74 75 72 65 73 20 28 73  75 63 68 20 61 73 20 68  |tures (such as h|
00000770  75 6d 61 6e 20 66 61 63  65 73 29 20 64 6f 20 72  |uman faces) do r|
00000780  65 71 75 69 72 65 20 61  20 74 72 75 65 1a 20 6f  |equire a true. o|
00000790  75 74 70 75 74 2e 1a 20  54 68 69 73 1a 20 69 73  |utput.. This. is|
000007a0  20 73 69 6d 70 6c 65 0d  65 6e 6f 75 67 68 20 74  | simple.enough t|
000007b0  6f 20 61 64 64 20 74 6f  20 74 68 65 20 70 72 6f  |o add to the pro|
000007c0  67 72 61 6d 3a 20 6a 75  73 74 20 45 4f 52 20 61  |gram: just EOR a|
000007d0  6c 6c 20 74 68 65 20 64  61 74 61 20 77 69 74 68  |ll the data with|
000007e0  1a 20 26 46 46 1a 20 62  65 66 6f 72 65 20 74 68  |. &FF. before th|
000007f0  65 79 0d 61 72 65 1a 20  73 65 6e 74 20 74 6f 20  |ey.are. sent to |
00000800  74 68 65 20 70 72 69 6e  74 65 72 2e 20 49 20 61  |the printer. I a|
00000810  64 64 65 64 20 74 68 69  73 20 66 61 63 69 6c 69  |dded this facili|
00000820  74 79 2c 20 6f 6e 6c 79  20 74 6f 20 64 69 73 63  |ty, only to disc|
00000830  6f 76 65 72 20 74 68 61  74 20 74 68 65 0d 70 61  |over that the.pa|
00000840  74 74 65 72 6e 73 20 75  73 65 64 1a 20 62 79 1a  |tterns used. by.|
00000850  20 74 68 65 1a 20 64 75  6d 70 1a 20 61 72 65 6e  | the. dump. aren|
00000860  27 74 1a 20 70 72 6f 70  65 72 20 69 6e 76 65 72  |'t. proper inver|
00000870  73 65 73 20 61 74 20 61  6c 6c 20 2d 20 66 6f 72  |ses at all - for|
00000880  20 65 78 61 6d 70 6c 65  0d 79 65 6c 6c 6f 77 20  | example.yellow |
00000890  69 73 20 70 72 69 6e 74  65 64 20 6d 6f 72 65 20  |is printed more |
000008a0  73 69 6d 69 6c 61 72 6c  79 20 74 6f 20 62 6c 61  |similarly to bla|
000008b0  63 6b 1a 20 74 68 61 6e  1a 20 77 68 69 74 65 2e  |ck. than. white.|
000008c0  1a 20 54 68 65 72 65 66  6f 72 65 2c 20 49 20 68  |. Therefore, I h|
000008d0  61 76 65 0d 63 68 61 6e  67 65 64 20 6d 61 6e 79  |ave.changed many|
000008e0  20 6f 66 20 74 68 65 20  70 61 74 74 65 72 6e 73  | of the patterns|
000008f0  2e 0d 20 35 29 20 54 68  65 20 6f 72 69 67 69 6e  |.. 5) The origin|
00000900  61 6c 20 70 72 6f 67 72  61 6d 20 72 65 61 64 73  |al program reads|
00000910  1a 20 74 68 65 1a 20 73  63 72 65 65 6e 1a 20 75  |. the. screen. u|
00000920  73 69 6e 67 1a 20 6c 6f  67 69 63 61 6c 1a 20 63  |sing. logical. c|
00000930  6f 6c 6f 75 72 73 2c 1a  20 6e 6f 74 0d 61 63 74  |olours,. not.act|
00000940  75 61 6c 20 63 6f 6c 6f  75 72 73 20 2d 20 68 65  |ual colours - he|
00000950  6e 63 65 20 74 68 65 20  72 65 71 75 69 72 65 6d  |nce the requirem|
00000960  65 6e 74 20 66 6f 72 20  61 20 64 69 66 66 65 72  |ent for a differ|
00000970  65 6e 74 20 76 65 72 73  69 6f 6e 20 74 6f 20 62  |ent version to b|
00000980  65 20 73 61 76 65 64 0d  69 6e 1a 20 65 61 63 68  |e saved.in. each|
00000990  20 6d 6f 64 65 2e 20 49  20 68 61 76 65 20 61 64  | mode. I have ad|
000009a0  64 65 64 20 74 68 65 20  6f 70 74 69 6f 6e 20 6f  |ded the option o|
000009b0  66 20 75 73 69 6e 67 20  61 63 74 75 61 6c 20 63  |f using actual c|
000009c0  6f 6c 6f 75 72 73 20 69  6e 73 74 65 61 64 2c 20  |olours instead, |
000009d0  73 6f 0d 74 68 61 74 20  63 68 61 6e 67 69 6e 67  |so.that changing|
000009e0  1a 20 74 68 65 20 70 61  6c 65 74 74 65 20 6d 61  |. the palette ma|
000009f0  6b 65 73 20 61 20 64 69  66 66 65 72 65 6e 63 65  |kes a difference|
00000a00  20 74 6f 20 74 68 65 20  6f 75 74 70 75 74 2e 20  | to the output. |
00000a10  48 6f 77 65 76 65 72 2c  20 74 68 69 73 0d 63 61  |However, this.ca|
00000a20  6e 20 6d 61 6b 65 20 61  6e 1a 20 75 6e 64 65 73  |n make an. undes|
00000a30  69 72 61 62 6c 65 1a 20  6d 65 73 73 1a 20 69 66  |irable. mess. if|
00000a40  20 74 68 65 20 62 61 63  6b 67 72 6f 75 6e 64 20  | the background |
00000a50  69 73 20 6e 6f 74 20 62  6c 61 63 6b 2c 20 6f 72  |is not black, or|
00000a60  20 79 6f 75 20 61 72 65  0d 75 73 69 6e 67 20 61  | you are.using a|
00000a70  20 32 2d 63 6f 6c 6f 75  72 20 6d 6f 64 65 2c 20  | 2-colour mode, |
00000a80  73 6f 20 79 6f 75 20 6d  69 67 68 74 20 70 72 65  |so you might pre|
00000a90  66 65 72 20 74 6f 20 75  73 65 20 6c 6f 67 69 63  |fer to use logic|
00000aa0  61 6c 20 63 6f 6c 6f 75  72 73 2e 0d 20 36 29 20  |al colours.. 6) |
00000ab0  54 68 65 20 66 69 6c 65  6e 61 6d 65 20 66 6f 72  |The filename for|
00000ac0  20 74 68 65 20 63 6f 64  65 20 63 61 6e 20 62 65  | the code can be|
00000ad0  20 63 68 6f 73 65 6e 2e  0d 20 20 20 20 20 20 20  | chosen..       |
00000ae0  20 53 6f 6d 65 20 6f 66  20 74 68 65 73 65 20 63  | Some of these c|
00000af0  68 61 6e 67 65 73 20 61  72 65 20 6f 66 20 6e 6f  |hanges are of no|
00000b00  20 62 65 6e 65 66 69 74  20 69 6e 20 44 69 61 67  | benefit in Diag|
00000b10  72 61 6d 2c 20 61 73 20  74 68 69 73 20 61 6c 77  |ram, as this alw|
00000b20  61 79 73 0d 72 75 6e 73  20 69 6e 20 4d 6f 64 65  |ays.runs in Mode|
00000b30  20 30 2c 20 62 75 74 1a  20 6d 65 61 6e 73 1a 20  | 0, but. means. |
00000b40  74 68 61 74 1a 20 74 68  65 1a 20 64 75 6d 70 1a  |that. the. dump.|
00000b50  20 63 61 6e 20 62 65 20  20 75 73 65 64 20 75 6e  | can be  used un|
00000b60  69 76 65 72 73 61 6c 6c  79 2c 20 66 6f 72 0d 70  |iversally, for.p|
00000b70  72 69 6e 74 69 6e 67 20  6f 75 74 20 74 69 74 6c  |rinting out titl|
00000b80  65 20 73 63 72 65 65 6e  73 2c 20 65 74 63 2e 0d  |e screens, etc..|
00000b90  20 20 20 20 20 20 20 20  54 68 65 20 70 72 6f 67  |        The prog|
00000ba0  72 61 6d 20 44 69 61 67  72 61 6d 32 20 66 72 6f  |ram Diagram2 fro|
00000bb0  6d 20 45 55 47 31 36 20  77 69 6c 6c 20 6e 65 65  |m EUG16 will nee|
00000bc0  64 20 74 77 6f 20 6d 69  6e 6f 72 20 63 68 61 6e  |d two minor chan|
00000bd0  67 65 73 20 74 6f 20 75  73 65 0d 74 68 65 20 6e  |ges to use.the n|
00000be0  65 77 20 64 75 6d 70 3a  0d 20 20 20 20 20 20 20  |ew dump:.       |
00000bf0  28 61 29 20 43 68 61 6e  67 65 20 6c 69 6e 65 20  |(a) Change line |
00000c00  38 30 30 20 74 6f 3a 20  38 30 30 20 2a 55 43 4f  |800 to: 800 *UCO|
00000c10  44 45 20 20 20 20 20 28  61 73 73 75 6d 69 6e 67  |DE     (assuming|
00000c20  20 74 68 65 20 63 6f 64  65 20 77 61 73 20 73 61  | the code was sa|
00000c30  76 65 64 0d 20 20 20 20  20 20 20 20 20 20 20 20  |ved.            |
00000c40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000c60  20 20 20 61 73 20 22 55  43 4f 44 45 22 29 0d 20  |   as "UCODE"). |
00000c70  20 20 20 20 20 20 28 62  29 20 44 65 6c 65 74 65  |      (b) Delete|
00000c80  20 6c 69 6e 65 20 38 30  34 0d 20 20 20 20 20 20  | line 804.      |
00000c90  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000cb0  20 20 20 20 20 20 20 20  20 20 20 4d 61 74 74 68  |           Matth|
00000cc0  65 77 20 46 6f 72 64 0d                            |ew Ford.|
00000cc8