home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.archives.msdos.d
- Path: sparky!uunet!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!convex!constellation!a.cs.okstate.edu!boone
- From: boone@a.cs.okstate.edu (Barry E. Boone)
- Subject: Re: Bug in Telix 3.20 found.
- References: <BPi1VB1w165w@vicuna.ocunix.on.ca>
- Message-ID: <1992Dec20.175044.26565@a.cs.okstate.edu>
- Organization: Oklahoma State University
- Date: Sun, 20 Dec 92 17:50:44 GMT
- Lines: 45
-
- From article <BPi1VB1w165w@vicuna.ocunix.on.ca>, by frampton@vicuna.ocunix.on.ca (Steve Frampton):
-
- > There is a new feature that allows you to swap the Telix program to
- > XMS or disk to make room for the OS shell. I recommend you not use
- > this feature, as it has a bug.
- >
- > I have noticed, under OS/2 2.0 (but most likely under DOS as well) that
- > if you try and make an outgoing call, then ALT-J (with the aforementioned
- > feature enabled) to shell to DOS; if you work away and then a connection
- > is established (or the modem reports that the line is BUSY) this causes
- > the session (or, in DOS's case, possible the entire machine) to freeze
- > up and require rebooting.
- >
- > I believe this is caused by:
- >
- > - COM interrupt possibly hooked by Telix to provide buffer management
- > when Telix begins.
- > - User uses ALT-J to shell to DOS, Telix swaps itself out of memory,
- > COM port generates an IRQ while user is working in DOS, the IRQ causes
- > a jump to the Telix handler (which has been swapped out of memory and
- > potentially replaced by new code, data, or garbage).
- > - CRASH!
-
- The crash problem you are having is probably caused by a flow control
- problem... I have observed the following behavior from Telix:
-
- If I do not enable EMS swapping, when I shell to DOS, flow control to the
- modem remains ENABLED.
-
- If, however, I DO enable EMS swapping, then when I shell to DOS, the
- computer drops the RTS line so that the modem will not send characters
- to the CPU... Imagine what happens if the modem ignores RTS and sends
- characters anyway... *BOOM* if this situation is not handled cleanly.
- I suspect that using another form of flow control would work similarly,
- but I personally use CTS/RTS flow control on my setup.
-
- My setup is: 386-40, with 8MB, DOS 5, USRobotics Dual Standard 16.8k
- with a 57600 bps serial speed, on a 16550 UART.
-
- Barry
-
- --
- Barry Boone -- boone@a.cs.okstate.edu
-
- Gravity: It's not just a good idea, it's the law.
-