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.
Print Screen and BOUND Overflow Interrupt
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     A handler for Int 05h can distinguish between BOUND errors and
     print screen requests with the following steps:
 
       1. Read the return address from the stack.
       2. Examine the two bytes immediately preceding the instruction
          at the return address.
       3. If the two bytes equal CDh 05h (Int 05h instruction), the
          call is a request for PRINT SCREEN. In this case, the handler
          should pass control to the BIOS routine to service the
          interrupt.
                                    -♦-