--- np2/pccore.c 2003/12/08 00:55:30 1.27 +++ np2/pccore.c 2003/12/13 19:59:40 1.30 @@ -4,7 +4,6 @@ #include "sysmng.h" #include "timemng.h" #include "cpucore.h" -#include "memory.h" #include "np2ver.h" #include "pccore.h" #include "iocore.h" @@ -23,6 +22,7 @@ #include "sound.h" #include "fmboard.h" #include "beep.h" +#include "s98.h" #include "font.h" #include "diskdrv.h" #include "fddfile.h" @@ -75,8 +75,6 @@ static const BYTE msw_default[8] = BOOL drawframe; UINT drawcount = 0; - BYTE mem[0x200000]; - // --------------------------------------------------------------------------- @@ -546,7 +544,7 @@ void pccore_exec(BOOL draw) { CPU_CS = 0xf000; CS_BASE = 0xf0000; CPU_IP = 0xfff0; -#ifdef CPU386 // defineを変えてね +#if defined(CPUCORE_IA32) CPU_DX = 0x0300; #endif CPU_CLEARPREFETCH(); @@ -573,6 +571,7 @@ void pccore_exec(BOOL draw) { mpu98ii_callback(); diskdrv_callback(); calendar_inc(); + S98_sync(); sound_sync(); // happy! #if defined(TRACE)