home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / teseract / source / tsint13.asm < prev    next >
Encoding:
Assembly Source File  |  1988-10-02  |  1.9 KB  |  65 lines

  1. IFNDEF TP4
  2.         PAGE 60,132
  3. ;----------------------------------------------------------------------------
  4. SUBTTL  TesSeRact Revision Level 1
  5. ;-----------------------------------------------------------------------------
  6. ;   TesSeRact(tm) -- A Library of Routines for Creating Ram-Resident (TSR)
  7. ;                    programs for the IBM PC and compatible Personal
  8. ;                    Computers.
  9. ;
  10. ;The software, documentation and source code are: 
  11. ;       Copyright (C) 1986, 1987, 1988 Tesseract Development Team
  12. ;       All Rights Reserved 
  13. ;       c/o Chip Rabinowitz
  14. ;       Innovative Data Concepts
  15. ;       2084 Woodlawn Avenue
  16. ;       Glenside, PA 19038
  17. ;       1-215-884-3373
  18. ;
  19. ;-----------------------------------------------------------------------------
  20. ;   This product supports the TesSeRact Standard for Ram-Resident Program 
  21. ;   Communication.  For information about TesSeRact, contact the TesSeRact 
  22. ;   Development Team at:
  23. ;       Compuserve:    70731,20
  24. ;       MCIMAIL:       315-5415
  25. ;   This MCIMAIL Account has been provided to the TesSeRact Development
  26. ;   Team by Borland International, Inc.  The TesSeRact Development Team
  27. ;   is in no way associated with Borland International, Inc.
  28. ;-----------------------------------------------------------------------------
  29.  
  30. INCLUDE TESS.INC
  31. IFDEF   ALLPUBLIC
  32. INCLUDE tsint13.pub
  33. ENDIF
  34.  
  35. .MODEL small
  36.  
  37. .CODE
  38.  
  39. EXTRN TESS_GLOBALS:byte
  40. EXTRN TESS_USERPARMS:byte
  41.  
  42. PUBLIC newint13
  43.  
  44. ENDIF
  45.  
  46. newint13 proc far
  47.         ASSUMENODS
  48.         pushf
  49.         or      BPTR [INTFLAGS],ININT13 ;signal INT 13 busy ....
  50.         mov     BPTR [WASINT13],1
  51.         POPFF
  52.         pushf                           ;simulate interrupt ...
  53.         call    DPTR [OLDINT13]         ;do the original
  54.  
  55.         pushf
  56.         and     BPTR [INTFLAGS],NOT ININT13
  57.         POPFF
  58.         ret     2
  59.  
  60. newint13 endp
  61.  
  62. ENDIT
  63.