[A83] Re: Inverting graph buffer in one time
[Prev][Next][Index][Thread]
[A83] Re: Inverting graph buffer in one time
> Actual routine from Penguins (courtesy Bill Nagel):
>
> invert:
> ld bc,768
> ld hl,plotsscreen
> inv_loop:
> ld a,(hl)
> cpl
> ld (hl),a
> inc hl
> dec bc
Good trick to compare bc with zero...
> ld a,b
> or c
---
> jr nz,inv_loop
>
> ret
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
References: