bradgrantham-apple2e/emulator.h
2016-11-06 00:53:43 -07:00

22 lines
506 B
C++

#ifndef _SIMULATOR_H_
#define _SIMULATOR_H_
#include <vector>
#undef max
struct board_base
{
virtual bool write(int addr, unsigned char data) { return false; }
virtual bool read(int addr, unsigned char &data) { return false; }
virtual bool board_get_interrupt(int& irq) { return false; }
virtual void reset(void) {}
virtual void idle(void) {};
virtual void pause(void) {};
virtual void resume(void) {};
};
extern std::vector<board_base*> boards;
#endif /* _SIMULATOR_H_ */