Welcome, Guest. Please login or register.

Author Topic: Looking for a case for my Altera-DE1 based Amiga  (Read 4399 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MskoDestny

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 363
    • Show all replies
    • http://www.retrodev.com
Re: Looking for a case for my Altera-DE1 based Amiga
« on: March 03, 2010, 04:10:52 PM »
Quote from: Dr_Righteous;546005
Theoretically it only needs 18 bits for HAM8 mode... But then I've never understood why there were 24 lines worth of data into the DAC, but AGA couldn't display all 24 bits at once.

AGA is a palette based video chipset. It has 256 palette entries that are each 24-bits wide (8-bits per channel). When using 8 bitplanes, each pixel only takes up 8-bits in chip memory, but this 8-bit value is only used as an index into the palette registers to lookup the appropriate 24-bit color. This is why you need a 24-bit video output to properly display AGA.

HAM8 doesn't change the output color width. It's still 24-bits. It just changes how you select a 24-bit color from the 8-bit data in chip memory. In HAM8 you can either use one of the first 64 entries from the palette or modify the upper 6-bits of one of the 8-bit channels of the 24-bit color that was used for the last pixel.