2011-01-16 13:17:45 +00:00
|
|
|
unsigned rom_mask; //rom_size - 1
|
|
|
|
unsigned ram_mask; //ram_size - 1
|
|
|
|
|
2015-06-27 02:38:47 +00:00
|
|
|
auto bus_read(unsigned addr) -> uint8;
|
|
|
|
auto bus_write(unsigned addr, uint8 data) -> void;
|
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;
|