added rom/bus interaction

This commit is contained in:
Lauchmelder 2021-10-20 23:23:16 +02:00
parent abb9b2e54a
commit 4b22287ad0
4 changed files with 48 additions and 7 deletions

View file

@ -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_