[comp.lang.pascal] Communication routines for TP programs

cbwood@churchy.gnu.ai.mit.edu (Clifton B. Wood) (04/30/91)

Hello, I am working on some kind of terminal/BBS program, and I was wondering 
on appropriate COM routines.

I am currently using some PD routines with ASM hooked vectors, but at times, I
need to drop out of the main program and load up external programs (ie doors)
with their OWN communication routines which causes (sometime)rather nice 
conflict in DOS. 

I was wondering if a) this problem could be prevented with my current routines
or b) how would I go about writing routines that could handle relinquishing
control of the comport if other programs (either shelled to or completely 
external) need it for the duration of that programs run, at which time, the
routines would then grab hold of the COMPORT again and resume BBS function.

The more and more I look at this problem, the more and more I'm afraid I'll
have to do this in ASM.

Thanks

----------------------------------------------------------------------------
The opinions in this article are my humble own. Critiques and comments welcome.
Flames can be forwarded to Mrnobody@c.pointer.NULL because I don't particularly
care for them!   ;)

				Cliff
				cbwood@gnu.ai.mit.edu
				aralyn@eddie.ee.vt.edu

"And remember, my son: Nothing is ever absolute..."
said the teacher before he dissappeared from this plain like a passing tought
through an open mind.

"Purple Rain! Purple Rain!" -- Prince, probably one of the best musical talents
who has ever lived.