please dont rip this site

Function 25h Set Interrupt Vector

Sets the address of the code DOS is to perform each time the specified

interrupt is invoked.

entry AH 25h

AL int number to reassign the handler to

DS:DX address of new interrupt vector

return none

note 1) Registers are unchanged.

2) No error codes are returned.

3) The interrupt vector table for the interrupt number specified in AL

is set to the address contained in DS:DX. Use function 35h (Get Vector)

to get the contents of the interrupt vector and save it for later use.

4) When you use function 25 to set an interrupt vector, DOS 3.2 doesn't

point the actual interrupt vector to what you requested. Instead, it

sets the interrupt vector to point to a routine inside DOS, which does

this:

1. Save old stack pointer

2. Switch to new stack pointer allocated from DOS's stack pool

3. Call your routine

4. Restore old stack pointer

The purpose for this was to avoid possible stack overflows when there

are a large number of active interrupts. IBM was concerned (this was an

IBM change, not Microsoft) that on a Token Ring network there would be

a lot of interrupts going on, and applications that hadn't allocated

very much stack space would get clobbered.




file: /Techref/INT/21f/25.htm, 1KB, , updated: 1999/2/20 10:26, local time: 2024/12/21 08:07,
TOP NEW HELP FIND: 
3.145.59.127:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/INT/21f/25.htm"> INT 21f 25</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .