From 7717bd3181a47f5eb2b0b963bfba43a753311ef4 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Tue, 29 Aug 2017 09:39:57 -0400 Subject: [PATCH] Delete Atari7800.IDebuggable.cs --- .../Atari/7800/Atari7800.IDebuggable.cs | 76 ------------------- 1 file changed, 76 deletions(-) delete mode 100644 BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IDebuggable.cs diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IDebuggable.cs b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IDebuggable.cs deleted file mode 100644 index f590372d21..0000000000 --- a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.IDebuggable.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; - -using BizHawk.Emulation.Common; - -namespace BizHawk.Emulation.Cores.Atari.Atari7800 -{ - public partial class Atari7800 : IDebuggable - { - public IDictionary GetCpuFlagsAndRegisters() - { - return new Dictionary - { - ["A"] = _theMachine.CPU.A, - ["P"] = _theMachine.CPU.P, - ["PC"] = _theMachine.CPU.PC, - ["S"] = _theMachine.CPU.S, - ["X"] = _theMachine.CPU.X, - ["Y"] = _theMachine.CPU.Y, - ["Flag B"] = _theMachine.CPU.fB, - ["Flag C"] = _theMachine.CPU.fC, - ["Flag D"] = _theMachine.CPU.fD, - ["Flag I"] = _theMachine.CPU.fI, - ["Flag N"] = _theMachine.CPU.fN, - ["Flag V"] = _theMachine.CPU.fV, - ["Flag Z"] = _theMachine.CPU.fZ - }; - } - - public void SetCpuRegister(string register, int value) - { - switch (register) - { - default: - throw new InvalidOperationException(); - case "A": - _theMachine.CPU.A = (byte)value; - break; - case "P": - _theMachine.CPU.P = (byte)value; - break; - case "PC": - _theMachine.CPU.PC = (ushort)value; - break; - case "S": - _theMachine.CPU.S = (byte)value; - break; - case "X": - _theMachine.CPU.X = (byte)value; - break; - case "Y": - _theMachine.CPU.Y = (byte)value; - break; - } - } - - public IMemoryCallbackSystem MemoryCallbacks - { - [FeatureNotImplemented] - get { throw new NotImplementedException(); } - } - - public bool CanStep(StepType type) - { - return false; - } - - [FeatureNotImplemented] - public void Step(StepType type) - { - throw new NotImplementedException(); - } - - public int TotalExecutedCycles => (int)_theMachine.CPU.Clock; - } -}