| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | COMM routines |
CG> First off, I've heard that native OS/2 software CG> does not need a fossil CG> driver.. is this true? Either way, where can I find CG> info on how to A) make my CG> own routines and/or B) use fossil routines? Thanks! *Real* operating systems do ALL I/O as if it were File I/O. ;-) So, there is no inportb/outportb type of functions, it is purely a file operation. Obviously there are a few things you can't do with files... like set a baud rate, send a break, change to RTS/CTS flow control, etc. Thus we introduce a "kludge" - a generic "interrupt" routine, DosDevIoCtl. I would recommend getting a few wrapper functions - possibly a wrapper class if you use C++ - just to make the code more readable. A commercial example of this is the Greenleaf Comm and Greenleaf Comm++ for C and C++, respectively. A freeware C example is something I got from Daniel Lynes via the internet, oh, over a year ago I believe now. ;-) If you want the communication routines, which he claimed to be in the PD (since he didn't write them either), I can send them to your email address, or, possibly, you could get them from Daniel who may have more "up to date" files. ;-) Of course, if Daniel reveals to me that they aren't PD quite yet, and I had just talked him into it at the time, then I'll have to rescind that offer... However, hope is not lost: if you have SIO, there are some excellent docs on the DosDevIoCtl function there. Combined with OS/2's documentation for the API, you should be set to write your own wrapper. One o' these days I'm going to take the source and rewrite it into a class... ;-) BTW, I just found the text file... ACL (Asynchronous Communications Library) is developed by someone named Merrick Schincariol... --- Maximus/2 3.01* Origin: Tanktalus' Tower BBS (PVT) (1:342/708) 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 517 628 713/888 800/1 @PATH: 342/5015 61 3615/50 396/1 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™.