[A83] Re: GrBufCpy


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

[A83] Re: GrBufCpy




> I compiled this code...exactly as shown (in ZDS), and I ran it using =
the
> flash debugger. It appeared to do what I think you want it to do. 12
> different columns rose up from the bottom of the screen but only the
> bottom moved after that.

Yes, the columns should rise, and then they should jump up and down
in a (relatively) fire-like manner. But so far so good. This routine =
works
as I intended. Perhaps I should have posted some code to show what
happens if you try to manipulate the screen after having run this one.

> I do have a question though...How do you have
> "hlminus12" without a call? I never did that before.

It's just a de-cluttering macro. I didn't think of using
16-bit subtraction/addition, I guess ld de,-12 + add hl,de +
the push and pop is faster than 12 inc/add hl.

Try to running a simple blank screen after this routine. It doesn't =
clear
the entire screen, just the first byte-column.

....!!

I just got an idea, perhaps GrBufCpy sets the LCD in auto-x
increment mode?! I tested it, and yes. If I set auto-y increment
mode again after this routine, everything works as it should again.

Why isn't this mentioned in the TI-83 Plus Developer Guide?!

/Jens





References: