#include #include static char signature[] = "This is my signature."; unsigned find_tsr_psp(void) { char i, ch, sig_size; unsigned mcb, owner, size, sig_addr, psp_addr = 0; sig_addr = 16 * (_DS - _CS) + 256 + (unsigned) &signature; sig_size = strlen(signature); mcb = getmcb1(); do { ch = peekb(mcb, 0); owner = peek(mcb, 1); size = peek(mcb, 3); if (mcb == owner-1) { /* examine only psp blocks */ for(i=0; i