home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Go64!
/
Go64_2002-08_2002_CSW_Side_A.d64
/
screen-edit
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
55 lines
2 p=p+1
4 ifp=1then16
6 ifp=2then34
8 ifp=3thenloadf$(1),8,1
10 ifp=4thenloadf$(2),8,1
12 ifp=5then84
14 ifp=6then42
16 poke53280,0:poke53281,11:print"[147][153]":g=55296:h=1024:c1=7:c2=7:c3=7
18 print"[198]1/[198]2:[195]olor1 [198]3/[198]4:[195]olor2 [198]5/[198]6:[195]olor3"
20 printtab(10)"[198]7:[211]ave [198]8:[209]uitt"
22 print"":printtab(8)"[197][146]rstellen [193][146]endern"
24 getk$:ifk$=""then24
26 ifk$="e"then32
28 ifk$="a"thenp=2:goto34
30 ifk$<>""then24
32 input" [198]ont: font.";c$:c$="font."+c$:goto84
34 input" [198]ilename: ";f$
36 f$(1)="eda."+f$:f$(2)="edb."+f$:f$(3)="edc."+f$:x$=f$(1):gosub108:ife>0then40
38 goto80
40 print"[147]"
42 fori=0to39:poke56256+i,0:poke1984+i,160:next
44 print"";:poke53272,31:poke53270,peek(53270)or16
46 poke53281,c1:poke53282,c2:poke53283,c3
48 x=40*peek(214)+peek(211):ifx>959thenprint"";
50 z=peek(h+x):poke646,peek(g+x)
52 poke204,0
54 geta$:ifa$=""then54
56 ifa$=chr$(133)andc1<15thenc1=c1+1:poke53281,c1
58 ifa$=chr$(137)andc1>0thenc1=c1-1:poke53281,c1
60 ifa$=chr$(134)andc2<15thenc2=c2+1:poke53282,c2
62 ifa$=chr$(138)andc2>0thenc2=c2-1:poke53282,c2
64 ifa$=chr$(135)andc3<15thenc3=c3+1:poke53283,c3
66 ifa$=chr$(139)andc3>0thenc3=c3-1:poke53283,c3
68 ifa$=chr$(136)thenwait207,1:poke204,1:goto88
70 ifa$=chr$(140)then98
72 ifa$=chr$(20)ora$=chr$(148)then48
74 ifpeek(h+x)<>zthen74
76 wait207,1:poke204,1:printa$;:pokeg+x,peek(646)
78 goto48
80 x$=f$(3):gosub108:ife>0thenp=1:goto16
82 open1,8,2,f$(3):input#1,c$,c1,c2,c3:close1
84 x$=c$:gosub108:ife>0thenprint"[147]":p=1:goto16
86 sys57812 c$,8:poke780,0:poke781,0:poke782,56:sys65493:goto2
88 f$(1)="@:"+f$(1):f$(2)="@:"+f$(2):sys57812 f$(1),8:poke174,231:poke175,7
90 poke193,0:poke194,4:sys62957
92 sys57812 f$(2),8:poke174,231:poke175,219:poke193,0:poke194,216:sys62957
94 d$="s:"+f$(3):open2,8,15,d$:close2:c4=peek(g)
96 open1,8,1,f$(3):print#1,c$:print#1,c1:print#1,c2:print#1,c3:close1
98 poke53270,peek(53270)and239:poke53272,21:poke204,1
100 print"[147][155]":printtab(9)"weitere bilder (j/n) ?"
102 getk$:ifk$=""then102
104 ifk$="j"thenp=0:goto2
106 ifk$<>"j"thenprint"[147]":end
108 e=0:open1,8,0,x$:open2,8,15:input#2,e:close2:close1:return