| |

VerySource

 Forgot password?
 Register
Search
View: 738|Reply: 2

The modification of the interrupt service routine entry address is always valid?

[Copy link]

3

Threads

10

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-1-19 01:40:02
| Show all posts |Read mode
Write a program, rewrite the entry address of an interrupt service routine, and transfer to another piece of code.The entry address of the original interrupt service routine is not restored in the code.

but:
   When the program finishes running, exit debug; enter debug again and find that the address of the interrupt service program is still the original address, and it is not repaired after X is changed.

Question: How can I make this change permanent?
Reply

Use magic Report

3

Threads

10

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-2-2 10:27:02
| Show all posts
One by one
The above question should be related to the memory residency problem! ?

How can I make my program still valid after running, so that the interrupt service routine will be executed from the new entry address
!!

Thank you for your enlightenment! Anxious, wait!
Reply

Use magic Report

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-2-8 08:15:01
| Show all posts
It should be debug the protective recovery of some system critical interrupts. If you run the program directly, except for int22h / 23h / 24h, other interrupts can be permanently modified. These three dos vectors are not modified by the current program itself Use, should be restored after dos program
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list