A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Undocumented priority mode of the bplcon2 register

 

Author Message
dissident
Member
#1 - Posted: 4 Jun 2009 19:51
Reply Quote
Some time ago checked the copperlists of Kefrens Megademo VII parts and I found out a very interessting thing. In the second part with the chinese dragons and the chessboard there was a write of $003f to BPLCON2. That means in binary code %0000000000111111. All the priority bits were set. But this mode is not documented in the HRM and only works on OCS machines.
What happens?
Well, a scrolltext in bitplane 5 moves on a background picture with 4 bitplanes. A colourcycle effect runs through the scrolltext. Thus we have a screen with a depth of 5 bitplanes lores. Normally we have to change colour registers 16-31 each scan line for the colourcycle effect. But not in this case. You only change colour 16 and you don't have to change the rest of the colour registers. I tried the copper move command with different bit combinations, the effect only works with the value $3f. On an AGA machine only colour 16 is changed and the rest of the colours do not.
Can someone explain this phenomenon?
Kalms
Member
#2 - Posted: 4 Jun 2009 20:22
Reply Quote
I can't explain it but it is briefly described by Toni Wilen in a thread over at EAB: http://eab.abime.net/showthread.php?t=19676
dissident
Member
#3 - Posted: 7 Jun 2009 09:35
Reply Quote
Hy Kalms,

many thanks for your quick reply. Your hint is very useful for me.

dissident

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0