--- nono/m680x0/testea.cpp 2026/04/29 17:05:40 1.1.1.5 +++ nono/m680x0/testea.cpp 2026/04/29 17:05:57 1.1.1.7 @@ -5,11 +5,15 @@ // #include "mpu680x0.h" +#define M680X0_CYCLE_TABLE +#include "m680x0cycle.h" class MPU680x0Test : public MPU680x0Device { public: - MPU680x0Test() { } + MPU680x0Test() { + cycle_table = cycle_table_030cc; + } ~MPU680x0Test() override { } void test_ea_ix(); void test_ea_ix2(); @@ -19,8 +23,6 @@ class MPU680x0Test : public MPU680x0Devi uint32 read_data(busaddr addr) override; void write_data(busaddr addr, uint32 data) override; - bool TranslateRead() override { return true; } - bool TranslateWrite() override { return true; } busaddr TranslatePeek(busaddr) override { return busaddr(0); } void CalcStat() override { } bool ops_movec_rc_rn_cpu(uint, uint) override { return true; } @@ -87,8 +89,6 @@ MainMPUDevice::MainMPUDevice() : inherit MainMPUDevice::~MainMPUDevice() { } MPU680x0Device::MPU680x0Device() { } MPU680x0Device::~MPU680x0Device() { } -Event::Event(Device *) { } -Event::~Event() { } BranchHistory::BranchHistory(uint) : inherited(0) { } BranchHistory::~BranchHistory() { } BranchHistory_m680x0::BranchHistory_m680x0(uint) : inherited(0) { } @@ -100,9 +100,9 @@ bool Device::Create() { return true; } bool Device::Create2() { return true; } bool Device::Init() { return true; } void Device::ResetHard(bool) { } -bool Device::Apply() { return true; } void Device::PowerOff() { } bool MPUDevice::Init() { return true; } +void MPUDevice::ResetHard(bool) { } void MPUDevice::PowerOff() { } bool MainMPUDevice::Init() { return true; } bool MPU680x0Device::Init() { return true; }