Home » Personal collection » Commodore disks » disk44a_mandelbrot.d64 » mandelplot
mandelplot
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 » disk44a_mandelbrot.d64 |
Filename: | mandelplot |
Read OK: | ✔ |
File size: | 02FF bytes |
Load address: | 0801 |
Exec address: | 0000 |
File contents
10 REM MANDELPLOT 20 REM CODED BY DOMINIC FORD 30 REM 40 POKE55,0:POKE56,14:XM=-2:YM=-2:XX=2:YX=2:SYS4096:HN=7897:HF=7897 50 F=PEEK(2):ONF+1GOTO100,200,300,400 60 SYSPEEK(251)+PEEK(252)*256 100 END 300 XN=(PEEK(53256)+(PEEK(53264)AND16)*16-64)/256*(XX-XM)+XM 310 XX=(PEEK(53258)+(PEEK(53264)AND32)*8-40)/256*(XX-XM)+XM 320 YN=(PEEK(53257)-50)/200*(YX-YM)+YM:YX=(PEEK(53261)-29)/200*(YX-YM)+YM:GOTO330 330 XM=XN:YM=YN:V=XM:M=16392:GOSUB1000:V=(XX-XM)/256:M=M+8:GOSUB1000:M=M+8:V=YM 340 GOSUB1000:M=M+8:V=(YX-YM)/200:GOSUB1000:GOTO60 400 XN=(PEEK(53256)+(PEEK(53264)AND16)*16-64)/256*(XX-XM)+XM 410 XX=(PEEK(53258)+(PEEK(53264)AND32)*8-40)/256*(XX-XM)+XM 420 YN=(PEEK(53257)-50)/200*(YX-YM)+YM:YX=(PEEK(53261)-29)/200*(YX-YM)+YM:GOTO330 1000 POKEM,0:V$=STR$(V/100):IFV<0THEN1050 1010 FORB=1TO7:POKEB+M,VAL(MID$(V$,B*2+1,1))*16+VAL(MID$(V$,B*2+2,1)):NEXT:RETURN 1050 V$=STR$(ABS(100+V)/100):POKEM,153:GOTO1010
� MANDELPLOT . � CODED BY DOMINIC FORD 4 � q( �55,0:�56,14:XM��2:YM��2:XX�2:YX�2:�4096:HN�7897:HF�7897 �2 F��(2):�F�1�100,200,300,400 �<