Home » Personal collection » Commodore disks » disk65a_programs_1.d64 » bouncing around
bouncing around
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 » Commodore disks » disk65a_programs_1.d64 |
| Filename: | bouncing around |
| Read OK: | ✔ |
| File size: | 0219 bytes |
| Load address: | 0801 |
| Exec address: | 0000 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Commodore disks » disk50a2_progs1.d64 » bouncing around
- Personal collection » Commodore disks » disk65a_programs_1.d64 » bouncing around
- Personal collection » Commodore tapes » Commodore_64 » drawer_tr_tape01a_d60_c64_tape.wav » bouncing around
File contents
10 PRINT"<white>";CHR$(147);
20 POKE 53280,7:POKE 53281,6
22 FOR E=1TO100
23 X=INT(RND(1)*40):Y=INT(RND(1)*25)
24 IF X=1 AND Y=1 THEN 23
25 IF X=40 AND Y=25 THEN 23
28 IF PEEK(1024+X+Y*40)<>32 THEN 23
29 POKE 211,X:POKE214,Y:SYS58732:PRINT"<yellow><reverse on> <rev off>";:NEXT:PRINT"<white>";
30 X=1:Y=1
40 DX=1:DY=1
50 POKE 1024+X+40*Y,81
60 FOR T=1TO10:NEXT:YD=0
70 POKE 1024+X+40*Y,32
80 X=X+DX
90 IF X<=0 OR X>=39 OR PEEK(1024+X+Y*40)<>32 THEN DX=-DX:GOTO130
100 Y=Y+DY:DO=1
110 IF Y<=0 OR Y>=24 OR PEEK(1024+X+Y*40)<>32 THEN DY=-DY:GOTO130
120 GOTO 50
130 IF YD=0 THEN X=X+DX:GOTO100
140 IF YD=1 THEN Y=Y+DY:GOTO50
�"";�(147); * � 53280,7:� 53281,6 8 � E�1�100 V X��(�(1)�40):Y��(�(1)�25) k � X�1 � Y�1 � 23 � � X�40 � Y�25 � 23 � � �(1024�X�Y�40)��32 � 23 � � 211,X:�214,Y:�58732:�"� �";:�:�""; � X�1:Y�1 �( DX�1:DY�1 �2 � 1024�X�40�Y,81 <