home *** CD-ROM | disk | FTP | other *** search
- 5 rem ********parapol******************
- 10 rem funktionen in parameter-bzw.- *
- 12 rem polarkoordinatendarstellung *
- 14 rem zeichnen und ausdrucken *
- 16 rem grafik mit gr2001 *
- 18 rem *
- 20 rem diether gnilka *
- 22 rem nelkenstr.7 *
- 24 rem 8120 weilheim *
- 26 rem 28.7.1989 *
- 28 rem *
- 30 rem ********************************
- 32 poke 53280,13:poke 53281,0
- 36 :
- 38 print"[147] [158]gr2001 geladen ? <j/n> ?"
- 40 get l$:if l$="n" then 46
- 42 if l$<>"j" then 40
- 44 goto 70
- 46 print" mit <run/stop>[158] prg. beenden !"
- 48 print" gr2001,8 laden ![158]"
- 50 print" poke 12481,133:poke12482,48[158]
- 52 [153]" eingeben, dann 'runsys'"
- 54 [153]" und 'parapol,8' laden u.starten !sys"
- 56 [153]" <taste>close!sys"
- 58 [146] 198,1: [161]a$
- 60 :
- 65 [143] eingangsgrafik
- 70 [151] 53280,8
- 75 [153]"load"
- 80 a[178]1024:b[178]55296:c[178]1984:d[178]56256
- 82 [129] i[178]0 [164] 39:[151]a[170]i,42:[151]b[170]i,4:[130]
- 84 [129] i[178]0 [164] 39:[151]c[170]i,42:[151]d[170]i,4:[130]
- 86 [129] i[178]1 [164] 23:[151]a[170]40[172]i,42:[151]b[170]40[172]i,4:[130]
- 88 [129] i[178]1 [164] 22:[151]a[170]39[170]40[172]i,42:[151]b[170]39[170]40[172]i,4:[130]
- 90 [153]"zeichnen und drucken von funktionen"
- 92 [153]"in parameterdarstellung"
- 94 [153]"oder"
- 96 [153]"polarkoordinatenform"
- 98 [129] w[178]1 [164] 1000:[130]
- 100 [151]781,18:[151]782,11:[158]65520
- 102 [153]"d.gnilka weilheim"
- 104 [151]781,20:[151]782,18:[158]65520
- 106 [153]"deftaste !sys"
- 108 [151] 1983,42:[151] 56255,4
- 112 [209] 0
- 115 [146] 198,1: [161] a$
- 116 :
- 118 [151] 53280,3
- 120 [153]"loades werden funktionen, die in parameter-sys"
- 125 [153]" oder polarkoordinatendarstellung sys"
- 130 [153]" gegeben sind, gezeichnet."
- 135 [153]"typ 1: parameterdarstellung x(t), y(t)sys"
- 140 [153]" mit argument t,wobei t1..t..t2"
- 145 [153]" im bogenmass einzusetzen ist."
- 150 [153]"typ 2: polarkoordinatendarstellung r(w)sys"
- 155 [153]" mit argument w,wobei w1..w..w2"
- 160 [153]" im bogenmass einzusetzen ist."
- 165 [153]" es kann auch ein zweiter parameter k"
- 170 [153]" als formvariablesys genommen werden."
- 175 [153]" nach zeichnen ausgabe auf druckersys"
- 177 [153]" moeglich."
- 180 [153]" defauswahl: <taste> !sys"
- 185 [209] 0
- 190 [146] 198,1: [161] a$
- 192 :
- 195 [141] 4000: [143] fehlerroutine einlesen
- 200 [143]************menue**************
- 205 [206] 0
- 207 [151] 53280,5: [143] rahmen gruen
- 208 [151] 53281,0: [143] hintergrd.schwarz
- 210 [153]"loadsys ************ defmenuesys *****************"
- 220 [153]" <1sys> funktionen in parameterform"
- 225 [153]" definieren und zeichnen"
- 230 [153]" <2sys> funktion in polarkoordinaten"
- 235 [153]" definieren und zeichnen"
- 245 [153]" <3sys> grafik ansehen"
- 248 [153]" <4sys> grafik loeschensys
- 250 print" <5[158]> param.(x0;y0,t,w,k) aendern"
- 255 print" <6[158]> drucker-hardcopy"
- 257 print" <7[158]> grafik save/load"
- 258 print" <8[158]> directory lesen"
- 260 print" <9[158]> ende ?"
- 265 print" funktionen aendern mit <1[158]> oder <2[158]> !"
- 268 print" [150]bitte waehlen ![158]"
- 269 (NULL) 0
- 270 poke 198,0:wait 198,1:get a$
- 280 ifa$<"1"or a$>"9" then 270
- 285 a=val(a$)
- 290 on a goto 400,800,4500,5000,1200,3200,5700,6100,3500
- 295 goto 270
- 300 print"[147]mit parameter k[158] ? <j/n[158]>"
- 310 get p$: if p$="n" then 340
- 320 if p$<>"j" then 310
- 330 q=1:poke856,1:goto 350 :rem mit parameter
- 340 q=0:poke 856,0:rem ohne parameter
- 350 return
- 380 :
- 390 rem funktionen x(t),y(t) definieren
- 400 rem *******************************
- 401 poke 53280,4
- 402 m%=0:poke 854,0:rem neue funkt.eingegeben
- 403 p=1: rem typ 1 parameterform
- 404 poke 852,1:rem retten in zp
- 405 gosub 300: rem mit parameter k
- 410 print"[147]bitte funktionsterm x(t)[158] eingeben:"
- 420 print"in ueblicher basic-syntax[158]!"
- 425 gosub 3900
- 430 print:print
- 440 input"x(t)=";xt$
- 450 print"[147]"
- 460 print"490xt$="chr$(34)xt$chr$(34)"
- 462 [153]"740xt$="[199](34)xt$[199](34)"
- 465 print"2490xt$="chr$(34)xt$chr$(34)"
- 470 [153]"2340x="xt$:[153]"goto490"
- 480 [151] 631,19:[129] i[178]632 [164] 637:[151] i,13:[130]:[151] 198,6:[128]
- 490 xt$[178]"150*sin(k)*cos(t)"
- 500 [153]"loadx(t)=sys"xt$
- 510 [153]"richtig eingegeben ? <j/nsys>"
- 520 [161] e$:[139] e$[178]"n" [167] 430
- 530 [139] e$[179][177]"j" [167] 520
- 540 [153]
- 550 :
- 590 [143] y(t) eingeben
- 600 [143] *************
- 605 [209] 0
- 610 [153]"loadbitte funktionsterm y(t)sys eingeben:"
- 620 [153]"in ueblicher basic-syntaxsys!"
- 625 [141] 3900
- 630 [153]:[153]
- 640 [133]"y(t)=";yt$
- 650 [153]"load"
- 660 [153]"690yt$="[199](34)yt$[199](34)"
- 665 print"2495yt$="chr$(34)yt$chr$(34)"
- 670 [153]"2350y="yt$:[153]"goto690"
- 680 [151] 631,19:[129] i[178]632 [164] 636:[151] i,13:[130]:[151] 198,5:[128]
- 690 yt$[178]"88*cos(k)*sin(2*t)"
- 700 [153]"loady(t)=sys"yt$
- 710 [153]"richtig eingegeben ? <j/nsys>"
- 720 [161] e$:[139] e$[178]"n" [167] 630
- 730 [139] e$[179][177]"j" [167] 720
- 740 xt$[178]"150*sin(k)*cos(t)"
- 750 [153]"loadx(t)="xt$
- 760 [153]"y(t)="yt$
- 770 [153]"weiter:<tastesys>, menue:<_sys>"
- 775 [141] 3700
- 780 [137] 1202: [143] achsen,parameter
- 790 :
- 795 [143] funktion r(w) definieren
- 800 [143] ************************
- 801 [151] 53280,4
- 802 m%[178]0:[151] 854,0:[143] neue funkt.eingegeben
- 803 p[178]2 : [143] typ 2 polark.
- 804 [151] 852,2
- 805 [141] 300: [143] mit parameter k
- 807 [209] 0
- 810 [153]"loadbitte funktionsterm r(w)sys eingeben:"
- 820 [153]"in ueblicher basic-syntaxsys!"
- 825 [141] 3900
- 830 [153]:[153]
- 840 [133]"r(w)=";rw$
- 850 [153]"load"
- 860 [153]"890rw$="[199](34)rw$[199](34)"
- 865 print"2840rw$="chr$(34)rw$chr$(34)"
- 870 [153]"2670r="rw$:[153]"goto890"
- 880 [151] 631,19:[129] i[178]632 [164] 636:[151] i,13:[130]:[151] 198,5:[128]
- 890 rw$[178]"k*w"
- 900 [153]"loadr(w)=sys"rw$
- 910 [153]"richtig eingegeben ? <j/nsys>"
- 920 [161] e$:[139] e$[178]"n" [167] 830
- 930 [139] e$[179][177]"j" [167] 920
- 940 [153]"loadr(w)="rw$
- 950 [153]"weiter:<tastesys>, menue:<_sys>"
- 960 [141] 3700
- 970 [137] 1202
- 1180 :
- 1190 [143] festlegen der achsen
- 1200 [143] ********************
- 1201 [137] 5500
- 1202 [151] 53280,8
- 1205 [209] 0
- 1210 [153]"loadposition der koordinatenachsensys"
- 1220 [153]"durch druecken von <f1sys> koennen nach"
- 1230 [153]"zeichnung der funktion die achsen ge-"
- 1240 [153]"loeschtsys od. durch <f3sys> erneuertsys werden !"
- 1250 [153]"achsen beim 1.lauf unbedingt festlegen sys!"
- 1260 x0[178][194](832):y0[178][194](836):n%[178][194](834)
- 1262 [139] n%[178]1 [167] x0[178]x0[172]8
- 1265 [153]"soll die achsenlage neu festgelegt"
- 1270 [153]"werden ?"
- 1275 [153]"alte werte: x0="x0,"y0="y0
- 1277 [153]" syseingabe <j/nsys> !"
- 1280 [161]b$:[139]b$[178]"n" [167] 1400
- 1290 [139] b$[179][177]"j" [167] 1280
- 1295 [153]"nullpunkt o(x0;y0)sys
- 1297 print" o in der mitte: o(150;90)[158]"
- 1300 print"x-wert d. nullpunkts[158]: 0<x0<=300"
- 1305 n%=0:rem marke,wenn x0<256
- 1307 poke 834,0
- 1310 input"x0=";x0
- 1312 if x0<=0 or x0>300 then (NULL) 0:goto 1300
- 1315 if x0>255 then x0=int(x0/8):n%=1:poke 834,1
- 1320 poke 832,x0
- 1330 print"y-wert d. nullpunkts[158]: 0<y0<=180"
- 1340 input"y0=";y0
- 1345 if y0<=0 or y0>180 then (NULL) 0:goto 1330
- 1350 poke 836,y0
- 1355 if n%=1 then print"x0="x0*8,"y0="y0 :goto 1365
- 1360 print"x0="x0,"y0="y0
- 1365 gosub 3800
- 1370 gosub 3700
- 1375 if m$="^" then print"[147]": goto 1260
- 1380 goto 1400
- 1385 :
- 1390 rem eingabe t1,t2 (parameter k)
- 1395 rem ***************************
- 1400 p=peek(852):poke 53280,9
- 1408 if p=2 then 1600
- 1409 (NULL) 0
- 1410 m%=peek(854):rem nach neueingabe d.funkt. m%=0,sonst 1
- 1412 if m%=0 then print"[147]":goto 1425
- 1415 print "[147]alte werte:"
- 1420 print"t1="t1;" t2="t2
- 1425 print"anfangs-und endwert fuer t[158]:"
- 1430 print"t im bogenmass [158]!"
- 1435 input "t1=[158]";t1
- 1440 input "t2=[158]";t2
- 1442 if t1>t2 then print"t1>t2 !!"
- 1444 print"recht so ? <j/n>"
- 1445 get a$:if a$="j" then 1460
- 1446 if a$<>"n" then 1445
- 1450 goto 1430
- 1455 :
- 1460 q=peek(856):rem mit parameter k
- 1465 if q=0 then 2000
- 1468 m%=peek(854)
- 1470 if m%=0 then 1480
- 1474 print"alte werte:"
- 1476 print"ka="ka;"ke="ke;"s="s
- 1480 input"anfangswert ka=[158]";ka
- 1490 input"endwert ke=[158]";ke
- 1492 if ka>ke then print"ka>ke !!"
- 1494 print"recht so ? <j/n>"
- 1495 get a$:if a$="j" then 1500
- 1496 if a$<>"n" then 1495
- 1498 goto 1480
- 1500 input"schrittweite s =[158]";s
- 1501 if s=0 then print"s darf nicht null sein ![158]":goto 1500
- 1502 print"recht so ? <j/n>"
- 1503 get a$:if a$="j" then 1506
- 1504 if a$<>"n" then 1503
- 1505 goto 1500
- 1506 ifka<ke and s<0 then s=-s:goto1510
- 1508 ifka>ke and s>0 then s=-s
- 1510 goto 2000
- 1570 :
- 1580 rem eingabe w1,w2 (parameter k)
- 1590 rem ***************************
- 1600 poke 53280,9
- 1601 (NULL) 0
- 1602 m%=peek(854)
- 1603 if m%=0 then print"[147]":goto 1610
- 1604 print"[147]alte werte :"
- 1606 print"w1="w1;"w2="w2
- 1610 print"anfangs-und endwert fuer w[158]:"
- 1615 print"w im bogenmass[158]"
- 1620 input "w1=[158]";w1
- 1630 input "w2=[158]";w2
- 1632 if w1>w2 then print"w1>w2 !!"
- 1634 print"recht so ? <j/n>"
- 1635 get a$:if a$="j" then 1790
- 1636 if a$<>"n" then 1635
- 1638 goto 1620
- 1640 :
- 1790 rem eingabe ka,ke,s
- 1800 (NULL) 0
- 1805 q=peek(856):rem mit parameter k
- 1810 if q=1 then 1460: rem mit k
- 1970 :
- 1980 rem graphik
- 1990 rem *******
- 2000 print"bildschirm loeschen[158] !"
- 2010 print"beim 1.lauf unbedingt erforderlich [158]!"
- 2020 print"soll der bildschirm geloescht"
- 2030 print"werden ? <j/n[158]>"
- 2040 get c$: if c$="n" then 2050
- 2045 if c$<>"j" then 2040
- 2050 print"sollen die achsen gezeichnet[158]"
- 2055 print"werden ? <j/n[158]>"
- 2060 get k$:if k$="n" then 2070
- 2065 if k$<>"j" then 2060
- 2070 (NULL) 1: rem grafik-ein
- 2080 (NULL) 1,0: rem zeichenfarbe weiss
- 2090 rem hintergrund schwarz
- 2095 poke 53280,2: rem rahmen rot
- 2100 if c$="n" then 2120
- 2110 (NULL) : rem loeschen graf.schirm
- 2115 :
- 2120 p=peek(852)
- 2130 (NULL) 1,0,0,319,199
- 2140 if k$="n" and p=1 then 2300
- 2150 if k$="n" and p=2 then 2600
- 2160 gosub 2200: rem achsen zeichnen
- 2170 if p=1 then 2300
- 2180 goto 2600
- 2190 :
- 2194 rem achsen zeichnen
- 2196 rem ***************
- 2200 x0=peek(832):y0=peek(836):n%=peek(834)
- 2205 if n%=1 then x0=x0*8
- 2210 xa$="x": rem x-achse
- 2220 (NULL) 0,1,y0,300,y0
- 2230 (NULL) 0,1,1,1,0,8,290,y0+2,xa$
- 2240 ya$="y": rem y-achse
- 2250 (NULL) 0,x0,1,x0,180
- 2260 (NULL) 0,1,1,1,0,8,x0+1,1,ya$
- 2270 return
- 2280 :
- 2290 rem plotten x(t), y(t)
- 2295 rem ******************
- 2300 gosub 4110: rem fehlerr. ein
- 2302 x0=peek(832):y0=peek(836):n%=peek(834)
- 2303 if n%=1 then x0=x0*8
- 2304 m%=peek(854)
- 2305 if k$="n" and m%=1 then gosub 3100
- 2306 gosub 2460: rem grafik beschriften
- 2308 if q=0 then 2320
- 2310 for k=ka to ke step s
- 2320 pl%=1: rem plotflag f.ausserhalb
- 2325 dt=6.2832/360
- 2327 if t1>t2 then dt=-dt
- 2330 for t=t1-dt to t2 step dt
- 2335 get h$:if h$=chr$(95) then 2900
- 2340 x=150*sin(k)*cos(t)
- 2350 y=88*cos(k)*sin(2*t)
- 2360 x2=int(x+x0)
- 2370 if x2<0 or x2>300 then pl%=1:next t:goto 2440
- 2380 y2=y0-y
- 2390 if t=t1 then 2430
- 2400 if y2<0 or y2>180 then pl%=1:next t:goto 2440
- 2410 if pl%=0 then (NULL) 0,x1,y1,x2,y2
- 2420 pl%=0
- 2430 x1=x2: y1=y2: next t
- 2440 if q=0 then 2900
- 2450 next k
- 2452 goto 2900
- 2455 :
- 2456 rem grafik beschriften (par.darst)
- 2457 rem ******************
- 2458 rem zuerst alte daten loeschen
- 2460 tl$=" [146]"
- 2462 kl$=" [146]"
- 2466 xl$=" [146]"
- 2468 yl$=" [146]"
- 2470 (NULL) 1,4,1,1,0,8,318,1,tl$
- 2472 (NULL) 1,4,1,1,0,8,310,1,kl$
- 2474 (NULL) 1,1,1,1,0,8,1,182,xl$
- 2476 (NULL) 1,1,1,1,0,8,1,191,yl$
- 2478 if l$=chr$(135) then return
- 2480 t1$=str$(t1):t2$=str$(t2)
- 2482 t$="t1="+t1$+";"+"t2="+t2$
- 2490 xt$="150*sin(k)*cos(t)"
- 2495 yt$="88*cos(k)*sin(2*t)"
- 2500 (NULL) 0,4,1,1,0,8,318,1,t$
- 2510 (NULL) 0,1,1,1,0,8,1,182,"x(t)="+xt$
- 2520 (NULL) 0,1,1,1,0,8,1,191,"y(t)="+yt$
- 2522 if q=0 then 2540
- 2525 ka$=str$(ka):ke$=str$(ke):s$=str$(s)
- 2527 k$="ka="+ka$+";"+"ke="+ke$+";"+"s="+s$
- 2530 (NULL) 0,4,1,1,0,8,310,1,k$
- 2540 return
- 2560 goto 2900: rem zum text
- 2590 :
- 2600 rem plotten r(w)
- 2610 rem ************
- 2614 gosub 4110: rem fehlerr. ein
- 2615 x0=peek(832):y0=peek(836):n%=peek(834)
- 2616 if n%=1 then x0=x0*8
- 2617 m%=peek(854)
- 2620 if k$="n" and m%=1 then gosub 3100
- 2625 gosub 2800: rem grafik beschriften
- 2627 q=peek(856)
- 2630 if q=0 then 2650
- 2640 for k=ka to ke step s
- 2650 pl%=1: rem plotflag f.ausserhalb
- 2655 dw=6.2832/360
- 2656 if w1>w2 then dw=-dw
- 2660 for w=w1-dw to w2 step dw
- 2665 geth$:ifh$=chr$(95)then2900
- 2670 r=k*w
- 2680 xr=r*cos(w)
- 2690 yr=r*sin(w)
- 2700 x=int(xr+x0)
- 2710 if x<0 or x>300 then pl%=1:next w:goto 2780
- 2720 y=y0-yr
- 2730 if w=w1 then 2770
- 2740 if y<0 or y>190 then pl%=1:next w:goto 2780
- 2750 if pl%=0 then (NULL) 0,x1,y1,x,y
- 2760 pl%=0
- 2770 x1=x:y1=y:next w
- 2780 if q=0 then 2900
- 2790 next k
- 2792 goto 2900
- 2795 :
- 2800 rem grafik beschriften (polark.d)
- 2801 rem ******************
- 2802 rem zuerst alte daten loeschen
- 2804 wl$=" [146]"
- 2806 kl$=" [146]"
- 2808 xl$=" [146]"
- 2810 rl$=" [146]"
- 2812 (NULL) 1,4,1,1,0,8,318,1,wl$
- 2814 (NULL) 1,4,1,1,0,8,310,1,kl$
- 2816 (NULL) 1,1,1,1,0,8,1,182,xl$
- 2818 (NULL) 1,1,1,1,0,8,1,191,rl$
- 2819 if l$=chr$(135) then return
- 2820 w1$=str$(w1):w2$=str$(w2)
- 2825 w$="w1="+w1$+";"+"w2="+w2$
- 2835 (NULL) 0,4,1,1,0,8,318,1,w$
- 2840 rw$="k*w"
- 2845 (NULL) 0,1,1,1,0,8,1,191,"r(w)="+rw$
- 2850 if q=0 then 2870
- 2855 ka$=str$(ka):ke$=str$(ke):s$=str$(s)
- 2860 k$="ka="+ka$+";"+"ke="+ke$+";"+"s="+s$
- 2865 (NULL) 0,4,1,1,0,8,310,1,k$
- 2870 return
- 2878 :
- 2880 rem grafik fertig -> menue
- 2890 rem **********************
- 2900 gosub 4120: rem fehlerr. aus
- 2905 (NULL) 0,0,0,301,181
- 2910 m%=1: rem funktion gezeichnet
- 2912 poke 854,1
- 2915 (NULL) 0
- 2920 wait 198,1: get a$
- 2930 goto 200: rem menue
- 3080 :
- 3090 rem achsen loeschen
- 3095 rem ***************
- 3100 x0=peek(832):y0=peek(836):n%=peek(834)
- 3105 if n%=1 then x0=x0*8
- 3110 xa$="x"
- 3120 (NULL) 1,1,y0,300,y0
- 3130 (NULL) 1,1,1,1,0,8,290,y0+2,xa$
- 3140 ya$="y"
- 3150 (NULL) 1,x0,1,x0,180
- 3160 (NULL) 1,1,1,1,0,8,x0+1,1,ya$
- 3170 return
- 3180 :
- 3190 rem drucken
- 3195 rem *******
- 3200 poke 53280,2
- 3210 goto 5600
- 3220 print"[147]drucken mit doppelter vergroesserung in"
- 3230 print"x-richtung vg=1"
- 3235 print"y-richtung vg=2"
- 3240 print"x- und y-richtung vg=3"
- 3245 print"ohne vergroesserung vg=0"
- 3250 print"nach dem drucken ist vg=0"
- 3255 print
- 3260 input" vg=";vg
- 3270 open 4,4
- 3280 (NULL) 1
- 3290 (NULL) vg
- 3300 close4
- 3310 vg=0
- 3320 goto 200 : rem menue
- 3470 :
- 3480 rem beenden
- 3490 rem *******
- 3500 poke 53280,11:poke 53281,6
- 3505 print"[147]aufhoeren mit parapol ? <j/n[158]>"
- 3510 geta$:ifa$="n" then 200:rem menue
- 3520 if a$<>"j" then 3510
- 3530 goto 3600:rem gra1 aufrufen/ende
- 3540 print"[147]danke u. auf wiedersehen !"
- 3550 end
- 3600 print"gra1 aufrufen[158] und mit anderem gr2001-[158]"
- 3610 print"programm[158] weiterarbeiten ? <j/n[158]>"
- 3620 get gr$:if gr$="n"then 3540
- 3630 if gr$<>"j" then 3620
- 3640 print"[147][158][147]:l[207]";chr$(34);"gra1";chr$(34);",8":print"r[213]"
- 3650 poke 631,19:fori=0to2:poke632+i,13:next:poke198,4:end
- 3670 :
- 3680 rem ruecksprung zum menue
- 3690 rem *********************
- 3700 getm$:if m$="" then 3700
- 3710 if m$="_" then 200
- 3720 return
- 3790 :
- 3800 print"[158]weiter: <taste[158]>, neueingabe: <^[158]>, menue: <_[158]>"
- 3810 return
- 3880 :
- 3890 rem hinweis auf parameter k
- 3895 rem ***********************
- 3900 q=peek(856)
- 3910 if q=1 then print"mit[158] parameter k !": goto 3930
- 3920 print"ohne[158] parameter k !"
- 3930 return
- 3990 :
- 4000 rem fehlerroutine herstellen
- 4005 rem ************************
- 4010 fori=860 to 868:readx:pokei,x:next
- 4020 data 138,48,3,76,59,169,76,116,164
- 4030 return
- 4100 rem fehlerroutine ein/aus
- 4110 poke 768,92:poke 769,03 :return
- 4120 poke 768,139:poke 769,227:return
- 4140 :
- 4480 rem hinweise zu <f1>,<f3>,<f5> und <f7>
- 4490 rem *************************
- 4500 (NULL) 1:va=(NULL)(0,0)
- 4504 if va=1 then 4508
- 4506 goto 5520
- 4508 (NULL) 0
- 4510 print"[147]mit <f1[158]> werden die achsen geloescht[158],"
- 4515 print"mit <f3[158]> wieder gezeichnet[158]!"
- 4520 print"mit <f5[158]> wird d. beschriftung geloescht[158],"
- 4525 print"mit <f7[158]> wieder geschrieben!"
- 4530 print"<taste[158]> !"
- 4540 print"dann zum menue[158] mit <taste[158]>[160]!"
- 4545 p=peek(852)
- 4550 wait 198,1: get a$
- 4560 (NULL) 1: (NULL) 1,0
- 4570 get l$: if l$="" then 4570
- 4580 if l$=chr$(133) then gosub 3100:goto 4570: rem <f1>
- 4590 if l$=chr$(134) then gosub 2200:goto 4570: rem <f3>
- 4600 if l$=chr$(135) and p=1 then gosub 2460:goto 4570: rem <f5>
- 4610 if l$=chr$(135) and p=2 then gosub 2800:goto 4570: rem <f5>
- 4620 if l$=chr$(136) and p=1 then gosub 2460:goto 4570: rem <f7>
- 4630 if l$=chr$(136) and p=2 then gosub 2800:goto 4570: rem <f7>
- 4640 goto 200 : rem menue
- 4990 :
- 5000 rem grafik loeschen
- 5010 rem ***************
- 5014 (NULL) 1:va=(NULL)(0,0)
- 5015 if va=1 then 5020
- 5016 goto 5520
- 5020 (NULL) 0:(NULL) 0,1
- 5030 print"[147]wirklich loeschen ? <j/n>"
- 5040 for i=0 to 20 :poke53280,1:next
- 5050 for i=0 to 20 :poke53280,2:next
- 5060 for i=0 to 20 :poke53280,5:next
- 5070 for i=0 to 20 :poke53280,8:next
- 5080 get a$:if a$="j" then 5110
- 5090 if a$<>"n" then 5040
- 5100 goto 200
- 5110 (NULL) 1:(NULL)
- 5120 m%=0:poke 854,0
- 5130 goto 200 : rem menue
- 5140 :
- 5480 rem test auf grafik-param.aendern
- 5490 rem *****************************
- 5500 (NULL) 1:(NULL) 1,0:va=(NULL)(0,0)
- 5510 if va=1 then (NULL) 0:goto 1202
- 5520 (NULL) 0
- 5530 print"[147]noch keine grafik da !"
- 5540 for i=0 to 500:next
- 5550 goto 200: rem menue
- 5590 :
- 5600 rem test auf grafik-drucken
- 5610 rem ***********************
- 5620 (NULL) 1:va=(NULL)(0,0)
- 5630 if va=1 then (NULL) 0:goto 3220:rem drucken
- 5640 goto 5520:rem keine grafik-menue
- 5690 :
- 5700 rem grafik save/load
- 5710 rem ****************
- 5720 (NULL) 0
- 5730 print"[147]grafik save oder load ? <s/l> od.<taste>"
- 5740 getl$:if l$=""then 5740
- 5750 if l$="s" then 5800
- 5760 if l$="l" then 5900
- 5770 goto 200
- 5790 :
- 5800 rem grafik speichern
- 5810 rem ****************
- 5815 goto 6000
- 5820 (NULL) 0
- 5830 input"bildname ?";g$
- 5840 print"[147][158][147]:mode1:change:gsave";chr$(34);g$;chr$(34);",8:change"
- 5845 print"r[213]200"
- 5850 poke 631,19:fori=0to3:poke632+i,13:next:poke198,5:end
- 5890 :
- 5900 rem grafik laden
- 5910 rem ************
- 5920 input"bildname ?";g$
- 5930 print"[147][158][147]:mode1:gload";chr$(34);g$;chr$(34);",8":print"r[213]200"
- 5940 poke 631,19:fori=0to3:poke632+i,13:next:poke198,5:end
- 5990 :
- 6000 rem test auf grafik-save
- 6010 rem ********************
- 6020 (NULL) 1:(NULL) 1,0:va=(NULL)(0,0)
- 6030 if va=1 then 5820:rem save
- 6040 goto 5520:rem keine grafik da
- 6090 :
- 6100 rem directory lesen
- 6110 rem ***************
- 6120 print"[147]"
- 6130 (NULL)
- 6140 print:print
- 6150 print" taste !"
- 6160 (NULL) 0
- 6170 wait 198,1: poke 198,0
- 6180 goto 200
-