brown@dec-anyway.UUCP (05/12/86)
Here's one for the commodore folks.
All right, I give up. I've searched all through the documentation
and can't find any mention of the ring detect signal from the
serial port being accessible from an application program. I have
two questions, a) does the hardware interface to the ring detect
signal and b) if so, can an application program get at it such
that it could monitor the state of that signal line?
I would dearly love to have my computer answer the phone. At
this time, the only way that I can see of doing this is to connect
the ring detect line to one of the signal lines (pins on the
connector) that the amiga does monitor. I would prefer not to do
this.
I have another question that deals with processes. Is there any
mechanism supplied by AmigaDos to find out when a process is
finished executing? What I would like to do is to start up, from a
program, a few processes that execute some system commands. While
the system programs are running, I would like my task to go to sleep
until the system programs are finished. About the only way that I
could see of doing this would be to push an extra subroutine
return point of my own onto the stack before I invoke the system
program (the system program would have been loaded via loadseg).
The subroutine would post a message to the parent task such that it
could wake up and go on doing its thing.
I think that this would work but, it's a bit messy from my
viewpoint.
Oh, I would like to say to you commodore folks: Thanks, you're
doing a great job of supporting the users of your machine. I
appreciate your efforts.
*----------------------------------------------------------------------*
| .--. {decvax,allegra,ucbvax}!decwrl!dec-rhea!dec-anyway!brown |
* |db| Digital Equipment Corporation *
* `--' 97 Piper Rd, Acton, Ma. 01720 *
| doug brown (617) 264-2322 (voice only) |
*----------------------------------------------------------------------*
Any opinions, statements, or expressions of insanity made above
are my own. They do not necessarily reflect any outlook, opinion,
position or whatnot of the company that I work for.