|
|
| version 1.55, 2004/01/27 03:24:18 | version 1.59, 2004/01/30 01:29:13 |
|---|---|
| Line 176 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 183 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; |
| Line 681 void pccore_exec(BOOL draw) { | Line 681 void pccore_exec(BOOL draw) { |
| treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP; | treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP; |
| trpos++; | trpos++; |
| #endif | #endif |
| #if 0 | #if 1 |
| if (tr) { | if ((CPU_CS == 0xf800) && (CPU_IP == 0x0B5B)) { |
| if ((CPU_CS == 0xf760) || (CPU_CS == 0xf990)) { | TRACEOUT(("%.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x", |
| TRACEOUT(("%.4x:%.4x", CPU_CS, CPU_IP)); | mem[0x9000], mem[0x9001], |
| } | mem[0x9002], mem[0x9003], |
| mem[0x9004], mem[0x9005], | |
| mem[0x9006], mem[0x9007], | |
| mem[0x9008], mem[0x9009])); | |
| } | |
| if ((CPU_CS == 0xf800) && (CPU_IP == 0x15FF)) { | |
| TRACEOUT(("DX = %.4x / DS:DI = %.4x:%.4x [%.2x]", | |
| CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0])); | |
| } | } |
| #endif | #endif |
| #if 0 | #if 0 |