Category : Files from Magazines
Archive   : TSRPLUS.ZIP
Filename : INIT.ASM

 
Output of file : INIT.ASM contained in archive : TSRPLUS.ZIP
; ------------- init.asm

_data segment word public 'data'
extrn _old2f:dword
extrn _oldvideo:dword
_data ends

_text segment byte public 'code'
_codeend label byte ; --- address of the top of init code
public _sendvectors
public _codeend
extrn old2f:dword
extrn oldvideo:dword
; -- function to post old vector pointers into cs: space pointers
_sendvectors proc near
les bx,dword ptr ds:_old2f
mov word ptr cs:old2f+2,es
mov word ptr cs:old2f,bx
les bx,dword ptr ds:_oldvideo
mov word ptr cs:oldvideo+2,es
mov word ptr cs:oldvideo,bx
ret
_sendvectors endp

_text ends

end


  3 Responses to “Category : Files from Magazines
Archive   : TSRPLUS.ZIP
Filename : INIT.ASM

  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/