Home » Archimedes archive » Archimedes World » AW-1995-06_Disc2.adf » June95_2 » InTheMag/AcornAns/DeepDeep/Samples/ReadMe
InTheMag/AcornAns/DeepDeep/Samples/ReadMe
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/Samples/ReadMe |
Read OK: | ✔ |
File size: | 090A bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
f08, f16 & f32 are three similar sprites of the same subject, all 80x64 pixels in size. They differ only in their depth, ie the number of bits per pixel which they use. These are 8, 16 & 32 respectively, with the latter two using Acorn's extended sprite format, described in the accompanying article. f08 uses the familiar 256 colour sprite format with no palette, representing the image as best as possible with dithering. f16 actually uses 15bpp with the 16'th bit of no significance - it's held at 0. f32 uses 24bpp - again, the remaining bits are reserved & currently must be 0. If you have a RISC PC or suitable graphics enhancer, you can compare these images directly. In order to allow the rest of us to compare them, cover disc space permitting you'll find another sprite file called 'mag' in this directory. It contains a 3x magnified copy of each image, all converted to 8bpp & dithered via ChangeFSI. Dithering at this increased spatial resolution allows some of the extra colour information of the higher depth sprites to be conveyed at the limiting 8bpp. If there wasn't room for this file you can create similar images yourself as long as you have a sufficiently recent copy of ChangeFSI, since it can now both read & output the new formats. Set output to colour mode 28 & scaling to 3 (or 4), before running each of f08, f16 & f32 through it. Alternatively, if you have Impression Publisher, you can view these images using it. Note that the recent versions of CFSI can also output in the new format, however if you try to select such output from the desktop front end on a non RISC PC machine you'll find it won't work properly as CFSI is unable to display the resulting image. However CFSI can still be run from the command line to produce such files, irrespective of the machine it is running on. First ensure you set the library or csd to the !ChangeFSI path, so that the filer can find ChangeFSI, then enter a suitable command from the command line. For example: *ChangeFSI infile outfile s32,90,90 1:4 -sharpen will convert infile to a 32bpp new format sprite, scaled by 0.25 & sharpened with factor 24, saved as outfile. This is how I produced f16 & f32 in the first place, since I don't currently have a RISC PC. NB The source image used was a PD 24bpp jpeg file called 'femme'.
00000000 0a 66 30 38 2c 20 66 31 36 20 26 20 66 33 32 20 |.f08, f16 & f32 | 00000010 61 72 65 20 74 68 72 65 65 20 73 69 6d 69 6c 61 |are three simila| 00000020 72 20 73 70 72 69 74 65 73 20 6f 66 20 74 68 65 |r sprites of the| 00000030 20 73 61 6d 65 20 73 75 62 6a 65 63 74 2c 20 61 | same subject, a| 00000040 6c 6c 20 38 30 78 36 34 0a 70 69 78 65 6c 73 20 |ll 80x64.pixels | 00000050 69 6e 20 73 69 7a 65 2e 0a 0a 54 68 65 79 20 64 |in size...They d| 00000060 69 66 66 65 72 20 6f 6e 6c 79 20 69 6e 20 74 68 |iffer only in th| 00000070 65 69 72 20 64 65 70 74 68 2c 20 69 65 20 74 68 |eir depth, ie th| 00000080 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 69 74 73 |e number of bits| 00000090 20 70 65 72 20 70 69 78 65 6c 20 77 68 69 63 68 | per pixel which| 000000a0 0a 74 68 65 79 20 75 73 65 2e 20 54 68 65 73 65 |.they use. These| 000000b0 20 61 72 65 20 38 2c 20 31 36 20 26 20 33 32 20 | are 8, 16 & 32 | 000000c0 72 65 73 70 65 63 74 69 76 65 6c 79 2c 20 77 69 |respectively, wi| 000000d0 74 68 20 74 68 65 20 6c 61 74 74 65 72 20 74 77 |th the latter tw| 000000e0 6f 20 75 73 69 6e 67 0a 41 63 6f 72 6e 27 73 20 |o using.Acorn's | 000000f0 65 78 74 65 6e 64 65 64 20 73 70 72 69 74 65 20 |extended sprite | 00000100 66 6f 72 6d 61 74 2c 20 64 65 73 63 72 69 62 65 |format, describe| 00000110 64 20 69 6e 20 74 68 65 20 61 63 63 6f 6d 70 61 |d in the accompa| 00000120 6e 79 69 6e 67 20 61 72 74 69 63 6c 65 2e 0a 0a |nying article...| 00000130 66 30 38 20 75 73 65 73 20 74 68 65 20 66 61 6d |f08 uses the fam| 00000140 69 6c 69 61 72 20 32 35 36 20 63 6f 6c 6f 75 72 |iliar 256 colour| 00000150 20 73 70 72 69 74 65 20 66 6f 72 6d 61 74 20 77 | sprite format w| 00000160 69 74 68 20 6e 6f 20 70 61 6c 65 74 74 65 2c 0a |ith no palette,.| 00000170 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 |representing the| 00000180 20 69 6d 61 67 65 20 61 73 20 62 65 73 74 20 61 | image as best a| 00000190 73 20 70 6f 73 73 69 62 6c 65 20 77 69 74 68 20 |s possible with | 000001a0 64 69 74 68 65 72 69 6e 67 2e 0a 0a 66 31 36 20 |dithering...f16 | 000001b0 61 63 74 75 61 6c 6c 79 20 75 73 65 73 20 31 35 |actually uses 15| 000001c0 62 70 70 20 77 69 74 68 20 74 68 65 20 31 36 27 |bpp with the 16'| 000001d0 74 68 20 62 69 74 20 6f 66 20 6e 6f 20 73 69 67 |th bit of no sig| 000001e0 6e 69 66 69 63 61 6e 63 65 20 2d 20 69 74 27 73 |nificance - it's| 000001f0 0a 68 65 6c 64 20 61 74 20 30 2e 0a 0a 66 33 32 |.held at 0...f32| 00000200 20 75 73 65 73 20 32 34 62 70 70 20 2d 20 61 67 | uses 24bpp - ag| 00000210 61 69 6e 2c 20 74 68 65 20 72 65 6d 61 69 6e 69 |ain, the remaini| 00000220 6e 67 20 62 69 74 73 20 61 72 65 20 72 65 73 65 |ng bits are rese| 00000230 72 76 65 64 20 26 20 63 75 72 72 65 6e 74 6c 79 |rved & currently| 00000240 20 6d 75 73 74 0a 62 65 20 30 2e 0a 0a 49 66 20 | must.be 0...If | 00000250 79 6f 75 20 68 61 76 65 20 61 20 52 49 53 43 20 |you have a RISC | 00000260 50 43 20 6f 72 20 73 75 69 74 61 62 6c 65 20 67 |PC or suitable g| 00000270 72 61 70 68 69 63 73 20 65 6e 68 61 6e 63 65 72 |raphics enhancer| 00000280 2c 20 79 6f 75 20 63 61 6e 20 63 6f 6d 70 61 72 |, you can compar| 00000290 65 0a 74 68 65 73 65 20 69 6d 61 67 65 73 20 64 |e.these images d| 000002a0 69 72 65 63 74 6c 79 2e 0a 0a 49 6e 20 6f 72 64 |irectly...In ord| 000002b0 65 72 20 74 6f 20 61 6c 6c 6f 77 20 74 68 65 20 |er to allow the | 000002c0 72 65 73 74 20 6f 66 20 75 73 20 74 6f 20 63 6f |rest of us to co| 000002d0 6d 70 61 72 65 20 74 68 65 6d 2c 20 63 6f 76 65 |mpare them, cove| 000002e0 72 20 64 69 73 63 20 73 70 61 63 65 0a 70 65 72 |r disc space.per| 000002f0 6d 69 74 74 69 6e 67 20 79 6f 75 27 6c 6c 20 66 |mitting you'll f| 00000300 69 6e 64 20 61 6e 6f 74 68 65 72 20 73 70 72 69 |ind another spri| 00000310 74 65 20 66 69 6c 65 20 63 61 6c 6c 65 64 20 27 |te file called '| 00000320 6d 61 67 27 20 69 6e 20 74 68 69 73 0a 64 69 72 |mag' in this.dir| 00000330 65 63 74 6f 72 79 2e 20 49 74 20 63 6f 6e 74 61 |ectory. It conta| 00000340 69 6e 73 20 61 20 33 78 20 6d 61 67 6e 69 66 69 |ins a 3x magnifi| 00000350 65 64 20 63 6f 70 79 20 6f 66 20 65 61 63 68 20 |ed copy of each | 00000360 69 6d 61 67 65 2c 20 61 6c 6c 20 63 6f 6e 76 65 |image, all conve| 00000370 72 74 65 64 0a 74 6f 20 38 62 70 70 20 26 20 64 |rted.to 8bpp & d| 00000380 69 74 68 65 72 65 64 20 76 69 61 20 43 68 61 6e |ithered via Chan| 00000390 67 65 46 53 49 2e 20 44 69 74 68 65 72 69 6e 67 |geFSI. Dithering| 000003a0 20 61 74 20 74 68 69 73 20 69 6e 63 72 65 61 73 | at this increas| 000003b0 65 64 20 73 70 61 74 69 61 6c 0a 72 65 73 6f 6c |ed spatial.resol| 000003c0 75 74 69 6f 6e 20 61 6c 6c 6f 77 73 20 73 6f 6d |ution allows som| 000003d0 65 20 6f 66 20 74 68 65 20 65 78 74 72 61 20 63 |e of the extra c| 000003e0 6f 6c 6f 75 72 20 69 6e 66 6f 72 6d 61 74 69 6f |olour informatio| 000003f0 6e 20 6f 66 20 74 68 65 20 68 69 67 68 65 72 0a |n of the higher.| 00000400 64 65 70 74 68 20 73 70 72 69 74 65 73 20 74 6f |depth sprites to| 00000410 20 62 65 20 63 6f 6e 76 65 79 65 64 20 61 74 20 | be conveyed at | 00000420 74 68 65 20 6c 69 6d 69 74 69 6e 67 20 38 62 70 |the limiting 8bp| 00000430 70 2e 0a 0a 49 66 20 74 68 65 72 65 20 77 61 73 |p...If there was| 00000440 6e 27 74 20 72 6f 6f 6d 20 66 6f 72 20 74 68 69 |n't room for thi| 00000450 73 20 66 69 6c 65 20 79 6f 75 20 63 61 6e 20 63 |s file you can c| 00000460 72 65 61 74 65 20 73 69 6d 69 6c 61 72 20 69 6d |reate similar im| 00000470 61 67 65 73 20 79 6f 75 72 73 65 6c 66 0a 61 73 |ages yourself.as| 00000480 20 6c 6f 6e 67 20 61 73 20 79 6f 75 20 68 61 76 | long as you hav| 00000490 65 20 61 20 73 75 66 66 69 63 69 65 6e 74 6c 79 |e a sufficiently| 000004a0 20 72 65 63 65 6e 74 20 63 6f 70 79 20 6f 66 20 | recent copy of | 000004b0 43 68 61 6e 67 65 46 53 49 2c 20 73 69 6e 63 65 |ChangeFSI, since| 000004c0 20 69 74 20 63 61 6e 0a 6e 6f 77 20 62 6f 74 68 | it can.now both| 000004d0 20 72 65 61 64 20 26 20 6f 75 74 70 75 74 20 74 | read & output t| 000004e0 68 65 20 6e 65 77 20 66 6f 72 6d 61 74 73 2e 20 |he new formats. | 000004f0 53 65 74 20 6f 75 74 70 75 74 20 74 6f 20 63 6f |Set output to co| 00000500 6c 6f 75 72 20 6d 6f 64 65 20 32 38 20 26 0a 73 |lour mode 28 &.s| 00000510 63 61 6c 69 6e 67 20 74 6f 20 33 20 28 6f 72 20 |caling to 3 (or | 00000520 34 29 2c 20 62 65 66 6f 72 65 20 72 75 6e 6e 69 |4), before runni| 00000530 6e 67 20 65 61 63 68 20 6f 66 20 66 30 38 2c 20 |ng each of f08, | 00000540 66 31 36 20 26 20 66 33 32 20 74 68 72 6f 75 67 |f16 & f32 throug| 00000550 68 20 69 74 2e 0a 41 6c 74 65 72 6e 61 74 69 76 |h it..Alternativ| 00000560 65 6c 79 2c 20 69 66 20 79 6f 75 20 68 61 76 65 |ely, if you have| 00000570 20 49 6d 70 72 65 73 73 69 6f 6e 20 50 75 62 6c | Impression Publ| 00000580 69 73 68 65 72 2c 20 79 6f 75 20 63 61 6e 20 76 |isher, you can v| 00000590 69 65 77 20 74 68 65 73 65 20 69 6d 61 67 65 73 |iew these images| 000005a0 0a 75 73 69 6e 67 20 69 74 2e 0a 0a 4e 6f 74 65 |.using it...Note| 000005b0 20 74 68 61 74 20 74 68 65 20 72 65 63 65 6e 74 | that the recent| 000005c0 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 43 46 53 | versions of CFS| 000005d0 49 20 63 61 6e 20 61 6c 73 6f 20 6f 75 74 70 75 |I can also outpu| 000005e0 74 20 69 6e 20 74 68 65 20 6e 65 77 20 66 6f 72 |t in the new for| 000005f0 6d 61 74 2c 0a 68 6f 77 65 76 65 72 20 69 66 20 |mat,.however if | 00000600 79 6f 75 20 74 72 79 20 74 6f 20 73 65 6c 65 63 |you try to selec| 00000610 74 20 73 75 63 68 20 6f 75 74 70 75 74 20 66 72 |t such output fr| 00000620 6f 6d 20 74 68 65 20 64 65 73 6b 74 6f 70 20 66 |om the desktop f| 00000630 72 6f 6e 74 20 65 6e 64 20 6f 6e 20 61 0a 6e 6f |ront end on a.no| 00000640 6e 20 52 49 53 43 20 50 43 20 6d 61 63 68 69 6e |n RISC PC machin| 00000650 65 20 79 6f 75 27 6c 6c 20 66 69 6e 64 20 69 74 |e you'll find it| 00000660 20 77 6f 6e 27 74 20 77 6f 72 6b 20 70 72 6f 70 | won't work prop| 00000670 65 72 6c 79 20 61 73 20 43 46 53 49 20 69 73 20 |erly as CFSI is | 00000680 75 6e 61 62 6c 65 20 74 6f 0a 64 69 73 70 6c 61 |unable to.displa| 00000690 79 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 |y the resulting | 000006a0 69 6d 61 67 65 2e 20 48 6f 77 65 76 65 72 20 43 |image. However C| 000006b0 46 53 49 20 63 61 6e 20 73 74 69 6c 6c 20 62 65 |FSI can still be| 000006c0 20 72 75 6e 20 66 72 6f 6d 20 74 68 65 20 63 6f | run from the co| 000006d0 6d 6d 61 6e 64 0a 6c 69 6e 65 20 74 6f 20 70 72 |mmand.line to pr| 000006e0 6f 64 75 63 65 20 73 75 63 68 20 66 69 6c 65 73 |oduce such files| 000006f0 2c 20 69 72 72 65 73 70 65 63 74 69 76 65 20 6f |, irrespective o| 00000700 66 20 74 68 65 20 6d 61 63 68 69 6e 65 20 69 74 |f the machine it| 00000710 20 69 73 20 72 75 6e 6e 69 6e 67 20 6f 6e 2e 0a | is running on..| 00000720 0a 46 69 72 73 74 20 65 6e 73 75 72 65 20 79 6f |.First ensure yo| 00000730 75 20 73 65 74 20 74 68 65 20 6c 69 62 72 61 72 |u set the librar| 00000740 79 20 6f 72 20 63 73 64 20 74 6f 20 74 68 65 20 |y or csd to the | 00000750 21 43 68 61 6e 67 65 46 53 49 20 70 61 74 68 2c |!ChangeFSI path,| 00000760 20 73 6f 20 74 68 61 74 20 74 68 65 0a 66 69 6c | so that the.fil| 00000770 65 72 20 63 61 6e 20 66 69 6e 64 20 43 68 61 6e |er can find Chan| 00000780 67 65 46 53 49 2c 20 74 68 65 6e 20 65 6e 74 65 |geFSI, then ente| 00000790 72 20 61 20 73 75 69 74 61 62 6c 65 20 63 6f 6d |r a suitable com| 000007a0 6d 61 6e 64 20 66 72 6f 6d 20 74 68 65 20 63 6f |mand from the co| 000007b0 6d 6d 61 6e 64 0a 6c 69 6e 65 2e 0a 0a 46 6f 72 |mmand.line...For| 000007c0 20 65 78 61 6d 70 6c 65 3a 0a 2a 43 68 61 6e 67 | example:.*Chang| 000007d0 65 46 53 49 20 69 6e 66 69 6c 65 20 6f 75 74 66 |eFSI infile outf| 000007e0 69 6c 65 20 73 33 32 2c 39 30 2c 39 30 20 31 3a |ile s32,90,90 1:| 000007f0 34 20 2d 73 68 61 72 70 65 6e 0a 77 69 6c 6c 20 |4 -sharpen.will | 00000800 63 6f 6e 76 65 72 74 20 69 6e 66 69 6c 65 20 74 |convert infile t| 00000810 6f 20 61 20 33 32 62 70 70 20 6e 65 77 20 66 6f |o a 32bpp new fo| 00000820 72 6d 61 74 20 73 70 72 69 74 65 2c 20 73 63 61 |rmat sprite, sca| 00000830 6c 65 64 20 62 79 20 30 2e 32 35 20 26 20 73 68 |led by 0.25 & sh| 00000840 61 72 70 65 6e 65 64 0a 77 69 74 68 20 66 61 63 |arpened.with fac| 00000850 74 6f 72 20 32 34 2c 20 73 61 76 65 64 20 61 73 |tor 24, saved as| 00000860 20 6f 75 74 66 69 6c 65 2e 0a 0a 54 68 69 73 20 | outfile...This | 00000870 69 73 20 68 6f 77 20 49 20 70 72 6f 64 75 63 65 |is how I produce| 00000880 64 20 66 31 36 20 26 20 66 33 32 20 69 6e 20 74 |d f16 & f32 in t| 00000890 68 65 20 66 69 72 73 74 20 70 6c 61 63 65 2c 20 |he first place, | 000008a0 73 69 6e 63 65 20 49 20 64 6f 6e 27 74 20 63 75 |since I don't cu| 000008b0 72 72 65 6e 74 6c 79 0a 68 61 76 65 20 61 20 52 |rrently.have a R| 000008c0 49 53 43 20 50 43 2e 20 4e 42 20 54 68 65 20 73 |ISC PC. NB The s| 000008d0 6f 75 72 63 65 20 69 6d 61 67 65 20 75 73 65 64 |ource image used| 000008e0 20 77 61 73 20 61 20 50 44 20 32 34 62 70 70 20 | was a PD 24bpp | 000008f0 6a 70 65 67 20 66 69 6c 65 20 63 61 6c 6c 65 64 |jpeg file called| 00000900 0a 27 66 65 6d 6d 65 27 2e 0a |.'femme'..| 0000090a