Category : Assembly Language Source Code
Archive   : ASMDRV.ZIP
Filename : INT29H.ASM

 
Output of file : INT29H.ASM contained in archive : ASMDRV.ZIP
;
;code to perform fast console I/O
;
int29h: sti ;re-enable interrupts
push ax ;save ax
push bx ;save bx
mov bl,07h ;white on black attribute
mov ah,0Eh ;Write character as TTY
int 10h ;Video BIOS interrupt
pop bx ;restore bx
pop ax ;restore ax
iret ;interrupt return

;
;initialize the interrupt vector for 29h
;points to the routine labelled int29h
;
set29h: mov bx,0A4h ;address of int 29h
lea ax,int29h ;offset address (int29h)
mov [bx],ax ;set int 29h offset
mov [bx+2],cs ;set int 29h segment


  3 Responses to “Category : Assembly Language Source Code
Archive   : ASMDRV.ZIP
Filename : INT29H.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/