home *** CD-ROM | disk | FTP | other *** search
- .model large,pascal
-
- include ems.inc
-
- .code EMS_TEXT
-
- ;ERR PUBLIC __ErrEmsAlterPageMapAndJump(HEMS hems, BOOL fPhysical, map_and_jump _far *p);
-
- public __ErrEmsAlterPageMapAndJump
- __ErrEmsAlterPageMapAndJump proc uses ds si,\
- hems:word, \
- fPhysical:word, \
- pStruct:ptr word
-
- mov dx,[hems]
- mov ax,[fPhysical]
- cmp ax,1
- sbb ax,ax
- inc ax
- lds si,[pStruct]
- EmsCall 55h ;Only returns if failed
- ret
-
- __ErrEmsAlterPageMapAndJump endp
-
- end