Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

indirect far jmp - calling old INT problem (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 14.05.2012, 20:21

> Which is why you may need to be careful when using the INT 85h approach,
> and make sure the flags in your code immediately before you issue the call
> are what they should be (the same as what's at your [BP+6]), e.g.:

This will set the Interrupt Flag and/or Trap Flag too early (inside your code) if they were clear for your entry and set for the calling code. Right here, that might not be a concern, but in general this is incorrect and should be avoided (especially if your handler does not return to the caller right after the call it made has returned).

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum