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