Category : Files from Magazines
Archive   : TSR.ZIP
Filename : STAYI28.410

 
Output of file : STAYI28.410 contained in archive : TSR.ZIP
Inline(
{; 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/ /$74/$25 { Jz NoGo}
/$2E { CS:}
/$F6/$06/>STATUS/ /$75/$1D { Jnz NoGo}
{; 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,[ /$58 { Pop Ax}
/$5E { Pop Si}
/$07 { Pop ES}
/$75/$09 { Jnz NoGo ; Wait for inactivity}
/$2E { CS: ; Have the HotKey}
/$80/$3E/>WAITCOUNT/$00 { Cmp by [ /$E9/$01/$00 { Jmp Go}
{NoGo:}
/$CF { IRET}
{GO: ; Enter the User's Turbo Procedure}
/$2E { CS:}
/$C6/$06/>WAITCOUNT/$00 { Mov by [ /$2E { CS:}
/$FF/$16/>USERPROGRAM { Call [ /$CF { IRET}
{;.......................................................................}
);


  3 Responses to “Category : Files from Magazines
Archive   : TSR.ZIP
Filename : STAYI28.410

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/