home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Digital Talk 43
/
Digital_Talk_43_2000-06-12_Digital_Talk_de_Side_A.d64
/
1541 justage
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
5KB
|
183 lines
10 poke650,128:goto 10000
130 print"[147] [210]/[215] [203][207][208][198][160][202][213][211][212][193][199][197] [214][195] 1541"
150 dn=08:t=17
160 close1
170 print" [204]egen [211]ie die [193]lignment[146]-[196]iskette ein!"
180 print"[196]ruecken [211]ie die [212]aste [211][208][193][195][197][146] !"
190 geth$:ifh$<>" "then190
200 print"[147]"
210 open1,dn,15
220 i$="i":print#1,i$
230 print"[147]"
240 print"":printtab(12)" * [194][197][198][197][200][204][197] *"
250 printtab(12)"i[146] = eine [211]pur innen"
260 printtab(12)"a[146] = eine [211]pur aussen"
270 printtab(12)"b[146] = [194]ump [211]ound"
280 printtab(12)"h[146] = [200]ysterese"
290 printtab(12)"e[146] = [197]ndanschlag"
300 printtab(12)"t[146] = [210]/[215] [212]est"
305 printtab(12)"_[146] = [205]enue"
310 printtab(12)"[211]pur nr: [157][157][157]";t
320 jb=176:getb$:ifb$=""then:gosub400:goto240
330 ifb$="i"then:t=t+1:gosub400:goto240
335 ifb$="_"thenclose1:close7:close15:goto10000
340 ifb$="a"then:t=t-1:gosub400:goto240
350 ifb$="b"thenjb=192:t=17:gosub400:goto240
360 ifb$="h"thenjb=176:goto470
370 ifb$="e"thent=1:goto500
380 ifb$="t"thengosub630:goto950
390 ifb$<>"t"thengoto240
400 ift<1thenprinttab(02)"min. 1":forx=1to500:next:print"[147]":t=1
410 ift>35thenprinttab(02)"max. 35":forx=1to500:next:print"[147]":t=35
420 print#1,"m-w"chr$(6)chr$(0)chr$(1)chr$(t)
430 print#1,"m-w"chr$(0)chr$(0)chr$(1)chr$(jb)
440 print#1,"m-r"chr$(0)chr$(0)
450 get#1,x$:y$=x$+chr$(0):ifasc(y$)>127then440
460 return
470 hy=hy+1
480 ifhyand1thent=t+4:gosub400:t=t-4:goto240
490 t=t-4:gosub400:t=t+4:goto240
500 print"[147]"spc(9)"[202][213][211][212][193][199][197] [196][197][210] [211][208][213][210] 1"
510 print"[197]instellung auf 0.25mm vom [197]ndanschlag entfernt."
520 printtab( 4)"[215]enn geschehen, bitte die [212]aste"spc(18)"[211][208][193][195][197][146] druecken !"
530 gosub400
540 getc$:ifc$<>" "thengoto530
550 jb=192:t=17:gosub400
560 jb=176
570 print"[147] sind cat eye's ok ?"
580 print" druecke j/n[146]"
590 geta$:ifa$=""thengosub400:goto590
600 ifa$="j"thengoto630
610 ifa$="n"thengoto230
620 ifa$<>"j"thengoto590
630 af=0:close7:close15:open15,dn,15
640 print"[147]":printtab(6)"[210]/[215] [212][197][211][212]"
650 print"[204]egen [211]ie eine formatierte [196]iskette ein."
660 printtab(4)"[196]ruecke [211][208][193][195][197][146]"
670 getd$:ifd$<>" "then670
680 n$="n"+str$(0)+":":fd$="test":af=0
690 print"[196]iskette formatieren"
700 ag=0:print#15,n$,fd$:gosub860:ifagthenaf=1
710 print"[196]iskette formatieren ";:ifafthenprint"";
720 printb$:ifafthen890
730 fori=1to1000:next
740 open7,dn,7,"#"
750 print" lese/schreib [212]est":fortr=1to35step2
760 ag=0
770 print#15,"u2";7;0;tr;1
780 gosub860:ifag=0then810
790 ifag<3then770
800 af=1
810 print"lese/schreib [212]est "tr;:ifagthenprint"";
820 printb$" "a$
830 next
840 close7
850 goto950
860 input#15,a$,b$,c$,d$
870 ifa$<>"00"thenag=ag+1
880 return
890 print"druecke space[146] fuer weiter"
900 print" w[146] fuer [215]iederholung"
910 getk$:ifk$=" "thengoto740
920 ifk$<>"w"thengoto910
930 goto630
940 return
950 print"[147]"tab(4)"[212]est beendet"
960 print" druecke space[146] fuer wiederholung"
970 print" oder e[146] fuer [197]nde "
980 geta$:ifa$=" "thengoto220
990 ifa$<>"e"thengoto980
1000 goto10000
2000 restore:print"[147][211]pur - [211]ektor"
2010 dimx$(300):ti$="000000"
2020 open15,8,15
2030 open2,8,2,"#"
2040 readt1,t2,s1:ift1=-1thenprint""ti$:close2:close15:end
2050 fort=t1tot2
2060 fors=0tos1:printchr$(13)" "t"[146] "s
2065 geta$:ifa$="_"thenclose2:close15:goto10000
2070 print#15,"u1:"2;0;t;s
2080 fory=0to255
2090 get#2,x$(y)
2100 ifx$(y)<"a"orx$(y)>"z"then2120
2110 printx$(y);
2120 nexty,s,t:goto2040
3000 print"[147][211]chrittweiten-[212]est:"
3030 open15,8,15
3040 open2,8,2,"#"
3050 print"lesen [211]pur: 1[146]"
3060 fora=0to20
3070 print#15,"u1:"2;0;1;a
3080 nexta
3085 getx$:ifx$="_"thenclose2:close15:goto10000
3090 print"lesen [211]pur: 35[146]"
3100 fora=0to17
3110 print#15,"u1:"2;0;35;a
3120 nexta
3125 getx$:ifx$="_"thenclose2:close15:goto10000
3130 fora=2to34
3140 print#15,"u1:"2;0;a;0
3150 print"lesen [211]pur: "a"[146]"
3160 next
3165 getx$:ifx$="_"thenclose2:close15:goto10000
3170 print"lesen [211]pur: 18[146]"
3180 fora=0to17
3190 print#15,"u1:"2;0;18;a
3200 nexta
3210 close2:close15
3260 open1,8,15:input#1,a,b$
3265 ifa=0then3300
3270 print"[198]ehler:[146]";b$
3280 print"[198]ehlernummer :[146]";a
3300 close1:goto10000
5000 print"[147] [204]esekopf-[202]ustage [146]"
5020 print"[198]loppy-[211]tatus waehrend der [213]ebung:"
5030 print"[204]esezeit (muss < 9 sein):"
5040 gosub5140
5050 a1$="":a2$=" [157][157][157][157][157][157][157][157]"
5060 a1$=a1$+" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]"
5070 open5,8,15:open4,8,3,"#":open1,8,15
5080 ti$="000000":print#5,"b-r";3;0;1;1:print#5,"b-p"3;1:get#4,a$
5090 rem
5100 print#5,"b-r";3;0;35;2:print#5,"b-p"3;1:get#4,a$
5110 input#1,x1,x2$,x3,x4:printa1$;x1;x2$;x3;x4:zw=ti
5120 printa2$;zw:ifzw<9thenforw=1to1000:nextw:goto5190
5125 getx$:ifx$="_"thenclose4:close5:close1:goto10000
5130 goto5080
5140 print"[196]ieses [208]rogramm trainiert das [208]ositio-";
5150 print"ren des [212]onkopfes seitens des [196]isketten-";
5160 print"laufwerkes. [215]enn eine ausreichende [218]eit";
5170 print"erreicht ist, geht es mit der naechsten";
5180 print"[213]ebung weiter.":return
5190 close4:close5:close1
5200 open1,8,15
5210 printa2$;"[145][206]un wird initialisiert! "
5220 forw=1to10:print#1,"i":input#1,x1,x2$,x3,x4:printa1$;x1;x2$;x3;x4:nextw
5230 close1
5240 print"[147] [196]as [196]iskettenlaufwerk und die [196]isk "
5250 print" haben die [213]ebung bestanden ! "
5260 print"[196]urch diese [208]rozedur..."
5270 print"...hat sich der [212]onkopf optimal[146] positio-";
5280 print" niert
5290 [153]"...haben (NULL)ie somit (NULL)eparaturgeld und (NULL)e-";
5300 [153]" paraturwartezeit gespart"
5310 [153]"...hat der (NULL)chrittmotor wieder ein bis-";
5320 [153]" chen (NULL)ebung bekommen und (NULL)ie sparen";
5330 [153]" (NULL)ositionierungszeit"
5350 [153]"(NULL)urueck ins (NULL)enue bei (NULL)astendruck!":[151]198,0:[146]198,1:[137]10000
9900 [131]1,17,20,18,24,18,25,30,17,31,35,16,-1,0,0
10000 [151]53280,6:[151]53281,6:[153][199](14)[199](8)"loadsysstr$iskettenkontrollprogramm"
10010 [153]"(NULL)ie koennen waehlen:":b$[178]" "
10020 [153]b$"await = (NULL)opfjustage automatisch"
10030 [153]b$"mwait = (NULL)opfjustage manuell"
10040 [153]b$"bwait = peekloecke einzeln lesen"
10045 [153]b$"swait = (NULL)chrittweiten - (NULL)est"
10047 [153]b$"ewait = (NULL)rogrammende"
10050 [153]"right$hre valingabe ? ";
10060 [151]198,0:[146]198,1:[161]a$:[153]a$"cmd";:[139]a$[178]"a"[167]5000
10070 [139]a$[178]"m"[167]130
10080 [139]a$[178]"b"[167]2000
10090 [139]a$[178]"e"[167][153]"load":[128]
10095 [139]a$[178]"s"[167]3000
10100 [137] 10060