Re: Clever ways to hide a compare




"jonathon" <spamtrap@xxxxxxxxxx> skrev i meddelandet
news:1127782507.845470.77920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Jim Leonard wrote:
>> I was wading through an old game the other day and found a section
>> of
>> code that grabbed two values and XOR'd them, then kept track of the
>> zero flag through a series of convaluted steps designed to obscure
>> what
>> he was doing. (When you XOR two identical bytes, the result is
>> zero.)
>
> Now that's the stuff I'm interested in. What kind of stuff was he
> using to obscure, and did he just save the status register flags and
> then reload them later?
>

And why would you want a copy protection scheme that can be understood
in 10 minutes?


Bo Persson


.



Relevant Pages