Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 33h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   33h
 
  Title:       Get or Set Break Flag
 
  Description:
 
     Obtains or changes the status of the operating system's Break
     flag, which influences CTRL+C checking during function calls. Also
     returns the system boot drive in version 4.0.
 
     Input                                      Output
 
     If getting Break flag                      DL = 00h (Break flag
       AH = 33h                                           is OFF)
       AL = 00h                                    = 01h (Break flag
                                                          is ON)
     If setting Break flag
       AH = 33h
       AL = 01h
       DL = 00h (if turning Break flag OFF)
          = 01h (if turning Break flag ON)
 
     Notes:
          AL will be FFh on exit if an invalid function number was
             entered in AL on entry.
          To get the boot drive, put 5 in AL on entry. The boot drive
             number will be in DL on exit (drive A = 1, drive B = 2)
                                    -♦-