#HAM format, anyone?
03-Aug-94 18:36:47
Sb: #42597-#HAM format, anyone?
Fm: Vic Wagner 76046,3004
To: Steve Mulhern 73504,3604
Steve,
Well, Eulogio gave you some bad information. The way HAM is encoded (I
don't recall the actual bit patterns, but they're unimportant):
There are two flavo(u)rs of HAM, HAM6 and HAM8, each uses two bits
to encode whether to load a color from a palette of (16 or 64…the
remaining bits in the code) or whether to set the red/green/blue gun
to an absolute value (using the remaining bits). The original Amiga
had only 4 bits per 'gun' therefore a total of 4096 colo(u)rs; these
could all be displayed in HAM by directly setting the relevant color
registers, even tho only one could be set per pixel.