Re: A83: Re: Re: inverse sprite


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

Re: A83: Re: Re: inverse sprite




sorry, of course there should be a

	ld	(hl),a

	too

/Stefan

On Wed, 4 Nov 1998, Stefan Lennartsson wrote:

> 
> Use a routine like this
> 
> 	ld	b,8
> 	ld	hl,sprite
> loop:
> 	ld	a,(hl)
> 	cpl		; If I'm not wrong this inverts a byte
> 	inc	hl
> 	djnz	loop
> 
> /Stefan
> 
> On Tue, 3 Nov 1998 Jkhum98@aol.com wrote:
> 
> > 
> > 
> > In a message dated 11/03/98 8:48:19 PM, electrum@tfs.net writes:
> > 
> > >Then you add something like this:
> > >
> > >xor $ff      ; flip all the bits
> > 
> > Ok, maybe Im wrong about this, but isnt that command on 1 byte? that would
> > only XOR the top line of your 8x8 sprite wouldnt it...?
> > 															--Jason K.
> > 
> 
> 


References: