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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user