home *** CD-ROM | disk | FTP | other *** search
- 4 forx=53248to53263:pokex,.:next
- 5 ifa>0 then 14
- 10 gosub 500
- 14 forn=896to958:reada:poken,a:next
- 16 data255,255,255,128,0,1,128,0,1,128,0,1,128,0,1,128,0,1,128,0,1
- 18 data128,0,1,128,0,1,128,0,1,128,0,1,128,0,1,128,0,1,128,0,1,128,0,1
- 20 data128,0,1,128,0,1,128,0,1,128,0,1,255,255,255,255,255,255
- 22 hp=160:vp=100:poke2040,14
- 24 poke49500,18
- 26 poke53272,21:poke53265,27:poke53270,200
- 28 rem mandelbrot program c-64
- 30 poke53280,.:poke53281,.
- 32 print"[147] [205]andelbrot [208]rogram [195]-64 [205]ain [205]enu"
- 34 print" 1[152])[154] [214]iew directory"
- 36 print" 2[152])[154] [204]oad [205]andelbrot picture"
- 38 print" 3[152])[154] [214]iew [205]andelbrot picture"
- 40 print" 4[152])[154] [201]nput coordinates"
- 42 print" 5[152])[154] [195]hange colors"
- 44 print" 6[152])[154] [214]iew & create [205]andelbrot "
- 46 print" 7[152])[154] [211]ave [205]andelbrot picture"
- 48 print" [160] 8[152])[154] [209]uit back to [158][204][207][193][196][211][212][193][210]"
- 50 print"[160] [155] [205]enu choice 1 - 8"
- 51 geta$:ifa$="" then 51
- 52 ifa$<"0"then51
- 54 ifa$>"8"then51
- 56 on val(a$)goto 268,246,282, 60,152,170,226,167
- 58 print"error, please enter number between 1-8":goto50
- 60 print"[147] [197]nter new coordinates.."
- 61 print" [154][197]nter [216][204][152]:";:nu=1:gosub300:xl=val(a$):
- 62 print" [154][197]nter [216][210][152]:";:gosub300:xr=val(a$)
- 63 print" [154][197]nter [217][212][152]:";:gosub300:yt=val(a$):
- 64 print" [154][197]nter [217][194][152]:";:gosub300:yb=val(a$)
- 65 print"[147] [193]re these the coordinates you want"
- 66 print" [154][216][204][152] = ";xl:print" [154][216][210] [152]= ";xr
- 67 print"[154] [160] [217][212] [152]= ";yt:print" [154][217][194] [152]= ";yb
- 68 print"[152] ( [217][152]/[206][152] or [205][152] for menu)":
- 69 geta$:ifa$="" then 69
- 70 ifa$="y"then 78
- 72 ifa$="n" then 60
- 74 if a$="m" then26
- 76 goto69
- 78 print"[147]"
- 80 print" [154] [197]nter [152](1[152])[154] to proceed to [196][210][193][215]
- 82 [153]" cont valnter print#(2print#) contto return to (NULL)val(NULL)(NULL)"
- 84 [153]" print#(valnter 1print# or 2print#)"
- 85 [161]a$:[139]a$[178]""[167] 85
- 86 [139]a$[178]"1" [167]94
- 88 [139]a$[178]"2" [167] 26
- 89 [137] 85
- 92 [143] coordinates
- 94 dx[178](xr[171]xl):dy[178](yb[171]yt)
- 96 [151]53265,[194](53265)[176]32:[151]53270,[194](53270)[176]16
- 98 [151]53272,[194](53272)[176]8:[153]"contload";:
- 100 [129]i[178]8192[164]16191:[151]i,0:[130]
- 102 [129]i[178]1024[164]2023:[151]i,16[170]2:[130]
- 104 [151]53280,0
- 106 [151]53281,3
- 108 ba[178]8192:sm[178]3:ct[178]48
- 110 [129]x0[178]xl[164]xr[169](dx)[173]159
- 112 [129]y[178]yt[164]yb[169](dy)[173]199
- 114 a[178]x0[172]x0[171]y[172]y[170]x0:b[178]2[172]x0[172]y[170]y:c[178]0
- 116 r[178]a[172]a[171]b[172]b[170]x0:i[178]2[172]a[172]b[170]y:c[178]c[170]1
- 118 a[178]r:b[178]i
- 120 [139]r[179][171]10[174]16[167]134
- 122 [139]r[179]sm[167][139]c[179]ct[167]116
- 124 x1[178][181]((x0[171]xl)[173]((dx)[173]159))
- 126 y1[178][181]((y[171]yt)[173]((dy)[173]199))
- 128 [139]c[179]4 [167][141]144:[137]134
- 130 [139]c[179]6 [167][141]146:[137]134
- 132 [139]c[179]48[167][141]148
- 134 [139]x1[178][177]158[167]150
- 136 [130] y,x0
- 138 x[178]2[172]x1
- 140 ro[178][181](y1[173]8):ch[178][181](x[173]8):ln[178]y1[175]7:bi[178]7[171](x[175]7):by[178]ba[170]ro[172]320[170]ch[172]8[170]ln
- 142 [151]by,[194](by)[176]2[174]bi:[142]
- 144 x[178]2[172]x1[171]1 :[141]140:[142]
- 146 [141]138:[142]
- 148 [141]138:x[178]x[171]1:[141]140:[142]
- 150 [137]26
- 152 [143] change colors
- 154 [151]53265,[194](53265)[176]32:[151]53270,[194](53270)[176]16
- 156 [151]53272,[194](53272)[176]8:[153]"contload";:
- 158 [129]x[178]1[164]255
- 160 [129]i[178]1024[164]2023:[151]i,x:[130]i
- 162 [161]k$:[139]k$[178]""[167]162
- 164 [139]k$[178]"q"[167][151]49500,x:[137]26
- 166 [130]x :[137]26
- 167 [159]15,8,15,"r0:hello connect=hello connect":[132]15,er,er$:[160]15
- 168 [139]er[179][177]63 [167] [153]"load":[128]
- 169 [147]"hello connect",8,1
- 170 [151]650,128
- 172 vic[178]53248:[151]vic,hp :[151]vic[170]1,vp :[151]vic[170]39,13
- 174 [151]53265,[194](53265)[176]32:[151]53270,[194](53270)[176]16
- 176 [151]53272,[194](53272)[176]8:[153]"contload";:
- 178 x[178][194](49500)
- 180 [129]i[178]1024[164]2023:[151]i,x:[130]
- 182 [151]vic[170]21,1
- 184 [161] a$
- 186 [139]a$[178]""[167]184
- 188 [139]a$[178]"l"[167]hp[178]hp[171]1:[137]214
- 190 [139]a$[178]"r"[167]hp[178]hp[170]1:[137]214
- 192 [139]a$[178]"u"[167]vp[178]vp[171]1:[137]220
- 194 [139]a$[178]"d"[167]vp[178]vp[170]1:[137]220
- 196 [139]a$[178]"e"[167]200
- 198 [137]184
- 200 hp[178]hp[171]24:hp[178]hp[173]2:vp[178]vp[171]50
- 202 dx[178](xr[171]xl):dy[178](yb[171]yt)
- 204 xr[178](xl)[170]((hp[170]24)[172](dx[173]159)):xl[178](xl)[170]((hp)[172](dx[173]159))
- 206 yb[178](yt)[170]((vp[170]21)[172](dy[173]199)):yt[178](yt)[170]((vp)[172](dy[173]199))
- 208 [151]vic[170]21,0:[151]vic[170]39,0
- 210 [151]53272,21:[151]53265,27:[151]53270,200
- 212 [137]65
- 214 sf[178](hp[177]255)
- 216 [151]vic,hp[170](sf[172]256)
- 218 [151]vic[170]16,sf[172]([171]1)
- 220 [151]vic[170]1,vp
- 222 [137]184
- 224 [151]vic[170]1,vp
- 226 [143] save coordinates & binary pic
- 228 [153]"load"
- 230 [153]"":[153]" valnter filename:";:nu[178]0:[141]300:f$[178]a$:[139]a$[178]""[167]30
- 232 [159]1,8,2,"@0:"[170]f$[170]".num,s,w"
- 234 [152]1, xl:[152]1, xr
- 236 [152]1, yt:[152]1, yb
- 238 [160]1
- 240 [158]57812f$[170]".pic",8:[151]173,8192[173]256
- 241 [151]172,8192[171][194](173)[172]256:[151]780,172
- 242 [151]782,16191[173]256:[151]781,16191[171][194](782)[172]256:[158]65496
- 244 [137]28
- 246 [143] load coordinates & binary pic
- 248 [153]"load":[153]""
- 250 [153]" valnter filename:";:nu[178]0:[141]300:f$[178]a$:[139]a$[178]""[167]30
- 252 [159]3,8,3,f$[170]".num,s,r"
- 254 [132]3,xl,xr,yt,yb
- 256 [160]3
- 258 [151]53265,[194](53265)[176]32:[151]53270,[194](53270)[176]16
- 260 [151]53272,[194](53272)[176]8
- 262 [129]i[178]1024[164]2023:[151]i,18:[130]
- 264 [147]f$[170]".pic",8,1
- 266 [128]
- 268 [143] directory
- 270 [153]"load"
- 272 [158]57812"$",8:[151]43,1:[151]44,192:[151]768,174:[151]769,167:[158]47003,1
- 274 [151]782,192:[158]65493:[158]42291:[155]:[151]44,8:[151]768,139:[151]769,227
- 276 [153]:[153]:[153]"press any key to continue"
- 278 [161] k$:[139]k$[178]""[167]278
- 280 [137]28
- 282 [151]53265,[194](53265)[176]32:[151]53270,[194](53270)[176]16
- 284 [151]53272,[194](53272)[176]8:[153]"contload";
- 286 x[178][194](49500)
- 288 [129]i[178]1024[164]2023:[151]i,x:[130]
- 290 [161] k$
- 292 [139]k$[178]""[167]290
- 294 [137]26
- 300 a$[178]"":[153]"tocmd";:
- 310 [161]b$:[139]b$[178]""[167]310
- 311 [139]b$[178][199](20)[175][195](a$)[177]0 [167][153]b$" cmdtocmd";:a$[178][200](a$,[195](a$)[171]1):[137]310
- 312 [139]b$[178][199](20)[167]310
- 313 [139][195](a$)[177]10 [167] 310
- 315 [139]b$[178][199](13) [167] [153]" ":[142]
- 316 [139]nu[178]1[167] [139]b$[179]"-"[176]b$[177]"9" [167] 310
- 317 [139]b$[179]" "[176]b$[177]"z"[175]b$[179]"atn"[176]b$[177]"(NULL)"[167]310
- 320 a$[178]a$[170]b$:[153]b$"tocmd";:[137]310
- 500 [151]53272,21:[151]53265,27:[151]53270,200
- 501 [151]53265,[194](53265)[175]239
- 502 [151]53280, 6:[151]53281, 1:[153]"loadreturn";
- 505 [153]"list ";
- 510 [153]" cont list cont loadstar";
- 515 [153]" presents print# list cont print# list cont";
- 520 [153]" waitOusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrPcont print# list cont waitsgnmandelbrot";
- 525 [153]"then cont print# list cont waitLandandandandandandandandandandandandandandandandandandandsqr cont print# list ";
- 530 [153]"cont cont print# list cont ";
- 535 [153]" print# list cont waitclrOusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrPcont print# list cont waitclrfn";
- 540 [153]"byjohniovineclrthen cont print# list cont waitclrLandandandandandandandandandandandandandandandandandsqr cont";
- 545 [153]" print# list cont cont print# list cont ";
- 550 [153]" print# list cont waitOusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrusrPcont print# list ";
- 555 [153]" cont waitfnclrcopyright1988then cont print# list contclose waitLandandandandandand";
- 560 [153]"andandandandandandandandandandandandandsqr cont print# list cont cont print# list ";
- 565 [153]" cont print# list cont press (space) when";
- 570 [153]" ready print# list cont print# list print# ";
- 575 [153]" list ";
- 580 [153]" "
- 581 [151]53265,[194](53265)[176]16
- 585 [151]2023,160:[151]56295,15
- 590 [161]a$:[139]a$[179][177]" "[167] 590
- 599 [142]
-