Home » Personal collection » Acorn hard disk » misc » dcfprogs » Server1/OldMand/MANDEL

Server1/OldMand/MANDEL

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 » misc » dcfprogs
Filename: Server1/OldMand/MANDEL
Read OK:
File size: 019E bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10MODE 2
   20XMIN=-2:XMAX=2:YMIN=-2:YMAX=2
   30FORX=0TO1280STEP8
   40FORY=0TO1024STEP4
   50XB=XMIN+((XMAX-XMIN)/1280)*X
   60YB=YMIN+((YMAX-YMIN)/1024)*Y
   70C=1:U=XB:V=YB
   80IF U^2+V^2>4 OR C=25 THEN PROCplot:GOTO180
   90UN=U^2-V^2+XB
  100VN=2*U*V+YB
  110U=UN:V=VN
  120C=C+1
  130GOTO80
  140DEFPROCplot
  150GCOL0,C
  160MOVEX,Y:DRAWX,Y
  170ENDPROC
  180NEXT,
  185*RAM
  190*SCREENSAVE SCR
  200FORX=0TO15
  210VDU 19,0,X,0;0;0;0;19,1,X+1,0;0;0;0;19,2,X+2,0;0;0;0;19,3,X+3,0;0;0;0
  220NEXT:GOTO200

� 2
!XMIN=-2:XMAX=2:YMIN=-2:YMAX=2
�X=0�1280�8
(�Y=0�1024�4
2 XB=XMIN+((XMAX-XMIN)/1280)*X
< YB=YMIN+((YMAX-YMIN)/1024)*Y
FC=1:U=XB:V=YB
P$� U^2+V^2>4 � C=25 � �plot:�tt@
ZUN=U^2-V^2+XB
dVN=2*U*V+YB
n
U=UN:V=VN
x	C=C+1
�	�DP@
�
��plot
��0,C
�
�X,Y:�X,Y
��
��,
�*RAM
�*SCREENSAVE SCR
��X=0�15
�G� 19,0,X,0;0;0;0;19,1,X+1,0;0;0;0;19,2,X+2,0;0;0;0;19,3,X+3,0;0;0;0
��:�dH@
�
00000000  0d 00 0a 07 eb 20 32 0d  00 14 21 58 4d 49 4e 3d  |..... 2...!XMIN=|
00000010  2d 32 3a 58 4d 41 58 3d  32 3a 59 4d 49 4e 3d 2d  |-2:XMAX=2:YMIN=-|
00000020  32 3a 59 4d 41 58 3d 32  0d 00 1e 0f e3 58 3d 30  |2:YMAX=2.....X=0|
00000030  b8 31 32 38 30 88 38 0d  00 28 0f e3 59 3d 30 b8  |.1280.8..(..Y=0.|
00000040  31 30 32 34 88 34 0d 00  32 20 58 42 3d 58 4d 49  |1024.4..2 XB=XMI|
00000050  4e 2b 28 28 58 4d 41 58  2d 58 4d 49 4e 29 2f 31  |N+((XMAX-XMIN)/1|
00000060  32 38 30 29 2a 58 0d 00  3c 20 59 42 3d 59 4d 49  |280)*X..< YB=YMI|
00000070  4e 2b 28 28 59 4d 41 58  2d 59 4d 49 4e 29 2f 31  |N+((YMAX-YMIN)/1|
00000080  30 32 34 29 2a 59 0d 00  46 11 43 3d 31 3a 55 3d  |024)*Y..F.C=1:U=|
00000090  58 42 3a 56 3d 59 42 0d  00 50 24 e7 20 55 5e 32  |XB:V=YB..P$. U^2|
000000a0  2b 56 5e 32 3e 34 20 84  20 43 3d 32 35 20 8c 20  |+V^2>4 . C=25 . |
000000b0  f2 70 6c 6f 74 3a e5 8d  74 74 40 0d 00 5a 11 55  |.plot:..tt@..Z.U|
000000c0  4e 3d 55 5e 32 2d 56 5e  32 2b 58 42 0d 00 64 0f  |N=U^2-V^2+XB..d.|
000000d0  56 4e 3d 32 2a 55 2a 56  2b 59 42 0d 00 6e 0d 55  |VN=2*U*V+YB..n.U|
000000e0  3d 55 4e 3a 56 3d 56 4e  0d 00 78 09 43 3d 43 2b  |=UN:V=VN..x.C=C+|
000000f0  31 0d 00 82 09 e5 8d 44  50 40 0d 00 8c 0a dd f2  |1......DP@......|
00000100  70 6c 6f 74 0d 00 96 08  e6 30 2c 43 0d 00 a0 0d  |plot.....0,C....|
00000110  ec 58 2c 59 3a df 58 2c  59 0d 00 aa 05 e1 0d 00  |.X,Y:.X,Y.......|
00000120  b4 06 ed 2c 0d 00 b9 08  2a 52 41 4d 0d 00 be 13  |...,....*RAM....|
00000130  2a 53 43 52 45 45 4e 53  41 56 45 20 53 43 52 0d  |*SCREENSAVE SCR.|
00000140  00 c8 0b e3 58 3d 30 b8  31 35 0d 00 d2 47 ef 20  |....X=0.15...G. |
00000150  31 39 2c 30 2c 58 2c 30  3b 30 3b 30 3b 30 3b 31  |19,0,X,0;0;0;0;1|
00000160  39 2c 31 2c 58 2b 31 2c  30 3b 30 3b 30 3b 30 3b  |9,1,X+1,0;0;0;0;|
00000170  31 39 2c 32 2c 58 2b 32  2c 30 3b 30 3b 30 3b 30  |19,2,X+2,0;0;0;0|
00000180  3b 31 39 2c 33 2c 58 2b  33 2c 30 3b 30 3b 30 3b  |;19,3,X+3,0;0;0;|
00000190  30 0d 00 dc 0b ed 3a e5  8d 64 48 40 0d ff        |0.....:..dH@..|
0000019e