1
0
mirror of https://github.com/livingcomputermuseum/sImlac.git synced 2026-01-11 23:53:24 +00:00

Fixed TTY send behavior.

This commit is contained in:
Josh Dersch 2020-04-29 13:09:53 -07:00
parent 3c55ecfb5d
commit 4130c969c2
2 changed files with 4 additions and 3 deletions

View File

@ -84,6 +84,7 @@ namespace imlac.IO
Trace.Log(LogType.TTY, "o {0}", Helpers.ToOctal(_txData));
_dataBufferFull = false;
_dataSentLatch = true;
_dataSendReady = true;
}
}
}
@ -142,14 +143,14 @@ namespace imlac.IO
break;
case 0x22: // TCF - clear output flag
_dataSendReady = true;
_dataSendReady = false;
break;
case 0x23: // TPC - print, clear flag
if (_dataSendReady)
{
_txData = (byte)_system.Processor.AC;
_dataSendReady = true;
_dataSendReady = false;
_dataBufferFull = true;
}
break;

View File

@ -12,7 +12,7 @@ sImlac currently emulates the current hardware:
- Standard Imlac PDS-1D Processor / Display Processor (with 1.8us cycle timings)
- Standard Imlac PDS-4 Processor / Display Processor (with 990ns cycle timings)
- up to 16KW of core memory
- Up to 16KW of core memory
- Vector display (with long-persistence phosphor)
- PTR and TTY interfaces (using physical serial ports, telnet hosts, or files as inputs)
- Keyboard