Category : C++ Source Code
Archive   : VMVCPP.ZIP
Filename : EMS4E03.ASM
include ems.inc
.code EMS_TEXT
;ERR PUBLIC __ErrEmsGetSizeOfPageMap(PBYTE pcbPageMap);
public __ErrEmsGetSizeOfPageMap
__ErrEmsGetSizeOfPageMap proc \
pcbPageMap:ptr byte
mov ax,4E03h
int 67h
;AL = size of page map array
les bx,[pcbPageMap]
mov es:[bx],al
xchg al,ah ;AL = Error code
cbw ;AH = 00 or FF
or ax,ax ;Any error
jz Exit ;Brif not, return errNoError = 0
add ax,errEmsBase-0FF80h ;Map to ERR value
Exit:
ret
__ErrEmsGetSizeOfPageMap endp
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/