using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
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);
}
}