using System; using System.Collections.Generic; using EMU7800.Core; namespace BizHawk.Emulation.Cores.Atari.Atari7800 { partial class Atari7800 { public byte[] rom; //Bios7800 NTSC_BIOS; //Bios7800 PAL_BIOS; public byte[] hsbios; public byte[] bios; Cart cart; MachineBase theMachine; EMU7800.Win.GameProgram GameInfo; public byte[] hsram = new byte[2048]; public List> GetCpuFlagsAndRegisters() { return new List> { new KeyValuePair("A", theMachine.CPU.A), new KeyValuePair("P", theMachine.CPU.P), new KeyValuePair("PC", theMachine.CPU.PC), new KeyValuePair("S", theMachine.CPU.S), new KeyValuePair("X", theMachine.CPU.X), new KeyValuePair("Y", theMachine.CPU.Y), new KeyValuePair("B", theMachine.CPU.fB ? 1 : 0), new KeyValuePair("C", theMachine.CPU.fC ? 1 : 0), new KeyValuePair("D", theMachine.CPU.fD ? 1 : 0), new KeyValuePair("I", theMachine.CPU.fI ? 1 : 0), new KeyValuePair("N", theMachine.CPU.fN ? 1 : 0), new KeyValuePair("V", theMachine.CPU.fV ? 1 : 0), new KeyValuePair("Z", theMachine.CPU.fZ ? 1 : 0), }; } } }