home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / DESQC21.ZIP / DESQC21S.ASM < prev    next >
Assembly Source File  |  1989-07-06  |  1KB  |  59 lines

  1. PAGE 80,132
  2. TITLE DESQview TC and MSC interface, SMALL Model, ver 2.1
  3.  
  4. ; DESQC21S.ASM - DESQview interface routines
  5. ;  by  James H. LeMay, CIS 76011,217
  6. ;  for Eagle Performance Software
  7. ;      P.O. Box 122237
  8. ;      Ft. Worth, TX  76121
  9. ;
  10. ;  conversion to Turbo C by Jordan Gallagher / Wisdom Research
  11. ;
  12. ; These functions are published in the DESQview users manual and
  13. ; have been modified for use with Turbo C and MS C.  Note that some of these
  14. ; routines are useful for direct screen writing utilities like QWKC21.ARC.
  15. ; Only uses approx. 93 bytes of code.
  16.  
  17. .MODEL SMALL
  18.  
  19. _TEXT  SEGMENT WORD PUBLIC 'CODE'
  20.  
  21.     DGROUP GROUP _DATA,_BSS
  22.     ASSUME CS:_TEXT,DS:DGROUP,SS:DGROUP
  23.  
  24. _TEXT  ENDS
  25.  
  26.  
  27. _DATA      SEGMENT WORD PUBLIC 'DATA'
  28. D@         LABEL BYTE
  29. D@W        LABEL WORD
  30. _DATA      ENDS
  31.  
  32. _BSS       SEGMENT WORD PUBLIC 'BSS'
  33. B@         LABEL BYTE
  34. B@W        LABEL WORD
  35. _BSS       ENDS
  36.  
  37.  
  38. _DATA    SEGMENT WORD PUBLIC
  39.          PUBLIC _in_dv
  40.  
  41.          _in_dv  DB  0        ; flag to tell whether DESQview is active
  42. _DATA    ENDS
  43.  
  44.  
  45. _TEXT    SEGMENT WORD PUBLIC
  46.         PUBLIC  _dv_get_version
  47.         PUBLIC  _dv_get_video_buffer
  48.         PUBLIC  _dv_pause
  49.         PUBLIC  _dv_begin_critical
  50.         PUBLIC  _dv_end_critical
  51.  
  52. videoseg   EQU   [bp+4]
  53.  
  54. INCLUDE DSQCMAIN.ASM
  55.  
  56. _TEXT  ENDS
  57.  
  58.         END
  59.