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
{
///
/// Provides an interface for devices for 8-bit processers which used special commands to access
/// devices rather than using memory-mapped IO, for example the Z80.
///
public interface IDevice
{
///
/// Read from a device.
///
/// The address of the device.
/// The byte returned from the device.
byte Read(UInt16 device);
///
/// Write to a device.
///
/// The address of the device.
/// The value to write to the device.
void Write(UInt16 device, byte value);
}
}