TSR programming in Borlands Turbo Pascal 6.0

--
Mogens

How to make a program TSR in Borlands Turbo Pascal 6.0

Try to do it this vay.

Program Keyboard;
Uses dos;
{$M 1024,0,0} { save space for other programs }

Procedure Iin0CHandler; interrupt;
        { This procedure will stay resident as INT0C }
        { $0C is the baseadress of COM3 interrupt vector }
        { make yor program and use a nonused vector }
Begin

End;

Begin
SetIntVec($0C,@Int0Chandler);

keep(0)  {!! this line make your applikation TSR. }
end.

Regards Mogens.
mogens.laur...@hassleholm.mail.telia.com