Welcome, Guest. Please login or register.

Author Topic: Dual playfield OCS technical explanation/help please  (Read 3214 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline james666

  • Newbie
  • *
  • Join Date: Feb 2006
  • Posts: 19
    • Show all replies
Re: Dual playfield OCS technical explanation/help please
« on: September 17, 2011, 12:02:47 AM »
Quote from: Digiman;659626
Anyone care to explain how bobs and sprite color palettes relate to definition of the two separately defined 16 colour palette of each playfield? Still any of the 32 colours can be used or just either one pair of each 16 colour palette per playfield?

A good web link for these kind of questions welcome too.


OCS displays can have up to 6 bitplanes.  In dual playfield mode you can have up to 3 planes for each playfield, which gives up to 2^3 =8 colours per playfield, one of which is used as a transparent colour in the topmost playfield.  Your dual playfield display then uses up the first 2*8 = 16 colour registers in total.  A bob would have to use of the 8 colours on its own playfield.  The sprites always use the second 16 colour registers regardless of the display type.  I would Google for a scan of the "Amiga Hardware Reference Manual" or "Mapping the Amiga" if you're interested in this stuff.