Date : Mon, 22 Aug 1994 13:39:11 WET DST
From : Bonfield James <jkb@...>
Subject: Re: xbeeb updated on ftp.pipex.net
Tim M. writes:
>The 'problem' is that Config.h assumes it is on a litle endian
>machine, and defines LITTLE_ENDIAN. This breaks ReadWordAtPC on big
>endian machines. However you do mention in the INSTALL file that the
>LITTLE_ENDIAN flag may have to be changed. It might be worth putting
>in a little bit more detail so that more people notice it....
Even on a little endian machine (Alpha) defining LITTLE_ENDIAN broke things
for me!
I haven't got around to debugging this yet. Also the optimiser on cc breaks
the union hack in DoBranch(). I'm unsure if this is an optimiser problem, or a
code problem. Does anyone know just how portable signed to unsigned conversion
by use of a union is?
With LITTLE_ENDIAN undefined, and optimisation turned off, I've now got xbeeb
working on the Alpha, but with some odd caps lock problems. (I'm not even sure
how to generate caps lock on this shrunken keyboard - all the obvious key
combinations no longer work since I upgraded the OS.)
Also, the palette swapping seems somewhat random - sometimes no new colourmap
is allocated at all.
It's looking promising otherwise though.
James