home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C64'er
/
C64'er.iso
/
sh6x
/
sh69b.d64
/
circle.multi
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-03-30
|
2KB
|
98 lines
4 REM ----------------------------
5 REM ORIGINALWERTE FUER TEXTMODUS
6 REM IN ADRESSEN 251/252 RETTEN
7 REM ----------------------------
10 POKE251,PEEK(53272)
20 POKE252,PEEK(53265)
30 BA=8192:SYS58692
40 GOSUB1000:REM HIRES-GRAFIK EIN
119 REM -------------------------
120 REM HIRES-BILDSCHIRM LOESCHEN
121 REM -------------------------
130 FOR I=BA TO BA+7999
140 POKE I,0
150 NEXT
160 SYS58692
170 POKE53281,0:REM HINTERGRUNDFARBE WEISS
180 F=16*2+7:GOSUB3000
200 GOSUB4000
201 FORX=0TO160
202 Y1=100+SQR(160*X-X*X)
203 Y2=100-SQR(160*X-X*X)
204 FORY=Y1TOY2STEPY1-Y2
205 GOSUB255:NEXTY,X
206 FORX=0TO160
207 Y1=100-SQR(160*X-X*X)
208 Y2=100+SQR(160*X-X*X)
209 FORY=Y1TOY2STEPY1-Y2
210 GOSUB255:NEXTY,X
211 FORX=0TO180
212 Y1=100-SQR(180*X-X*X)
213 Y2=100+SQR(180*X-X*X)
214 FORY=Y1TOY2STEPY1-Y2
215 GOSUB255:NEXTY,X
216 FORX=0TO180
217 Y1=100+SQR(180*X-X*X)
218 Y2=100-SQR(180*X-X*X)
219 FORY=Y1TOY2STEPY1-Y2
220 GOSUB255:NEXTY,X
221 FORX=0TO190
222 Y1=100+SQR(190*X-X*X)
223 Y2=100-SQR(190*X-X*X)
224 FORY=Y1TOY2STEPY1-Y2
225 GOSUB255:NEXTY,X
226 FORX=0TO190
227 Y1=100-SQR(190*X-X*X)
228 Y2=100+SQR(190*X-X*X)
229 FORY=Y1TOY2STEPY1-Y2
230 GOSUB255:NEXTY,X
231 FORX=0TO100
232 Y1=100+SQR(100*X-X*X)
233 Y2=100-SQR(100*X-X*X)
234 FORY=Y1TOY2STEPY1-Y2
235 GOSUB255:NEXTY,X
236 FORX=0TO100
237 Y1=100-SQR(100*X-X*X)
238 Y2=100+SQR(100*X-X*X)
239 FORY=Y1TOY2STEPY1-Y2
240 GOSUB255:NEXTY,X
249 GOTO280
250 REM ----------------------
251 REM UNTERPROGRAMM FUERS
252 REM SETZEN DER BILDPUNKTE
253 REM AUF DER HIRES-BITMAP
254 REM -----------------=----
255 RO=INT(Y/8)
256 CH=INT(X/8)
257 LI=YAND7
258 BI=7-(XAND7)
259 BY=BA+RO*320+CH*8+LI
260 POKE BY,PEEK(BY)OR2^BI
265 RETURN
266 REM ----------------------
280 POKE198,0:WAIT198,1
281 GOSUB2000:SYS58692:POKE198,0:END
994 REM ------------------------
995 REM UNTERPROGRAMM
996 REM HIRES-GRAFIK EINSCHALTEN
997 REM ------------------------
1000 POKE53272,PEEK(53272)OR8
1010 POKE53265,PEEK(53265)OR32
1015 POKE53270,PEEK(53270)OR16
1020 RETURN
1994 REM ------------------------
1995 REM UNTERPROGRAMM
1996 REM HIRES-GRAFIK ABSCHALTEN
1997 REM TEXTMODUS WIEDER AKTIVIEREN
1998 REM ------------------------
2000 POKE53272,PEEK(251)
2010 POKE53265,PEEK(252)
2015 POKE53270,PEEK(53270)AND239
2020 RETURN
3000 FORI=1024 TO 2023
3010 POKE I,F
3020 NEXT:RETURN
4000 FOR I=55296 TO 56295
4010 POKEI,8
4020 NEXT: RETURN