io: i really ought to be working on the ppu and apu by now

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-06-13 03:53:25 +05:30
parent 933b622493
commit 08cc582f23
17 changed files with 1751 additions and 78 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "memory.hh"
#include "io/io.hh"
#include <memory>
namespace matar {
@@ -18,6 +19,7 @@ class Bus {
void write_word(uint32_t address, uint32_t word);
private:
IoDevices io;
std::shared_ptr<Memory> memory;
};
}