--- np2/i286c/i286c_mn.c 2003/11/30 16:17:12 1.17 +++ np2/i286c/i286c_mn.c 2003/12/01 10:45:46 1.18 @@ -627,13 +627,13 @@ I286FN _segprefix_es(void) { // 26: SS_FIX = ES_BASE; DS_FIX = ES_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -773,13 +773,13 @@ I286FN _segprefix_cs(void) { // 2e: SS_FIX = CS_BASE; DS_FIX = CS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -914,13 +914,13 @@ I286FN _segprefix_ss(void) { // 36: SS_FIX = SS_BASE; DS_FIX = SS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -1030,13 +1030,13 @@ I286FN _segprefix_ds(void) { // 3e: SS_FIX = DS_BASE; DS_FIX = DS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -2478,9 +2478,9 @@ I286FN _in_al_data8(void) { // E4: i I286_WORKCLOCK(5); GET_PCBYTE(port) - i286reg.inport = CS_BASE + I286_IP; + i286core.s.inport = CS_BASE + I286_IP; I286_AL = iocore_inp8(port); - i286reg.inport = 0; + i286core.s.inport = 0; } I286FN _in_ax_data8(void) { // E5: in ax, DATA8 @@ -2580,12 +2580,12 @@ I286FN _lock(void) { // F0: lock I286FN _repne(void) { // F2: repne - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repne[op](); - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -2594,12 +2594,12 @@ I286FN _repne(void) { // F2: repne I286FN _repe(void) { // F3: repe - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repe[op](); - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -2984,13 +2984,13 @@ I286FN _repe_segprefix_es(void) { DS_FIX = ES_BASE; SS_FIX = ES_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repe[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3001,13 +3001,13 @@ I286FN _repe_segprefix_cs(void) { DS_FIX = CS_BASE; SS_FIX = CS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repe[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3018,13 +3018,13 @@ I286FN _repe_segprefix_ss(void) { DS_FIX = SS_BASE; SS_FIX = SS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repe[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3035,13 +3035,13 @@ I286FN _repe_segprefix_ds(void) { DS_FIX = DS_BASE; SS_FIX = DS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repe[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3329,13 +3329,13 @@ I286FN _repne_segprefix_es(void) { DS_FIX = ES_BASE; SS_FIX = ES_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repne[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3346,13 +3346,13 @@ I286FN _repne_segprefix_cs(void) { DS_FIX = CS_BASE; SS_FIX = CS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repne[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3363,13 +3363,13 @@ I286FN _repne_segprefix_ss(void) { DS_FIX = SS_BASE; SS_FIX = SS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repne[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP); @@ -3380,13 +3380,13 @@ I286FN _repne_segprefix_ds(void) { DS_FIX = DS_BASE; SS_FIX = DS_BASE; - i286reg.prefix++; - if (i286reg.prefix < MAX_PREFIX) { + i286core.s.prefix++; + if (i286core.s.prefix < MAX_PREFIX) { UINT op; GET_PCBYTE(op); i286op_repne[op](); REMOVE_PREFIX - i286reg.prefix = 0; + i286core.s.prefix = 0; } else { INT_NUM(6, I286_IP);