mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-01-22 16:16:17 +00:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user