On Sun, 9 Oct 2011 16:21:29 +0100 (GMT Daylight Time), Jeffrey Lee wrote:

> On Sun, 9 Oct 2011, Chris Young wrote:
> 
> > I've finally got round to having a proper look at the Amiga display
> > code.  The problem was that the palette wasn't being set, due to
> > SetRGB32() taking a 32-bit left-aligned value for each colour
> > component (I don't understand either; some sort of over-optimistic
> > planning of how many colours would be needed in the future!)
> 
> Oops! At least it was something simple.

The only reason I noticed was because that has caught me out in the
past.  Very bizarre design decision.

> > Ideally the display needs to be big endian (or endian-neutral) all the
> > way through.  Any ideas?
> 
> Judging by the original code, it looks like all that's needed is to endian 
> swap the source data. Some care will be needed with situations where the 
> expand table or memcpy are used, but I think I can get the code to work. 
> Stay tuned!

Excellent, thanks!

Chris

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
-- 
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to