[comp.sys.ibm.pc.misc] MS-DOS interrupt 10h

jelynch@hubcap.clemson.edu (james e lynch) (01/24/91)

I am writing a TSR program in assembly language for MS-DOS 3.xx that requires knowing the video mode from time to time.  Polling the video mode via int 10h is unacceptable, however, I can poll a variable.  My understanding is that I can rewrite the vectored interrupt for int 10h to jump to a location, update a variable and jump to the normal int 10h location.  Since I am not familiar with writing code to do this, would someone please indicate how to do this or preferably write a procedure/subroutine to do 











it.  Please forward any responses to 

jelynch@hubcap.clemson.edu


since I do not use vnews on a regular basis.


Thank you,


J Lynch: