home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 54
/
054.d81
/
pro-titler
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
13KB
|
423 lines
2 goto36
4 g$="":poke198,0:u=53280
6 geta$:print" "+chr$(157);
8 ifa$=""then6
10 ifa$=chr$(13)thenprintchr$(32):return
12 if(a$=chr$(20)andlen(g$))theng$=left$(g$,len(g$)-1):goto32
14 iflen(g$)>=ln%thent%=peek(u):pokeu,1:pokeu,t%:goto6
16 if((ty%and2)=2)and(a$>="[193]")and(a$<="[218]")then30
18 if((ty%and2)=2)and(a$>="a")and(a$<="z")then30
20 if((ty%and4)=4)and(a$>="0")and(a$<="9")then30
22 if((ty%and8)=8)and(a$>=chr$(32))and(a$<=chr$(127))then30
24 ifa$=chr$(32)then30
28 goto6
30 g$=g$+a$
32 printa$;:ifa$=chr$(34)thenpoke212,0
34 goto6
36 poke53281,0:poke53280,0:print"[147][154]"
38 poke56,63:poke55,253:clr
40 v=13*16*256:open 2,0
42 pokev+17,peek(v+17)and239
44 fort=1to12:print"[207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208][207][208]";
46 print"[204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186][204][186]";:next
48 print"[183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183]"
50 print"[145][180] [158]video pro-titler[154] [167]"
52 print"[204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
54 print"[183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183]"
56 print"[145][165] copyright 1988 by [154] [167]"
58 print"";
60 fort=1to10
62 print" [157][157][157][157]";
64 next
66 pokev+17,(peek(v+17)and239)or16
68 print""
70 print"[165] john allen and bill wind[154][160][167]";
72 print"[165] [160][160][160][167]";
74 dim mt%(210),tm%(62),nb%(62),co$(7)
76 fort=0to210:readmt%(t):next
78 fort=0to62:readtm%(t):next
80 fort=0to62:readnb%(t):next
82 fort=0to7:readco$(t):next
84 poke147,0:sys57812"nofrills",8,1:sys62631
86 fi=16384:la=fi:ma=32768:cu=la:nx=ca:cn=1
88 cf$="nofrills":tc=14:bc=0:sc=0:mc=7
90 sp$=" "
92 fort=828to887:readx:poket,x:next
94 fort=49152to49673:readx:poket,x:next
96 data32,65,0,0,0,66,0,0,0
98 data67,0,0,0,68,0,0,0,69,0,0,0
100 data70,0,0,0,71,0,0,0,33,0,34,32
102 data72,0,0,0,73,0,49,0,74,0,0,0
104 data75,0,0,0,76,0,0,0,77,0,0,0
106 data78,0,0,0,79,0,0,0,80,0,0,0
108 data81,0,0,0,82,0,0,0,83,0,0,0
110 data84,0,0,0,85,0,0,0,86,0,0,0
112 data87,0,0,0,88,0,0,0,89,0,0,0
114 data90,0,0,0,48,0,0,0,50,0,0,0
116 data51,0,0,0,52,0,0,0,53,0,0,0
118 data54,0,0,0,55,0,0,0,56,0,0,0
120 data57,0,0,0,64,0,0,0,36,0,0,0
122 data37,0,0,0,38,0,0,0,39,0,40,0
124 data41,0,44,0,42,0,0,0,43,0,61,0
126 data45,0,0,0,46,0,47,0,58,0,59,0
128 data91,0,93,0,46,0,0,0,92,0
130 data63,0,0,0,62,0,60,0,35,0,0,0
132 data0,29,31,207,149,153,157,161
134 data163,165,169,173,167,177,181
136 data183,109,39,113,117,121,125
138 data129,133,137,141,185,187,205
140 data175,203,199,145,1,5,9,13,17
142 data21,25,33,37,41,45,49,53,57
144 data61,65,69,73,77,81,85,89,93
146 data97,101,105,189,197,191,31
148 data1,2,2,4,4,4,4,2,2,2
150 data4,2,2,4,2,2,4,2,4,4
152 data4,4,4,4,4,4,2,2,2,2
154 data2,4,4,4,4,4,4,4,4,4
156 data4,2,4,4,4,4,4,4,4,4
158 data4,4,4,4,4,4,4,4,4,2
160 data2,2,2
162 data"end of sequence","","","clear screen"
164 data"enter scroll mode","enter fixed mode","pause for","go to line"
166 data169,2,162,8,160,97,32,186,255,169,5,162
168 data52,160,3,32,189,255,169,254,133,251
170 data169,63,133,252,169,251,162,255,160,127
172 data32,216,255,96
174 data169,2,162,8,160,97
176 data32,186,255,169,5,162,52,160,3,32
178 data189,255,169,0,32,213,255,96
180 print"[147][152][213][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][201]"
182 print"[221] [158]v[154]ideo [158]p[154]ro-[158]t[154]itler [152][221]"
184 print"[202][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][203]"
186 print"[158]press"
188 print"1 [154]add to current sequence"
190 print"[158]2 [154]edit current sequence"
192 print"[158]3 [154]clear current sequence"
194 print"[158]4 [154]load a sequence"
196 print"[158]5 [154]save a sequence"
198 print"[158]6 [154]view current sequence"
200 print"[158]7 [154]load a font"
202 print"[158]8 [154]change screen colors"
204 print"[158]9 [154]exit to loadstar"
206 print"[152][171][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][179]"
208 print"[154]current font: "+cf$
210 print"[154]memory free:";max-la;"[154] bytes"
212 print "memory used:";la-fi;"[154] bytes"
214 print "[145][145][145][145][145][145][145][158]-->[154] ";
216 gosub 626
218 ifg$<"1"org$>"9"thenprint"[157]";:goto216
220 g=val(g$)
222 onggoto224,226,464,472,482,500,568,578,606
224 cu=la:g$="[158]add to current sequence[154]":goto228
226 cu=fi:g$="[158]edit current sequence[154]"
228 print"[147]"+g$
230 print"ctrl-c: clear screen":print"ctrl-g: goto line [210][210]"
232 print"ctrl-p: pause for [210][210] seconds"
234 print"ctrl-s: enter scroll mode":print"ctrl-f: enter fixed mode"
236 print"ctrl-b: [210][210] blank lines":print"ctrl-l: enter a line of text"
238 print"ctrl-1/2/3: left/center/right justify"
240 print"ctrl-u: underline the above line"
242 print"ctrl-x: return to main menu"
244 print"return: go to next command"
246 print"inst/del: insert or delete a command"
248 print"[152][171][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][179][154]"
250 print"[152] [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] [154]"
252 gosub660
254 poke1983,32:getg$:ifg$=""then254
256 poke1983,42:poke56255,14
258 ifg$<>""then262
260 nn=1:gosub706:pokecu,4:goto252
262 ifg$<>""then 266
264 nn=1:gosub706:pokecu,5:goto252
266 ifg$<>""then270
268 nn=1:gosub706:pokecu,3:goto252
270 ifg$<>""then288
272 print"goto what line (1-23)? ";:ty%=4:ln%=2:gosub4
274 print"";
276 ifval(g$)>23orval(g$)<1thenprintsp$;"[145]";:goto272
278 nn=3:gosub706
280 pokecu,7:g=(val(g$)-1)*40
282 pokecu+1,(g/256-int(g/256))*256
284 pokecu+2,g/256
286 printsp$;"[145]";:goto252
288 ifg$<>""then308
290 print"how many seconds (.1-60)? ";:ty%=8:ln%=2:gosub4:sd=val(g$)
292 print"";
294 ifsd<0orsd>60thenprintsp$;"[145]";:goto290
296 gosub730
298 nn=3:gosub706
300 pokecu,6:g=val(g$)*120
302 pokecu+1,(g/256-int(g/256))*256
304 pokecu+2,g/256
306 printsp$;"[145]";:goto252
308 ifg$<>""then322
310 print"how many blank lines? ";:ty%=4:ln%=3:gosub4
312 print"";
314 ifval(g$)<1thenprintsp$;"[145]";:goto310
316 nn=val(g$):gosub706
318 fort=1toval(g$):pokecu+t-1,1:next
320 printsp$;"[145]";:goto252
322 ifg$=""then180
324 ifg$<>chr$(13)then330
326 ifcu=lathen252
328 cu=nxt:goto252
330 ifg$<>"[148]"then338
332 fort=latocustep-1
334 poket+cn,peek(t):next
336 la=la+cn:goto252
338 ifg$<>chr$(20)then346
340 for t=cu to la-cn
342 poke t,peek(t+cn):next
344 la=la-cn:goto 252
346 ifg$<>""then376
348 print"enter line":ty%=8:ln%=39:gosub4:ifg$=""theng$=" "
350 print" ":printsp$
352 nn=82:gosub706:poke cu,2:poke cu+41,2:n=1:m=1
354 ca=asc(mid$(g$,n,1))-32:ifca>62thenca=0
356 pokecu+m,tm%(ca):pokecu+m+41,tm%(ca)
358 ifnb%(ca)>1thenpokecu+m+41,tm%(ca)+1
360 ifnb%(ca)=4thenpokecu+m+1,tm%(ca)+2:pokecu+m+42,tm%(ca)+3
362 n=n+1:m=m+1:ifnb%(ca)>2thenm=m+1
364 ifn>len(g$)then370
366 ifm<40then354
368 goto252
370 pokecu+m,0:pokecu+m+41,0
372 m=m+1:ifm<41then370
374 goto252
376 ifg$<>"[144]"then398
378 ifpeek(cu)<>2then252
380 x$="":fort=1to40:x$=x$+chr$(