Article View: alt.msdos.programmer
Article #85INDOS-flag
From: Fredrik Gunne
Date: Tue, 11 Aug 1992 21:06
Date: Tue, 11 Aug 1992 21:06
13 lines
1098 bytes
1098 bytes
I'm trying to learn how to make TSRs. One of the biggest problem I have, is how to use DOS-functions in my TSR (e.i INT 21h). I've learned that because DOS is not reentrant you cannot call any DOS-function at anytime. How can I determine if it's safe to call DOS? One way to (I`ve heard) is to check the INDOS-flag, returned by a DOS-function (!). But I havent made I work yet. Should I get the pointer for the flag everytime I wish to check it, or is it sufficient to call the Get INDOS-flag function once? Are there any other ways to determine what DOS is up to. The DOS-idle interrupt has appearently something to tell me, but what? Bye! Fredrik Gunne
Technical Details
Message-ID:
<1992Aug11.210641.24154@kth.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!nada.kth.se!d90-fguShow Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!nada.kth.se!d90-fgu From: d90-fgu@nada.kth.se (Fredrik Gunne) Subject: INDOS-flag Message-ID: <1992Aug11.210641.24154@kth.se> Keywords: PC, MSDOS, TSR, interrupt, DOS Sender: usenet@kth.se (Usenet) Nntp-Posting-Host: hei.nada.kth.se Organization: Royal Institute of Technology, Stockholm, Sweden Date: Tue, 11 Aug 1992 21:06:41 GMT Lines: 15