TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Edwards
from: Phil Crown
date: 1995-12-06 14:12:34
subject: fast comms

PE> I have an application that writes a byte-at-a-time to the comm
 PE> port.  This works fine under DOS, but under OS/2 it requires an
 PE> OS call, which is not fine at all!!!  What is the simplest way
 PE> to overcome this problem, and please don't suggest that the

Check out pmtermsr.lzh by Peter F.

10-13-95   3:23a     29332           0  Pmtermsr.Lzh

Its a very basic TTY terminal, but it is excellent code! :-)

It has a good example of a read thread.  Writing is easy depending on what
you're doing, just call DosWrite() but write as many chars as are in the
buffer.

phil.crown{at}bluecafe.com


--- Blue Wave/Max v2.22b
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 124/1208 1 396/1 270/101 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™.