Xref: utzoo comp.sys.ibm.pc:54641 comp.sys.ibm.pc.misc:5781 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!hubcap!jelynch From: jelynch@hubcap.clemson.edu (james e lynch) Newsgroups: comp.sys.ibm.pc,comp.sys.ibm.pc.misc Subject: MS-DOS interrupt 10h (Video) Keywords: MS-DOS, INT 10h, TSR Message-ID: <12767@hubcap.clemson.edu> Date: 23 Jan 91 23:27:20 GMT Organization: Clemson University, Clemson, SC Lines: 12 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: