Thanks, Ben! I understand it now. Regards, Vesselin
P.S. Slight correction - the Phage virus copies its data 0, code 1 *and* code 0 resources to the applications it infects - I just looked at the code and that's what it does explicitly. Its descriptions at the various anti-virus sites are slightly incorrect - some claim that it copies only its code resource; others claim that it copies *all* its code and data resources. It's obviously written in Pila - neither CodeWarrior nor the gcc compiler would generate the kind of startup code it has, and the startup code is immediately at the beginning (but the pea/add/rts stuff before it is still present), which neither of these two compilers does. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
