Home » Archimedes archive » Acorn User » AU 1998-13 (Christmas).adf » Regulars » StarInfo/Stratton/!swirley/Help

StarInfo/Stratton/!swirley/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 » Acorn User » AU 1998-13 (Christmas).adf » Regulars
Filename: StarInfo/Stratton/!swirley/Help
Read OK:
File size: 0443 bytes
Load address: 0000
Exec address: 0000
File contents
Help file for Swirley - 892 bytes of hand written assembler - and a 5K look-up table!
=====================

�Graham Stratton, 1998 - Requires mode 28

This useless program generates a lens which then warps the picture underneath it.  The picture MUST be 640*480 and in 256 colours.  It really needs a much faster bus than the current Risc PC can offer, so if anyone would like to give me a Phoebe I will endeavour to make the program work on that!  The picture must be placed in the application directory, and the sprite must be called swirl and the spritefile called image.  Once you have created this file, play around with it.  A good one to use is the tiger picture (slideshow - sa01).  To convert any image for use with this program follow the following procedure:

1 - Load ChangeFSI
2 - Change to a 640*480 mode (27/28)
3 - IconBarMenu - Sprite - 256 colours, square pixels
4 - IconBarMenu - Scaling - Scale to fit 640*480
5 - Drag sprite to ChangeFSI
6 - Save sprite as "image" inside application directory
7 - Load sprite into paint
8 - Rename sprite "Swirl"
9 - Resave sprite file
00000000  48 65 6c 70 20 66 69 6c  65 20 66 6f 72 20 53 77  |Help file for Sw|
00000010  69 72 6c 65 79 20 2d 20  38 39 32 20 62 79 74 65  |irley - 892 byte|
00000020  73 20 6f 66 20 68 61 6e  64 20 77 72 69 74 74 65  |s of hand writte|
00000030  6e 20 61 73 73 65 6d 62  6c 65 72 20 2d 20 61 6e  |n assembler - an|
00000040  64 20 61 20 35 4b 20 6c  6f 6f 6b 2d 75 70 20 74  |d a 5K look-up t|
00000050  61 62 6c 65 21 0a 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |able!.==========|
00000060  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 0a 0a a9 47 72  |===========...Gr|
00000070  61 68 61 6d 20 53 74 72  61 74 74 6f 6e 2c 20 31  |aham Stratton, 1|
00000080  39 39 38 20 2d 20 52 65  71 75 69 72 65 73 20 6d  |998 - Requires m|
00000090  6f 64 65 20 32 38 0a 0a  54 68 69 73 20 75 73 65  |ode 28..This use|
000000a0  6c 65 73 73 20 70 72 6f  67 72 61 6d 20 67 65 6e  |less program gen|
000000b0  65 72 61 74 65 73 20 61  20 6c 65 6e 73 20 77 68  |erates a lens wh|
000000c0  69 63 68 20 74 68 65 6e  20 77 61 72 70 73 20 74  |ich then warps t|
000000d0  68 65 20 70 69 63 74 75  72 65 20 75 6e 64 65 72  |he picture under|
000000e0  6e 65 61 74 68 20 69 74  2e 20 20 54 68 65 20 70  |neath it.  The p|
000000f0  69 63 74 75 72 65 20 4d  55 53 54 20 62 65 20 36  |icture MUST be 6|
00000100  34 30 2a 34 38 30 20 61  6e 64 20 69 6e 20 32 35  |40*480 and in 25|
00000110  36 20 63 6f 6c 6f 75 72  73 2e 20 20 49 74 20 72  |6 colours.  It r|
00000120  65 61 6c 6c 79 20 6e 65  65 64 73 20 61 20 6d 75  |eally needs a mu|
00000130  63 68 20 66 61 73 74 65  72 20 62 75 73 20 74 68  |ch faster bus th|
00000140  61 6e 20 74 68 65 20 63  75 72 72 65 6e 74 20 52  |an the current R|
00000150  69 73 63 20 50 43 20 63  61 6e 20 6f 66 66 65 72  |isc PC can offer|
00000160  2c 20 73 6f 20 69 66 20  61 6e 79 6f 6e 65 20 77  |, so if anyone w|
00000170  6f 75 6c 64 20 6c 69 6b  65 20 74 6f 20 67 69 76  |ould like to giv|
00000180  65 20 6d 65 20 61 20 50  68 6f 65 62 65 20 49 20  |e me a Phoebe I |
00000190  77 69 6c 6c 20 65 6e 64  65 61 76 6f 75 72 20 74  |will endeavour t|
000001a0  6f 20 6d 61 6b 65 20 74  68 65 20 70 72 6f 67 72  |o make the progr|
000001b0  61 6d 20 77 6f 72 6b 20  6f 6e 20 74 68 61 74 21  |am work on that!|
000001c0  20 20 54 68 65 20 70 69  63 74 75 72 65 20 6d 75  |  The picture mu|
000001d0  73 74 20 62 65 20 70 6c  61 63 65 64 20 69 6e 20  |st be placed in |
000001e0  74 68 65 20 61 70 70 6c  69 63 61 74 69 6f 6e 20  |the application |
000001f0  64 69 72 65 63 74 6f 72  79 2c 20 61 6e 64 20 74  |directory, and t|
00000200  68 65 20 73 70 72 69 74  65 20 6d 75 73 74 20 62  |he sprite must b|
00000210  65 20 63 61 6c 6c 65 64  20 73 77 69 72 6c 20 61  |e called swirl a|
00000220  6e 64 20 74 68 65 20 73  70 72 69 74 65 66 69 6c  |nd the spritefil|
00000230  65 20 63 61 6c 6c 65 64  20 69 6d 61 67 65 2e 20  |e called image. |
00000240  20 4f 6e 63 65 20 79 6f  75 20 68 61 76 65 20 63  | Once you have c|
00000250  72 65 61 74 65 64 20 74  68 69 73 20 66 69 6c 65  |reated this file|
00000260  2c 20 70 6c 61 79 20 61  72 6f 75 6e 64 20 77 69  |, play around wi|
00000270  74 68 20 69 74 2e 20 20  41 20 67 6f 6f 64 20 6f  |th it.  A good o|
00000280  6e 65 20 74 6f 20 75 73  65 20 69 73 20 74 68 65  |ne to use is the|
00000290  20 74 69 67 65 72 20 70  69 63 74 75 72 65 20 28  | tiger picture (|
000002a0  73 6c 69 64 65 73 68 6f  77 20 2d 20 73 61 30 31  |slideshow - sa01|
000002b0  29 2e 20 20 54 6f 20 63  6f 6e 76 65 72 74 20 61  |).  To convert a|
000002c0  6e 79 20 69 6d 61 67 65  20 66 6f 72 20 75 73 65  |ny image for use|
000002d0  20 77 69 74 68 20 74 68  69 73 20 70 72 6f 67 72  | with this progr|
000002e0  61 6d 20 66 6f 6c 6c 6f  77 20 74 68 65 20 66 6f  |am follow the fo|
000002f0  6c 6c 6f 77 69 6e 67 20  70 72 6f 63 65 64 75 72  |llowing procedur|
00000300  65 3a 0a 0a 31 20 2d 20  4c 6f 61 64 20 43 68 61  |e:..1 - Load Cha|
00000310  6e 67 65 46 53 49 0a 32  20 2d 20 43 68 61 6e 67  |ngeFSI.2 - Chang|
00000320  65 20 74 6f 20 61 20 36  34 30 2a 34 38 30 20 6d  |e to a 640*480 m|
00000330  6f 64 65 20 28 32 37 2f  32 38 29 0a 33 20 2d 20  |ode (27/28).3 - |
00000340  49 63 6f 6e 42 61 72 4d  65 6e 75 20 2d 20 53 70  |IconBarMenu - Sp|
00000350  72 69 74 65 20 2d 20 32  35 36 20 63 6f 6c 6f 75  |rite - 256 colou|
00000360  72 73 2c 20 73 71 75 61  72 65 20 70 69 78 65 6c  |rs, square pixel|
00000370  73 0a 34 20 2d 20 49 63  6f 6e 42 61 72 4d 65 6e  |s.4 - IconBarMen|
00000380  75 20 2d 20 53 63 61 6c  69 6e 67 20 2d 20 53 63  |u - Scaling - Sc|
00000390  61 6c 65 20 74 6f 20 66  69 74 20 36 34 30 2a 34  |ale to fit 640*4|
000003a0  38 30 0a 35 20 2d 20 44  72 61 67 20 73 70 72 69  |80.5 - Drag spri|
000003b0  74 65 20 74 6f 20 43 68  61 6e 67 65 46 53 49 0a  |te to ChangeFSI.|
000003c0  36 20 2d 20 53 61 76 65  20 73 70 72 69 74 65 20  |6 - Save sprite |
000003d0  61 73 20 22 69 6d 61 67  65 22 20 69 6e 73 69 64  |as "image" insid|
000003e0  65 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 64 69  |e application di|
000003f0  72 65 63 74 6f 72 79 0a  37 20 2d 20 4c 6f 61 64  |rectory.7 - Load|
00000400  20 73 70 72 69 74 65 20  69 6e 74 6f 20 70 61 69  | sprite into pai|
00000410  6e 74 0a 38 20 2d 20 52  65 6e 61 6d 65 20 73 70  |nt.8 - Rename sp|
00000420  72 69 74 65 20 22 53 77  69 72 6c 22 0a 39 20 2d  |rite "Swirl".9 -|
00000430  20 52 65 73 61 76 65 20  73 70 72 69 74 65 20 66  | Resave sprite f|
00000440  69 6c 65                                          |ile|
00000443