More analysis suggested tidy ups.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-02-06 23:41:56 +00:00
parent d6d8c4e13c
commit 0e8a530573
9 changed files with 26 additions and 42 deletions

View File

@@ -9,7 +9,6 @@ namespace EightBit
public abstract class Bus : IMapper
{
private byte data;
private ushort address;
public event EventHandler<EventArgs> WritingByte;
@@ -21,7 +20,7 @@ namespace EightBit
public byte Data { get => this.data; set => this.data = value; }
public ushort Address { get => this.address; set => this.address = value; }
public ushort Address { get; set; }
public abstract MemoryMapping Mapping(ushort absolute);