set(EXEC_TARGET emupc98ha)
set(VMFILES ${VMFILES}
upd4991a.cpp
- i286.cpp
)
+ set(FLAG_USE_I86 ON)
set(RESOURCE ${CMAKE_SOURCE_DIR}/../../src/qt/common/qrc/pc98ha.qrc)
elseif(BUILD_PC98LT)
add_definitions(-D_PC98LT)
set(EXEC_TARGET emupc98lt)
set(VMFILES ${VMFILES}
upd1990a.cpp
- i286.cpp
)
+ set(FLAG_USE_I86 ON)
set(RESOURCE ${CMAKE_SOURCE_DIR}/../../src/qt/common/qrc/pc98lt.qrc)
endif()
set(WITH_MOUSE ON)
set(VMFILES
- i286.cpp
+# i286.cpp
#
i8253.cpp
i8255.cpp
i8251.cpp
not.cpp
)
+
+set(FLAG_USE_I86 ON)
set(BUILD_SHARED_LIBS OFF)
set(USE_OPENMP ON CACHE BOOL "Build using OpenMP")
set(USE_OPENGL ON CACHE BOOL "Build using OpenGL")
pcm1bit.cpp
i8251.cpp
)
-set(FLAG_USE_I286 ON)
+set(FLAG_USE_I86 ON)
set(BUILD_SHARED_LIBS OFF)
set(USE_OPENMP ON CACHE BOOL "Build using OpenMP")
set(WITH_MOUSE ON)
set(VMFILES
- i286.cpp
+# i286.cpp
i8255.cpp
i8259.cpp
beep.cpp
pcm1bit.cpp
)
+set(FLAG_USE_I86 ON)
+
set(BUILD_SHARED_LIBS OFF)
set(USE_OPENMP ON CACHE BOOL "Build using OpenMP")
set(USE_OPENGL ON CACHE BOOL "Build using OpenGL")
#include "../i8253.h"
#include "../i8255.h"
#include "../i8259.h"
-#include "../i286.h"
+#include "../i86.h"
#include "../io.h"
#include "../mb8877.h"
#include "../memory.h"
pit = new I8253(this, emu);
pio = new I8255(this, emu); // for system port
pic = new I8259(this, emu);
- cpu = new I286(this, emu);
+ cpu = new I86(this, emu);
io = new IO(this, emu);
fdc = new MB8877(this, emu);
memory = new MEMORY(this, emu);
#if defined(_USE_QT)
dummy->set_device_name(_T("1st Dummy"));
event->set_device_name(_T("EVENT"));
- cpu->set_device_name(_T("CPU(i286)"));
+ cpu->set_device_name(_T("CPU(MBL8086L)"));
sio->set_device_name(_T("i8251(RS-232C)"));
pio->set_device_name(_T("i8259(SYSTEM PORT)"));
class I8253;
class I8255;
class I8259;
-class I286;
+class I86;
class IO;
class MB8877;
class MEMORY;
I8253* pit;
I8255* pio;
I8259* pic;
- I286* cpu;
+ I86* cpu;
IO* io;
MB8877* fdc;
MEMORY* memory;
#include "../i8251.h"
#include "../i8253.h"
#include "../i8259.h"
-#include "../i286.h"
+#include "../i86.h"
#include "../io.h"
#include "../mb8877.h"
#include "../scsi_hdd.h"
sio_ch2 = new I8251(this, emu); // RS-232C ch.2
pit = new I8253(this, emu);
pic = new I8259(this, emu);
- cpu = new I286(this, emu);
+ cpu = new I86(this, emu);
io = new IO(this, emu);
fdc = new MB8877(this, emu);
#if defined(_USE_QT)
sio_ch2->set_device_name(_T("i8251 SIO(RS-232C #2)"));
pit->set_device_name(_T("i8253 PIT"));
pic->set_device_name(_T("i8259 PIC"));
- cpu->set_device_name(_T("CPU(i8086)"));
+ cpu->set_device_name(_T("CPU(80C86)"));
#endif
scsi_host = new SCSI_HOST(this, emu);
class I8251;
class I8253;
class I8259;
-class I286;
+class I86;
class IO;
class MB8877;
class SCSI_HOST;
I8251* sio_ch2;
I8253* pit;
I8259* pic;
- I286* cpu;
+ I86* cpu;
IO* io;
MB8877* fdc;
SCSI_HOST* scsi_host;
#include "../i8251.h"
#include "../i8255.h"
#include "../i8259.h"
-#include "../i286.h"
+#include "../i86.h"
#include "../io.h"
#include "../memory.h"
#include "../msm58321.h"
pio0 = new I8255(this, emu);
pio1 = new I8255(this, emu);
pic = new I8259(this, emu);
- cpu = new I286(this, emu);
+ cpu = new I86(this, emu);
io = new IO(this, emu);
memory = new MEMORY(this, emu);
rtc = new MSM58321(this, emu);
class I8251;
class I8255;
class I8259;
-class I286;
+class I86;
class IO;
class MEMORY;
class MSM58321;
I8255* pio0;
I8255* pio1;
I8259* pic; // includes 2chips
- I286* cpu;
+ I86* cpu;
IO* io;
MEMORY* memory;
MSM58321* rtc;
}
add_sound(PC6031_SND_TYPE_SEEK);
}
-//#endif
+#endif
}
int PC6031::Seek88(int drvno, int trackno, int sectno)
{
if(drvno < 2) {
-//#if defined(USE_SOUND_FILES)
+#if defined(USE_SOUND_FILES)
if(cur_trk[drvno] != trackno) {
seek_track_num[drvno] = (cur_trk[drvno] & 0xfe);
}
register_event(this, EVENT_SEEK_SOUND + drvno, 16000, false, &seek_event_id[drvno]);
}
-//#endif
+#endif
cur_trk[drvno] = trackno;
cur_sct[drvno] = sectno;
cur_pos[drvno] = 0;
#include "../i8253.h"
#include "../i8255.h"
#include "../i8259.h"
-#include "../i286.h"
+#if defined(HAS_V30) || defined(HAS_I86)
+# include "../i86.h"
+#else
+# include "../i286.h"
+#endif
#include "../io.h"
#include "../not.h"
//#include "../pcpr201.h"
pio_sys = new I8255(this, emu); // for system port
pio_prn = new I8255(this, emu); // for printer
pic = new I8259(this, emu); // V50 internal
+#if defined(HAS_V30) || defined(HAS_I86)
+ cpu = new I86(this, emu); // V50
+#else
cpu = new I286(this, emu); // V50
+#endif
io = new IO(this, emu);
not_busy = new NOT(this, emu);
#ifdef _PC98HA
class I8253;
class I8255;
class I8259;
+#if defined(HAS_V30) || defined(HAS_I86)
+class I86;
+#else
class I286;
+#endif
class IO;
class NOT;
#ifdef _PC98HA
I8255* pio_sys;
I8255* pio_prn;
I8259* pic;
+#if defined(HAS_V30) || defined(HAS_I86)
+ I86* cpu;
+#else
I286* cpu;
+#endif
IO* io;
NOT* not_busy;
#ifdef _PC98HA