3 class Cprog : public Iext {
5 Cprog() : m_writeAddress(0) {};
7 void loadData(const int address, CDat value);
8 CDat readData(const int) { return 0; }
9 void parseInput(const vector<string>&) {};
14 void Cprog::loadData(const int address, CDat value)
16 if(address == 0x2034) {
17 m_writeAddress = (value*4);
20 else if(address == 0x2038) {
21 this->m_cpu->setProg(m_writeAddress, m_disasm->decodeNum(value));