home *** CD-ROM | disk | FTP | other *** search
- uses dos,crt,tsr;
- {$M $0800,0,0}
- var
- keycode:byte;
-
- {$F+} function tss2:word;{$F-}
- begin
- window(10,4,70,17);
- textbackground(7);
- textcolor(0);
- clrscr;
- gotoxy(5,4);write
- ('Hello World. Today is a great cause for celebration as');
- gotoxy(5,5);write
- ('my TSR program finally works.');
- readln;
- tss2:=0;
- end;
-
- begin
- keycode:=altkey+ctrlkey+leftkey+rightkey;
- tsrinstall('Test Program #2',tss2,keycode,'D');
- end.