|
|
| version 1.10, 2003/12/24 14:01:41 | version 1.13, 2003/12/25 20:30:22 |
|---|---|
| Line 60 void i286x_initialize(void) { | Line 60 void i286x_initialize(void) { |
| void i286x_reset(void) { | void i286x_reset(void) { |
| ZeroMemory(&i286core.s, sizeof(i286core.s)); | ZeroMemory(&i286core.s, sizeof(i286core.s)); |
| I286_CS = 0x1fc0; | I286_CS = 0xf000; |
| CS_BASE = 0x1fc00; | CS_BASE = 0xf0000; |
| I286_IP = 0xfff0; | |
| i286core.s.adrsmask = 0xfffff; | i286core.s.adrsmask = 0xfffff; |
| } | } |
| void i286x_shut(void) { | |
| I286_MSW = 0; | |
| I286_ES = 0; | |
| I286_CS = 0xf000; | |
| I286_SS = 0; | |
| I286_DS = 0; | |
| ES_BASE = 0; | |
| CS_BASE = 0xf0000; | |
| SS_BASE = 0; | |
| DS_BASE = 0; | |
| SS_FIX = 0; | |
| DS_FIX = 0; | |
| I286_IP = 0xfff0; | |
| I286_ADRSMASK = 0xfffff; | |
| i286x_resetprefetch(); | |
| } | |
| LABEL void i286x_resetprefetch(void) { | LABEL void i286x_resetprefetch(void) { |