Re: LZ: How to do self-modifying code?
[Prev][Next][Index][Thread]
At 12:28 PM 8/27/96 -0700, you wrote:
>How do make code that's self modifying ( for high scores? )
>
>Thanx,
>Ryan Myers ( rmyers@teleport.com )
>http://www.teleport.com/~rmyers/
>"Canthus" on DARKWORLD
>
>C> Warning: REALITY.SYS may be corrupt. Reboot universe(y/n)?
I believe all that is necessary is to make the changes in the data within
your program and then tell ZShell to recalculate the checksum when your
program exits. According to zshell.doc, the way you do this is to set bit 0
of ZS_BITS ($8C40). Hope that helps!
Ben
References: