Date: Tue, 19 Oct 1999 10:46:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Help testing DPMI on OS/2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com I didn't have any response from people who tried my short test program on OS/2. If you can access OS/2 and run the short test program (compiled with DJGPP) whose source is attached below, please report what it printed. Thanks! Please report the results by direct email to my address; I will post a summary to comp.os.msdos.djgpp. Thanks in advance. ------------------------ cut here ------------------------------ #include #include int main (void) { unsigned char cap[128]; int flags; int status = __dpmi_get_capabilities (&flags, cap); if (status == -1) printf ("31h/0401h FAILED!! DPMI error code: 0x%x\n", __dpmi_error); else { printf ("SUCCESS!! FLAGS: 0x%x\n", flags); printf ("DPMI Host version: %d.%d\n", cap[0], cap[1]); printf ("DPMI Host vendor string: `%s'\n", cap + 2); } return 0; }