[A83] Re: Inverting graph buffer in one time


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

[A83] Re: Inverting graph buffer in one time




>From: "TypeR unknown" <typerfuture@hotmail.com>
>
>I think it was the game pinguin, where I saw that in the intro screen the
>entire screen was inverted a couple of times. Is this some mode flag, or
>some routine?
>If it was a routine can somebody than please explain it to me?
>
>Thanks...
>

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
     ld   a,b
     or   c
     jr   nz,inv_loop

     ret


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Follow-Ups: