Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!aplcen!heath From: heath@aplcen.apl.jhu.edu (David Heath) Newsgroups: comp.sys.tandy Subject: Re: Modem routines for the Model 4? Keywords: model 4, trs80, modem routines Message-ID: <669@aplcen.apl.jhu.edu> Date: 6 Feb 89 17:55:59 GMT References: <2807@m2-net.UUCP> <1041@sdcc15.ucsd.edu> Reply-To: heath@aplcen.apl.jhu.edu (David Heath) Distribution: usa Organization: Johns Hopkins University Lines: 35 For low baud rates, this should be easy. I've never tried this, but: Install the com/dvr driver from DOS (set *cl com/dvr), and set up the port with setcom. Then, in basic, do something like: open"i",1,"*cl" open"o",2,"*cl" Then use input#, line input#, or input$() on file 1 to read the rs232 port and use print# or write# on file 2 to write to the rs232 port. See manual on basic file io; it's been years. ------- Dave Heath (heath@aplcen.apl.jhu.edu) Newsgroups: comp.sys.tandy Subject: Re: Modem routines for the Model 4? Summary: Expires: References: <2807@m2-net.UUCP> <1041@sdcc15.ucsd.edu> Sender: Reply-To: heath@aplcen.apl.jhu.edu (David Heath) Followup-To: Distribution: usa Organization: Johns Hopkins University Keywords: model 4, trs80, modem routines For low baud rates, this should be easy. I've never tried this, but: Install the com/dvr driver from DOS (set *cl com/dvr), and set up the port with setcom. Then, in basic, do something like: open"i",1,"*cl" open"o",2,"*cl" Then use input#, line input#, or input$() on file 1 to read the rs232 port and use print# or write# on file 2 to write to the rs232 port. See manual on basic file io; it's been years. ------- Dave Heath (heath@aplcen.apl.jhu.edu)