🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5329

Re: HAM

#5329
From: Michael Griffith
Date: Tue, 18 Sep 1990 20:04
25 lines
1630 bytes
S.J.Raybould@fulcrum.bt.co.uk (Simon Raybould) writes:

>I am trying to display HAM pictures on an X Terminal.
>I read in the ILBM file and parse it as follows:

>	bit 5&4
>		00 - Colour in colour reg bits 3 2 1 0
>		01 - Same as last colour with Blue set as bits 3 2 1 0
>		10 - Same as last colour with Red set as bits 3 2 1 0
>		11 - Same as last colour with Green set as bits 3 2 1 0

>The displayed image has many of the colours incorrect, am I missing something
>here ?

Can't say for sure, but did you remember that the first color of each line
has color register 0 (the background color) as it's last color? If not, how
about describing where the color problems occur and what most often happens.
Also, are you correcting for the type of display you have? That is, are you
adjusting your RGB values to what ever range your display has? If your display
allows 8 bits for red, green, and blue you will need to shift the Amiga RGB
values to the left 4 bits to get the same color.

| Michael Griffith                     | If I had an opinion it certainly   |
| griffith@eecs.ee.pdx.edu             | wouldn't be the same one as        |
| ...!tektronix!psueea!eecs!griffith   | Portland State University anyways. |
Technical Details
Message-ID: <106@pdxgate.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!orc!inews!iwarp.intel.com!psueea!pdxgate!eecs!griffith
References: <D|G%G8^@masalla.fulcrum.bt.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!orc!inews!iwarp.intel.com!psueea!pdxgate!eecs!griffith
From: griffith@eecs.cs.pdx.edu (Michael Griffith)
Newsgroups: comp.sys.amiga.tech
Subject: Re: HAM
Message-ID: <106@pdxgate.UUCP>
Date: 18 Sep 90 20:04:29 GMT
References: <D|G%G8^@masalla.fulcrum.bt.co.uk>
Sender: news@pdxgate.UUCP
Lines: 25