// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
// create devices
first_device = last_device = NULL;
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
const struct {
int x, y;
class DISPLAY;
class KEYBOARD;
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
- csp_state_utils* state_entry;
+ //EMU* emu;
+ //csp_state_utils* state_entry;
// devices
EVENT* event;
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif
uint8_t pio_8bit;
public:
- DISPLAY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ DISPLAY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("7-Segment LEDs"));
}
DEVICE *d_pio;
public:
- KEYBOARD(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ KEYBOARD(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Keyboard"));
}
int tmp_vram_size;
public:
- DISPLAY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ DISPLAY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Display"));
}
unsigned char InDDH_66();
public:
- FLOPPY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ FLOPPY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
d_noise_seek = NULL;
// d_noise_head_down = NULL;
const uint32_t *joy_stat;
public:
- JOYSTICK(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ JOYSTICK(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Joystick I/F"));
}
EXTROM1 = EXTROM2 = EmptyRAM;
}
#if defined(_PC6001MK2) || defined(_PC6601)
- vm->sr_mode=0;
+ static_cast<VM *>(vm)->sr_mode=0;
CGROM = CGROM1;
VRAM = RAM+0xE000;
for (I=0; I<0x200; I++ ) *(VRAM+I)=0xde;
for(J=4;J<8;J++) {RdMem[J]=RAM+0x2000*J;WrMem[J]=RAM+0x2000*J;};
EnWrite[0]=EnWrite[1]=0; EnWrite[2]=EnWrite[3]=1;
#elif defined(_PC6601SR) || defined(_PC6001MK2SR)
- vm->sr_mode=1;
+ static_cast<VM *>(vm)->sr_mode=1;
bitmap=1;
cols=40;
rows=20;
{
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
/* Graphics Vram Write (SR basic) */
- if(vm->sr_mode && chk_gvram(addr ,8))
+ if(static_cast<VM *>(vm)->sr_mode && chk_gvram(addr ,8))
gvram_write(addr, data);
else
#endif
{
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
/* Graphics Vram Read (SR basic) */
- if(vm->sr_mode && chk_gvram(addr, 0))
+ if(static_cast<VM *>(vm)->sr_mode && chk_gvram(addr, 0))
return(gvram_read(addr));
#endif
return(RdMem[addr >> 13][addr & 0x1FFF]);
break;
#endif
case 0xB0:
- if (vm->sr_mode) {
+ if (static_cast<VM *>(vm)->sr_mode) {
d_timer->set_portB0(Value);
} else {
VRAM=(RAM+VRAMHead[CRTMode1][(data&0x06)>>1]);
CRTMode3=(Value&0x08) ? 0 : 1;
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
portC1 = Value;
- if (vm->sr_mode)
+ if (static_cast<VM *>(vm)->sr_mode)
lines=(Value&0x01) ? 200 : 204;
- if (vm->sr_mode)
+ if (static_cast<VM *>(vm)->sr_mode)
CGROM = CGROM6; // N66SR BASIC use CGROM6
else
CGROM = ((CRTMode1 == 0) ? CGROM1 : CGROM5);
- if (vm->sr_mode) {
+ if (static_cast<VM *>(vm)->sr_mode) {
if (CRTMode1==1 && CRTMode2==0 && !bitmap) { /* width 80 */
cols=80;
} else if(CRTMode1==0 && CRTMode2==0 && !bitmap) { /* Width 40 */
#endif
break;
case 0xC2: // ROM swtich
- if (vm->sr_mode) return; /* sr_mode do nothing! */
+ if (static_cast<VM *>(vm)->sr_mode) return; /* sr_mode do nothing! */
if ((Value&0x02)==0x00) CurKANJIROM=KANJIROM;
else CurKANJIROM=KANJIROM+0x4000;
if ((Value&0x01)==0x00) {
bitmap = (Value & 8)? 0:1;
rows = (Value & 4)? 20:25;
/// busreq = (Value & 2)? 0:1;
- vm->sr_mode = ((Value & 1)==1) ? 0 : 1;
- if (bitmap && vm->sr_mode)
+ static_cast<VM *>(vm)->sr_mode = ((Value & 1)==1) ? 0 : 1;
+ if (bitmap && static_cast<VM *>(vm)->sr_mode)
{
VRAM = (Value & 0x10) ? RAM+0x8000:RAM+0x0000;
}
- if (vm->sr_mode) {
+ if (static_cast<VM *>(vm)->sr_mode) {
CGROM=CGROM6;
portF0=0x11;
}
break;
case 0xC9:
- if (vm->sr_mode && !bitmap )
+ if (static_cast<VM *>(vm)->sr_mode && !bitmap )
{
TEXTVRAM=RAM+(Value & 0xf)*0x1000;
}
case 0xCF: portCF=0; break;
#endif
case 0xF0: // read block set
- if (vm->sr_mode) return; /* sr_mode do nothing! */
+ if (static_cast<VM *>(vm)->sr_mode) return; /* sr_mode do nothing! */
portF0 = Value;
switch(data & 0x0f)
{
if (CGSW93) RdMem[3] = CGROM;
break;
case 0xF1: // read block set
- if (vm->sr_mode) return; /* sr_mode do nothing! */
+ if (static_cast<VM *>(vm)->sr_mode) return; /* sr_mode do nothing! */
portF1 = Value;
switch(data & 0x0f)
{
};
break;
case 0xF2: // write ram block set
- if (vm->sr_mode) return; /* sr_mode do nothing! */
+ if (static_cast<VM *>(vm)->sr_mode) return; /* sr_mode do nothing! */
if (data & 0x40) {EnWrite[3]=1;WrMem[6]=RAM+0xc000;WrMem[7]=RAM+0xe000;}
else EnWrite[3]=0;
if (data & 0x010) {EnWrite[2]=1;WrMem[4]=RAM+0x8000;WrMem[5]=RAM+0xa000;}
case 0xC0: Value=0xff;break;
case 0xC2: Value=0xff;break;
#endif
- case 0xF0: if (!vm->sr_mode) Value=portF0;break;
- case 0xF1: if (!vm->sr_mode) Value=portF1;break;
+ case 0xF0: if (!static_cast<VM *>(vm)->sr_mode) Value=portF0;break;
+ case 0xF1: if (!static_cast<VM *>(vm)->sr_mode) Value=portF1;break;
}
return(Value);
}
void MEMORY::event_vline(int v, int clock)
{
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- if(vm->sr_mode) {
+ if(static_cast<VM *>(vm)->sr_mode) {
if(v == (CRTMode1 ? 200 : 192)) {
d_timer->write_signal(SIG_TIMER_IRQ_VRTC, 1, 1);
}
}
#else
if(data & 4) {
- CGSW93=0; if (!vm->sr_mode) write_io8(0xf0, portF0);
+ CGSW93=0; if (!static_cast<VM *>(vm)->sr_mode) write_io8(0xf0, portF0);
} else {
CGSW93=1; RdMem[3]=CGROM;
}
#endif
public:
- MEMORY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
inserted = false;
set_device_name(_T("Memory Bus"));
memset(dest, 0, 640 * sizeof(scrntype_t));
}
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- } else if (vm->sr_mode) {
+ } else if (static_cast<VM *>(vm)->sr_mode) {
if (CRTMode2) {
if (CRTMode3) RefreshScr63();
else RefreshScr62();
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
support_pc80s31k = FILEIO::IsFileExisting(create_local_path(_T("DISK.ROM")));
#ifdef _PC6601SR
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
class SUB;
class TIMER;
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
- csp_state_utils *state_entry;
+ //EMU* emu;
+ //csp_state_utils *state_entry;
int vdata;
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
int sr_mode;
};
void update_keyboard();
public:
- PSUB(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ PSUB(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Pseudo Sub System"));
}
uint8_t buffer[0x10000];
public:
- SUB(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ SUB(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Sub System"));
}
register_event(this, EVENT_TIMER, 2000.0, false, &timer_id);
#else
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- if(vm->sr_mode) {
+ if(static_cast<VM *>(vm)->sr_mode) {
register_event(this, EVENT_TIMER, 2000.0 * (portF6 + 1) / 0x80, false, &timer_id);
} else
#endif
register_event(this, EVENT_TIMER, 1000.0, false, &timer_id);
#else
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- if(vm->sr_mode) {
+ if(static_cast<VM *>(vm)->sr_mode) {
register_event(this, EVENT_TIMER, 2000.0 * (portF6 + 1) / 0x80, false, &timer_id);
} else
#endif
uint32_t TIMER::get_intr_ack()
{
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- if(vm->sr_mode) {
+ if(static_cast<VM *>(vm)->sr_mode) {
for(int i = 0, bit = 1; i < 8; i++, bit <<= 1) {
if(NewIRQ & bit) {
if(portFB & bit) {
NewIRQ &= 0x05; // Only Sub-CPU and Timer
#else
#if defined(_PC6601SR) || defined(_PC6001MK2SR)
- if(vm->sr_mode) {
+ if(static_cast<VM *>(vm)->sr_mode) {
NewIRQ &= ~portFA;
} else
#endif
void update_intr();
public:
- TIMER(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
+ TIMER(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
~TIMER() {}
// common functions
void decl_state_dmac();
public:
- PC88(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ PC88(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
#if defined(_PC8001SR)
set_device_name(_T("PC-8001 Core"));
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
// check configs
boot_mode = config.boot_mode;
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
};
#endif
-class csp_state_utils;
class EMU;
class DEVICE;
class EVENT;
#endif
class PC88;
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
- csp_state_utils* state_entry;
+ //EMU* emu;
+ //csp_state_utils* state_entry;
// devices
EVENT* pc88event;
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif
void release_tape();
public:
- CMT(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ CMT(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("CMT I/F"));
}
bool nmi_enabled;
public:
- CPUREG(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ CPUREG(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("CPU I/O"));
}
void draw_gfx_screen();
public:
- DISPLAY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ DISPLAY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
memset(tvram, 0, sizeof(tvram));
set_device_name(_T("Display"));
DEVICE *d_dma;
public:
- DMAREG(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ DMAREG(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("DMA I/O"));
}
int timer_id;
public:
- FLOPPY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ FLOPPY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Floppy I/F"));
}
#endif
public:
- FMSOUND(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ FMSOUND(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
#ifdef SUPPORT_PC98_OPNA
set_device_name(_T("PC-9801-86 (FM Sound)"));
uint8_t select;
public:
- JOYSTICK(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ JOYSTICK(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Joystick I/F"));
}
uint8_t flag[256];
public:
- KEYBOARD(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ KEYBOARD(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Keyboard"));
}
#endif
public:
- MEMBUS(VM* parent_vm, EMU* parent_emu) : MEMORY(parent_vm, parent_emu)
+ MEMBUS(VM_TEMPLATE* parent_vm, EMU* parent_emu) : MEMORY(parent_vm, parent_emu)
{
set_device_name(_T("Memory Bus"));
}
void update_mouse();
public:
- MOUSE(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ MOUSE(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Mouse I/F"));
}
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
// check configs
#if defined(_PC98DO) || defined(_PC98DOPLUS)
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
class Z80;
#endif
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
- csp_state_utils* state_entry;
+ //EMU* emu;
+ //csp_state_utils* state_entry;
// devices
EVENT* event;
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif
bool drq_status;
public:
- SASI(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ SASI(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("SASI I/F"));
}
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
// create devices
first_device = last_device = NULL;
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
class SCSI_CDROM;
class PCE;
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
- csp_state_utils* state_entry;
+ //EMU* emu;
+ //csp_state_utils* state_entry;
// devices
EVENT* pceevent;
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif
virtual bool is_quick_disk_inserted(int drv) { return false; }
virtual bool is_hard_disk_inserted(int drv) { return false; }
virtual bool is_compact_disc_inserted(int drv) { return false; }
+ virtual bool is_cart_inserted(int drv) { return false; }
virtual bool is_laser_disc_inserted(int drv) { return false; }
virtual bool is_tape_inserted(int drv) { return false; }
virtual void update_config() { }
virtual void save_state(FILEIO* state_fio) { }
- virtual bool load_state(FILEIO* state_fio) { }
+ virtual bool load_state(FILEIO* state_fio) { return true; }
virtual void decl_state(void) { }
// devices
int tmp_kanji_ptr;
public:
- DISPLAY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ DISPLAY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Display"));
}
uint32_t data_addr;
public:
- EMM(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ EMM(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("EMM"));
}
int register_id;
public:
- FLOPPY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ FLOPPY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
prev = 0;
motor_on = false;
int get_vram_wait();
public:
- IOBUS(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ IOBUS(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("I/O Bus"));
}
const uint32_t* joy_stat;
public:
- JOYSTICK(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ JOYSTICK(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Joystick I/F"));
}
uint16_t column;
public:
- KEYBOARD(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ KEYBOARD(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Keyboard"));
}
void update_map();
public:
- MEMORY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Memory Bus"));
}
const int32_t* stat;
public:
- MOUSE(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ MOUSE(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Mouse I/F"));
}
uint16_t get_key(int code, bool repeat);
public:
- PSUB(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ PSUB(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Pseudo Sub System"));
}
bool drq_status;
public:
- SASI(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ SASI(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("SASI I/F"));
}
void update_intr();
public:
- SUB(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ SUB(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Sub System"));
}
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) : emu(parent_emu)
+VM::VM(EMU* parent_emu) : VM_TEMPLATE(parent_emu)
{
pseudo_sub_cpu = !(FILEIO::IsFileExisting(create_local_path(SUB_ROM_FILE_NAME)) && FILEIO::IsFileExisting(create_local_path(KBD_ROM_FILE_NAME)));
#include "../../common.h"
#include "../../fileio.h"
+#include "../vm_template.h"
#ifdef USE_SOUND_VOLUME
static const _TCHAR *sound_device_caption[] = {
class PCE;
#define USE_CPU_HUC6280
#endif
-class csp_state_utils;
-
-class VM
+class VM : public VM_TEMPLATE
{
protected:
- EMU* emu;
+ //EMU* emu;
// devices for x1
EVENT* event;
HUC6280* pcecpu;
PCE* pce;
#endif
- csp_state_utils *state_entry;
public:
// ----------------------------------------
// devices
DEVICE* get_device(int id);
- DEVICE* dummy;
- DEVICE* first_device;
- DEVICE* last_device;
+ //DEVICE* dummy;
+ //DEVICE* first_device;
+ //DEVICE* last_device;
};
#endif