// // Copyright (c) 2012 Ian Cowburn // using System; namespace Noddybox.Emulation.EightBit { /// /// Defines an interface for memory. /// public interface IMemory { /// /// Reads a byte at a given address. /// /// The address to read. /// The value at that address. byte Read(ushort address); /// /// Writes a byte at a given address. /// /// The address to write to. /// The value to write. void Write(ushort address, byte value); } }