http://www.ousob.com --- Legacy Redefined #include <dos.h> #include <extend50.h> CLIPPER b_xmsmem() { union REGS regs; regs.h.ah = 0x42; int86(0x67,&regs,&regs); _retnl( (long)(regs.x.dx * 16 * (long)1024) ); }