|
|
| version 1.3, 2003/12/22 10:24:50 | version 1.7, 2004/01/05 15:47:18 |
|---|---|
| Line 73 const UINT8 iflags[512] = { // Z_FLA | Line 73 const UINT8 iflags[512] = { // Z_FLA |
| // ---- | // ---- |
| void i286a_reset(void) { | static void i286a_initreg(void) { |
| ZeroMemory(&CPU_STATSAVE, sizeof(CPU_STATSAVE)); | CPU_CS = 0xf000; |
| CPU_CS = 0x1fc0; | CS_BASE = 0xf0000; |
| CS_BASE = 0x1fc00; | CPU_IP = 0xfff0; |
| CPU_ADRSMASK = 0xfffff; | CPU_ADRSMASK = 0xfffff; |
| } | } |
| void i286a_reset(void) { | |
| ZeroMemory(&i286acore.s, sizeof(i286acore.s)); | |
| i286a_initreg(); | |
| } | |
| void i286a_shut(void) { | |
| ZeroMemory(&i286acore.s, offsetof(I286STAT, cpu_type)); | |
| i286a_initreg(); | |
| } | |
| #if 0 // ---- test | #if 0 // ---- test |
| void ea_assert(UINT32 x) { | void ea_assert(UINT32 x) { |