Home » Personal collection » Acorn hard disk » files » BallBot » Samples/Processing/Equalise

Samples/Processing/Equalise

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 » files » BallBot
Filename: Samples/Processing/Equalise
Read OK:
File size: 019A bytes
Load address: 0000
Exec address: 0000
File contents
   10MODE27:MOUSE ON
   20*SLOAD Source
   30DIMy(6)
   40FORsp=1TO6:imi$="im"+STR$sp
   50OSCLI"SCHOOSE "+imi$
   60PLOT&ED,0,0
   70REPEAT MOUSEx,y,c:UNTIL c<>0
   80y(sp)=y/4
   90REPEAT MOUSEx,y,c:UNTIL c=0
  100NEXT
  110:
  120FORsp=1TO6:imi$="im"+STR$sp:imo$=imi$
  130OSCLI"SCHOOSE "+imi$
  140y=y(sp)
  150FORl=254TO0STEP-1:FORx=0TO127
  160SYS "OS_SpriteOp",41,0,imi$,x,y TO ,,,,,col
  170SYS "OS_SpriteOp",42,0,imo$,x,l,col
  180NEXT
  190y=y-1:IFy=-1 THEN y=l:imi$="im6"
  200PLOT&ED,0,0
  210NEXT
  220NEXT
  230*SSAVE EqualOut

�27:ȗ �
*SLOAD Source
	�y(6)
(�sp=1�6:imi$="im"+�sp
2�"SCHOOSE "+imi$
<�&ED,0,0
F� ȗx,y,c:� c<>0
P
y(sp)=y/4
Z� ȗx,y,c:� c=0
d�
n:
x#�sp=1�6:imi$="im"+�sp:imo$=imi$
��"SCHOOSE "+imi$
�y=y(sp)
��l=254�0�-1:�x=0�127
�-ș "OS_SpriteOp",41,0,imi$,x,y � ,,,,,col
�&ș "OS_SpriteOp",42,0,imo$,x,l,col
��
� y=y-1:�y=-1 � y=l:imi$="im6"
��&ED,0,0
��
��
�*SSAVE EqualOut
�
00000000  0d 00 0a 0c eb 32 37 3a  c8 97 20 ee 0d 00 14 11  |.....27:.. .....|
00000010  2a 53 4c 4f 41 44 20 53  6f 75 72 63 65 0d 00 1e  |*SLOAD Source...|
00000020  09 de 79 28 36 29 0d 00  28 19 e3 73 70 3d 31 b8  |..y(6)..(..sp=1.|
00000030  36 3a 69 6d 69 24 3d 22  69 6d 22 2b c3 73 70 0d  |6:imi$="im"+.sp.|
00000040  00 32 14 ff 22 53 43 48  4f 4f 53 45 20 22 2b 69  |.2.."SCHOOSE "+i|
00000050  6d 69 24 0d 00 3c 0c f0  26 45 44 2c 30 2c 30 0d  |mi$..<..&ED,0,0.|
00000060  00 46 14 f5 20 c8 97 78  2c 79 2c 63 3a fd 20 63  |.F.. ..x,y,c:. c|
00000070  3c 3e 30 0d 00 50 0d 79  28 73 70 29 3d 79 2f 34  |<>0..P.y(sp)=y/4|
00000080  0d 00 5a 13 f5 20 c8 97  78 2c 79 2c 63 3a fd 20  |..Z.. ..x,y,c:. |
00000090  63 3d 30 0d 00 64 05 ed  0d 00 6e 05 3a 0d 00 78  |c=0..d....n.:..x|
000000a0  23 e3 73 70 3d 31 b8 36  3a 69 6d 69 24 3d 22 69  |#.sp=1.6:imi$="i|
000000b0  6d 22 2b c3 73 70 3a 69  6d 6f 24 3d 69 6d 69 24  |m"+.sp:imo$=imi$|
000000c0  0d 00 82 14 ff 22 53 43  48 4f 4f 53 45 20 22 2b  |....."SCHOOSE "+|
000000d0  69 6d 69 24 0d 00 8c 0b  79 3d 79 28 73 70 29 0d  |imi$....y=y(sp).|
000000e0  00 96 18 e3 6c 3d 32 35  34 b8 30 88 2d 31 3a e3  |....l=254.0.-1:.|
000000f0  78 3d 30 b8 31 32 37 0d  00 a0 2d c8 99 20 22 4f  |x=0.127...-.. "O|
00000100  53 5f 53 70 72 69 74 65  4f 70 22 2c 34 31 2c 30  |S_SpriteOp",41,0|
00000110  2c 69 6d 69 24 2c 78 2c  79 20 b8 20 2c 2c 2c 2c  |,imi$,x,y . ,,,,|
00000120  2c 63 6f 6c 0d 00 aa 26  c8 99 20 22 4f 53 5f 53  |,col...&.. "OS_S|
00000130  70 72 69 74 65 4f 70 22  2c 34 32 2c 30 2c 69 6d  |priteOp",42,0,im|
00000140  6f 24 2c 78 2c 6c 2c 63  6f 6c 0d 00 b4 05 ed 0d  |o$,x,l,col......|
00000150  00 be 20 79 3d 79 2d 31  3a e7 79 3d 2d 31 20 8c  |.. y=y-1:.y=-1 .|
00000160  20 79 3d 6c 3a 69 6d 69  24 3d 22 69 6d 36 22 0d  | y=l:imi$="im6".|
00000170  00 c8 0c f0 26 45 44 2c  30 2c 30 0d 00 d2 05 ed  |....&ED,0,0.....|
00000180  0d 00 dc 05 ed 0d 00 e6  13 2a 53 53 41 56 45 20  |.........*SSAVE |
00000190  45 71 75 61 6c 4f 75 74  0d ff                    |EqualOut..|
0000019a