🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #14529

COM1/COM2 programming problem

#14529
From: cjdb
Date: Sun, 23 Nov 1986 00:19
23 lines
1715 bytes
Scenario: I am modifying a communications program that uses COM1 only
for serial communications. I have added push/pop capability to this
program, to allow a user to use go out over COM2 for a brief period,
then return to a database search on COM1. The program that is used to
go out over COM2 is, incidentally, Crosstalk.

Problem: When returning to the session on COM1, the first response to
any command is garbage. One has to drop DTR and logon anew, precisely
what the user wants to avoid. Now, after the user "exits" from DOS back
to my program, I make sure that I reset INT 0Ch to point back to my
interrupt routine, and I re-enable IRQ4 on the 8259. I assume COM1 is
configured as I set it, since the Crosstalk session is configured to
go out over COM2. So what could be wrong? If anyone has any
suggestions, especially about how to proceed about this in a
well-behaved way, I'd sure appreciate them.

Note: If I push out of my program and do some editing, then exit back
to the session, the session is still there. The garbage occurs only if
another communications program has been run.

-- 
Charles Blair   			    ..!ihnp4!gargoyle!sphinx!cjdb
The University of Chicago		    lib.cb%chip@UChicago.Bitnet
Technical Details
Message-ID: <837@sphinx.UChicago.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!gargoyle!sphinx!cjdb

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!gargoyle!sphinx!cjdb
From: cjdb@sphinx.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: COM1/COM2 programming problem
Message-ID: <837@sphinx.UChicago.UUCP>
Date: Sat, 22-Nov-86 19:19:08 EST
Article-I.D.: sphinx.837
Posted: Sat Nov 22 19:19:08 1986
Date-Received: Sun, 23-Nov-86 07:44:36 EST
Distribution: na
Organization: University of Chicago Library Computer Systems
Lines: 23