Category : Files from Magazines
Archive   : TSR.ZIP
Filename : STAYI28.410
{; STAYI28.400}
{;------------}
{; Routine to Invoke User Code When HotKey or DOS idle}
$5D { Pop Bp ; Remove Turbo Prologue}
/$5D { Pop Bp}
/$9C { Pushf}
/$2E { CS:}
/$FF/$1E/>DOS_INT28 { Call dw [>DOS_INT28] ; Invoke Original INT 28}
/$2E { CS:}
/$F6/$06/>STATUS/
/$2E { CS:}
/$F6/$06/>STATUS/
{; If Not already waiting I/O, not already in use, and HotKey received}
{; see if DOS is now interruptable}
{ChkIO:}
/$06 { Push ES ; Save registers}
/$56 { Push Si}
/$50 { Push Ax}
/$2E { CS:}
/$C4/$36/>DOSSTAT2 { LES SI,[>DOSstat2] ; Fetch DOS Critical status byte}
/$26 { ES:}
/$AC { LodSb}
/$2E { CS:}
/$0A/$06/>INTR_FLAGS { Or Al,[
/$5E { Pop Si}
/$07 { Pop ES}
/$75/$09 { Jnz NoGo ; Wait for inactivity}
/$2E { CS: ; Have the HotKey}
/$80/$3E/>WAITCOUNT/$00 { Cmp by [
{NoGo:}
/$CF { IRET}
{GO: ; Enter the User's Turbo Procedure}
/$2E { CS:}
/$C6/$06/>WAITCOUNT/$00 { Mov by [
/$FF/$16/>USERPROGRAM { Call [
{;.......................................................................}
);
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/