ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2014/11/13/20:15:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <buzzoff AT nonamewhichexists DOT cmm>
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: <op.xpaip1wymk81un@localhost>
NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019