#endif
#define USE_DIPSWITCH
#define USE_JOYSTICK_TYPE 2
-#define USE_FD1
-#define USE_FD2
-#define USE_TAPE1
+#define USE_FLOPPY_DISK 2
+#define USE_TAPE 1
#define TAPE_BINARY_ONLY
#define NOTIFY_KEY_DOWN
#define USE_KEY_LOCKED
#define USE_PRINTER_TYPE 3
#define USE_DEBUGGER
#define USE_STATE
+#define USE_CPU_Z80
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
#ifdef SUPPORT_PC88_PCG8100
class I8253;
#endif
-class PC88;
-
-class VM
+namespace PC88DEV {
+ class PC88;
+}
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
+ //EMU* emu;
+ //csp_state_utils* state_entry;
// devices
EVENT* pc88event;
PCM1BIT* pc88pcm2;
#endif
- PC88* pc88;
+ PC88DEV::PC88* pc88;
int boot_mode;
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