Home » CEEFAX disks » telesoftware17.adl » 25-08-89/CompTXT

25-08-89/CompTXT

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 » CEEFAX disks » telesoftware17.adl
Filename: 25-08-89/CompTXT
Read OK:
File size: 04A7 bytes
Load address: 43206576
Exec address: 54706D6F
File contents


Help file to go with LDPIC-S and SVPIC-S
========================================

 These two files allow graphic screens to be saved to disc in a very
efficient manner.  They should allow approximatly 600k of data to be
stored within about 200k of disc space.

 The compacting program called SVPIC (generated by running SVPIC-S) is
written in machine code and will compact a graphics screen several times
over until it makes a clean pass without compacting it any further.  The
compacter also saves details on the current mode and palette settings. 
These are used by the loader program LDPIC (generated by running LDPIC-S)
to ensure that the screen is loaded into the correct mode and that all the
colours are what they should be.


Using SVPIC
===========

 You will need the screen picture you wish to compress and the SVPIC code
on the same disc.  If the screen is called 'SCRN' and is in mode 1 it
could be compressed with the following short program:

 10 MODE 1
 20 *LOAD SCRN 3000
 30 *SVPIC SCOMPCT 


Using LDPIC
===========

 Ensure that the LDPIC code is on the same disc and enter:

 *LDPIC SCOMPCT

Assuming that SCOMPCT is the name of the file to be loaded back in.






