[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

5370.0. "Monitoring serial.device??" by MUDIS3::AGRAF () Fri Jan 24 1992 08:45

    Hi all,
    
    I'd like to monitor the actions of the serial.device, i.e. the
    character streams that go in/out... I can't afford a data-line-monitor
    so a software solution would be handy.
    
    Are there any programs that will do this? If not, any suggestions how
    to write one? I could catch all OpenDevice, BeginIo ... calls but
    I don't think this is a very elegant solution...
    
    BTW: How does cmd catch the calls to the printer??
    
    			Thanks in advance,
    
    				Andy
    
T.RTitleUserPersonal
Name
DateLines
5370.1grabbing serial device IOSTAR::GUINEAUnothing personal...Fri Jan 24 1992 09:049
I've never tried this, so it might not work...

I'd try patching the serial.device library vectors for open/begin/close.
Use it to log the requests comming through (count, size etc) and then pass
control to wherever the original vector was. Do all this in assembly!

just a quick thought...

john