Home » Personal collection » Acorn hard disk » misc » misc2 » biobot/SIII/SPR/SprConv
biobot/SIII/SPR/SprConv
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 » Personal collection » Acorn hard disk » misc » misc2 |
Filename: | biobot/SIII/SPR/SprConv |
Read OK: | ✔ |
File size: | 01E0 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » Dominic_4.ADF » SIII/SPR/SprConv
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_4.adf » SIII/SPR/SprConv
- Personal collection » Acorn hard disk » misc » misc2 » biobot/SIII/SPR/SprConv
File contents
10MODE2:DIM c%(15):FORr=0TO15:READc%(r):NEXT 20DIM space &1000:*RAM 30*SLOAD SPRITES 40FORr=0TO10 50FORwait=0TO100000:NEXT 60IF r>15 THEN OSCLI"SCHOOSE "+STR$~r ELSE OSCLI"SCHOOSE 0"+STR$~r 70PLOT&ED,0,960:FORt=0TO63 80?(space+128*r+t)=(c%(POINT((t AND &F8)*2+8,1023-(t AND 7)*4))+2*c%(POINT((t AND &F8)*2,1023-(t AND 7)*4)) AND &3F):NEXT 90FORt=0TO63:?(space+64+128*r+t)=(c%(POINT((t AND &F8)*2+8,991-(t AND 7)*4))+2*c%(POINT((t AND &F8)*2,991-(t AND 7)*4)) AND &3F):NEXT, 100OSCLI"SAVE SprDat "+STR$~space+" "+STR$~(space+&580) 110: 120DATA 0,1,4,5,16,17,20,21,0,1,4,5,16,17,20,21
�2:� c%(15):�r=0�15:�c%(r):� � space &1000:*RAM *SLOAD SPRITES (�r=0�10 2�wait=0�100000:� </� r>15 � �"SCHOOSE "+�~r � �"SCHOOSE 0"+�~r F�&ED,0,960:�t=0�63 Pd?(space+128*r+t)=(c%(�(t � &F8)*2+8,1023-(t � 7)*4))+2*c%(�(t � &F8)*2,1023-(t � 7)*4)) � &3F):� Zn�t=0�63:?(space+64+128*r+t)=(c%(�(t � &F8)*2+8,991-(t � 7)*4))+2*c%(�(t � &F8)*2,991-(t � 7)*4)) � &3F):�, d.�"SAVE SprDat "+�~space+" "+�~(space+&580) n: x-� 0,1,4,5,16,17,20,21,0,1,4,5,16,17,20,21 �
00000000 0d 00 0a 20 eb 32 3a de 20 63 25 28 31 35 29 3a |... .2:. c%(15):| 00000010 e3 72 3d 30 b8 31 35 3a f3 63 25 28 72 29 3a ed |.r=0.15:.c%(r):.| 00000020 0d 00 14 16 de 20 73 70 61 63 65 20 26 31 30 30 |..... space &100| 00000030 30 3a 2a 52 41 4d 0d 00 1e 12 2a 53 4c 4f 41 44 |0:*RAM....*SLOAD| 00000040 20 53 50 52 49 54 45 53 0d 00 28 0b e3 72 3d 30 | SPRITES..(..r=0| 00000050 b8 31 30 0d 00 32 14 e3 77 61 69 74 3d 30 b8 31 |.10..2..wait=0.1| 00000060 30 30 30 30 30 3a ed 0d 00 3c 2f e7 20 72 3e 31 |00000:...</. r>1| 00000070 35 20 8c 20 ff 22 53 43 48 4f 4f 53 45 20 22 2b |5 . ."SCHOOSE "+| 00000080 c3 7e 72 20 8b 20 ff 22 53 43 48 4f 4f 53 45 20 |.~r . ."SCHOOSE | 00000090 30 22 2b c3 7e 72 0d 00 46 16 f0 26 45 44 2c 30 |0"+.~r..F..&ED,0| 000000a0 2c 39 36 30 3a e3 74 3d 30 b8 36 33 0d 00 50 64 |,960:.t=0.63..Pd| 000000b0 3f 28 73 70 61 63 65 2b 31 32 38 2a 72 2b 74 29 |?(space+128*r+t)| 000000c0 3d 28 63 25 28 b0 28 74 20 80 20 26 46 38 29 2a |=(c%(.(t . &F8)*| 000000d0 32 2b 38 2c 31 30 32 33 2d 28 74 20 80 20 37 29 |2+8,1023-(t . 7)| 000000e0 2a 34 29 29 2b 32 2a 63 25 28 b0 28 74 20 80 20 |*4))+2*c%(.(t . | 000000f0 26 46 38 29 2a 32 2c 31 30 32 33 2d 28 74 20 80 |&F8)*2,1023-(t .| 00000100 20 37 29 2a 34 29 29 20 80 20 26 33 46 29 3a ed | 7)*4)) . &3F):.| 00000110 0d 00 5a 6e e3 74 3d 30 b8 36 33 3a 3f 28 73 70 |..Zn.t=0.63:?(sp| 00000120 61 63 65 2b 36 34 2b 31 32 38 2a 72 2b 74 29 3d |ace+64+128*r+t)=| 00000130 28 63 25 28 b0 28 74 20 80 20 26 46 38 29 2a 32 |(c%(.(t . &F8)*2| 00000140 2b 38 2c 39 39 31 2d 28 74 20 80 20 37 29 2a 34 |+8,991-(t . 7)*4| 00000150 29 29 2b 32 2a 63 25 28 b0 28 74 20 80 20 26 46 |))+2*c%(.(t . &F| 00000160 38 29 2a 32 2c 39 39 31 2d 28 74 20 80 20 37 29 |8)*2,991-(t . 7)| 00000170 2a 34 29 29 20 80 20 26 33 46 29 3a ed 2c 0d 00 |*4)) . &3F):.,..| 00000180 64 2e ff 22 53 41 56 45 20 53 70 72 44 61 74 20 |d.."SAVE SprDat | 00000190 22 2b c3 7e 73 70 61 63 65 2b 22 20 22 2b c3 7e |"+.~space+" "+.~| 000001a0 28 73 70 61 63 65 2b 26 35 38 30 29 0d 00 6e 05 |(space+&580)..n.| 000001b0 3a 0d 00 78 2d dc 20 30 2c 31 2c 34 2c 35 2c 31 |:..x-. 0,1,4,5,1| 000001c0 36 2c 31 37 2c 32 30 2c 32 31 2c 30 2c 31 2c 34 |6,17,20,21,0,1,4| 000001d0 2c 35 2c 31 36 2c 31 37 2c 32 30 2c 32 31 0d ff |,5,16,17,20,21..| 000001e0