[A83] Re: DisplayImage


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

[A83] Re: DisplayImage




Arrrrggg.....It isn't working at all...it keeps doing the same thing and
I can't figure out why. DE is a valid position on the screen and HL
points to CurImage....are there any system flags or other things that
would screw up this routine??

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of Thomas Lutz
Sent: Thursday, January 24, 2002 10:23 PM
To: assembly-83@lists.ticalc.org
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








Follow-Ups: References: