Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site sdcsvax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!whuxlm!akgua!sdcsvax!rfox
From: rfox@sdcsvax.UUCP (Richard Fox)
Newsgroups: net.micro.cbm
Subject: modem - assembly
Message-ID: <570@sdcsvax.UUCP>
Date: Mon, 7-Jan-85 13:52:22 EST
Article-I.D.: sdcsvax.570
Posted: Mon Jan  7 13:52:22 1985
Date-Received: Fri, 11-Jan-85 08:09:08 EST
Organization: EECS Dept. U.C. San Diego
Lines: 25

I have a question dealing with open files in assembly language and the rs232.

I would like to re-write my basic term program into assembly language.

To do this I need to have 2 opened output devices and 2 opened input devices.
The routines will be structured like this:

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?


All suggestions welcomed

thanks
rich