
Make a TSR don't detected by DOS
Quote:
> Can someone tell me how can I (if it's posible) to make a TSR program
> that stays in memory but when you type: mem in DOS you can't see it.
> I'm thicking this must be made with out the DOS, no?. Please send source
> too.
> Thanks
That can easily be done. If you have (like I do) 639Kb available
to DOS, then the last Kb is probably used by the BIOS, but it only uses a few
bytes there, so you have almost 1Kb to store anything you want, and
nobody (DOS) will know about it.
Also you could search for the environment segment of some TSR
that didn't free it, and fit your TSR in it. I haven't tried this, but I
guess it'd work. I would also fill the holes in memory that stupid TSR's
leave when they don't free their env segment.
Another way would be to change the MCB previous to yours,
modifying the size of the block, so that your code becomes part of
someone else's code, so your program will be hidden...
Hope it helps,