Re: A82: Contrast


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

Re: A82: Contrast



At 06:11 PM 8/20/97 +0200, you wrote:
>Hi!
>I want to add a flashing effect to my game, and I figure that using the
>contrast would be the most effective way. Does anyone have any routine for
>this (I have ROM version 18)?
>
>
>Erik 

Check 82-ports.txt for the cool way to do it, there is also a mem address
that holds the contrast, I've never messed much with this though. A nice
flashing effect can be added by going through GRAPH_MEM and xor'ing each
byte with $ff, which will reverse (black pixels->white, white->black) the
screen, then do that again to restore it to it's previous state.

	-Andrew


Follow-Ups: References: