[comp.sys.amiga.programmer] Serial.device

pfeiffer@nmsu.edu (Joe Pfeiffer) (02/25/91)

I've attempting to work with the serial.device under 1.2, using an old
(1987) version of the Manx compiler.  I recognize the first answer to
the following questions is ``upgrade;'' that's not possible at the
moment, and somehow it doesn't seem like my set of troubles would go
away, anyway.

(1) Occasionally, the OpenDevice() call returns -128.  Why?  I've been
unable to find this error code listed.

(2) After a successful OpenDevice() call (ie return value 0), any
attempt to do a DoIO() or a CloseDevice() results in a Guru
meditation.  While the Guru tells me the meditation is number 4 (no
surprise here), ROM-wack has offered up exceptions of FFFFFFFF, 0004,
and 000B.

I am, of course, grateful for any advice.  If the underlying problem
is not obvious from the description (somehow, I suspect it will
be...), I'll post the actual code that does it.

-Joe.