Welcome, Guest. Please login or register.

Author Topic: HAM/HAM8 Programming Documents needed...  (Read 2005 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Thomas

Re: HAM/HAM8 Programming Documents needed...
« on: September 19, 2003, 09:02:07 AM »

HAM6 is 6 bitplanes deep and HAM8 is 8 bitplanes deep. The upper two bits select the action:

0 -> the lower bits point to the palette
1 -> the lower bits set the red portion
2 -> the lower bits set the green portion
3 -> the lower bits set the blue portion.

As you can see, with HAM8 only 6 bits are available to modify colors, so you don't get real truecolor but only 262144 different colors (plus 64 from the palette). With HAM6 all 4096 colors can be reached.

What do you want to know more ?

Bye,
Thomas

Offline Thomas

Re: HAM/HAM8 Programming Documents needed...
« Reply #1 on: September 19, 2003, 01:52:52 PM »
Quote
I'm not sure, but I think that 'selecting bitplans' were changed from the upper ones in HAM to lower ones in HAM8.


No.

Bye,
Thomas