mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-01-21 18:14:54 +00:00
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contralto.Display
|
|
{
|
|
public interface IAltoDisplay
|
|
{
|
|
/// <summary>
|
|
/// Renders a word's worth of data to the specified scanline and word offset.
|
|
/// </summary>
|
|
/// <param name="scanline"></param>
|
|
/// <param name="wordOffset"></param>
|
|
/// <param name="dataWord"></param>
|
|
/// <param name="lowRes"></param>
|
|
void DrawDisplayWord(int scanline, int wordOffset, ushort dataWord, bool lowRes);
|
|
|
|
/// <summary>
|
|
/// Renders the cursor word for the specified scanline
|
|
/// </summary>
|
|
/// <param name="scanline"></param>
|
|
/// <param name="wordOffset"></param>
|
|
/// <param name="dataWord"></param>
|
|
/// <param name="lowRes"></param>
|
|
void DrawCursorWord(int scanline, int xOffset, bool whiteOnBlack, ushort cursorWord);
|
|
|
|
/// <summary>
|
|
/// Causes the display to be rendered
|
|
/// </summary>
|
|
void Render();
|
|
}
|
|
}
|