The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: avcaballero on July 21, 2005, 03:26:29 PM

Title: vector interrupt
Post by: avcaballero on July 21, 2005, 03:26:29 PM
Hello

I want to develop a program that seach free vector in vector interrupt table and introduce in it the offset of my ISR and then probe it within my program. The code is in the file (comments in spanish, sorry, if any problem i can translate it). But this program doesn't work. Is it not possible to do it whitout using resident tools?.

Thank you.

P.D. PRNBHEX is an proc that prints an hex byte value and "PrintMens" is a macro that uses function 09h of int 21h to print a string.



[attachment deleted by admin]
Title: Re: vector interrupt
Post by: avcaballero on July 22, 2005, 08:33:29 AM
By the way

"PUSHF" in line 29 must be erased, I forgot there because I tried with "PUSHF" and far call.
Title: Re: vector interrupt
Post by: avcaballero on July 22, 2005, 09:03:05 AM
I apologize. This was a stupid mistake. This code has an stupid lack. Now the program goes right :dance: