X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Possible issue with CWSDPMI's VCPI check Date: Thu, 13 Nov 2014 20:07:03 -0500 Organization: Aioe.org NNTP Server Lines: 30 Message-ID: NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Bytes: 1701 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I was working on some assembly code unrelated to DJGPP. I just noticed that MS-DOS v7.10 (Windows SE) reports VCPI is installed even when I have both NOVCPI and NOEMS parameters on my EMM386.EXE line in CONFIG.SYS. For my assembly code call to Int 67h, AX=DE00h, MS-DOS v7.10 returns AH=0 (installed) if EMM386.EXE was loaded, both with and without the NOVCPI NOEMS parameters. This means the code below from main1() in CONTROL.C for CWSDPMI doesn't work as it appears it should work. DOS does seem to disable VCPI with NOVCPI NOEMS. DJGPP's GREP against a bunch of files quietly exited without displaying results which should've been found, and without CWSDPMI emiting the error message. use_xms = xms_installed(); ems_init(); if (cpumode()) { /* We are in V86 mode */ if (!(vcpi_installed = vcpi_present())) { ems_free(); errmsg("Protected mode not accessible.\n"); exit(1); } } Rod Pemberton