From 571e44a12d2a52e92c1165ec294469d3d384faef Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Fri, 20 Mar 2026 06:04:13 +1000 Subject: change: Split addressable and bus device --- Q1.core/Components/Memory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Q1.core/Components/Memory.cs') diff --git a/Q1.core/Components/Memory.cs b/Q1.core/Components/Memory.cs index 9d23c7a..38c33ee 100644 --- a/Q1.core/Components/Memory.cs +++ b/Q1.core/Components/Memory.cs @@ -1,6 +1,6 @@ namespace Q1.core.Components; -public class Memory : IAddressable +public class Memory : IBusDevice { private readonly u8[] _memory; @@ -17,5 +17,5 @@ public class Memory : IAddressable public u8 Read(u16 address) => this._memory[address]; public void Write(u16 address, u8 value) => this._memory[address] = value; - public void Clock() { /* No timing behavior for simple memory */ } + public void Clock(Bus bus) { /* No timing behavior for simple memory */ } } \ No newline at end of file -- cgit v1.3.1