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)" 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> <5579ED42 DOT 6070309 AT gmail DOT com> <5579FE8D DOT 3080501 AT gmail DOT com> <557B436F DOT 1050101 AT gmx DOT de> <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> <65ad24c7-0888-4526-9395-e262f348a021 AT googlegroups DOT com> <5584B697 DOT 60303 AT gmail DOT com> <5587B696 DOT 10304 AT gmail DOT com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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