|
|
| version 1.101, 2005/03/05 11:58:02 | version 1.102, 2005/03/16 06:05:17 |
|---|---|
| Line 146 static void pccore_set(void) { | Line 146 static void pccore_set(void) { |
| // 拡張メモリ | // 拡張メモリ |
| extsize = 0; | extsize = 0; |
| if (!(np2cfg.dipsw[2] & 0x80)) { | if (!(np2cfg.dipsw[2] & 0x80)) { |
| extsize = min(np2cfg.EXTMEM, 13); | extsize = np2cfg.EXTMEM; |
| #if defined(CPUCORE_IA32) | |
| extsize = min(extsize, 63); | |
| #else | |
| extsize = min(extsize, 13); | |
| #endif | |
| } | } |
| pccore.extmem = extsize; | pccore.extmem = extsize; |
| CopyMemory(pccore.dipsw, np2cfg.dipsw, 3); | CopyMemory(pccore.dipsw, np2cfg.dipsw, 3); |