[comp.sys.amiga] TAG_BBS was: Re: comment and question

fwp@unccvax.UUCP (Rick Pasotto) (06/28/88)

in article <1988Jun25.165109.23912@ziebmef.uucp|, cks@ziebmef.uucp (Chris Siebenmann) says:
| 
| In article <1020@unccvax.UUCP> fwp@unccvax.UUCP (Rick Pasotto) writes:
| ...
|>TAG opens the port at 300 baud.  If the Supra modem is initialized to 300
|>baud it can only got to 1200, however if it is initialized to 2400 baud
|>it can figure out 1200 and 300.  The solution is to change the statement
|>that opens the serial port to do so at 2400.
| 
|  Actually, TAG sends commands to the modem at 300 baud the first time
| and then whatever speed the last caller called in at after that. I
| suspect the best thing to do is to add another field to the modem
| portion of Tag_System that describes the speed to send commands to the
| modem at.
 
I was having trouble dropping and reasserting DTR (finally figured out it
was a problem with 16/32 bit TRUE/FALSE) so I changed the reset_system call
to close and reopen the serial port hard coding the 2400 baud just as the
300 baud was hard coded.  I will now incorporate your suggestion.

While we're on the subject, the OpenSerial() function in TAG starts with

	struct CIA *cia_ptr;
	.
	.
	cia_ptr = 0xBFD000;

Since I couldn't find any reference to this in any of my materials and since
it seems wrong to me to hard code an address, I took this out and use DoIO
for communication with the serial port.  Where can I find information on 
the CIA -- or should I not bother.

Rick Pasotto
mcnc!unccvax!fwp