home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 24
/
64er_Magazin_Sonderheft_24_19xx_Markt__Technik_de_Side_A.d64
/
multi-lister
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
3KB
|
134 lines
1000 rem ********************
1010 rem * multi-lister *
1020 rem * (c) 1987 by *
1030 rem * andreas elvers *
1040 rem ********************
1050 :
1060 ad=36864
1070 for i=ad to ad+77:read a:pokei,a:next
1080 au$="[196]rucker":tx$="keine[146]"
1090 fo$="normal/40/3"
1100 zs=40:sp=3
1110 open255,8,15
1120 poke53280,0:poke53281,11:printchr$(14)chr$(8)
1130 :
1140 print"[147][155] [205]ulti-[204]ister [214]1.0 [146]";
1150 print"[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
1160 printspc(10)"[211]ie haben die [215]ahl !"
1170 printspc(10)"[144][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
1180 print"[158] 1.) [212]extdatei :";tx$
1190 print" 2.) [193]usgabe auf :";au$
1200 print" 3.) [198]ormatierung:";fo$
1210 print" 4.) [196]rucken !!"
1220 print" 5.) [197]nde"
1230 print"[144][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]"
1240 print" (c) [202]uly 1987 by [193]ndreas [197]lvers"
1250 print"[144] [206]edderste [215]eg 6"
1260 print" 3139 [203]atemin"
1270 print"[175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175]"
1280 :
1290 geta$:ifa$<"1"ora$>"5"then1290
1300 poke214,15:print
1310 fori=1to5:print" ";:next
1320 poke214,15:print
1330 onval(a$)gosub1380,1440,1490,1670,2090
1340 goto1140
1350 :
1360 :
1370 :
1380 print"[144][206]ame der [212]extdatei:";
1390 la=16:gosub2140
1400 tx$=t$:return
1410 :
1420 :
1430 :
1440 ifau$="[196]rucker"thenau$="[194]ildschirm":return
1450 au$="[196]rucker":return
1460 :
1470 :
1480 :
1490 print"[211]chriftart ([206])ormal/([205])icro: [157][157]";
1500 la=1:gosub2140
1510 ift$="n"thenfo$="normal/":goto1540
1520 ift$="m"thenfo$=" micro/":goto1540
1530 print"[145][145]";:goto1490
1540 print"[218]eichen pro [211]palte (1-134) : [157][157][157]";
1550 la=3:gosub2140
1560 zs=int(val(t$)):ifzs<1orzs>134thenprint"[145][145]";:goto1540
1570 fo$=fo$+mid$(str$(zs),2,3)+"/"
1580 ms=int(136/(zs+2))
1590 print"[215]ieviele [211]palten (1-";ms;"[157]) : [157]";
1600 la=2:gosub2140
1610 sp=val(t$)
1620 ifsp<1orsp>msthenprint"[145][145]";:goto1590
1630 fo$=fo$+t$:return
1640 :
1650 :
1660 :
1670 if tx$="keine[146]"thenreturn
1680 ifau$="[194]ildschirm"then1970
1690 print" [201]ch drucke..."
1700 print" [218]um [211]toppen bitte '_' druecken."
1710 open1,8,2,tx$:input#255,fe
1720 iffe<>0then1930
1730 open2,4,1
1740 print#2,chr$(27)"@";chr$(27)chr$(15);
1750 print#2,chr$(27)chr$(67)chr$(0)chr$(12);
1760 ifmid$(fo$,1,1)="n"thenml=62:goto1790
1770 print#2,chr$(27)chr$(65)chr$(6);
1780 print#2,chr$(27)chr$(83)"0";:ml=128
1790 df=int((136-sp*zs)/sp)
1800 n=1:z=1
1810 :
1820 print#2,chr$(27)chr$(108)chr$(n);
1830 sysad,zs
1840 if peek(250)=222 then 1920
1850 geta$:ifa$="_"thenprint#2," *** break ***":goto1920
1860 z=z+1:ifz<ml then 1830
1870 n=n+df+zs:z=1
1880 if n>136-zs then 1900
1890 print#2,chr$(27)chr$(12);:goto1820
1900 print#2,chr$(12);:goto1800
1910 :
1920 close1:close2:return
1930 print" [196]isk-[198]ehler... ([210]eturn)";
1940 la=0:gosub2140:close1:return
1950 :
1960 :
1970 open 1,8,2,tx$:input#255,fe
1980 if fe<>0 then 1930
1990 print"[147]";
2000 sysad,39
2010 geta$:ifa$="_"then2030
2020 if peek(250)<>222 then 2000
2030 print" ** ende **"
2040 geta$:ifa$=""then2040
2050 close1:return
2060 :
2070 :
2080 :
2090 poke53280,14:poke53281,6:print"[147][154]";
2100 close255:end
2110 :
2120 :
2130 :
2140 t$="":l=0
2150 print"[164]";
2160 geta$:ifa$=chr$(20)then2220
2170 ifa$=chr$(13)thenprintchr$(20):return
2180 ifa$<chr$(32)ora$>"^"then2160
2190 ifl=lathen2160
2200 t$=t$+a$:l=l+1
2210 print"[157]"a$;:goto2150
2220 ifl=0then2160
2230 l=l-1:t$=mid$(t$,1,l)
2240 printchr$(20)chr$(20);
2250 goto 2150
2260 :
2270 :
2280 :
2290 data32,253,174,32,158,183,134,250,162,1,32,198,255,166,250,32,207,255,157
2300 data60,3,201,13,240,12,36,144,112,36,202,208,239,169,13,157,60,3,32,204
2310 data255,162,2,32,201,255,166,250,189,60,3,32,210,255,189,60,3,202,201,13
2320 data208,242,32,204,255,96,202,169,13,157,60,3,169,222,133,250,208,240,0