MC6809: Change the test board wiring a little to allow the MC6850 to work correctly!

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-05-05 13:34:31 +01:00
parent 0c69c5d8bb
commit a8849ccf43

View File

@@ -120,7 +120,7 @@
{
if (System.Console.KeyAvailable)
{
var key = System.Console.ReadKey();
var key = System.Console.ReadKey(true);
this.ACIA.RDR = System.Convert.ToByte(key.KeyChar);
this.ACIA.MarkReceiveStarting();
}
@@ -231,9 +231,15 @@
private bool AccessAcia()
{
this.ACIA.E.Raise();
this.ACIA.Tick();
this.ACIA.E.Lower();
return this.ACIA.Activated;
try
{
this.ACIA.Tick();
return this.ACIA.Activated;
}
finally
{
this.ACIA.E.Lower();
}
}
}
}