TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Grillet
from: Mike Bilow
date: 1995-08-21 23:37:58
subject: Re: system lockups

Andrew Grillet wrote in a message to Mike Bilow:

 MB> It might be
 MB> worth writing an example VDD that traps CLI, and then offers an option
 MB> in the notebook settings for disabling it.  Is there any legitimate
 MB> reason you can think of for a DOS program running in an OS/2 window to
 MB> actually do CLI?

 AG> I have some stuff that uses the parallel port to emulate
 AG> IEEE488 and other such like things. This needs to CLI to get
 AG> H/W timing right. 

 AG> I run it in a DOS box, cos I havn't had time to port it to
 AG> OS/2 yet. 

You have no business doing things like this under OS/2.  You can't even
grab a hardware interrupt from a DOS box, but can only get it reflected. 
This changes a code path that could be a few bytes long to one that is
hundreds of bytes long, and this blows away your timing constraints anyway.
 Properly, you should do this with a device driver.
 
-- Mike


---
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 323/107 150 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

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™.