Das Koa-Bild wird ja aufgeteilt hier bei mir : 8000-1000-1000.
Ein Teil liegt(1000) ja jetzt schon im Bereich ab $d800.
Das sind ja Farbdaten für das Bild.
Können diese Farbdaten auch für ein anderes Bild genutzt werden? Oder sind die nur speziell für dieses eine Koa-Bild?
Kann ich 2 Multiscreen einrichten für 2 Koa-Bilder $2000-$4000 und $e000-$ffff ?
danke.
gruss
Code
- 0 rem@ \protocol: \fastfor: \word i=fast , z1, z2, z3 : \byte d: \routstart $4000
- 1 rem@ \constant vic, cia2
- 10 vic=$d000
- 20 cia2=$dd00
- 30 z1=$2000+8000
- 40 z2=$400+1000
- 45 z3=$d800+1000
- 46 open 1,8,2,"test.koa,s,r"
- 50 _in 1
- 60 d=@byte:d=@byte
- 70 for i=$2000 to z1-1
- 80 poke i,@byte
- 90 next i
- 100 for i=$400 to z2-1
- 110 poke i,@byte
- 120 next i
- 130 for i=$d800 to z3-1
- 140 poke i,@byte
- 150 next i
- 160 poke $d021,@byte
- 170 _reset
- 180 close 1
- 190 poke vic+17,peek(vic+17) or $3b
- 200 poke vic+22,peek(vic+22) or $18
- 210 poke vic+24,peek(vic+24) or $1f
- 390 poke 198,0
- 400 wait 198,255