Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199607.adf » Extras » PD/SprShift/!SprShift/Help_txt
PD/SprShift/!SprShift/Help_txt
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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199607.adf » Extras |
Filename: | PD/SprShift/!SprShift/Help_txt |
Read OK: | ✔ |
File size: | 0700 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
!SprShift - Help and Information Creating background bitmaps for backdrops or web pages can be awkward because when tiled the edges of the bitmap end tend to show up. This program rearranges the sprites in a sprite file so that these artifices may be edited away. It works in this way: Suppose you have a tiled background. If you look at the sprite when the edges are down the middle it is just the original with the corners swapped. That's it. Simply fire up !SprShift, drag a sprite file onto it's icon and save it where you will. It probably isn't necessary but if you want the original image back run it through again. History v0.00 (16/1/96) Woke up Sunday morning and this seemed a good distraction from the mother of all hangovers. Actually, going back to the pub seemed a good distraction, but had to kill a few hours before they opened. Developed into atestbed for various ideas as well as a way of getting to know RiscOS C and the toolbox. v0.90 (8/3/96) Tarted up and send to AU Ed as a submission Limitations All sprites which do not have an even number of pixels across and down will be skipped. Pure algorithmic laziness on my part... Requires the toolbox to run. While my prime reason was again laziness I still think this is a good thing. Could probably be faster/more efficient umm, other stuff.. Users are the best people to stumble over cockups anyway. --------------------------------------------------------------------------- !SprShift is freeware, I retain the copyright, so no fiddling with it. Disclaimer: In an infinite universe anything is possible. You use this application at your own risk so don't blame me if it all goes pear shaped. That said, I don't see how it could. It's only shifting around bitmaps for God's sake..... � Mike Dickens, 1996
00000000 21 53 70 72 53 68 69 66 74 20 2d 20 48 65 6c 70 |!SprShift - Help| 00000010 20 61 6e 64 20 49 6e 66 6f 72 6d 61 74 69 6f 6e | and Information| 00000020 0a 0a 43 72 65 61 74 69 6e 67 20 62 61 63 6b 67 |..Creating backg| 00000030 72 6f 75 6e 64 20 62 69 74 6d 61 70 73 20 66 6f |round bitmaps fo| 00000040 72 20 62 61 63 6b 64 72 6f 70 73 20 6f 72 20 77 |r backdrops or w| 00000050 65 62 20 70 61 67 65 73 20 63 61 6e 20 62 65 20 |eb pages can be | 00000060 61 77 6b 77 61 72 64 0a 62 65 63 61 75 73 65 20 |awkward.because | 00000070 77 68 65 6e 20 74 69 6c 65 64 20 74 68 65 20 65 |when tiled the e| 00000080 64 67 65 73 20 6f 66 20 74 68 65 20 62 69 74 6d |dges of the bitm| 00000090 61 70 20 65 6e 64 20 74 65 6e 64 20 74 6f 20 73 |ap end tend to s| 000000a0 68 6f 77 20 75 70 2e 20 54 68 69 73 0a 70 72 6f |how up. This.pro| 000000b0 67 72 61 6d 20 72 65 61 72 72 61 6e 67 65 73 20 |gram rearranges | 000000c0 74 68 65 20 73 70 72 69 74 65 73 20 69 6e 20 61 |the sprites in a| 000000d0 20 73 70 72 69 74 65 20 66 69 6c 65 20 73 6f 20 | sprite file so | 000000e0 74 68 61 74 20 74 68 65 73 65 0a 61 72 74 69 66 |that these.artif| 000000f0 69 63 65 73 20 6d 61 79 20 62 65 20 65 64 69 74 |ices may be edit| 00000100 65 64 20 61 77 61 79 2e 0a 0a 0a 49 74 20 77 6f |ed away....It wo| 00000110 72 6b 73 20 69 6e 20 74 68 69 73 20 77 61 79 3a |rks in this way:| 00000120 0a 0a 53 75 70 70 6f 73 65 20 79 6f 75 20 68 61 |..Suppose you ha| 00000130 76 65 20 61 20 74 69 6c 65 64 20 62 61 63 6b 67 |ve a tiled backg| 00000140 72 6f 75 6e 64 2e 20 49 66 20 79 6f 75 20 6c 6f |round. If you lo| 00000150 6f 6b 20 61 74 20 74 68 65 20 73 70 72 69 74 65 |ok at the sprite| 00000160 20 77 68 65 6e 20 74 68 65 0a 65 64 67 65 73 20 | when the.edges | 00000170 61 72 65 20 64 6f 77 6e 20 74 68 65 20 6d 69 64 |are down the mid| 00000180 64 6c 65 20 69 74 20 69 73 20 6a 75 73 74 20 74 |dle it is just t| 00000190 68 65 20 6f 72 69 67 69 6e 61 6c 20 77 69 74 68 |he original with| 000001a0 20 74 68 65 20 63 6f 72 6e 65 72 73 20 73 77 61 | the corners swa| 000001b0 70 70 65 64 2e 0a 54 68 61 74 27 73 20 69 74 2e |pped..That's it.| 000001c0 20 53 69 6d 70 6c 79 20 66 69 72 65 20 75 70 20 | Simply fire up | 000001d0 21 53 70 72 53 68 69 66 74 2c 20 64 72 61 67 20 |!SprShift, drag | 000001e0 61 20 73 70 72 69 74 65 20 66 69 6c 65 20 6f 6e |a sprite file on| 000001f0 74 6f 20 69 74 27 73 20 69 63 6f 6e 20 61 6e 64 |to it's icon and| 00000200 0a 73 61 76 65 20 69 74 20 77 68 65 72 65 20 79 |.save it where y| 00000210 6f 75 20 77 69 6c 6c 2e 0a 49 74 20 70 72 6f 62 |ou will..It prob| 00000220 61 62 6c 79 20 69 73 6e 27 74 20 6e 65 63 65 73 |ably isn't neces| 00000230 73 61 72 79 20 62 75 74 20 69 66 20 79 6f 75 20 |sary but if you | 00000240 77 61 6e 74 20 74 68 65 20 6f 72 69 67 69 6e 61 |want the origina| 00000250 6c 20 69 6d 61 67 65 20 62 61 63 6b 20 72 75 6e |l image back run| 00000260 0a 69 74 20 74 68 72 6f 75 67 68 20 61 67 61 69 |.it through agai| 00000270 6e 2e 0a 0a 0a 48 69 73 74 6f 72 79 0a 0a 76 30 |n....History..v0| 00000280 2e 30 30 20 28 31 36 2f 31 2f 39 36 29 0a 57 6f |.00 (16/1/96).Wo| 00000290 6b 65 20 75 70 20 53 75 6e 64 61 79 20 6d 6f 72 |ke up Sunday mor| 000002a0 6e 69 6e 67 20 61 6e 64 20 74 68 69 73 20 73 65 |ning and this se| 000002b0 65 6d 65 64 20 61 20 67 6f 6f 64 20 64 69 73 74 |emed a good dist| 000002c0 72 61 63 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 |raction from the| 000002d0 20 6d 6f 74 68 65 72 0a 6f 66 20 61 6c 6c 20 68 | mother.of all h| 000002e0 61 6e 67 6f 76 65 72 73 2e 20 41 63 74 75 61 6c |angovers. Actual| 000002f0 6c 79 2c 20 67 6f 69 6e 67 20 62 61 63 6b 20 74 |ly, going back t| 00000300 6f 20 74 68 65 20 70 75 62 20 73 65 65 6d 65 64 |o the pub seemed| 00000310 20 61 20 67 6f 6f 64 0a 64 69 73 74 72 61 63 74 | a good.distract| 00000320 69 6f 6e 2c 20 62 75 74 20 68 61 64 20 74 6f 20 |ion, but had to | 00000330 6b 69 6c 6c 20 61 20 66 65 77 20 68 6f 75 72 73 |kill a few hours| 00000340 20 62 65 66 6f 72 65 20 74 68 65 79 20 6f 70 65 | before they ope| 00000350 6e 65 64 2e 20 44 65 76 65 6c 6f 70 65 64 0a 69 |ned. Developed.i| 00000360 6e 74 6f 20 61 74 65 73 74 62 65 64 20 66 6f 72 |nto atestbed for| 00000370 20 76 61 72 69 6f 75 73 20 69 64 65 61 73 20 61 | various ideas a| 00000380 73 20 77 65 6c 6c 20 61 73 20 61 20 77 61 79 20 |s well as a way | 00000390 6f 66 20 67 65 74 74 69 6e 67 20 74 6f 20 6b 6e |of getting to kn| 000003a0 6f 77 0a 52 69 73 63 4f 53 20 43 20 61 6e 64 20 |ow.RiscOS C and | 000003b0 74 68 65 20 74 6f 6f 6c 62 6f 78 2e 0a 76 30 2e |the toolbox..v0.| 000003c0 39 30 20 28 38 2f 33 2f 39 36 29 0a 54 61 72 74 |90 (8/3/96).Tart| 000003d0 65 64 20 75 70 20 61 6e 64 20 73 65 6e 64 20 74 |ed up and send t| 000003e0 6f 20 41 55 20 45 64 20 61 73 20 61 20 73 75 62 |o AU Ed as a sub| 000003f0 6d 69 73 73 69 6f 6e 0a 0a 0a 4c 69 6d 69 74 61 |mission...Limita| 00000400 74 69 6f 6e 73 0a 0a 41 6c 6c 20 73 70 72 69 74 |tions..All sprit| 00000410 65 73 20 77 68 69 63 68 20 64 6f 20 6e 6f 74 20 |es which do not | 00000420 68 61 76 65 20 61 6e 20 65 76 65 6e 20 6e 75 6d |have an even num| 00000430 62 65 72 20 6f 66 20 70 69 78 65 6c 73 20 61 63 |ber of pixels ac| 00000440 72 6f 73 73 20 61 6e 64 20 64 6f 77 6e 0a 77 69 |ross and down.wi| 00000450 6c 6c 20 62 65 20 73 6b 69 70 70 65 64 2e 20 50 |ll be skipped. P| 00000460 75 72 65 20 61 6c 67 6f 72 69 74 68 6d 69 63 20 |ure algorithmic | 00000470 6c 61 7a 69 6e 65 73 73 20 6f 6e 20 6d 79 20 70 |laziness on my p| 00000480 61 72 74 2e 2e 2e 0a 0a 52 65 71 75 69 72 65 73 |art.....Requires| 00000490 20 74 68 65 20 74 6f 6f 6c 62 6f 78 20 74 6f 20 | the toolbox to | 000004a0 72 75 6e 2e 20 57 68 69 6c 65 20 6d 79 20 70 72 |run. While my pr| 000004b0 69 6d 65 20 72 65 61 73 6f 6e 20 77 61 73 20 61 |ime reason was a| 000004c0 67 61 69 6e 20 6c 61 7a 69 6e 65 73 73 20 49 0a |gain laziness I.| 000004d0 73 74 69 6c 6c 20 74 68 69 6e 6b 20 74 68 69 73 |still think this| 000004e0 20 69 73 20 61 20 67 6f 6f 64 20 74 68 69 6e 67 | is a good thing| 000004f0 2e 0a 0a 43 6f 75 6c 64 20 70 72 6f 62 61 62 6c |...Could probabl| 00000500 79 20 62 65 20 66 61 73 74 65 72 2f 6d 6f 72 65 |y be faster/more| 00000510 20 65 66 66 69 63 69 65 6e 74 0a 0a 75 6d 6d 2c | efficient..umm,| 00000520 20 6f 74 68 65 72 20 73 74 75 66 66 2e 2e 20 55 | other stuff.. U| 00000530 73 65 72 73 20 61 72 65 20 74 68 65 20 62 65 73 |sers are the bes| 00000540 74 20 70 65 6f 70 6c 65 20 74 6f 20 73 74 75 6d |t people to stum| 00000550 62 6c 65 20 6f 76 65 72 20 63 6f 63 6b 75 70 73 |ble over cockups| 00000560 20 61 6e 79 77 61 79 2e 0a 0a 2d 2d 2d 2d 2d 2d | anyway...------| 00000570 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 000005b0 2d 2d 2d 2d 2d 0a 21 53 70 72 53 68 69 66 74 20 |-----.!SprShift | 000005c0 69 73 20 66 72 65 65 77 61 72 65 2c 20 49 20 72 |is freeware, I r| 000005d0 65 74 61 69 6e 20 74 68 65 20 63 6f 70 79 72 69 |etain the copyri| 000005e0 67 68 74 2c 20 73 6f 20 6e 6f 20 66 69 64 64 6c |ght, so no fiddl| 000005f0 69 6e 67 20 77 69 74 68 20 69 74 2e 0a 44 69 73 |ing with it..Dis| 00000600 63 6c 61 69 6d 65 72 3a 0a 49 6e 20 61 6e 20 69 |claimer:.In an i| 00000610 6e 66 69 6e 69 74 65 20 75 6e 69 76 65 72 73 65 |nfinite universe| 00000620 20 61 6e 79 74 68 69 6e 67 20 69 73 20 70 6f 73 | anything is pos| 00000630 73 69 62 6c 65 2e 20 59 6f 75 20 75 73 65 20 74 |sible. You use t| 00000640 68 69 73 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 |his application | 00000650 61 74 0a 79 6f 75 72 20 6f 77 6e 20 72 69 73 6b |at.your own risk| 00000660 20 73 6f 20 64 6f 6e 27 74 20 62 6c 61 6d 65 20 | so don't blame | 00000670 6d 65 20 69 66 20 69 74 20 61 6c 6c 20 67 6f 65 |me if it all goe| 00000680 73 20 70 65 61 72 20 73 68 61 70 65 64 2e 20 54 |s pear shaped. T| 00000690 68 61 74 20 73 61 69 64 2c 20 49 0a 64 6f 6e 27 |hat said, I.don'| 000006a0 74 20 73 65 65 20 68 6f 77 20 69 74 20 63 6f 75 |t see how it cou| 000006b0 6c 64 2e 20 49 74 27 73 20 6f 6e 6c 79 20 73 68 |ld. It's only sh| 000006c0 69 66 74 69 6e 67 20 61 72 6f 75 6e 64 20 62 69 |ifting around bi| 000006d0 74 6d 61 70 73 20 66 6f 72 0a 47 6f 64 27 73 20 |tmaps for.God's | 000006e0 73 61 6b 65 2e 2e 2e 2e 2e 0a 0a a9 20 4d 69 6b |sake........ Mik| 000006f0 65 20 44 69 63 6b 65 6e 73 2c 20 31 39 39 36 0a |e Dickens, 1996.| 00000700