home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / vm / src / ems / ems56.asm < prev    next >
Encoding:
Assembly Source File  |  1993-12-13  |  454 b   |  27 lines

  1.     .model    large,pascal
  2.  
  3.     include ems.inc
  4.  
  5.     .code    EMS_TEXT
  6.  
  7.     ;ERR PUBLIC __ErrEmsAlterPageMapAndCall(HEMS hems, BOOL fPhysical, map_and_Call _far *p);
  8.  
  9.     public    __ErrEmsAlterPageMapAndCall
  10. __ErrEmsAlterPageMapAndCall    proc    uses ds si,\
  11.     hems:word,            \
  12.     fPhysical:word,         \
  13.     pStruct:ptr word
  14.  
  15.     mov    dx,[hems]
  16.     mov    ax,[fPhysical]
  17.     cmp    ax,1
  18.     sbb    ax,ax
  19.     inc    ax
  20.     lds    si,[pStruct]
  21.     EmsCall 55h
  22.     ret
  23.  
  24. __ErrEmsAlterPageMapAndCall    endp
  25.  
  26.     end
  27.