|
|
| version 1.14, 2004/03/25 10:41:13 | version 1.17, 2005/03/12 12:32:54 |
|---|---|
| Line 12 | Line 12 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. |
| * 3. The name of the author may not be used to endorse or promote products | |
| * derived from this software without specific prior written permission. | |
| * | * |
| * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 41 | Line 39 |
| #define CPU_isEI (CPU_FLAG & I_FLAG) | #define CPU_isEI (CPU_FLAG & I_FLAG) |
| #define CPU_isDI (!CPU_isEI) | #define CPU_isDI (!CPU_isEI) |
| #define CPU_A20EN(en) CPU_ADRSMASK = (en)?0xffffffff:0x00ffffff; | #define CPU_A20EN(en) CPU_ADRSMASK = (en)?0xffffffff:0x000fffff; |
| #define CPU_INITIALIZE() i386c_initialize() | #define CPU_INITIALIZE() i386c_initialize() |
| #define CPU_DEINITIALIZE() | #define CPU_DEINITIALIZE() |
| Line 52 | Line 50 |
| #define CPU_EXECV30() ia32() | #define CPU_EXECV30() ia32() |
| #define CPU_SHUT() ia32shut() | #define CPU_SHUT() ia32shut() |
| #define CPU_SETEXTSIZE(size) ia32_setextsize((UINT32)(size) << 20) | #define CPU_SETEXTSIZE(size) ia32_setextsize((UINT32)(size) << 20) |
| #define CPU_SETEMM(frame, addr) | #define CPU_SETEMM(frame, addr) ia32_setemm(frame, addr) |
| #define cpu_memorywrite(a,v) i286_memorywrite(a,v) | #define cpu_memorywrite(a,v) i286_memorywrite(a,v) |
| #define cpu_memorywrite_b(a,v) i286_memorywrite(a,v) | #define cpu_memorywrite_b(a,v) i286_memorywrite(a,v) |