Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - dos 2+ internal - return critsectflag (indos) pointer http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ internal - RETURN CritSectFlag (InDOS) POINTER
        AH = 34h
Return: ES:BX -> 1-byte DOS "Critical Section Flag", also known as InDOS flag
Notes:  when the critical section flag is nonzero, code within DOS is being
          executed.  It is safe to enter DOS when both the critical section
          flag and the critical error flag are zero.
        The critical error flag is the byte after the critical section flag in
          DOS 2.x, and the byte BEFORE the critical section flag in DOS 3.x
          (except COMPAQ DOS 3.0, where the critical error flag is located 1AAh
          bytes BEFORE the critical section flag)
        For DOS 3.1+, an undocumented call exists to get the address of the
          critical error flag (see AX=5D06h)
SeeAlso: AX=5D06h, AX=5D0Bh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson