mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-03-11 05:41:49 +00:00
Fix some z80 eight-bit load timing issues. 58 issues remaining
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
using EightBit;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal sealed class Checker
|
||||
@@ -446,7 +447,9 @@
|
||||
{
|
||||
actualCycle.Value = null;
|
||||
}
|
||||
message += this.ExpandCycle("Actual ", actualCycle);
|
||||
var actualMessage = this.ExpandCycle("Actual ", actualCycle);
|
||||
var messagePrefix = expectedCycle is null ? new string(' ', actualMessage.Length + 4) : string.Empty;
|
||||
message += messagePrefix + actualMessage;
|
||||
}
|
||||
Debug.Assert(!string.IsNullOrEmpty(message), "Message should not be empty");
|
||||
this.Messages.Add(message);
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
public IEnumerable<OpcodeTestSuite> OpcodeTests()
|
||||
{
|
||||
//var pattern = "fd 7e.json";
|
||||
//var pattern = "7e.json";
|
||||
//var pattern = "dd 66.json";
|
||||
//var pattern = "06.json";
|
||||
var pattern = "*.json";
|
||||
foreach (var filename in Directory.EnumerateFiles(this.Location, pattern))
|
||||
{
|
||||
|
||||
@@ -1377,6 +1377,7 @@ namespace Z80
|
||||
if (memoryZ || memoryY)
|
||||
{
|
||||
this.FetchDisplacement();
|
||||
this.Tick(5);
|
||||
}
|
||||
|
||||
if (memoryZ)
|
||||
|
||||
Reference in New Issue
Block a user