delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=message-id:date:from:user-agent:mime-version:to:subject:references | |
:in-reply-to:content-type:content-transfer-encoding; | |
bh=KRUsOHIQ3Bef5/iLniGLb+8zJb0IiCzTkvDJLN5Qbuw=; | |
b=xsGBnoHep0aDX+ajAHkMw4r+wmMOwfEEwQ+2yJrDjN9EuBJTJK9tY7gyUdLV+DK0B3 | |
4pj8ScCLw50hmDi8exJFZ7lrkbzoDCV1oGOEZuHmkaAHKf9NCVjtXpdscfWAXO3fsNSM | |
+xQgldz+ONXdokY74c2cxBXvP/9Iwcq88GwbGUDBO7k6eIg3Tj4Kzsh2p1k6VChTENpU | |
DLkyzjEbJagZyeUpg9Cgxv/DNn178ObE0pYEkJyHKhevwibeIaXxPyOKGrNKCfztcq2z | |
gFTLXoHQWg91V06FIlJn9t/aILAaPrVLjqoT6UK+R+OJVLV9av8YRNeJPoh5vL+D6Aio | |
rFjA== | |
X-Received: | by 10.50.147.10 with SMTP id tg10mr19767142igb.36.1434960493336; |
Mon, 22 Jun 2015 01:08:13 -0700 (PDT) | |
Message-ID: | <5587C26B.6010800@gmail.com> |
Date: | Mon, 22 Jun 2015 04:08:11 -0400 |
From: | "Frank Sapone (emoaddict15 AT gmail DOT com)" <djgpp AT delorie DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
MIME-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Re: Detecting Windows NT in DJGPP |
References: | <201506091712 DOT t59HCPci004068 AT delorie DOT com> <55775E64 DOT 2090901 AT gmail DOT com> <CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ AT mail DOT gmail DOT com> <5579ED42 DOT 6070309 AT gmail DOT com> <CAB9Rao8cvu3hLEf=KsRWn7woXka0F9Aax7uM9Jj5QqCO=1bL8w AT mail DOT gmail DOT com> <5579FE8D DOT 3080501 AT gmail DOT com> <557B436F DOT 1050101 AT gmx DOT de> <fe60143b-fe03-451f-84d4-a7d59a67cefc AT googlegroups DOT com> <d1f33445-bef3-42d5-a343-55fed9868908 AT googlegroups DOT com> <779efaf6-8ebf-4f2a-a526-a2773e3909b4 AT googlegroups DOT com> <4131b54f-b34d-4a84-ada6-3443ed9efce9 AT googlegroups DOT com> <20150618-004800 DOT 313 DOT 0 AT Your-Name-Here DOT News> <fda73a64-d86c-400d-a78d-4d11b067d138 AT googlegroups DOT com> <CAA2C=vCYCjih4r38XZ45TURJPxpKAF40kakFM8iRizDH08QbVQ AT mail DOT gmail DOT com> <65ad24c7-0888-4526-9395-e262f348a021 AT googlegroups DOT com> <5584B697 DOT 60303 AT gmail DOT com> <CAA2C=vDpU5XoXZ=3MNiaE1zY8FEwGm_Cki4bd8mQpBFJ9DZ2Vw AT mail DOT gmail DOT com> <5587B696 DOT 10304 AT gmail DOT com> <CAA2C=vCOrPG=5cSvFn89aqy-1BDu=3TGbVbxXovhrMrTH29RiQ AT mail DOT gmail DOT com> |
In-Reply-To: | <CAA2C=vCOrPG=5cSvFn89aqy-1BDu=3TGbVbxXovhrMrTH29RiQ@mail.gmail.com> |
Reply-To: | djgpp AT delorie DOT com |
> The allegro library (allegro-4.2.3.1, http://alleg.sourceforge.net/) > has a detect_os() procedure in its src/dos/dsystem.c. Its NT detection > is based on environment variable check, though, along with a call to > _get_dos_version(). > > -- > O.S. I was hoping maybe somebody knew of a quirk of using regs to check a value that NTVDM would only give back. Frank
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |