Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

of TSR powers & limits (Developers)

posted by Ninho E-mail, 25.05.2011, 11:24

>> Alternatively, what about temporary cheating the INDOS flag "up"> (instead
>> of CLI) ?

> I don't think that would really be of any use. It might prevent
> interference by some TSRs which check for InDOS before issuing
> 21.48/.49/.4A but it's not a good solution. (In fact, I think protecting
> critical sections by the InDOS flag is generally not a good idea and should
> only be done if really necessary.)

Aren't you pushing it for the sake of argument ? I mean, your hypothetical TSR monitoring other programs' use of resource cannot even try to interfere in the middle of a DOS operation (except for well known cases). Even if its purpose is only to record, not modify things, doing so while INDOS would me meaningless.

> All in all, design it so that there are no critical sections during which
> it leaves data in free memory. Then you won't have to think up kludges to
> protect such critical sections either.

Now the price being cases where it won't be able to run for lack of memory. Of course that is more theoretical than practical for our little keyboard helper!

Just FYI finalising will be delayed by important personal matters, meanwhile potential users can rely on the last version adverstised in the Announcements section.

---
Ninho

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 179 users online (0 registered, 179 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum