Re: A89: Re: help?


[Prev][Next][Index][Thread]

Re: A89: Re: help?




> > Are you running this on a HW2 calc? If so, try replacing this line with:
> >   move.b (a1)+,(a0)
> >   move.b (a0),(a0)+
> Why is this necessary?

Because of the way the LCD hardware is wired on HW2. What you see on the screen
is actually not what's in the LCD memory, but in a buffer. Whenever you write to
the LCD memory whatever was there before gets bumped to the buffer, which the
LCD displays. It works like a double-buffer, actually. So to get the GFX
displayed directly when you don't constantly update the screen you have to
"write it twice", or copy it to itself.

 / Niklas Brunlid
Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
Random PQF Quote follows:

No-one would have believed, in the final years of the Century of the
Fruitbat, that Discworld affairs were being watched keenly and impatiently
by intelligences greater than Man's, or at least much nastier; that their
affairs were being scrutinised and studied as a man with a three-day
appetite might study the All-You-Can-Gobble-For-A-Dollar menu outside
Harga's House of Ribs...
        -- (Terry Pratchett, Moving Pictures)





References: