Home » Archimedes archive » Micro User » MU 1991-04.adf » PD-Stuff » !Filter/!Help

!Filter/!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 » Micro User » MU 1991-04.adf » PD-Stuff
Filename: !Filter/!Help
Read OK:
File size: 059F bytes
Load address: 0000
Exec address: 0000
Duplicates

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

File contents
Document with !Filter

!Filter is a small utility that allows you to strip (say "filter") bytes from
files.
To start !Filter, double-click on its icon in a filer-window. When loaded,
!Filter installs itself on the iconbar.
To filter some bytes from a file, drag the icon of that file onto the
!Filter-icon (the one on the iconbar!). !Filter will present you a tiny
window in which you can choose bytes by clicking on the appropriate icons.
Each byte can be marked with either:

  - The 'filter out' flag. Which means the byte will be filtered out.
  - The 'replace' flag. Which means the byte can be replaced by another byte.

When you've set the 'replace' flag for a certain byte, you can choose
another byte (which substitutes the first) in the same manner as you choose
the first. (Just have a go with !Filter and you'll see it's all much easier
than it sounds!).
Note that bytes that aren't filtered out or replaced by another byte are
merely 'replaced by themselves'.
When you're ready to filter out the selected bytes, click on the 'GO' icon!
When you want to abort the operation when the !Filter-window is shown, just
click on the window's 'Close' icon!
                     
This program is Public Domain. Copy and share it freely with other Arc users,
but please don't modify the files in the !Filter directory!

Have much fun filtering your files...

                                                   The author, Carl Declerck.
00000000  44 6f 63 75 6d 65 6e 74  20 77 69 74 68 20 21 46  |Document with !F|
00000010  69 6c 74 65 72 0a 0a 21  46 69 6c 74 65 72 20 69  |ilter..!Filter i|
00000020  73 20 61 20 73 6d 61 6c  6c 20 75 74 69 6c 69 74  |s a small utilit|
00000030  79 20 74 68 61 74 20 61  6c 6c 6f 77 73 20 79 6f  |y that allows yo|
00000040  75 20 74 6f 20 73 74 72  69 70 20 28 73 61 79 20  |u to strip (say |
00000050  22 66 69 6c 74 65 72 22  29 20 62 79 74 65 73 20  |"filter") bytes |
00000060  66 72 6f 6d 0a 66 69 6c  65 73 2e 0a 54 6f 20 73  |from.files..To s|
00000070  74 61 72 74 20 21 46 69  6c 74 65 72 2c 20 64 6f  |tart !Filter, do|
00000080  75 62 6c 65 2d 63 6c 69  63 6b 20 6f 6e 20 69 74  |uble-click on it|
00000090  73 20 69 63 6f 6e 20 69  6e 20 61 20 66 69 6c 65  |s icon in a file|
000000a0  72 2d 77 69 6e 64 6f 77  2e 20 57 68 65 6e 20 6c  |r-window. When l|
000000b0  6f 61 64 65 64 2c 0a 21  46 69 6c 74 65 72 20 69  |oaded,.!Filter i|
000000c0  6e 73 74 61 6c 6c 73 20  69 74 73 65 6c 66 20 6f  |nstalls itself o|
000000d0  6e 20 74 68 65 20 69 63  6f 6e 62 61 72 2e 0a 54  |n the iconbar..T|
000000e0  6f 20 66 69 6c 74 65 72  20 73 6f 6d 65 20 62 79  |o filter some by|
000000f0  74 65 73 20 66 72 6f 6d  20 61 20 66 69 6c 65 2c  |tes from a file,|
00000100  20 64 72 61 67 20 74 68  65 20 69 63 6f 6e 20 6f  | drag the icon o|
00000110  66 20 74 68 61 74 20 66  69 6c 65 20 6f 6e 74 6f  |f that file onto|
00000120  20 74 68 65 0a 21 46 69  6c 74 65 72 2d 69 63 6f  | the.!Filter-ico|
00000130  6e 20 28 74 68 65 20 6f  6e 65 20 6f 6e 20 74 68  |n (the one on th|
00000140  65 20 69 63 6f 6e 62 61  72 21 29 2e 20 21 46 69  |e iconbar!). !Fi|
00000150  6c 74 65 72 20 77 69 6c  6c 20 70 72 65 73 65 6e  |lter will presen|
00000160  74 20 79 6f 75 20 61 20  74 69 6e 79 0a 77 69 6e  |t you a tiny.win|
00000170  64 6f 77 20 69 6e 20 77  68 69 63 68 20 79 6f 75  |dow in which you|
00000180  20 63 61 6e 20 63 68 6f  6f 73 65 20 62 79 74 65  | can choose byte|
00000190  73 20 62 79 20 63 6c 69  63 6b 69 6e 67 20 6f 6e  |s by clicking on|
000001a0  20 74 68 65 20 61 70 70  72 6f 70 72 69 61 74 65  | the appropriate|
000001b0  20 69 63 6f 6e 73 2e 0a  45 61 63 68 20 62 79 74  | icons..Each byt|
000001c0  65 20 63 61 6e 20 62 65  20 6d 61 72 6b 65 64 20  |e can be marked |
000001d0  77 69 74 68 20 65 69 74  68 65 72 3a 0a 0a 20 20  |with either:..  |
000001e0  2d 20 54 68 65 20 27 66  69 6c 74 65 72 20 6f 75  |- The 'filter ou|
000001f0  74 27 20 66 6c 61 67 2e  20 57 68 69 63 68 20 6d  |t' flag. Which m|
00000200  65 61 6e 73 20 74 68 65  20 62 79 74 65 20 77 69  |eans the byte wi|
00000210  6c 6c 20 62 65 20 66 69  6c 74 65 72 65 64 20 6f  |ll be filtered o|
00000220  75 74 2e 0a 20 20 2d 20  54 68 65 20 27 72 65 70  |ut..  - The 'rep|
00000230  6c 61 63 65 27 20 66 6c  61 67 2e 20 57 68 69 63  |lace' flag. Whic|
00000240  68 20 6d 65 61 6e 73 20  74 68 65 20 62 79 74 65  |h means the byte|
00000250  20 63 61 6e 20 62 65 20  72 65 70 6c 61 63 65 64  | can be replaced|
00000260  20 62 79 20 61 6e 6f 74  68 65 72 20 62 79 74 65  | by another byte|
00000270  2e 0a 0a 57 68 65 6e 20  79 6f 75 27 76 65 20 73  |...When you've s|
00000280  65 74 20 74 68 65 20 27  72 65 70 6c 61 63 65 27  |et the 'replace'|
00000290  20 66 6c 61 67 20 66 6f  72 20 61 20 63 65 72 74  | flag for a cert|
000002a0  61 69 6e 20 62 79 74 65  2c 20 79 6f 75 20 63 61  |ain byte, you ca|
000002b0  6e 20 63 68 6f 6f 73 65  0a 61 6e 6f 74 68 65 72  |n choose.another|
000002c0  20 62 79 74 65 20 28 77  68 69 63 68 20 73 75 62  | byte (which sub|
000002d0  73 74 69 74 75 74 65 73  20 74 68 65 20 66 69 72  |stitutes the fir|
000002e0  73 74 29 20 69 6e 20 74  68 65 20 73 61 6d 65 20  |st) in the same |
000002f0  6d 61 6e 6e 65 72 20 61  73 20 79 6f 75 20 63 68  |manner as you ch|
00000300  6f 6f 73 65 0a 74 68 65  20 66 69 72 73 74 2e 20  |oose.the first. |
00000310  28 4a 75 73 74 20 68 61  76 65 20 61 20 67 6f 20  |(Just have a go |
00000320  77 69 74 68 20 21 46 69  6c 74 65 72 20 61 6e 64  |with !Filter and|
00000330  20 79 6f 75 27 6c 6c 20  73 65 65 20 69 74 27 73  | you'll see it's|
00000340  20 61 6c 6c 20 6d 75 63  68 20 65 61 73 69 65 72  | all much easier|
00000350  0a 74 68 61 6e 20 69 74  20 73 6f 75 6e 64 73 21  |.than it sounds!|
00000360  29 2e 0a 4e 6f 74 65 20  74 68 61 74 20 62 79 74  |)..Note that byt|
00000370  65 73 20 74 68 61 74 20  61 72 65 6e 27 74 20 66  |es that aren't f|
00000380  69 6c 74 65 72 65 64 20  6f 75 74 20 6f 72 20 72  |iltered out or r|
00000390  65 70 6c 61 63 65 64 20  62 79 20 61 6e 6f 74 68  |eplaced by anoth|
000003a0  65 72 20 62 79 74 65 20  61 72 65 0a 6d 65 72 65  |er byte are.mere|
000003b0  6c 79 20 27 72 65 70 6c  61 63 65 64 20 62 79 20  |ly 'replaced by |
000003c0  74 68 65 6d 73 65 6c 76  65 73 27 2e 0a 57 68 65  |themselves'..Whe|
000003d0  6e 20 79 6f 75 27 72 65  20 72 65 61 64 79 20 74  |n you're ready t|
000003e0  6f 20 66 69 6c 74 65 72  20 6f 75 74 20 74 68 65  |o filter out the|
000003f0  20 73 65 6c 65 63 74 65  64 20 62 79 74 65 73 2c  | selected bytes,|
00000400  20 63 6c 69 63 6b 20 6f  6e 20 74 68 65 20 27 47  | click on the 'G|
00000410  4f 27 20 69 63 6f 6e 21  0a 57 68 65 6e 20 79 6f  |O' icon!.When yo|
00000420  75 20 77 61 6e 74 20 74  6f 20 61 62 6f 72 74 20  |u want to abort |
00000430  74 68 65 20 6f 70 65 72  61 74 69 6f 6e 20 77 68  |the operation wh|
00000440  65 6e 20 74 68 65 20 21  46 69 6c 74 65 72 2d 77  |en the !Filter-w|
00000450  69 6e 64 6f 77 20 69 73  20 73 68 6f 77 6e 2c 20  |indow is shown, |
00000460  6a 75 73 74 0a 63 6c 69  63 6b 20 6f 6e 20 74 68  |just.click on th|
00000470  65 20 77 69 6e 64 6f 77  27 73 20 27 43 6c 6f 73  |e window's 'Clos|
00000480  65 27 20 69 63 6f 6e 21  0a 20 20 20 20 20 20 20  |e' icon!.       |
00000490  20 20 20 20 20 20 20 20  20 20 20 20 20 20 0a 54  |              .T|
000004a0  68 69 73 20 70 72 6f 67  72 61 6d 20 69 73 20 50  |his program is P|
000004b0  75 62 6c 69 63 20 44 6f  6d 61 69 6e 2e 20 43 6f  |ublic Domain. Co|
000004c0  70 79 20 61 6e 64 20 73  68 61 72 65 20 69 74 20  |py and share it |
000004d0  66 72 65 65 6c 79 20 77  69 74 68 20 6f 74 68 65  |freely with othe|
000004e0  72 20 41 72 63 20 75 73  65 72 73 2c 0a 62 75 74  |r Arc users,.but|
000004f0  20 70 6c 65 61 73 65 20  64 6f 6e 27 74 20 6d 6f  | please don't mo|
00000500  64 69 66 79 20 74 68 65  20 66 69 6c 65 73 20 69  |dify the files i|
00000510  6e 20 74 68 65 20 21 46  69 6c 74 65 72 20 64 69  |n the !Filter di|
00000520  72 65 63 74 6f 72 79 21  0a 0a 48 61 76 65 20 6d  |rectory!..Have m|
00000530  75 63 68 20 66 75 6e 20  66 69 6c 74 65 72 69 6e  |uch fun filterin|
00000540  67 20 79 6f 75 72 20 66  69 6c 65 73 2e 2e 2e 0a  |g your files....|
00000550  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000560  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000580  20 20 20 20 54 68 65 20  61 75 74 68 6f 72 2c 20  |    The author, |
00000590  43 61 72 6c 20 44 65 63  6c 65 72 63 6b 2e 0a     |Carl Declerck..|
0000059f