Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!europa.asd.contel.com!gatech!rutgers!modus!otello!gear!cadlab!martelli From: martelli@cadlab.sublink.ORG (Alex Martelli) Newsgroups: comp.dcom.modems Subject: Re: 16550A UART, Needed? (HOW CAN I WRITE AN APP. FOR...) Message-ID: <865@cadlab.sublink.ORG> Date: 24 May 91 08:01:25 GMT References: <1991May21.163229.6631@netcom.COM> <1991May22.000143.3599@qualcomm.com> <6518@vela.acs.oakland.edu> Organization: CAD.LAB, Bologna, Italia Lines: 21 rdthomps@vela.acs.oakland.edu (Robert D. Thompson) writes: ... : Can anyone provide information on how to write a communications : application that will support the 16550A? (Software-reuse fanaticism warning:-) Grab a copy of the appropriate FOSSIL driver, such as the BNU TSR program for Dos, from your nearest Fidonet node, and program to its interface, which is very simple; IT will support 16550's FIFOs for you. I think you can also find BNU on simtel. Similarly, if you're on Unix, grab the FAS208 ('Final Async Solution') device driver, and configure *that* into your kernel; then, in your application, just read and write the /dev/ttywhatever - FAS will exploit the 16550 itself. In general, appropriate support for clever (or braindamaged, for that matter) hardware is in the *device drivers*; *application* programmers should be able to stick to *application* concerns... -- Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 53, Bologna, Italia Email: (work:) martelli@cadlab.sublink.org, (home:) alex@am.sublink.org Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; Fax: ++39 (51) 366964 (work only), Fidonet: 332/407.314 (home only).