bradgrantham-apple2e/emulator.h

22 lines
506 B
C
Raw Normal View History

2016-11-06 07:53:43 +00:00
#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_ */