home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disc 11
/
Commodore_Disc_11_19xx_-_de.d64
/
videodatei
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
6KB
|
258 lines
0 rem *********************
1 rem * videodatei *
2 rem *********************
3 rem * helmut assmann *
4 rem * am langen damm 15 *
5 rem * 4250 bottrop *
6 rem * tel.:02041/61554 *
7 rem *********************
8 :
9 :
10 rem ----- variablen -----------------
20 z$=" ":zz$=z$+z$+z$+z$:z$=""
21 qq=0:nn=0
22 dimt$(100),n$(100),b$(100),l$(100)
54 :
55 rem ----- menue ---------------------
60 print"[147][158]"chr$(14);chr$(8):poke53280,0:poke53281,0
65 print" [176][192][192][192][192][192][192][192][192][192][192][174]"
66 print" [221][214][201][196][197][207][196][193][212][197][201][221]"
67 print" [173][192][192][192][192][192][192][192][192][192][192][189]
70 [153]"asc1sys = valingabe asc3sys = atnendern"
71 [153]"asc5sys = str$ruck asc7sys = str$iskmenue"
72 [153]"asc8sys = atnnsehen der str$aten"
73 [153]"----------------------------------------";
74 [153]"peekitte die entsprechende (NULL)aste druecken .";
75 [153]"mit '^' zurueck ins (NULL)enue":[153]"--------------------------------------
76 print"[195]opyright 1987 [200]. [193]ssmann
77 [153]"atnm (NULL)angen str$amm 15
78 print"4250 [194]ottrop
80 [161]a$:[139]a$[178]""[167]80
82 [139]a$[178]"input"[167]nn[178]nn[170]1:qq[178]nn:[141]110
83 [139]a$[178]"dim"[167][141]1000
84 [139]a$[178]"read"[167][141]2000
85 [139]a$[178]"let"[167][141]3000
86 [139]a$[178]"restore"[167][141]4000
90 [137]60
100 :
101 [143] ----- eingabe modul ------------
105 [143] -bildschirm maske-
110 [151]53280,0:[151]53281,0:[153]"loadclr"[199](14)
120 [153]"tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanwait"
130 [153]"(NULL)itel:"
140 [153]"open waitclr"
150 [153]"(NULL)assettennummer: open waitclr"
160 [153]"ascilmlaenge : open waitclr (NULL)in.
170 print"[194]emerkung"
180 print"[159]"zz$"[146][156]"
190 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][146]"
195 rem -abfrage titel-
200 az=0:t$(qq)="":print"[159]";
210 geta$:ifa$=""then210
220 ifa$=chr$(13)thengoto360
230 ifa$<>chr$(20)then280
240 ifaz=0then210
250 az=az-1:print"[157] [157]";
260 t$(qq)=left$(t$(qq),az)
270 goto210
280 ifa$=chr$(34)then210
290 ifa$<chr$(32)then210
300 ifa$>chr$(191)anda$<chr$(219)then320
310 ifa$>chr$(127)then210
320 ifaz=40then210
330 printa$;
340 t$(qq)=t$(qq)+a$:a$="":az=az+1
350 goto210
355 rem -abfrage nummer-
360 az=0:n$(qq)="":print"[159]";
370 geta$:ifa$=""then370
380 ifa$=chr$(13)thengoto520
390 ifa$<>chr$(20)then440
400 ifaz=0then370
410 az=az-1:print"[157] [157]";
420 n$(qq)=left$(n$(qq),az)
430 goto370
440 ifa$=chr$(34)then370
450 ifa$<chr$(32)then370
460 ifa$>chr$(191)anda$<chr$(219)then480
470 ifa$>chr$(127)then370
480 ifaz=3then370
490 printa$;
500 n$(qq)=n$(qq)+a$:a$="":az=az+1
510 goto370
515 rem -abfrage laenge-
520 az=0:l$(qq)="":print"[159]";
530 geta$:ifa$=""then530
540 ifa$=chr$(13)thengoto650
550 ifa$<>chr$(20)then600
560 ifaz=0then530
570 az=az-1:print"[157] [157]";
580 l$(qq)=left$(l$(qq),az)
590 goto530
600 ifa$<chr$(48)ora$>chr$(57)then530
610 ifaz=3then530
620 printa$;
630 l$(qq)=l$(qq)+a$:a$="":az=az+1
640 goto530
645 rem -abfrage nummer-
650 az=0:b$(qq)="":print"[159]";
660 geta$:ifa$=""then660
670 ifa$=chr$(13)thengoto810
680 ifa$<>chr$(20)then730
690 ifaz=0then660
700 az=az-1:print"[157] [157]";
710 b$(qq)=left$(b$(qq),az)
720 goto660
730 ifa$=chr$(34)then660
740 ifa$<chr$(32)then660
750 ifa$>chr$(191)anda$<chr$(219)then770
760 ifa$>chr$(127)then660
770 ifaz=80then660
780 printa$;
790 b$(qq)=b$(qq)+a$:a$="":az=az+1
800 goto660
810 qq=0:return
815 end
995 :
999 rem ----- aenderung ----------------
1000 rem -abfrage-
1010 print"[147][150]";:print"welcher [212]itel soll geaendert werden":inputa$
1020 print"einen moment !"
1025 ifa$="^"thenreturn
1030 fori=0tonn
1040 ift$(i)<>a$thennext
1050 ift$(i)=a$thenqq=i:i=nn:ii=10:next
1060 ifii=0then1090
1070 ifii=10thenn$(qq)="":t$(qq)="":l$(qq)="":b$(qq)="":gosub110
1075 qq=0:ii=0
1080 return
1090 print" [196]ieser [212]itel ist leider nicht"
1100 print"gespeichert !"
1110 print"----------------------------------------"
1120 print"[194]itte [212]aste drucken !"
1130 poke198,0:wait198,1:poke198,0
1140 return
1150 end
1995 :
1999 rem ----- druck -------------------
2000 print"[147][154][193]usdruck einer [204]iste !"
2010 print"[194]itte machen [211]ie den [196]rucker fertig !"
2020 print"[196]anach bitte eine [212]aste druecken !"
2025 geta$:ifa$=""then2025
2030 ifa$="^"thenreturn
2040 qq=0:ii=0
2050 open4,4
2060 fori=1tonn
2070 print#4,chr$(17)chr$(14)
2080 print#4,"----------------------------------------"
2090 print#4,chr$(17)"[203]assettennummer: "chr$(18)" "n$(i)" "chr$(146)
2100 print#4:print#4,chr$(17)" [212]itel:"
2110 print#4,chr$(17)t$(i)
2120 print#4:print#4,chr$(17)"[198]ilmlaenge : "l$(i)" [205]in."
2130 print#4:print#4,chr$(17)" [194]emerkung:"
2140 print#4,chr$(15)chr$(17)b$(i)
2150 print#4,chr$(14)"----------------------------------------"
2160 ii=ii+1:ifii=5thengosub2500
2170 next
2180 print#4,chr$(145)chr$(15)
2190 close4
2200 return
2210 end
2490 rem -seite voll-
2500 print"[194]itte justieren [211]ie das [208]apier !"
2510 print"[196]anach eine [212]aste druecken !":ii=0
2520 poke198,0:wait198,1:poke198,0
2530 print" "
2540 print" "
2550 return
2560 end
2995 :
2999 rem ----- diskmenue ---------------
3000 print"[147][153] [196]iskettenmenue"
3010 print"[198]1 = schreiben
3020 [153]"asc3 = lesen
3030 print" [194]itte [212]aste drucken !"
3040 geta$:ifa$=""then3040
3050 ifa$="[133]"then3500
3060 ifa$="[134]"then3100
3065 ifa$="^"thenreturn
3070 goto3040
3080 end
3090 rem -lesen einer datei-
3100 open2,8,2,"videodaten,s,r"
3110 input#2,nn
3120 fori=1tonn
3130 input#2,t$(i)
3140 input#2,n$(i)
3150 input#2,l$(i)
3160 input#2,b$(i)
3170 next
3180 close2
3190 return
3200 end
3490 rem -schreiben einer datei-
3500 open2,8,2,"@0:"+"videodaten,s,w"
3510 print#2,nn
3520 fori=1tonn
3530 print#2,t$(i);chr$(13);
3540 print#2,n$(i);chr$(13);
3550 print#2,l$(i);chr$(13);
3560 print#2,b$(i);chr$(13);
3570 next
3580 close2
3590 return
3600 end
3995 :
3999 rem ----- liste zeigen ------------
4000 print"[147] [218]eigen der [196]atei"
4010 print" [198]1 = [197]inen [212]itel
4020 [153]" asc3 = atnlle (NULL)itel
4030 geta$:ifa$=""then4030
4040 ifa$="[133]"then4500
4050 ifa$="[134]"then4100
4060 ifa$="^"thenreturn
4070 goto4030
4080 end
4090 rem -alle titel-"
4100 [153]"load(NULL)eigen aller (NULL)itel
4110 print"[197]s wird nun ein [212]itel nach dem andern"
4120 print"gezeigt. [205]it '+' und '-' kann man vor"
4130 print"und zurueck blaettern. [205]it '^' kommt man"
4140 print"ins [205]enue zurueck."
4150 print"[194]itte [212]aste druecken."
4160 geta$:ifa$=""then4160
4170 ifa$="^"thenreturn
4180 ii=1
4190 print"[147][158][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]
4200 [153]" ascilmtitel"
4210 [153]""t$(ii)
4220 [153]"ascilmlaenge :"l$(ii)"(NULL)in."
4230 [153]"(NULL)assettennummer:"n$(ii)
4240 [153]" peekemerkung:"
4250 [153]""b$(ii)
4360 [153]"sys/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp"
4370 [161]a$:[139]a$[178]""[167]4370
4380 [139]a$[178]"^"[167][142]
4390 [139]a$[178]"+"[167]ii[178]ii[170]1:[139]ii[177]nn[167]ii[178]ii[171]1
4400 [139]a$[178]"-"[167]ii[178]ii[171]1:[139]ii[179]1[167]ii[178]ii[170]1
4410 [137]4190
4420 [128]
4495 [143] -einen titel-
4500 [153]"load(NULL)elcher (NULL)itel soll gezeigt werden"
4510 [133]a$
4520 [153]"valinen (NULL)oment !"
4521 [129]i[178]1[164]nn
4530 [139]a$[178]t$(i)[167]4550
4540 [130]
4550 [153]"loadsysortantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^
4560 print" [198]ilmtitel"
4570 print""t$(i)
4580 print"[198]ilmlaenge :"l$(i)"[205]in."
4590 print"[203]assettennummer :"n$(i)
4600 print" [194]emerkung:"
4610 print""b$(ii)
4620 print"[158][173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
4630 poke198,0:wait198,1:poke198,0
4640 return
4645 end