home *** CD-ROM | disk | FTP | other *** search
- 51000 rem grafikpunkt setzen (multi-color)
- 51010 ga=8192:rem startadresse grafikspeicher
- 51020 ad=320 * int(y/8) + (y and 7) + (8 * int(x/4)):rem adresse berechnen
- 51030 b1=(3-(x-(4*int(x/4))))*2:rem bitnummer 1
- 51040 b2=b1+1:rem bitnummer 2
- 51050 if fa =0 then f1=0:f2=0
- 51060 if fa =1 then f1=0:f2=1
- 51070 if fa =2 then f1=1:f2=0
- 51080 if fa =3 then f1=1:f2=1
- 51090 if f1=0 then goto51110
- 51100 pokega+ad, peek(ga+ad) or 2^b1
- 51110 if f2=0 then goto51130
- 51120 poke ga+ad, peek(ga+ad) or 2^b2
- 51130 return
- 51140 rem fa= farbwert des punktes (0-3)
-