added rom/bus interaction
This commit is contained in:
parent
abb9b2e54a
commit
4b22287ad0
4 changed files with 48 additions and 7 deletions
|
@ -16,4 +16,8 @@ struct Cartridge
|
|||
struct Cartridge* createCartridge(struct Bus* parent, const char* filepath);
|
||||
void destroyCartridge(struct Cartridge* cartridge);
|
||||
|
||||
// readCartridge/writeCartridge to and from the cartridge
|
||||
Byte readCartridge(struct Cartridge* cartridge, Word addr);
|
||||
void writeCartridge(struct Cartridge* cartridge, Word addr, Byte val);
|
||||
|
||||
#endif //_CARTRIDGE_H_
|
Loading…
Add table
Add a link
Reference in a new issue