TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mikko Hyvarinen
from: Allan Mertner
date: 1996-08-14 13:15:58
subject: Re: VP/2 com ports (Was: Speed Pasc

Hej Mikko!

Friday August 09 1996, Mikko Hyvarinen writes to Allan Mertner:

 MH> In OS/2 there are things that look like a physical COM port but are
 MH> actually something quite different. This includes VModem ports, CFOS
 MH> (ISDN) ports and COM ports redirected via LAN. If you try direct I/O on
 MH> these, you'll fail miserably. In addition direct I/O isn't exactly
 MH> multi-tasking friendly.

True.  However, for the purpose of porting DOS code to OS/2, it makes life
easier if the compiler accepts the port[] array initially.  Once the
program is up and running, it is your right to make it more OS/2-friendly
by replacing the Port[] accesses with DosDevIOCtl calls.  We just like to
provide our users with the functionality required to make porting as easy
as possible - and DosDevIOCtl calls certainly are not painless for the
uninitiated...

Yours,
Allan

--- GoldED 2.50+
* Origin: Gravity is a myth: Earth Sucks! (2:254/283)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 254/283 259 442/403 255/1 440/4 141/209 270/101 712/515 711/808 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™.