Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site amdahl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!hao!hplabs!hpda!fortune!amdcad!amdahl!dwl10 From: dwl10@amdahl.UUCP (Dave Lowrey) Newsgroups: net.micro.cbm Subject: Re: modem - assembly Message-ID: <898@amdahl.UUCP> Date: Wed, 9-Jan-85 09:41:49 EST Article-I.D.: amdahl.898 Posted: Wed Jan 9 09:41:49 1985 Date-Received: Sat, 12-Jan-85 00:45:31 EST References: <570@sdcsvax.UUCP> Organization: Amdahl Corporation, Columbia MD Lines: 27 > > rs232 - input - open > screen -output - open > > --------------------- > keyboard - input - open > rs232 -output - open > > > To keep switching my input and output files do I have to close the rs232 > and then reopen it or can I just keep switching which channel is now the > input/output channel without closing the other one? There is no need to CLOSE and OPEN the files to switch back and forth. Use CHKIN to switch input files, and CHKOUT to switch output files. Just load the X register with the file number (not device number) of the desired input/output file then call the routine. -- ----------------------------------------------------------------------- Dave Lowrey "GORT...Klatu borada niktow" ...!{nsc,sun,hplabs,ihnp4}!amdahl!dwl10 [ The opinions expressedbe those of the author and not necessarily those of his most eminent employer. ]