--- np2/pccore.c 2003/10/16 17:57:06 1.1.1.1 +++ np2/pccore.c 2003/10/19 16:54:51 1.4 @@ -39,7 +39,7 @@ #include "pc9861k.h" - const char np2version[] = "ver.0.36"; + const char np2version[] = "ver.0.37"; NP2CFG np2cfg = { PCBASECLOCK25, 4, 0, @@ -56,7 +56,7 @@ 64, 64, 64, 64, 64, // ver0.27 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, 2, 1, 0, 0, - "", "", ""}; + {"", ""}, ""}; PCCORE pc = { PCBASECLOCK25, 4, @@ -68,7 +68,7 @@ 4 * PCBASECLOCK25 / 100, 4 * PCBASECLOCK25 / 1920, 4 * PCBASECLOCK25 / 3125, - (4 * PCBASECLOCK25 / 22050) + 1, +// (4 * PCBASECLOCK25 / 22050) + 1, (4 * PCBASECLOCK25 / 56400), 100, 20, 0}; @@ -153,6 +153,7 @@ static void setpcclock(UINT base, UINT m pc.keyboardclock = pc.realclock / 1920; pc.midiclock = pc.realclock / 3125; pc.frame1000 = pc.realclock / 56400; +#if 0 if (opna_rate) { // pc.sampleclock = (pc.realclock / opna_rate) + 1; pc.sampleclock = (pc.realclock / opna_rate); @@ -160,6 +161,7 @@ static void setpcclock(UINT base, UINT m else { pc.sampleclock = 0; } +#endif } @@ -533,7 +535,7 @@ void pccore_exec(BOOL draw) { } #if 1 // ndef TRACE - if (nevent.remainclock > 0) { + if (I286_REMCLOCK > 0) { if (!(CPUTYPE & CPUTYPE_V30)) { i286(); }