home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 6
/
64er_Magazin_Sonderheft_06_86-06_1986_Markt__Technik_de_Disk_2_of_3_Side_A.d64
/
cad.movie
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
3KB
|
100 lines
5 rem **********************************
10 rem * giga-cad graphic-system *
15 rem * 'cad.movie' *
20 rem * by s. vilsmeier & s. lippstreu *
25 rem **********************************
30 :
35 :
40 a=peek(836)+1:poke836,a:ifa=1thenload"movie.cad.obj",8,1
45 poke55,0:poke56,24:clr
50 c1=11:c4=15:c5=15:c2=12:c3=0
55 poke53280,14:poke53281,15:poke646,11
60 open1,8,15,"u9":close1:printchr$(14);chr$(8);
65 :
70 :
75 print"[147][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172][172] [146]";
80 print" oo oo [146]";
85 print" [146] ( [205]ovie - [200]auptmenue )[146] [146]";
90 print" >< >< [146]";
95 print"[188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188][188] [146]";
100 print"[172][146][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][183][183][183][183][183][183][183][183][183][183][183][183][187][146]";
105 fori=1to18:print"[180] [170]";:next
110 print"[188][146][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]":poke2023,254:poke56295,11
115 print" [193]. - [198]ilm laden"
120 print" [194]. - [197]inzelnes [194]ild laden"
125 print" [195]. - [196]iskettenkommando senden"
130 print" [196]. - [196]irectory"
135 print" [197]. - [193]blauf : zyklisch ";
140 ifzthenprint"[157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]vor-/rueckwaerts";
145 print:print" [198]. - [205]odus : [200]ires ";
150 ifmthenprint"[157][157][157][157][157][157][157][157][157][157][205]ulticolor";
155 print:print" [199]. - [198]arben aendern"
160 print" [200]. - [198]ilm ansehen":poke198,0
165 getx$:ifx$<"a"orx$>"h"goto165
170 onasc(x$)-64goto185,350,310,275,400,405,420,485
175 :
180 :
185 print"[147] [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]"
190 print" [198]ilm laden "
195 gosub495:n$="":input"[198]ile - [206]ame ";n$:ifn$=""orn$="_"goto55
200 iflen(n$)>10goto195
205 a=6144:forx=1to24:print" [194]ild"x
210 open2,8,2,"fi."+n$+str$(x)+",p,r":gosub230:iffgoto55
215 sys50187,a:close2:close1:a=a+2048:ifa=49152thena=51200
220 nextx
225 goto55
230 open1,8,15
235 input#1,f,f$,t,s:iff=0thenreturn
240 print:print" [196]iskettenstatus :"
245 print""f","f$","t","s
250 poke198,0
255 getx$:ifx$=""goto255
260 close2:close1:return
265 :
270 :
275 print"[147] [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]"
280 print" [196]irectory anzeigen ":print
285 open1,8,15:open2,8,0,"$0":gosub235:iffgoto55
290 sys50772:close2:gosub235:iff=0thengosub250
295 goto55
300 :
305 :
310 print"[147] [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]"
315 print" [196]iskettenkommando senden ":gosub495
320 poke631,34:poke198,1
325 input" [203]ommando ";c$:ifc$=""goto55
330 open1,8,15,c$:gosub235:iff=0thengosub240
335 goto55
340 :
345 :
350 print"[147] [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]"
355 print" [197]inzelnes [194]ild laden ":gosub495
360 input"[198]ile - [206]ame des [194]ildes ";n$:ifn$=""goto55
365 iflen(n$)>13goto360
370 print" [193]n welche [211]telle im [198]ilm soll das"
375 n=-1:input" [194]ild geladen werden ";n
380 ifn<1orn>24goto370
385 a=4096+n*2048:ifn>21thena=a+2048
390 open2,8,2,"fi."+n$+",p,r":gosub230:iffgoto55
395 sys50187,a:close2:close1:goto55
400 z=1-z:goto115
405 m=1-m:goto115
410 :
415 :
420 print"[147] [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]"
425 print" [198]arben aendern ":gosub495
430 ifmgoto455
435 print" [214]ordergrund "c1;:input"[157][157][157][157][157]";c1:ifc1<0orc1>15goto435
440 print" [200]intergrund "c4;:input"[157][157][157][157][157]";c4:ifc4<0orc4>15goto440
445 print" [210]and "c5;:input"[157][157][157][157][157]";c5:ifc5<0orc5>15goto445
450 goto55
455 print" [198]arbe 1 "c1;:input"[157][157][157][157][157]";c1:ifc1<0orc1>15goto455
460 print" [198]arbe 2 "c2;:input"[157][157][157][157][157]";c2:ifc2<0orc2>15goto460
465 print" [198]arbe 3 "c3;:input"[157][157][157][157][157]";c3:ifc3<0orc3>15goto465
470 print" [200]intergrund "c4;:input"[157][157][157][157][157]";c4:ifc4<0orc4>15goto470
475 print" [210]and "c5;:input"[157][157][157][157][157]";c5:ifc5<0orc5>15goto475
480 goto55
485 print"[147]";:ifmthenpoke53280,c5:poke53281,c4:sys50284,z,m,c1,c2,c3:goto55
490 poke53280,c5:sys50284,z,m,c1,c4,c3:goto55
495 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][183][183][183][183][183][183][183][183][183][183][183][183]":return