added rom/bus interaction
This commit is contained in:
parent
abb9b2e54a
commit
4b22287ad0
4 changed files with 48 additions and 7 deletions
|
@ -22,7 +22,7 @@ struct Bus* createBus();
|
|||
void destroyBus(struct Bus* bus);
|
||||
|
||||
// Read/Write to and from the bus
|
||||
Byte Read(struct Bus* bus, Word addr);
|
||||
void Write(struct Bus* bus, Word addr, Byte val);
|
||||
Byte readBus(struct Bus* bus, Word addr);
|
||||
void writeBus(struct Bus* bus, Word addr, Byte val);
|
||||
|
||||
#endif // _BUS_H_
|
Loading…
Add table
Add a link
Reference in a new issue