Home » Personal collection » Commodore disks » disk48b_basic_scr.d64 » islesgen
islesgen
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 » disk48b_basic_scr.d64 |
| Filename: | islesgen |
| Read OK: | ✔ |
| File size: | 018C bytes |
| Load address: | 0801 |
| Exec address: | 0000 |
File contents
10 DEFFNP(D)=PEEK(1024+Y*40+X+D):CH=160
20 FOR R=1024 TO 2040:POKER,32:NEXT
22 FOR R=55296 TO 56320:POKER,5:NEXT
25 POKE1024+40*12,CH:POKE1024+40*13,CH
30 FOR X=1 TO 38:FOR Y=0 TO 24
40 P=50:G=1
50 IF FNP(-1)=CH THEN P=2-(NOT FNP(-41)=CH)-(NOT FNP(39)=CH):G=10:GOTO 77
60 IF FNP(-41)=CH AND Y<>0 THEN P=P/30
70 IF FNP(39)=CH AND Y<>24 THEN P=P/30
77 P=P*(X/15+1)
80 FOR GS=1 TO INT(G)
90 IF INT(RND(1)*P+1)=1 THEN POKE 1024+Y*40+X,CH:GS=INT(G)
100 NEXT:NEXT:NEXT
110 GOTO 110
$ ��P(D)��(1024�Y�40�X�D):CH�160 @ � R�1024 � 2040:�R,32:� ] � R�55296 � 56320:�R,5:� �1024�40�12,CH:�1024�40�13,CH � � X�1 � 38:� Y�0 � 24 �( P�50:G�1 �2 � �P(�1)�CH � P�2�(� �P(�41)�CH)�(� �P(39)�CH):G�10:� 77 <