A86: Re: self-modifying code


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

A86: Re: self-modifying code




 ld hl,prog_name
 rst 20h
 rst 10h
 ld de,hiscore-$d748
 add hl,de            ;this wont work if its spread over more than one page
 
now load the code from hiscore into the program

>how can you make self-modifying code?
>
>(like to store a high score or a saved game or something)