Home » Archimedes archive » Archimedes World » AW-1995-06_Disc2.adf » June95_2 » InTheMag/AcornAns/DeepDeep/QuikDith/!QuikDith/!Help

InTheMag/AcornAns/DeepDeep/QuikDith/!QuikDith/!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 » Archimedes World » AW-1995-06_Disc2.adf » June95_2
Filename: InTheMag/AcornAns/DeepDeep/QuikDith/!QuikDith/!Help
Read OK:
File size: 02E0 bytes
Load address: 0000
Exec address: 0000
File contents
A simple demo of how to rapidly dither a new Acorn format 16bpp sprite into
a form viewable on the old VIDC machines - the familiar 8bpp sprite.

To run, first move all data/code to a writable medium such as another floppy
or hard disc. Place a sprite file called 'Input' into the same directory as
!QuikDith - it should contain only 16bpp sprites. A suitable file should
already be present. Double click on !QuikDith. A file called 'Output' will
be saved to the same directory, containing 8bpp versions of each 16bpp
sprite.

Quality is similar to ChangeFSI, but speed is around 400%-500% faster, &
most importantly, all source code is provided for your own use.
The assembler part which does the actual dithering is fully commented.
00000000  0a 41 20 73 69 6d 70 6c  65 20 64 65 6d 6f 20 6f  |.A simple demo o|
00000010  66 20 68 6f 77 20 74 6f  20 72 61 70 69 64 6c 79  |f how to rapidly|
00000020  20 64 69 74 68 65 72 20  61 20 6e 65 77 20 41 63  | dither a new Ac|
00000030  6f 72 6e 20 66 6f 72 6d  61 74 20 31 36 62 70 70  |orn format 16bpp|
00000040  20 73 70 72 69 74 65 20  69 6e 74 6f 0a 61 20 66  | sprite into.a f|
00000050  6f 72 6d 20 76 69 65 77  61 62 6c 65 20 6f 6e 20  |orm viewable on |
00000060  74 68 65 20 6f 6c 64 20  56 49 44 43 20 6d 61 63  |the old VIDC mac|
00000070  68 69 6e 65 73 20 2d 20  74 68 65 20 66 61 6d 69  |hines - the fami|
00000080  6c 69 61 72 20 38 62 70  70 20 73 70 72 69 74 65  |liar 8bpp sprite|
00000090  2e 0a 0a 54 6f 20 72 75  6e 2c 20 66 69 72 73 74  |...To run, first|
000000a0  20 6d 6f 76 65 20 61 6c  6c 20 64 61 74 61 2f 63  | move all data/c|
000000b0  6f 64 65 20 74 6f 20 61  20 77 72 69 74 61 62 6c  |ode to a writabl|
000000c0  65 20 6d 65 64 69 75 6d  20 73 75 63 68 20 61 73  |e medium such as|
000000d0  20 61 6e 6f 74 68 65 72  20 66 6c 6f 70 70 79 0a  | another floppy.|
000000e0  6f 72 20 68 61 72 64 20  64 69 73 63 2e 20 50 6c  |or hard disc. Pl|
000000f0  61 63 65 20 61 20 73 70  72 69 74 65 20 66 69 6c  |ace a sprite fil|
00000100  65 20 63 61 6c 6c 65 64  20 27 49 6e 70 75 74 27  |e called 'Input'|
00000110  20 69 6e 74 6f 20 74 68  65 20 73 61 6d 65 20 64  | into the same d|
00000120  69 72 65 63 74 6f 72 79  20 61 73 0a 21 51 75 69  |irectory as.!Qui|
00000130  6b 44 69 74 68 20 2d 20  69 74 20 73 68 6f 75 6c  |kDith - it shoul|
00000140  64 20 63 6f 6e 74 61 69  6e 20 6f 6e 6c 79 20 31  |d contain only 1|
00000150  36 62 70 70 20 73 70 72  69 74 65 73 2e 20 41 20  |6bpp sprites. A |
00000160  73 75 69 74 61 62 6c 65  20 66 69 6c 65 20 73 68  |suitable file sh|
00000170  6f 75 6c 64 0a 61 6c 72  65 61 64 79 20 62 65 20  |ould.already be |
00000180  70 72 65 73 65 6e 74 2e  20 44 6f 75 62 6c 65 20  |present. Double |
00000190  63 6c 69 63 6b 20 6f 6e  20 21 51 75 69 6b 44 69  |click on !QuikDi|
000001a0  74 68 2e 20 41 20 66 69  6c 65 20 63 61 6c 6c 65  |th. A file calle|
000001b0  64 20 27 4f 75 74 70 75  74 27 20 77 69 6c 6c 0a  |d 'Output' will.|
000001c0  62 65 20 73 61 76 65 64  20 74 6f 20 74 68 65 20  |be saved to the |
000001d0  73 61 6d 65 20 64 69 72  65 63 74 6f 72 79 2c 20  |same directory, |
000001e0  63 6f 6e 74 61 69 6e 69  6e 67 20 38 62 70 70 20  |containing 8bpp |
000001f0  76 65 72 73 69 6f 6e 73  20 6f 66 20 65 61 63 68  |versions of each|
00000200  20 31 36 62 70 70 0a 73  70 72 69 74 65 2e 0a 0a  | 16bpp.sprite...|
00000210  51 75 61 6c 69 74 79 20  69 73 20 73 69 6d 69 6c  |Quality is simil|
00000220  61 72 20 74 6f 20 43 68  61 6e 67 65 46 53 49 2c  |ar to ChangeFSI,|
00000230  20 62 75 74 20 73 70 65  65 64 20 69 73 20 61 72  | but speed is ar|
00000240  6f 75 6e 64 20 34 30 30  25 2d 35 30 30 25 20 66  |ound 400%-500% f|
00000250  61 73 74 65 72 2c 20 26  0a 6d 6f 73 74 20 69 6d  |aster, &.most im|
00000260  70 6f 72 74 61 6e 74 6c  79 2c 20 61 6c 6c 20 73  |portantly, all s|
00000270  6f 75 72 63 65 20 63 6f  64 65 20 69 73 20 70 72  |ource code is pr|
00000280  6f 76 69 64 65 64 20 66  6f 72 20 79 6f 75 72 20  |ovided for your |
00000290  6f 77 6e 20 75 73 65 2e  0a 54 68 65 20 61 73 73  |own use..The ass|
000002a0  65 6d 62 6c 65 72 20 70  61 72 74 20 77 68 69 63  |embler part whic|
000002b0  68 20 64 6f 65 73 20 74  68 65 20 61 63 74 75 61  |h does the actua|
000002c0  6c 20 64 69 74 68 65 72  69 6e 67 20 69 73 20 66  |l dithering is f|
000002d0  75 6c 6c 79 20 63 6f 6d  6d 65 6e 74 65 64 2e 0a  |ully commented..|
000002e0