Free XMS
- Posted by Greg Harris <blackdog at CDC.NET> Aug 13, 1997
- 806 views
Hello all, I need a function to detect the amount of free xms memory during a program. I know how to detect if XMS driver is loaded and to get the driver Entry Point using interrupt 2Fh, however I do not know how to do a assembly function in Euphoria. The assembly looks something like this xmaadress is the 32 bit address of the entry point. dx stores the amount of free xms in K pushad mov ah, 08h call [xmaadress] mov [freemem], dx popad ret I need to be able to return the freemem value. Thanks for the help in advance, Greg Harris