2016-03-26 01:56:15 +00:00
|
|
|
uint rom_mask; //rom_size - 1
|
|
|
|
uint ram_mask; //ram_size - 1
|
2011-01-16 13:17:45 +00:00
|
|
|
|
2016-03-26 01:56:15 +00:00
|
|
|
auto bus_read(uint24 addr, uint8 data = 0x00) -> uint8 override;
|
|
|
|
auto bus_write(uint24 addr, uint8 data) -> void override;
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-06-27 02:38:47 +00:00
|
|
|
auto op_read(uint16 addr) -> uint8;
|
|
|
|
alwaysinline auto peekpipe() -> uint8;
|
|
|
|
alwaysinline auto pipe() -> uint8;
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-06-27 02:38:47 +00:00
|
|
|
auto cache_flush() -> void;
|
|
|
|
auto cache_mmio_read(uint16 addr) -> uint8;
|
|
|
|
auto cache_mmio_write(uint16 addr, uint8 data) -> void;
|
|
|
|
|
|
|
|
auto memory_reset() -> void;
|