[A83] Re: DisplayImage
[Prev][Next][Index][Thread]
[A83] Re: DisplayImage
I've had this exact problem. First, make sure that HL is not pointing to
data in flash (such as an app). Second, DisplayImage will use the data in
the LCD driver to display it's image...So try a _clrlcdfull first.
Michael Vincent
Detached Solutions - www.detacheds.com
Radical Software - www.radicalsoft.org
----- Original Message -----
From: "Thomas Lutz" <tlutz@stevens-tech.edu>
To: <assembly-83@lists.ticalc.org>
Sent: Thursday, January 24, 2002 8:22 PM
Subject: [A83] DisplayImage
> Does anyone know why the rom call DisplayImage would sometimes write
> garbage instead of the proper image? Is there a bug or anything in it?
>
>
> Set plotLoc,(iy+plotFlags)
> ld hl,CurImage
> B_CALL DisplayImage
> res plotLoc,(iy+plotFlags)
> ret
>
> CurImage: db 2,5
> db 11011000b
> db 00100000b
>
> Sometimes this code works fine..Other times, it prints out 2 rows of
> garbage to the end of the screen, from the position I set DE to. Any
> idea why? Thanks
> -Tom
>
>
>
References: