First OpCode Decoding attempt
This commit is contained in:
21
ParsonsMegadrive.Core/Interfaces/IMemoryBus.cs
Normal file
21
ParsonsMegadrive.Core/Interfaces/IMemoryBus.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ParsonsMegadrive.Core.Interfaces
|
||||
{
|
||||
public interface IMemoryBus
|
||||
{
|
||||
// 8-bit (Byte)
|
||||
byte Read8(uint address);
|
||||
void Write8(uint address, byte value);
|
||||
|
||||
// 16-bit (Word)
|
||||
ushort Read16(uint address);
|
||||
void Write16(uint address, ushort value);
|
||||
|
||||
// 32-bit (Long)
|
||||
uint Read32(uint address);
|
||||
void Write32(uint address, uint value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user