1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-05-05 07:24:36 +00:00

Added (temporary) code to debug floating point issue with Dance,Starwars.

This commit is contained in:
Josh Dersch
2016-03-08 17:23:32 -08:00
parent 41b6a76b2a
commit b6e43080f2
18 changed files with 451 additions and 58 deletions

View File

@@ -95,6 +95,8 @@ namespace Contralto.Display
_vblankScanlineCount = 0;
_dataBuffer.Clear();
// Schedule wakeup for first scanline of vblank
_verticalBlankScanlineWakeup.TimestampNsec = _verticalBlankScanlineDuration;
_system.Scheduler.Schedule(_verticalBlankScanlineWakeup);
@@ -265,8 +267,7 @@ namespace Contralto.Display
public void LoadDDR(ushort word)
{
_dataBuffer.Enqueue(word);
_dataBuffer.Enqueue(word);
// Sanity check: data length should never exceed 16 words.
// TODO: we're allowing up to 18 before we start discarding things.