*cough*Flash Execution Protection*cough*Dwedit wrote:Or possibly something truly ugly: A token hook pointing to an archived program! (assuming the program is designed for execution from any address)
Found that out the hard way...
![Sick :x](./images/smilies/grayscale_sick.gif)
Code: Select all
_strcpy:
ldi
inc bc
ld a,(hl)
or a
jr nz, _strcpy
ret
Code: Select all
or a
sbc hl,de
add hl,de