home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1988 May
/
64er_Magazin_88-05_1988_Markt__Technik_de_Side_A.d64
/
mcc-dmo.mov
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
2KB
|
64 lines
100 rem *******************************
101 rem * *
102 rem * magic colour chars dmo.mov *
103 rem * *
104 rem * by matthias fichtner *
105 rem * *
106 rem * (c) by markt & technik *
107 rem * *
108 rem *******************************
109 rem -------------------------------
110 rem - init -
111 rem -------------------------------
112 !t,0,0,0:print"[147]"chr$(142):!i:!s,0
113 !l,4
114 rem -------------------------------
115 rem - init screen -
116 rem -------------------------------
117 !p,0,1,"magic colour chars"
118 !p,0,3,"moving chars"
119 !p,0,23,"written by matthias fichtner"
120 !p,0,25,"(c) by markt & technik"
121 rem -------------------------------
122 rem - init colours -
123 rem -------------------------------
124 !l,0
125 !d,"[151][152][155][155][152][151]",1
126 !d,"[144][151][152][155][155][152][151]",3,23,25
127 !a,1,1,1,1,2,1,24,1
128 !u,0
129 rem -------------------------------
130 rem - init char fields -
131 rem -------------------------------
132 data 12,6,3,10,21,10,12,14
133 a$(1)="[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
134 a$(2)="[193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193]"
135 a$(3)="[194][194][194][194][194][194][194][194][194][194][194][194][194][194][194][194][194][194]"
136 a$(4)="[195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195]"
137 c$="[151][152][155]"
138 forc=64to67
139 !c,1,c,0:!b,255:!b,255:!b,255:!b,231:!b,231:!b,255:!b,255:!b,255
140 next
141 print"":fori=1to4:readx,y:fort=0to3:printmid$(c$,t+1,1);
142 !p,x+8-2*t,y+t,left$(a$(i),2+4*t)
143 !p,x+8-2*t,y+(6-t),left$(a$(i),2+4*t)
144 nextt,i
145 rem -------------------------------
146 rem - moving chars - show -
147 rem -------------------------------
148 a$(1)="111555555111"
149 a$(2)="222666666222"
150 a$(3)="333777777333"
151 a$(4)="444888888444"
152 a$(5)="555111111555"
153 a$(6)="666222222666"
154 a$(7)="777333333777"
155 a$(8)="888444444888"
156 fort=1to4:!m,t,1,63+t,"0",0,1,2:next
157 fort=1to4
158 a=int(rnd(1)*8)+1:!w,2,t:!m,t,1,63+t,a$(a),1,1,1
159 fori=1to20:!g,a$:ifa$=""thennext
160 ifa$<>""then:!r
161 next
162 goto157