First OpCode Decoding attempt

This commit is contained in:
2026-06-06 01:49:33 +01:00
parent 3498961aae
commit 806fecaffa
7 changed files with 289 additions and 18 deletions

View 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);
}
}