1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-22 10:11:31 +00:00

14 Commits

Author SHA1 Message Date
Jim
2a89fb6ab8 First set of byte-swap changes; should compile equal to version 194 2011-10-17 10:53:58 -04:00
Jim
b9980bfe30 devamlc: add outbound dedicated lines, programmable clock line,
move local vars to the block that uses them
2011-10-10 00:07:51 -04:00
Jim
d1596b5e82 devamlc: fix ttymsg bug 2011-09-17 15:21:13 -04:00
Jim
3a64f463f0 devamlc: minor edits 2011-09-16 09:46:51 -04:00
Jim
f912f5dcc5 devamlc: major revision to interrupt only on the clock line board,
and in general, optimize operation of the AMLC subsystem.
2011-09-15 18:27:33 -04:00
Jim
efada91773 Fixed several AMLC issues:
- Kermit/telnet negotiations work now: fd var was not being set, so
write() was not actually working

- with many controllers, Primos would halt with tumble table overflow:
you can't do read processing until lines are enabled

- only look for new connections when handling the clock line
controller; there is no sense doing this more than 10x per second, and
it probably should still have a timer in case polls are being sped up

- use buf[] for tty message, not another static buf

- when a new connection occurs, set devpoll for the controller.  The
first connection to a controller was taking 5 seconds when more than 1
controller was present

- when status is read and an eor occurred, do read processing again
rather than waiting for the next poll

- divide tumble table space up by # of connected lines.  The old way
read MAXREAD (64) chars from each line until the tumble table was
full.  But with 8 AMLC boards configured, there is only 53 words of TT
space in each double buffer.  A select() on connected fd's would be
better.

- allow # as first character of amlc.cfg for comment lines

- turn on TCP/IP NODELAY (disable Nagle) to improve character echo
2011-09-13 14:02:28 -04:00
Jim
023edffb04 Remove "room left in input buffer" concept, remove DMT support 2011-09-05 16:17:48 -04:00
Jim
871568778f Re-add broken Kermit negotiation, but now telnet works again! 2011-08-27 20:51:19 -04:00
Jim
4e59c7728b Re-add Kermit telnet negotiation, but leave it disabled 2011-08-27 20:35:12 -04:00
Jim
cc4d7561ed devamlc comments and cleanups 2011-08-27 20:23:32 -04:00
Jim
7230a331f3 Back out telnet changes for Kermit; they screwed up regular telnet 2011-08-27 20:11:37 -04:00
Jim
927d8c9c13 Tried to fix Kermit telnet negotiation so /nowait isn't required; worked
for most things, but not for DO KERMIT / WILL KERMIT - still hangs. :(
2011-08-27 17:04:59 -04:00
Jim
d7dc1847a8 amlc.cfg: can dedicate AMLC lines to an IP address. This is useful
for serial device servers connected to a serial printer for example,
where the SDS initiates the telnet connect to the Prime when the
printer is turned on.
2011-08-27 08:29:44 -04:00
Jim
5a5be64d17 Split devamlc into .h file, correct devpnc.h brace bug (hobby) 2011-08-24 17:42:35 -04:00