#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
class PCM1BIT;
class SY6522;
-class MEMORY;
+class JR100_MEMORY;
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
+ //EMU* emu;
// devices
- EVENT* event;
+ //EVENT* event;
DATAREC* drec;
//MC6800* cpu;
PCM1BIT* pcm;
SY6522* via;
- MEMORY* memory;
+ JR100_MEMORY* memory;
public:
// ----------------------------------------
#endif
// notify key
- void key_down(int code, bool repeat);
- void key_up(int code);
+ void key_down(int code, bool repeat) { }
+ void key_up(int code) { }
// user interface
void play_tape(int drv, const _TCHAR* file_path);
bool is_frame_skippable();
void update_config();
- void save_state(FILEIO* state_fio);
- bool load_state(FILEIO* state_fio);
+ bool process_state(FILEIO* state_fio, bool loading);
// ----------------------------------------
// for each device
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif