Re: A83: buffer magic


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

Re: A83: buffer magic




BC is decremented until it reaches zero so the 768 bytes stored at logo
will be in plotsscreen after the ldir, _GRBUFCPY_V copies plotsscreen
to the display

/Stefan

On Wed, 27 Jan 1999, Man in the Moon wrote:

> 
> Could someone please explain to me how this standard piece of code that
> displays a picture works? Why increament bc? It will neve reach zero using
> ldir. Why use hl, de, and bc, three varibles which appear to have nothing to
> do with each other.
> 
>  ld hl,logo
>  ld de,$8e29
>  ld bc,768
>  ldir
>  call _grbufcpy_v
> 
> From: Chris (Man in the Moon)
> man_in_the_moon@usa.net
> 
> 
> 
> 



References: