ISR's: HELP ME!!! 
Author Message
 ISR's: HELP ME!!!

Is there a way to pass an address to the setvect() function. My program gets
the segment and offset of the starting address from the user and I want
to start executing a program at that location. I tried the following:

location = MK_FP(segment,offset);
setvect(32, *location);
geninterrupt(32);

This doesn't work!!!

Question 2: Is there anyway to modify IP in C?



Sat, 10 May 1997 10:12:47 GMT  
 ISR's: HELP ME!!!


Quote:
> setvect(32, *location);

Shouldn't this be setvect(32,location)?
Quote:

> Question 2: Is there anyway to modify IP in C?

_asm jmp or goto - this is an unusual program you're writing!
comp.os.msdos.programmer is a nicer, more mallowy group for this question.
-shaun.


Mon, 26 May 1997 20:25:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Hardware Access and ISR'S.......Help

2. ISR's and VC++ 4

3. help debugging ISR function

4. **** Help me on Watcom c and ISR ****

5. Problem with ISR

6. Dynamic Allocation in ISR

7. Using globals in a ISR?

8. Interrupt Service Routine (ISR)

9. malloc, new in a ISR, safe or not ?

10. ISR for Parallel Port

11. * ISR handlers (interrupt handlers) *

12. RS232 DOS ISR

 

 
Powered by phpBB® Forum Software