--- np2/i286x/i286x.cpp 2003/12/24 14:01:41 1.10 +++ np2/i286x/i286x.cpp 2003/12/25 19:58:24 1.12 @@ -60,11 +60,21 @@ void i286x_initialize(void) { void i286x_reset(void) { ZeroMemory(&i286core.s, sizeof(i286core.s)); - I286_CS = 0x1fc0; - CS_BASE = 0x1fc00; + I286_CS = 0xffff; + CS_BASE = 0xffff0; i286core.s.adrsmask = 0xfffff; } +void i286x_shut(void) { + + I286_MSW = 0; + I286_CS = 0xffff; + CS_BASE = 0xffff0; + I286_IP = 0; + I286_ADRSMASK = 0xfffff; + i286x_resetprefetch(); +} + LABEL void i286x_resetprefetch(void) {