1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-01-25 19:55:57 +00:00

Initial rough implementation of Display hardware and associated tasks. Not really working.

This commit is contained in:
Josh Dersch
2015-11-10 17:04:05 -08:00
parent e1c90dbe01
commit ca638f1d6e
17 changed files with 697 additions and 128 deletions

View File

@@ -51,6 +51,17 @@ namespace Contralto
_displayController.Reset();
}
/// <summary>
/// Attaches an emulated display device to the system.
/// TODO: This is currently tightly-coupled with the Debugger, make
/// more general.
/// </summary>
/// <param name="d"></param>
public void AttachDisplay(Debugger d)
{
_displayController.AttachDisplay(d);
}
public void SingleStep()
{
// Run every device that needs attention for a single clock cycle.
@@ -75,6 +86,11 @@ namespace Contralto
get { return _diskController; }
}
public DisplayController DisplayController
{
get { return _displayController; }
}
/// <summary>
/// Time (in msec) for one system clock
/// </summary>