qa.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.
NewCritErr
   Example  Back  Contents  Index
──────────────────────────────────────────────────────────────────────────────
 
;* NewCritErr - A primitive handler for Interrupt 24h that can take control
;* when a critical error occurs during a DOS operation. For an example of
;* how to use such a handler and install its address into the interrupt
;* vector table, see the MiscDemo program and the Exec example procedure.
;*
;* Shows:   DOS Interrupt - 24h (Critical-Error Handler Address)
 
NewCritErr PROC
 
        sub     al, al                  ; Tell DOS to ignore error
        iret                            ; Return from handler
                                        ;   without taking action
NewCritErr ENDP
                                    -♦-