TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: RAFA GAWENDA
from: STEVE MCCRYSTAL
date: 1996-06-26 18:57:00
subject: How to detect Desqview and others multit18:57:2006/26/96

;
In a msg of , Rafa Gawenda writes to Bob Sewell:
;
Rafa,
 RG> ~[is_os2.bas]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 RG> reg 1,&h4010
 RG> call interrupt &h2F
 RG> if (reg(1) xor &h10) then
 RG>    mtask$="OS/2"
 RG> end if
Have you tried this?  When I run it, the routine returns reg(1) equal to 
&h4010 when run from  an OS/2 VBDM, an OS/2 DOS box, and when booted to real 
DOS.
I found a reference to the INT call in Ralf Brown's interrupt document, and 
it seems to indicate that AX should return &h4010 if OS/2 is *NOT* installed, 
and &h0000 if Warp 3.0 is installed.  However, my experiments seem to 
contradict that, since I'm running Warp.
I'm confused! :^)
-[Steve]-
--- GoldED/2 2.50+/#1057US3
---------------
* Origin: -[Steve's Place]- New Berlin, WI (FidoNet 1:3641/1.202)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.