|
|
| version 1.7, 2003/12/26 22:24:06 | version 1.8, 2004/01/05 06:50:15 |
|---|---|
| Line 5 | Line 5 |
| #include "sound.h" | #include "sound.h" |
| #include "fmboard.h" | #include "fmboard.h" |
| // ¸å¤ÇÄ´À° | |
| #if defined(CPUCORE_IA32) | |
| DWORD cpumem_addrmask = 0xfffff; | |
| #endif | |
| // ---- I/O | // ---- I/O |
| Line 17 static void IOOUTCALL cpuio_of0(UINT por | Line 12 static void IOOUTCALL cpuio_of0(UINT por |
| epsonio.cpumode = (CPU_MSW & 1)?'P':'R'; | epsonio.cpumode = (CPU_MSW & 1)?'P':'R'; |
| CPU_ADRSMASK = 0x0fffff; | CPU_ADRSMASK = 0x0fffff; |
| #if defined(CPUCORE_IA32) | |
| cpumem_addrmask = 0xfffff; | |
| #endif | |
| CPU_RESETREQ = 1; | CPU_RESETREQ = 1; |
| // CPU_INTERRUPT(0x02); | |
| nevent_forceexit(); | nevent_forceexit(); |
| (void)port; | (void)port; |
| (void)dat; | (void)dat; |
| Line 30 static void IOOUTCALL cpuio_of0(UINT por | Line 21 static void IOOUTCALL cpuio_of0(UINT por |
| static void IOOUTCALL cpuio_of2(UINT port, REG8 dat) { | static void IOOUTCALL cpuio_of2(UINT port, REG8 dat) { |
| CPU_ADRSMASK = 0xffffffff; | CPU_ADRSMASK = 0xffffffff; |
| #if defined(CPUCORE_IA32) | |
| cpumem_addrmask = 0xffffffff; | |
| #endif | |
| (void)port; | (void)port; |
| (void)dat; | (void)dat; |
| } | } |
| Line 68 static void IOOUTCALL cpuio_of6(UINT por | Line 56 static void IOOUTCALL cpuio_of6(UINT por |
| switch(dat) { | switch(dat) { |
| case 0x02: | case 0x02: |
| CPU_ADRSMASK = 0xffffffff; | CPU_ADRSMASK = 0xffffffff; |
| #if defined(CPUCORE_IA32) | |
| cpumem_addrmask = 0xffffffff; | |
| #endif | |
| break; | break; |
| case 0x03: | case 0x03: |
| CPU_ADRSMASK = 0x0fffff; | CPU_ADRSMASK = 0x0fffff; |
| #if defined(CPUCORE_IA32) | |
| cpumem_addrmask = 0xfffff; | |
| #endif | |
| break; | |
| } | } |
| (void)port; | (void)port; |
| } | } |