Category : Files from Magazines
Archive   : FEB91.ZIP
Filename : 2N02009A

 
Output of file : 2N02009A contained in archive : FEB91.ZIP
; a typical real-mode universal software interrupt

; intno bp+6 the interrupt to be executed
; regs bp+8 (offset) pointer to structure containing
; bp+0ah (segment) register values

; alias_cs initialized to 0

pubproc typical_int86
;
; save the registers that need to be saved here
;

; modify the doint procedure

mov ax, [bp].intno ; get interrupt #
mov bx, offset doint ; get the address of the int instruction
mov cs: [bx+1], al ; write the new interrupt number into
; the code right after the int instruction
;
; load the registers from the regs structure
;
call near ptr doint ; call the modified interrupt routine
;
; save the registers back into the regs structure
;
ret
endproc typical_int86

doint proc near
int 10h
ret
doint endp


  3 Responses to “Category : Files from Magazines
Archive   : FEB91.ZIP
Filename : 2N02009A

  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/