Original Message Date: 23 Aug 92 14:39:12 From: Tom Jennings on 1:125/111 To: Uucp on 1:125/555 Subj: re: cdtrap ^AINTL 1:125/555 1:125/111 IO port addresses: 3f8 com1 2f8 com2 3e8 com3 irq5 2e8 com4 irq2 to: pozar@kumr.lns.com > Can you set it up to address different IRQ and Base > addresses? We could monitor the wierd com3 and com4 setups > that I did for the NOS box at toad hall. I *knew* you were gonna ask that... :-) It was a last minute idea... and the CDTRAP interface sucks. I will rearrange it. 1. It's default behaviour will be as a front panel,not a CDTRAP. 2. It'll get renamed LINEMON or something. 3. The command line args will default to monitor only, and E and D to enable/disable the trapping biz. 4. I'll add supprt for COM3 and COM4. Do you have the I/O base addresses handy? IRQ doesn't matter, as it just peeks at the ports every timer tick. 5. Use a software "oneshot" on signals, so that they stay light for at least N timer ticks, so you can see transients. (I'll start with N=2.) PPlease note though, the interrupt service routines generally *garentee* that my program will NOT see Tx and Rx... since I just jam in there randomly, and each Rx/Tx interrupt servicing kinda removes the status bit! Now I could make is support all COM ports entered... LINEMON 1 3 4 monitor COM1, COM3, COM4 LINEMON 3 T CD-trap COM3 LINEMON D disable CD-trap ANd simply use more of the top screen line, and (sigh) include com#: COM1: Rx Tx CTS CD COM2: Rx Tx CTS CD ... The damn thing is written in assembly. Parsing all this is a pain then. I'll probably ahve to write a "C" front end... sigh... I will probably do it X00/XU style; a "driver" TSR that does the work, and a C program ala XU that sets & displays... Whatever happened to that simple program I wrote...