|
|
| version 1.58, 2004/01/29 23:42:02 | version 1.59, 2004/01/30 01:29:13 |
|---|---|
| Line 58 | Line 58 |
| PCCORE pccore = { PCBASECLOCK25, 4, | PCCORE pccore = { PCBASECLOCK25, 4, |
| 0, PCMODEL_VX, 0, 0, | 0, PCMODEL_VX, 0, 0, |
| 0, {0, 0, 0}, | |
| 0, 0, | 0, 0, |
| 4 * PCBASECLOCK25, | 4 * PCBASECLOCK25, |
| 4 * PCBASECLOCK25 * 50 / 3104, | 4 * PCBASECLOCK25 * 50 / 3104, |
| Line 177 static void pccore_set(void) { | Line 176 static void pccore_set(void) { |
| pccore.keyboardclock = pccore.realclock / 1920; | pccore.keyboardclock = pccore.realclock / 1920; |
| pccore.midiclock = pccore.realclock / 3125; | pccore.midiclock = pccore.realclock / 3125; |
| // HDDの接続 (I/Oの使用状態が変わるので.. | |
| if (np2cfg.dipsw[1] & 0x20) { | |
| pccore.hddif |= PCHDD_IDE; | |
| } | |
| // 拡張メモリ | // 拡張メモリ |
| extsize = 0; | extsize = 0; |
| if (!(np2cfg.dipsw[2] & 0x80)) { | if (!(np2cfg.dipsw[2] & 0x80)) { |
| Line 184 static void pccore_set(void) { | Line 188 static void pccore_set(void) { |
| } | } |
| pccore.extmem = extsize; | pccore.extmem = extsize; |
| // HDDの接続 (I/Oの使用状態が変わるので.. | |
| if (np2cfg.dipsw[1] & 0x20) { | |
| pccore.hddif |= PCHDD_IDE; | |
| } | |
| // サウンドボードの接続 | // サウンドボードの接続 |
| pccore.sound = np2cfg.SOUND_SW; | pccore.sound = np2cfg.SOUND_SW; |