bsnes/higan/ms/bus/bus.hpp

17 lines
379 B
C++

struct Bus : Processor::Z80::Bus {
auto read(uint16 addr) -> uint8 override;
auto read_(uint16 addr) -> uint8;
auto write(uint16 addr, uint8 data) -> void override;
auto in(uint8 addr) -> uint8 override;
auto out(uint8 addr, uint8 data) -> void override;
//serialization.cpp
auto serialize(serializer&) -> void;
private:
uint8 ram[0x2000];
};
extern Bus bus;