Home » Personal collection » Commodore tapes » Commodore_64 » drawer_tr_tape01b_d60_c64_tape_designers_pencil.wav » primes-program

primes-program

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 tapes » Commodore_64 » drawer_tr_tape01b_d60_c64_tape_designers_pencil.wav
Filename: primes-program
Read OK:
File size: 0078 bytes
Load address: 0801
Exec address: 0000
File contents
    10 R=5:F=0:OPEN 1,1,1,"PRIMESDATA"
    20 FORG=3 TO SQR(R) STEP 2
    30 IF R/G=INT(R/G) THEN F=1
    40 NEXT:IF F=1 THEN NEXT:END
    50 PRINT#1,R
    60 R=R+1:GOTO 20

"
R�5:F�0:� 1,1,1,"PRIMESDATA"6�G�3 � �(R) � 2M� R�G��(R�G) � F�1_(�:� F�1 � �:�h2�1,Rw<R�R�1:� 20
"HJ@r.5:f.0:. 1,1,1,"primesdata"@6HT@.g.3 . .(r) . 2@mH.@. r.g..(r.g) . f.1@.H(@.:. f.1 . .:.@HH2@.1,r@WH<@r.r.1:. 20@@@
00000000  22 08 0a 00 52 b2 35 3a  46 b2 30 3a 9f 20 31 2c  |"...R.5:F.0:. 1,|
00000010  31 2c 31 2c 22 50 52 49  4d 45 53 44 41 54 41 22  |1,1,"PRIMESDATA"|
00000020  00 36 08 14 00 81 47 b2  33 20 a4 20 ba 28 52 29  |.6....G.3 . .(R)|
00000030  20 a9 20 32 00 4d 08 1e  00 8b 20 52 ad 47 b2 b5  | . 2.M.... R.G..|
00000040  28 52 ad 47 29 20 a7 20  46 b2 31 00 5f 08 28 00  |(R.G) . F.1._.(.|
00000050  82 3a 8b 20 46 b2 31 20  a7 20 82 3a 80 00 68 08  |.:. F.1 . .:..h.|
00000060  32 00 98 31 2c 52 00 77  08 3c 00 52 b2 52 aa 31  |2..1,R.w.<.R.R.1|
00000070  3a 89 20 32 30 00 00 00                           |:. 20...|
00000078