🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #13644

MS-DOS interrupt 10h (Video)

#13644
From: james e lynch
Date: Wed, 23 Jan 1991 23:27
24 lines
1189 bytes
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:
Technical Details
Message-ID: <12767@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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