@Override
    public int execute(int cycles) {
        nec_ICount[0] = cycles;	/* ASG 971222 cycles_per_run;*/

        while (nec_ICount[0] > 0) {
            /*TODO*///
    /*TODO*///#ifdef VERBOSE_DEBUG
    /*TODO*///printf("[%04x:%04x]=%02x\tAW=%04x\tBW=%04x\tCW=%04x\tDW=%04x\n",sregs[CS],I.ip,GetMemB(CS,I.ip),I.regs.w[AW],I.regs.w[BW],I.regs.w[CW],I.regs.w[DW]);
    /*TODO*///#endif
    /*TODO*///
            if ((I.pending_irq != 0 && I.IF != 0) || (I.pending_irq & NMI_IRQ) != 0) {
                external_int(); 	 /* HJB 12/15/98 */

            }

            I.seg_prefix = 0;//FALSE
            int FETCHOP = cpu_readop((I.base[CS] + I.ip++)) & 0xFF;
            switch (FETCHOP) {
                case 0x00:
                    i_add_br8.handler();
                    break;
                case 0x01:
                    i_add_wr16.handler();
                    break;
                case 0x02:
                    i_add_r8b.handler();
                    break;
                case 0x03:
                    i_add_r16w.handler();
                    break;
                case 0x04:
                    i_add_ald8.handler();
                    break;
                case 0x05:
                    i_add_axd16.handler();
                    break;
                case 0x06:
                    i_push_es.handler();
                    break;
                case 0x07:
                    i_pop_es.handler();
                    break;
                case 0x08:
                    i_or_br8.handler();
                    break;
                case 0x09:
                    i_or_wr16.handler();
                    break;
                case 0x0a:
                    i_or_r8b.handler();
                    break;
                case 0x0b:
                    i_or_r16w.handler();
                    break;
                case 0x0c:
                    i_or_ald8.handler();
                    break;
                case 0x0d:
                    i_or_axd16.handler();
                    break;
                case 0x0e:
                    i_push_cs.handler();
                    break;
                case 0x0f:
                    i_pre_nec.handler();
                    break;
                case 0x10:
                    i_adc_br8.handler();
                    break;
                case 0x11:
                    i_adc_wr16.handler();
                    break;
                case 0x12:
                    i_adc_r8b.handler();
                    break;
                case 0x13:
                    i_adc_r16w.handler();
                    break;
                case 0x14:
                    i_adc_ald8.handler();
                    break;
                case 0x15:
                    i_adc_axd16.handler();
                    break;
                case 0x16:
                    i_push_ss.handler();
                    break;
                case 0x17:
                    i_pop_ss.handler();
                    break;
                case 0x18:
                    i_sbb_br8.handler();
                    break;
                case 0x19:
                    i_sbb_wr16.handler();
                    break;
                case 0x1a:
                    i_sbb_r8b.handler();
                    break;
                case 0x1b:
                    i_sbb_r16w.handler();
                    break;
                case 0x1c:
                    i_sbb_ald8.handler();
                    break;
                case 0x1d:
                    i_sbb_axd16.handler();
                    break;
                case 0x1e:
                    i_push_ds.handler();
                    break;
                case 0x1f:
                    i_pop_ds.handler();
                    break;
                case 0x20:
                    i_and_br8.handler();
                    break;
                case 0x21:
                    i_and_wr16.handler();
                    break;
                case 0x22:
                    i_and_r8b.handler();
                    break;
                case 0x23:
                    i_and_r16w.handler();
                    break;
                case 0x24:
                    i_and_ald8.handler();
                    break;
                case 0x25:
                    i_and_axd16.handler();
                    break;
                case 0x26:
                    i_es.handler();
                    break;
                case 0x27:
                    i_daa.handler();
                    break;
                case 0x28:
                    i_sub_br8.handler();
                    break;
                case 0x29:
                    i_sub_wr16.handler();
                    break;
                case 0x2a:
                    i_sub_r8b.handler();
                    break;
                case 0x2b:
                    i_sub_r16w.handler();
                    break;
                case 0x2c:
                    i_sub_ald8.handler();
                    break;
                case 0x2d:
                    i_sub_axd16.handler();
                    break;
                case 0x2e:
                    i_cs.handler();
                    break;
                case 0x2f:
                    i_das.handler();
                    break;
                case 0x30:
                    i_xor_br8.handler();
                    break;
                case 0x31:
                    i_xor_wr16.handler();
                    break;
                case 0x32:
                    i_xor_r8b.handler();
                    break;
                case 0x33:
                    i_xor_r16w.handler();
                    break;
                case 0x34:
                    i_xor_ald8.handler();
                    break;
                case 0x35:
                    i_xor_axd16.handler();
                    break;
                case 0x36:
                    i_ss.handler();
                    break;
                /*TODO*///	case 0x37:    i_aaa(); break;
                case 0x38:
                    i_cmp_br8.handler();
                    break;
                case 0x39:
                    i_cmp_wr16.handler();
                    break;
                case 0x3a:
                    i_cmp_r8b.handler();
                    break;
                case 0x3b:
                    i_cmp_r16w.handler();
                    break;
                case 0x3c:
                    i_cmp_ald8.handler();
                    break;
                case 0x3d:
                    i_cmp_axd16.handler();
                    break;
                case 0x3e:
                    i_ds.handler();
                    break;
                /*TODO*///	case 0x3f:    i_aas(); break;
                case 0x40:
                    i_inc_ax.handler();
                    break;
                case 0x41:
                    i_inc_cx.handler();
                    break;
                case 0x42:
                    i_inc_dx.handler();
                    break;
                case 0x43:
                    i_inc_bx.handler();
                    break;
                case 0x44:
                    i_inc_sp.handler();
                    break;
                case 0x45:
                    i_inc_bp.handler();
                    break;
                case 0x46:
                    i_inc_si.handler();
                    break;
                case 0x47:
                    i_inc_di.handler();
                    break;
                case 0x48:
                    i_dec_ax.handler();
                    break;
                case 0x49:
                    i_dec_cx.handler();
                    break;
                case 0x4a:
                    i_dec_dx.handler();
                    break;
                case 0x4b:
                    i_dec_bx.handler();
                    break;
                case 0x4c:
                    i_dec_sp.handler();
                    break;
                case 0x4d:
                    i_dec_bp.handler();
                    break;
                case 0x4e:
                    i_dec_si.handler();
                    break;
                case 0x4f:
                    i_dec_di.handler();
                    break;
                case 0x50:
                    i_push_ax.handler();
                    break;
                case 0x51:
                    i_push_cx.handler();
                    break;
                case 0x52:
                    i_push_dx.handler();
                    break;
                case 0x53:
                    i_push_bx.handler();
                    break;
                /*TODO*///	case 0x54:    i_push_sp(); break;
                case 0x55:
                    i_push_bp.handler();
                    break;
                case 0x56:
                    i_push_si.handler();
                    break;
                case 0x57:
                    i_push_di.handler();
                    break;
                case 0x58:
                    i_pop_ax.handler();
                    break;
                case 0x59:
                    i_pop_cx.handler();
                    break;
                case 0x5a:
                    i_pop_dx.handler();
                    break;
                case 0x5b:
                    i_pop_bx.handler();
                    break;
                /*TODO*///	case 0x5c:    i_pop_sp(); break;
                case 0x5d:
                    i_pop_bp.handler();
                    break;
                case 0x5e:
                    i_pop_si.handler();
                    break;
                case 0x5f:
                    i_pop_di.handler();
                    break;
                case 0x60:
                    i_pusha.handler();
                    break;
                case 0x61:
                    i_popa.handler();
                    break;
                /*TODO*///        case 0x62:    i_bound(); break;
    /*TODO*///	case 0x63:    i_invalid(); break;
    /*TODO*///	case 0x64:    i_repnc(); break;
    /*TODO*///	case 0x65:	  i_repc(); break;
    /*TODO*///	case 0x66:    i_invalid(); break;
    /*TODO*///	case 0x67:    i_invalid(); break;
                case 0x68:
                    i_push_d16.handler();
                    break;
                /*TODO*///        case 0x69:    i_imul_d16(); break;
                case 0x6a:
                    i_push_d8.handler();
                    break;
                case 0x6b:
                    i_imul_d8.handler();
                    break;
                /*TODO*///        case 0x6c:    i_insb(); break;
    /*TODO*///        case 0x6d:    i_insw(); break;
    /*TODO*///        case 0x6e:    i_outsb(); break;
    /*TODO*///        case 0x6f:    i_outsw(); break;
                case 0x70:
                    i_jo.handler();
                    break;
                /*TODO*///	case 0x71:    i_jno(); break;
                case 0x72:
                    i_jb.handler();
                    break;
                case 0x73:
                    i_jnb.handler();
                    break;
                case 0x74:
                    i_jz.handler();
                    break;
                case 0x75:
                    i_jnz.handler();
                    break;
                case 0x76:
                    i_jbe.handler();
                    break;
                case 0x77:
                    i_jnbe.handler();
                    break;
                case 0x78:
                    i_js.handler();
                    break;
                case 0x79:
                    i_jns.handler();
                    break;
                case 0x7a:
                    i_jp.handler();
                    break;
                case 0x7b:
                    i_jnp.handler();
                    break;
                case 0x7c:
                    i_jl.handler();
                    break;
                case 0x7d:
                    i_jnl.handler();
                    break;
                case 0x7e:
                    i_jle.handler();
                    break;
                case 0x7f:
                    i_jnle.handler();
                    break;
                case 0x80:
                    i_80pre.handler();
                    break;
                case 0x81:
                    i_81pre.handler();
                    break;
                case 0x82:
                    i_82pre.handler();
                    break;
                case 0x83:
                    i_83pre.handler();
                    break;
                case 0x84:
                    i_test_br8.handler();
                    break;
                case 0x85:
                    i_test_wr16.handler();
                    break;
                case 0x86:
                    i_xchg_br8.handler();
                    break;
                case 0x87:
                    i_xchg_wr16.handler();
                    break;
                case 0x88:
                    i_mov_br8.handler();
                    break;
                case 0x89:
                    i_mov_wr16.handler();
                    break;
                case 0x8a:
                    i_mov_r8b.handler();
                    break;
                case 0x8b:
                    i_mov_r16w.handler();
                    break;
                case 0x8c:
                    i_mov_wsreg.handler();
                    break;
                case 0x8d:
                    i_lea.handler();
                    break;
                case 0x8e:
                    i_mov_sregw.handler();
                    break;
                case 0x8f:
                    i_popw.handler();
                    break;
                case 0x90:
                    i_nop.handler();
                    break;
                case 0x91:
                    i_xchg_axcx.handler();
                    break;
                case 0x92:
                    i_xchg_axdx.handler();
                    break;
                case 0x93:
                    i_xchg_axbx.handler();
                    break;
                /*TODO*///	case 0x94:    i_xchg_axsp(); break;
    /*TODO*///	case 0x95:    i_xchg_axbp(); break;
    /*TODO*///	case 0x96:    i_xchg_axsi(); break;
    /*TODO*///	case 0x97:    i_xchg_axdi(); break;
                case 0x98:
                    i_cbw.handler();
                    break;
                case 0x99:
                    i_cwd.handler();
                    break;
                case 0x9a:
                    i_call_far.handler();
                    break;
                /*TODO*///	case 0x9b:    i_wait(); break;
                case 0x9c:
                    i_pushf.handler();
                    break;
                case 0x9d:
                    i_popf.handler();
                    break;
                case 0x9e:
                    i_sahf.handler();
                    break;
                case 0x9f:
                    i_lahf.handler();
                    break;
                case 0xa0:
                    i_mov_aldisp.handler();
                    break;
                case 0xa1:
                    i_mov_axdisp.handler();
                    break;
                case 0xa2:
                    i_mov_dispal.handler();
                    break;
                case 0xa3:
                    i_mov_dispax.handler();
                    break;
                case 0xa4:
                    i_movsb.handler();
                    break;
                case 0xa5:
                    i_movsw.handler();
                    break;
                case 0xa6:
                    i_cmpsb.handler();
                    break;
                /*TODO*///	case 0xa7:    i_cmpsw(); break;
                case 0xa8:
                    i_test_ald8.handler();
                    break;
                case 0xa9:
                    i_test_axd16.handler();
                    break;
                case 0xaa:
                    i_stosb.handler();
                    break;
                case 0xab:
                    i_stosw.handler();
                    break;
                case 0xac:
                    i_lodsb.handler();
                    break;
                case 0xad:
                    i_lodsw.handler();
                    break;
                case 0xae:
                    i_scasb.handler();
                    break;
                case 0xaf:
                    i_scasw.handler();
                    break;
                case 0xb0:
                    i_mov_ald8.handler();
                    break;
                case 0xb1:
                    i_mov_cld8.handler();
                    break;
                case 0xb2:
                    i_mov_dld8.handler();
                    break;
                case 0xb3:
                    i_mov_bld8.handler();
                    break;
                case 0xb4:
                    i_mov_ahd8.handler();
                    break;
                case 0xb5:
                    i_mov_chd8.handler();
                    break;
                case 0xb6:
                    i_mov_dhd8.handler();
                    break;
                /*TODO*///	case 0xb7:    i_mov_bhd8(); break;
                case 0xb8:
                    i_mov_axd16.handler();
                    break;
                case 0xb9:
                    i_mov_cxd16.handler();
                    break;
                case 0xba:
                    i_mov_dxd16.handler();
                    break;
                case 0xbb:
                    i_mov_bxd16.handler();
                    break;
                case 0xbc:
                    i_mov_spd16.handler();
                    break;
                case 0xbd:
                    i_mov_bpd16.handler();
                    break;
                case 0xbe:
                    i_mov_sid16.handler();
                    break;
                case 0xbf:
                    i_mov_did16.handler();
                    break;
                case 0xc0:
                    i_rotshft_bd8.handler();
                    break;
                case 0xc1:
                    i_rotshft_wd8.handler();
                    break;
                /*TODO*///	case 0xc2:    i_ret_d16(); break;
                case 0xc3:
                    i_ret.handler();
                    break;
                case 0xc4:
                    i_les_dw.handler();
                    break;
                case 0xc5:
                    i_lds_dw.handler();
                    break;
                case 0xc6:
                    i_mov_bd8.handler();
                    break;
                case 0xc7:
                    i_mov_wd16.handler();
                    break;
                case 0xc8:
                    i_enter.handler();
                    break;
                case 0xc9:
                    i_leave.handler();
                    break;
                /*TODO*///	case 0xca:    i_retf_d16(); break;
                case 0xcb:
                    i_retf.handler();
                    break;
                /*TODO*///	case 0xcc:    i_int3(); break;
    /*TODO*///	case 0xcd:    i_int(); break;
    /*TODO*///	case 0xce:    i_into(); break;
                case 0xcf:
                    i_iret.handler();
                    break;
                case 0xd0:
                    i_rotshft_b.handler();
                    break;
                case 0xd1:
                    i_rotshft_w.handler();
                    break;
                case 0xd2:
                    i_rotshft_bcl.handler();
                    break;
                case 0xd3:
                    i_rotshft_wcl.handler();
                    break;
                case 0xd4:
                    i_aam.handler();
                    break;
                /*TODO*///	case 0xd5:    i_aad(); break;
    /*TODO*///	case 0xd6:    i_setalc(); break;
    /*TODO*///	case 0xd7:    i_xlat(); break;
                case 0xd8:
                    i_escape.handler();
                    break;
                case 0xd9:
                    i_escape.handler();
                    break;
                case 0xda:
                    i_escape.handler();
                    break;
                case 0xdb:
                    i_escape.handler();
                    break;
                case 0xdc:
                    i_escape.handler();
                    break;
                case 0xdd:
                    i_escape.handler();
                    break;
                case 0xde:
                    i_escape.handler();
                    break;
                case 0xdf:
                    i_escape.handler();
                    break;
                /*TODO*///	case 0xe0:    i_loopne(); break;
                case 0xe1:
                    i_loope.handler();
                    break;
                case 0xe2:
                    i_loop.handler();
                    break;
                case 0xe3:
                    i_jcxz.handler();
                    break;
                case 0xe4:
                    i_inal.handler();
                    break;
                case 0xe5:
                    i_inax.handler();
                    break;
                case 0xe6:
                    i_outal.handler();
                    break;
                case 0xe7:
                    i_outax.handler();
                    break;
                case 0xe8:
                    i_call_d16.handler();
                    break;
                case 0xe9:
                    i_jmp_d16.handler();
                    break;
                case 0xea:
                    i_jmp_far.handler();
                    break;
                case 0xeb:
                    i_jmp_d8.handler();
                    break;
                /*TODO*///	case 0xec:    i_inaldx(); break;
    /*TODO*///	case 0xed:    i_inaxdx(); break;
    /*TODO*///	case 0xee:    i_outdxal(); break;
    /*TODO*///	case 0xef:    i_outdxax(); break;
                case 0xf0:
                    i_lock.handler();
                    break;
                /*TODO*///	case 0xf1:    i_invalid(); break;
                case 0xf2:
                    i_repne.handler();
                    break;
                case 0xf3:
                    i_repe.handler();
                    break;
                /*TODO*///	case 0xf4:    i_hlt(); break;
                case 0xf5:
                    i_cmc.handler();
                    break;
                case 0xf6:
                    i_f6pre.handler();
                    break;
                case 0xf7:
                    i_f7pre.handler();
                    break;
                case 0xf8:
                    i_clc.handler();
                    break;
                case 0xf9:
                    i_stc.handler();
                    break;
                case 0xfa:
                    i_di.handler();
                    break;
                case 0xfb:
                    i_ei.handler();
                    break;
                case 0xfc:
                    i_cld.handler();
                    break;
                case 0xfd:
                    i_std.handler();
                    break;
                case 0xfe:
                    i_fepre.handler();
                    break;
                case 0xff:
                    i_ffpre.handler();
                    break;
                default:
                    System.out.println("Unsupported opcode 0x" + Integer.toHexString(FETCHOP));
                    if (neclog != null) {
                        fclose(neclog);
                    }
                    break;
            }
            //if (errorlog && cpu_get_pc()>0xc0000) fprintf(errorlog,"CPU %05x\n",cpu_get_pc());
        }
        return cycles - nec_ICount[0];
    }
    /*TODO*///
    /*TODO*///
    /*TODO*///unsigned nec_dasm(char *buffer, unsigned pc)
    /*TODO*///{
    /*TODO*///#ifdef MAME_DEBUG
    /*TODO*///    return Dasmnec(buffer,pc);
    /*TODO*///#else
    /*TODO*///	sprintf( buffer, "$%02X", cpu_readop(pc) );
    /*TODO*///	return 1;
    /*TODO*///#endif
    /*TODO*///}
    /*TODO*///
    /*TODO*////* Wrappers for the different CPU types */
    /*TODO*///void v20_reset(void *param) { nec_reset(param); }
    /*TODO*///void v20_exit(void) { nec_exit(); }
    /*TODO*///int v20_execute(int cycles) { return nec_execute(cycles); }
    /*TODO*///unsigned v20_get_context(void *dst) { return nec_get_context(dst); }
    /*TODO*///void v20_set_context(void *src) { nec_set_context(src); }
    /*TODO*///unsigned v20_get_pc(void) { return nec_get_pc(); }
    /*TODO*///void v20_set_pc(unsigned val) { nec_set_pc(val); }
    /*TODO*///unsigned v20_get_sp(void) { return nec_get_sp(); }
    /*TODO*///void v20_set_sp(unsigned val) { nec_set_sp(val); }
    /*TODO*///unsigned v20_get_reg(int regnum) { return nec_get_reg(regnum); }
    /*TODO*///void v20_set_reg(int regnum, unsigned val)	{ nec_set_reg(regnum,val); }
    /*TODO*///void v20_set_nmi_line(int state) { nec_set_nmi_line(state); }
    /*TODO*///void v20_set_irq_line(int irqline, int state) { nec_set_irq_line(irqline,state); }
    /*TODO*///void v20_set_irq_callback(int (*callback)(int irqline)) { nec_set_irq_callback(callback); }
    /*TODO*///const char *v20_info(void *context, int regnum)
    /*TODO*///{
    /*TODO*///    static char buffer[32][63+1];
    /*TODO*///    static int which = 0;
    /*TODO*///    nec_Regs *r = context;
    /*TODO*///
    /*TODO*///    which = ++which % 32;
    /*TODO*///    buffer[which][0] = '\0';
    /*TODO*///    if( !context )
    /*TODO*///        r = &I;
    /*TODO*///
    /*TODO*///    switch( regnum )
    /*TODO*///    {
    /*TODO*///        case CPU_INFO_REG+NEC_IP: sprintf(buffer[which], "IP:%04X", r->ip); break;
    /*TODO*///        case CPU_INFO_REG+NEC_SP: sprintf(buffer[which], "SP:%04X", r->regs.w[SP]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_FLAGS: sprintf(buffer[which], "F:%04X", r->flags); break;
    /*TODO*///        case CPU_INFO_REG+NEC_AW: sprintf(buffer[which], "AW:%04X", r->regs.w[AW]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_CW: sprintf(buffer[which], "CW:%04X", r->regs.w[CW]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_DW: sprintf(buffer[which], "DW:%04X", r->regs.w[DW]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_BW: sprintf(buffer[which], "BW:%04X", r->regs.w[BW]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_BP: sprintf(buffer[which], "BP:%04X", r->regs.w[BP]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_IX: sprintf(buffer[which], "IX:%04X", r->regs.w[IX]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_IY: sprintf(buffer[which], "IY:%04X", r->regs.w[IY]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_ES: sprintf(buffer[which], "ES:%04X", r->sregs[ES]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_CS: sprintf(buffer[which], "CS:%04X", r->sregs[CS]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_SS: sprintf(buffer[which], "SS:%04X", r->sregs[SS]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_DS: sprintf(buffer[which], "DS:%04X", r->sregs[DS]); break;
    /*TODO*///        case CPU_INFO_REG+NEC_VECTOR: sprintf(buffer[which], "V:%02X", r->int_vector); break;
    /*TODO*///        case CPU_INFO_REG+NEC_PENDING: sprintf(buffer[which], "P:%X", r->pending_irq); break;
    /*TODO*///        case CPU_INFO_REG+NEC_NMI_STATE: sprintf(buffer[which], "NMI:%X", r->nmi_state); break;
    /*TODO*///        case CPU_INFO_REG+NEC_IRQ_STATE: sprintf(buffer[which], "IRQ:%X", r->irq_state); break;
    /*TODO*///        case CPU_INFO_FLAGS:
    /*TODO*///            r->flags = CompressFlags();
    /*TODO*///            sprintf(buffer[which], "%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
    /*TODO*///                r->flags & 0x8000 ? 'M':'.',
    /*TODO*///                r->flags & 0x4000 ? '?':'.',
    /*TODO*///                r->flags & 0x2000 ? '?':'.',
    /*TODO*///                r->flags & 0x1000 ? '?':'.',
    /*TODO*///                r->flags & 0x0800 ? 'O':'.',
    /*TODO*///                r->flags & 0x0400 ? 'D':'.',
    /*TODO*///                r->flags & 0x0200 ? 'I':'.',
    /*TODO*///                r->flags & 0x0100 ? 'T':'.',
    /*TODO*///                r->flags & 0x0080 ? 'S':'.',
    /*TODO*///                r->flags & 0x0040 ? 'Z':'.',
    /*TODO*///                r->flags & 0x0020 ? '?':'.',
    /*TODO*///                r->flags & 0x0010 ? 'A':'.',
    /*TODO*///                r->flags & 0x0008 ? '?':'.',
    /*TODO*///                r->flags & 0x0004 ? 'P':'.',
    /*TODO*///                r->flags & 0x0002 ? 'N':'.',
    /*TODO*///                r->flags & 0x0001 ? 'C':'.');
    /*TODO*///            break;
    /*TODO*///        case CPU_INFO_NAME: return "V20";
    /*TODO*///        case CPU_INFO_FAMILY: return "NEC V-Series";
    /*TODO*///        case CPU_INFO_VERSION: return "1.6";
    /*TODO*///        case CPU_INFO_FILE: return __FILE__;
    /*TODO*///        case CPU_INFO_CREDITS: return "Real mode NEC emulator v1.3 by Oliver Bergmann\n(initial work based on Fabrice Fabian's i86 core)";
    /*TODO*///        case CPU_INFO_REG_LAYOUT: return (const char*)nec_reg_layout;
    /*TODO*///        case CPU_INFO_WIN_LAYOUT: return (const char*)nec_win_layout;
    /*TODO*///    }
    /*TODO*///    return buffer[which];
    /*TODO*///}
    /*TODO*///unsigned v20_dasm(char *buffer, unsigned pc) { return nec_dasm(buffer,pc); }
    /*TODO*///
    /*TODO*///void v30_reset(void *param) { nec_reset(param); }
    /*TODO*///void v30_exit(void) { nec_exit(); }
    /*TODO*///int v30_execute(int cycles) { return nec_execute(cycles); }
    /*TODO*///unsigned v30_get_context(void *dst) { return nec_get_context(dst); }
    /*TODO*///void v30_set_context(void *src) { nec_set_context(src); }
    /*TODO*///unsigned v30_get_pc(void) { return nec_get_pc(); }
    /*TODO*///void v30_set_pc(unsigned val) { nec_set_pc(val); }
    /*TODO*///unsigned v30_get_sp(void) { return nec_get_sp(); }
    /*TODO*///void v30_set_sp(unsigned val) { nec_set_sp(val); }
    /*TODO*///unsigned v30_get_reg(int regnum) { return nec_get_reg(regnum); }
    /*TODO*///void v30_set_reg(int regnum, unsigned val)	{ nec_set_reg(regnum,val); }
    /*TODO*///void v30_set_nmi_line(int state) { nec_set_nmi_line(state); }
    /*TODO*///void v30_set_irq_line(int irqline, int state) { nec_set_irq_line(irqline,state); }
    /*TODO*///void v30_set_irq_callback(int (*callback)(int irqline)) { nec_set_irq_callback(callback); }