diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-03-18 07:19:22 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-03-18 07:19:22 +1000 |
| commit | 0bb62fc65526a0981cd328dea1b09aba8ce0a576 (patch) | |
| tree | a601bb87ead0f58674ee18088e9e41e77512d3b8 /Q1.core/Memory.cs | |
| parent | 203331522e22c778ff830c3c6cf4f439778939fa (diff) | |
add: Add bus
Diffstat (limited to 'Q1.core/Memory.cs')
| -rw-r--r-- | Q1.core/Memory.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Q1.core/Memory.cs b/Q1.core/Memory.cs deleted file mode 100644 index d140809..0000000 --- a/Q1.core/Memory.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Q1.core; - -public class Memory : IAddressable -{ - private readonly u8[] _memory; - - public Memory(int size) - { - _memory = new u8[size]; - } - - public u8 Read(u16 address) => _memory[address]; - public void Write(u16 address, u8 value) => _memory[address] = value; - public void Clock() { /* No timing behavior for simple memory */ } -}
\ No newline at end of file |