00000000  0d 0d 0d 48 65 6c 70 20  66 69 6c 65 20 74 6f 20  |...Help file to |
00000010  67 6f 20 77 69 74 68 20  4c 44 50 49 43 2d 53 20  |go with LDPIC-S |
00000020  61 6e 64 20 53 56 50 49  43 2d 53 0d 3d 3d 3d 3d  |and SVPIC-S.====|
00000030  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000050  3d 3d 3d 3d 0d 0d 20 54  68 65 73 65 20 74 77 6f  |====.. These two|
00000060  20 66 69 6c 65 73 20 61  6c 6c 6f 77 20 67 72 61  | files allow gra|
00000070  70 68 69 63 20 73 63 72  65 65 6e 73 20 74 6f 20  |phic screens to |
00000080  62 65 20 73 61 76 65 64  20 74 6f 20 64 69 73 63  |be saved to disc|
00000090  20 69 6e 20 61 20 76 65  72 79 0d 65 66 66 69 63  | in a very.effic|
000000a0  69 65 6e 74 20 6d 61 6e  6e 65 72 2e 20 20 54 68  |ient manner.  Th|
000000b0  65 79 20 73 68 6f 75 6c  64 20 61 6c 6c 6f 77 20  |ey should allow |
000000c0  61 70 70 72 6f 78 69 6d  61 74 6c 79 20 36 30 30  |approximatly 600|
000000d0  6b 20 6f 66 20 64 61 74  61 20 74 6f 20 62 65 0d  |k of data to be.|
000000e0  73 74 6f 72 65 64 20 77  69 74 68 69 6e 20 61 62  |stored within ab|
000000f0  6f 75 74 20 32 30 30 6b  20 6f 66 20 64 69 73 63  |out 200k of disc|
00000100  20 73 70 61 63 65 2e 0d  0d 20 54 68 65 20 63 6f  | space... The co|
00000110  6d 70 61 63 74 69 6e 67  20 70 72 6f 67 72 61 6d  |mpacting program|
00000120  20 63 61 6c 6c 65 64 20  53 56 50 49 43 20 28 67  | called SVPIC (g|
00000130  65 6e 65 72 61 74 65 64  20 62 79 20 72 75 6e 6e  |enerated by runn|
00000140  69 6e 67 20 53 56 50 49  43 2d 53 29 20 69 73 0d  |ing SVPIC-S) is.|
00000150  77 72 69 74 74 65 6e 20  69 6e 20 6d 61 63 68 69  |written in machi|
00000160  6e 65 20 63 6f 64 65 20  61 6e 64 20 77 69 6c 6c  |ne code and will|
00000170  20 63 6f 6d 70 61 63 74  20 61 20 67 72 61 70 68  | compact a graph|
00000180  69 63 73 20 73 63 72 65  65 6e 20 73 65 76 65 72  |ics screen sever|
00000190  61 6c 20 74 69 6d 65 73  0d 6f 76 65 72 20 75 6e  |al times.over un|
000001a0  74 69 6c 20 69 74 20 6d  61 6b 65 73 20 61 20 63  |til it makes a c|
000001b0  6c 65 61 6e 20 70 61 73  73 20 77 69 74 68 6f 75  |lean pass withou|
000001c0  74 20 63 6f 6d 70 61 63  74 69 6e 67 20 69 74 20  |t compacting it |
000001d0  61 6e 79 20 66 75 72 74  68 65 72 2e 20 20 54 68  |any further.  Th|
000001e0  65 0d 63 6f 6d 70 61 63  74 65 72 20 61 6c 73 6f  |e.compacter also|
000001f0  20 73 61 76 65 73 20 64  65 74 61 69 6c 73 20 6f  | saves details o|
00000200  6e 20 74 68 65 20 63 75  72 72 65 6e 74 20 6d 6f  |n the current mo|
00000210  64 65 20 61 6e 64 20 70  61 6c 65 74 74 65 20 73  |de and palette s|
00000220  65 74 74 69 6e 67 73 2e  20 0d 54 68 65 73 65 20  |ettings. .These |
00000230  61 72 65 20 75 73 65 64  20 62 79 20 74 68 65 20  |are used by the |
00000240  6c 6f 61 64 65 72 20 70  72 6f 67 72 61 6d 20 4c  |loader program L|
00000250  44 50 49 43 20 28 67 65  6e 65 72 61 74 65 64 20  |DPIC (generated |
00000260  62 79 20 72 75 6e 6e 69  6e 67 20 4c 44 50 49 43  |by running LDPIC|
00000270  2d 53 29 0d 74 6f 20 65  6e 73 75 72 65 20 74 68  |-S).to ensure th|
00000280  61 74 20 74 68 65 20 73  63 72 65 65 6e 20 69 73  |at the screen is|
00000290  20 6c 6f 61 64 65 64 20  69 6e 74 6f 20 74 68 65  | loaded into the|
000002a0  20 63 6f 72 72 65 63 74  20 6d 6f 64 65 20 61 6e  | correct mode an|
000002b0  64 20 74 68 61 74 20 61  6c 6c 20 74 68 65 0d 63  |d that all the.c|
000002c0  6f 6c 6f 75 72 73 20 61  72 65 20 77 68 61 74 20  |olours are what |
000002d0  74 68 65 79 20 73 68 6f  75 6c 64 20 62 65 2e 0d  |they should be..|
000002e0  0d 0d 55 73 69 6e 67 20  53 56 50 49 43 0d 3d 3d  |..Using SVPIC.==|
000002f0  3d 3d 3d 3d 3d 3d 3d 3d  3d 0d 0d 20 59 6f 75 20  |=========.. You |
00000300  77 69 6c 6c 20 6e 65 65  64 20 74 68 65 20 73 63  |will need the sc|
00000310  72 65 65 6e 20 70 69 63  74 75 72 65 20 79 6f 75  |reen picture you|
00000320  20 77 69 73 68 20 74 6f  20 63 6f 6d 70 72 65 73  | wish to compres|
00000330  73 20 61 6e 64 20 74 68  65 20 53 56 50 49 43 20  |s and the SVPIC |
00000340  63 6f 64 65 0d 6f 6e 20  74 68 65 20 73 61 6d 65  |code.on the same|
00000350  20 64 69 73 63 2e 20 20  49 66 20 74 68 65 20 73  | disc.  If the s|
00000360  63 72 65 65 6e 20 69 73  20 63 61 6c 6c 65 64 20  |creen is called |
00000370  27 53 43 52 4e 27 20 61  6e 64 20 69 73 20 69 6e  |'SCRN' and is in|
00000380  20 6d 6f 64 65 20 31 20  69 74 0d 63 6f 75 6c 64  | mode 1 it.could|
00000390  20 62 65 20 63 6f 6d 70  72 65 73 73 65 64 20 77  | be compressed w|
000003a0  69 74 68 20 74 68 65 20  66 6f 6c 6c 6f 77 69 6e  |ith the followin|
000003b0  67 20 73 68 6f 72 74 20  70 72 6f 67 72 61 6d 3a  |g short program:|
000003c0  0d 0d 20 31 30 20 4d 4f  44 45 20 31 0d 20 32 30  |.. 10 MODE 1. 20|
000003d0  20 2a 4c 4f 41 44 20 53  43 52 4e 20 33 30 30 30  | *LOAD SCRN 3000|
000003e0  0d 20 33 30 20 2a 53 56  50 49 43 20 53 43 4f 4d  |. 30 *SVPIC SCOM|
000003f0  50 43 54 20 0d 0d 0d 55  73 69 6e 67 20 4c 44 50  |PCT ...Using LDP|
00000400  49 43 0d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 0d 0d  |IC.===========..|
00000410  20 45 6e 73 75 72 65 20  74 68 61 74 20 74 68 65  | Ensure that the|
00000420  20 4c 44 50 49 43 20 63  6f 64 65 20 69 73 20 6f  | LDPIC code is o|
00000430  6e 20 74 68 65 20 73 61  6d 65 20 64 69 73 63 20  |n the same disc |
00000440  61 6e 64 20 65 6e 74 65  72 3a 0d 0d 20 2a 4c 44  |and enter:.. *LD|
00000450  50 49 43 20 53 43 4f 4d  50 43 54 0d 0d 41 73 73  |PIC SCOMPCT..Ass|
00000460  75 6d 69 6e 67 20 74 68  61 74 20 53 43 4f 4d 50  |uming that SCOMP|
00000470  43 54 20 69 73 20 74 68  65 20 6e 61 6d 65 20 6f  |CT is the name o|
00000480  66 20 74 68 65 20 66 69  6c 65 20 74 6f 20 62 65  |f the file to be|
00000490  20 6c 6f 61 64 65 64 20  62 61 63 6b 20 69 6e 2e  | loaded back in.|
000004a0  0d 0d 0d 0d 0d 0d 0d                              |.......|
000004a7
25-08-89/CompTXT.m0
25-08-89/CompTXT.m1
25-08-89/CompTXT.m2
25-08-89/CompTXT.m4
25-08-89/CompTXT.m5