home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 22
/
Tiger_Disk_022_19xx_Tiger-Crew-Disk_de_Side_B.d64
/
graf.-file_zeich
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
3KB
|
85 lines
10 ifpeek(49152)<>76thenload"grafik-file*",8,1
15 gosub1000
20 x=100:y=100:d=0:a=0:b=1:poke788,52
30 print"[147][154] grafik-file / zeichnen "
40 print" im editor [nach 'space'] :"
50 print" steuerung: joystick / port 2"
60 print" d [feuer] = loeschen"
70 print" z [feuer] = zeichnen"
80 print" i = invertieren"
90 print" f1 / f3 = zeichenfarbe + / -"
100 print" f5 / f7 = hintergrundf. + / -"
110 print" s = speichern * kennbuch-"
120 print" l = laden * staben [157][157][157][157][157][157][157]eingeben!"
130 print" e = prg.-ende"
140 poke198,0:wait198,1:poke198,0:sys49152:gosub630
150 gosub440:j=31-(31andpeek(56320))
160 ifj=0then150
170 ifj=>16then200
180 onjgosub220,230,,240,250,260,,270,280,290
190 goto150
200 onj-15gosub300,310,320,,330,340,350,,360,370,380
210 goto150
220 y=y-1:goto390
230 y=y+1:goto390
240 x=x-1:goto390
250 x=x-1:y=y-1:goto390
260 x=x-1:y=y+1:goto390
270 x=x+1:goto390
280 x=x+1:y=y-1:goto390
290 x=x+1:y=y+1:goto390
300 sys49164+d,x,y:goto390
310 y=y-1:sys49164+d,x,y:goto390
320 y=y+1:sys49164+d,x,y:goto390
330 x=x-1:sys49164+d,x,y:goto390
340 x=x-1:y=y-1:sys49164+d,x,y:goto390
350 x=x-1:y=y+1:sys49164+d,x,y:goto390
360 x=x+1:sys49164+d,x,y:goto390
370 x=x+1:y=y-1:sys49164+d,x,y:goto390
380 x=x+1:y=y+1:sys49164+d,x,y
390 ifx>320thenx=0:goto410
400 ifx<1thenx=320
410 ify>200theny=0:goto430
420 ify<1theny=200
430 return
440 geta$
450 ifa$=chr$(133)thengosub560:return
460 ifa$=chr$(134)thengosub580:return
470 ifa$=chr$(135)thengosub600:return
480 ifa$=chr$(136)thengosub620:return
490 ifa$="i"thensys49161:return
500 ifa$="z"thend=0 : return
510 ifa$="d"thend=3 : return
520 ifa$="s"thengosub640:sys49173,"pic."+x$,8
530 ifa$="l"thengosub640:sys49170,"pic."+x$+"*",8
540 ifa$="e"thensys49179:list
550 return
560 a=a+1:ifa>15thena=0
570 goto630
580 a=a-1:ifa<0thena=15
590 goto630
600 b=b+1:ifb>15thenb=0
610 goto630
620 b=b-1:ifb<0thenb=15
630 sys49158,a*16+b:return
640 getx$:ifx$=""then640
650 m=asc(x$):ifm<48orm>90then640
660 return
1000 print"[147] grafik-file/zeichnen - info [146]";
1001 print" leider straeubte sich das programm ganz energisch, ein sprite";
1002 print" unter-":print" zubringen! - s o r r y !!!!
1003 [153]" falls die 'infoseite' wegen 'load' und 'save' etwas unklar ist:
1004 print" man gibt nach entsprechender anwahl ganz einfach 'blind'
1005 [153]" einen kennbuchstaben [a - z] ein.
1006 print" das bild wird dann unter 'pic.a'
1007 [153]" (oder welcher buchstabe immer...)
1008 print" auf disc gespeichert. ausser buch- staben ist kein zeichen";
1009 print" erlaubt!"
1010 print" es besteht jedoch die moeglichkeit, die files nachtraeglich";
1011 print" umzube-"
1012 print" nennen. - dabei muss jedoch der kennbuchstaben als kennung
1013 [153]" erhalten bleiben! -weitere zusaetze spielen zum laden keine";
1014 [153]" rolle!":[153]" ich hoffe, dass euch meine 'erwei- terung' gefaellt...
1015 print" michael";
1016 poke198,0:wait198,1:poke198,0:return