Subject: Re: Xamiga24
To: Michael L. Hitch <osymh@gemini.oscs.montana.edu>
From: Andreas Johansson <ajo@ludd.luth.se>
List: amiga-dev
Date: 03/30/1995 19:09:22
According to Michael L. Hitch:
>
> On Mar 17, 12:20pm, "Markus Illenseer" wrote:
> > The other idea which comes to mind is that this register is probably
> > 8Bit-only and the 040-interface in some machines will not access the
> > register correctly.
>
> If that is the case, and since the registers appear to be sequential,
> could the above code be modified to do a 16 bit write of the
> byte-swapped values of x and y? I.e:
>
> *((u_short *)(acm + (ACM_CURSOR_POSITION + 0))) =
> ((x & 0xff) << 8) + ((x >> 8) & 0xff);
> *((u_short *)(acm + (ACM_CURSOR_POSITION + 2))) =
> ((y & 0xff) << 8) + ((y >> 8) & 0xff);
Yep, good idea - so I tried it. No difference what so ever. The same byte
is still missing. Sorry :(
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@ludd.luth.se Amiga 4000 is it! :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: There are two groups of people I'll _never_ understand: :
: math-professors and women :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->