summaryrefslogtreecommitdiff
path: root/Noddybox.Emulation.EightBit/IMemory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Noddybox.Emulation.EightBit/IMemory.cs')
-rw-r--r--Noddybox.Emulation.EightBit/IMemory.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/Noddybox.Emulation.EightBit/IMemory.cs b/Noddybox.Emulation.EightBit/IMemory.cs
deleted file mode 100644
index 2aa63d9..0000000
--- a/Noddybox.Emulation.EightBit/IMemory.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Copyright (c) 2012 Ian Cowburn
-//
-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
-{
- /// <summary>
- /// Defines an interface for memory.
- /// </summary>
- public interface IMemory
- {
- /// <summary>
- /// Reads a byte at a given address.
- /// </summary>
- /// <param name="address">The address to read.</param>
- /// <returns>The value at that address.</returns>
- byte Read(ushort address);
-
- /// <summary>
- /// Writes a byte at a given address.
- /// </summary>
- /// <param name="address">The address to write to.</param>
- /// <param name="value">The value to write.</param>
- void Write(ushort address, byte value);
- }
-}