summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-05-13 11:33:24 +0200
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2015-05-13 11:33:24 +0200
commit9f1788f65c243208e1ea386bc476dfb71f89bcb7 (patch) (github)
tree476b446c352f7c27e1aab972cf5eee7fe94e77b2
parent475e90ca8b6cc97c1d021fdeab23a05ba9b93a53 (diff)
downloadmame-9f1788f65c243208e1ea386bc476dfb71f89bcb7.tar.bz2
mame-9f1788f65c243208e1ea386bc476dfb71f89bcb7.zip
Sorted out cpu cores (nw)
-rw-r--r--src/emu/cpu/8x300/8x300.c4
-rw-r--r--src/emu/cpu/8x300/8x300.h4
-rw-r--r--src/emu/cpu/8x300/8x300dasm.c4
-rw-r--r--src/emu/cpu/adsp2100/2100dasm.c4
-rw-r--r--src/emu/cpu/adsp2100/2100ops.inc2
-rw-r--r--src/emu/cpu/alph8201/8201dasm.c2
-rw-r--r--src/emu/cpu/alph8201/alph8201.c2
-rw-r--r--src/emu/cpu/alph8201/alph8201.h2
-rw-r--r--src/emu/cpu/am29000/am29000.c2
-rw-r--r--src/emu/cpu/am29000/am29000.h2
-rw-r--r--src/emu/cpu/am29000/am29dasm.c2
-rw-r--r--src/emu/cpu/am29000/am29ops.h2
-rw-r--r--src/emu/cpu/amis2000/amis2000op.inc2
-rw-r--r--src/emu/cpu/apexc/apexc.c2
-rw-r--r--src/emu/cpu/apexc/apexc.h2
-rw-r--r--src/emu/cpu/apexc/apexcdsm.c2
-rw-r--r--src/emu/cpu/arc/arc.c4
-rw-r--r--src/emu/cpu/arc/arc.h4
-rw-r--r--src/emu/cpu/arc/arcdasm.c4
-rw-r--r--src/emu/cpu/arcompact/arcompact.c4
-rw-r--r--src/emu/cpu/arcompact/arcompact.h4
-rw-r--r--src/emu/cpu/arcompact/arcompact_common.c4
-rw-r--r--src/emu/cpu/arcompact/arcompact_common.h4
-rw-r--r--src/emu/cpu/arcompact/arcompact_execute.c4
-rw-r--r--src/emu/cpu/arcompact/arcompactdasm.c4
-rw-r--r--src/emu/cpu/arcompact/arcompactdasm_dispatch.c4
-rw-r--r--src/emu/cpu/arcompact/arcompactdasm_dispatch.h4
-rw-r--r--src/emu/cpu/arcompact/arcompactdasm_ops.c4
-rw-r--r--src/emu/cpu/arcompact/arcompactdasm_ops.h4
-rw-r--r--src/emu/cpu/arm/arm.h4
-rw-r--r--src/emu/cpu/arm7/arm7.h2
-rw-r--r--src/emu/cpu/arm7/arm7core.h2
-rw-r--r--src/emu/cpu/arm7/arm7dasm.c2
-rw-r--r--src/emu/cpu/arm7/arm7help.h2
-rw-r--r--src/emu/cpu/arm7/arm7ops.c2
-rw-r--r--src/emu/cpu/arm7/arm7tdrc.inc2
-rw-r--r--src/emu/cpu/arm7/arm7thmb.c2
-rw-r--r--src/emu/cpu/cp1610/1610dasm.c2
-rw-r--r--src/emu/cpu/cp1610/cp1610.c2
-rw-r--r--src/emu/cpu/cp1610/cp1610.h2
-rw-r--r--src/emu/cpu/cubeqcpu/cubedasm.c2
-rw-r--r--src/emu/cpu/cubeqcpu/cubeqcpu.c2
-rw-r--r--src/emu/cpu/cubeqcpu/cubeqcpu.h2
-rw-r--r--src/emu/cpu/dsp16/dsp16.c4
-rw-r--r--src/emu/cpu/dsp16/dsp16.h4
-rw-r--r--src/emu/cpu/dsp16/dsp16dis.c4
-rw-r--r--src/emu/cpu/dsp16/dsp16ops.inc2
-rw-r--r--src/emu/cpu/dsp56k/dsp56def.h4
-rw-r--r--src/emu/cpu/dsp56k/dsp56dsm.c4
-rw-r--r--src/emu/cpu/dsp56k/dsp56k.c4
-rw-r--r--src/emu/cpu/dsp56k/dsp56k.h4
-rw-r--r--src/emu/cpu/dsp56k/dsp56mem.c4
-rw-r--r--src/emu/cpu/dsp56k/dsp56mem.h4
-rw-r--r--src/emu/cpu/dsp56k/dsp56ops.inc2
-rw-r--r--src/emu/cpu/dsp56k/dsp56pcu.c4
-rw-r--r--src/emu/cpu/dsp56k/dsp56pcu.h4
-rw-r--r--src/emu/cpu/dsp56k/inst.c4
-rw-r--r--src/emu/cpu/dsp56k/inst.h4
-rw-r--r--src/emu/cpu/dsp56k/opcode.c4
-rw-r--r--src/emu/cpu/dsp56k/opcode.h4
-rw-r--r--src/emu/cpu/dsp56k/pmove.c4
-rw-r--r--src/emu/cpu/dsp56k/pmove.h4
-rw-r--r--src/emu/cpu/dsp56k/tables.c4
-rw-r--r--src/emu/cpu/dsp56k/tables.h4
-rw-r--r--src/emu/cpu/e0c6200/e0c6200op.inc2
-rw-r--r--src/emu/cpu/e132xs/e132xs.h4
-rw-r--r--src/emu/cpu/e132xs/e132xsop.inc2
-rw-r--r--src/emu/cpu/es5510/es5510.c2
-rw-r--r--src/emu/cpu/es5510/es5510.h2
-rw-r--r--src/emu/cpu/esrip/esrip.c2
-rw-r--r--src/emu/cpu/esrip/esrip.h2
-rw-r--r--src/emu/cpu/esrip/esripdsm.c2
-rw-r--r--src/emu/cpu/f8/f8dasm.c4
-rw-r--r--src/emu/cpu/h8/h83002.c4
-rw-r--r--src/emu/cpu/h8/h83006.c4
-rw-r--r--src/emu/cpu/h8/h83008.c4
-rw-r--r--src/emu/cpu/h8/h83048.c4
-rw-r--r--src/emu/cpu/h8/h83337.c4
-rw-r--r--src/emu/cpu/h8/h8_adc.c4
-rw-r--r--src/emu/cpu/h8/h8_intc.c4
-rw-r--r--src/emu/cpu/h8/h8_port.c4
-rw-r--r--src/emu/cpu/h8/h8_sci.c4
-rw-r--r--src/emu/cpu/h8/h8_timer16.c4
-rw-r--r--src/emu/cpu/h8/h8_timer8.c4
-rw-r--r--src/emu/cpu/h8/h8h.c4
-rw-r--r--src/emu/cpu/h8/h8s2000.c4
-rw-r--r--src/emu/cpu/h8/h8s2245.c4
-rw-r--r--src/emu/cpu/h8/h8s2320.c4
-rw-r--r--src/emu/cpu/h8/h8s2357.c4
-rw-r--r--src/emu/cpu/h8/h8s2600.c4
-rw-r--r--src/emu/cpu/h8/h8s2655.c4
-rw-r--r--src/emu/cpu/hcd62121/hcd62121.c4
-rw-r--r--src/emu/cpu/hcd62121/hcd62121.h4
-rw-r--r--src/emu/cpu/hcd62121/hcd62121_ops.h4
-rw-r--r--src/emu/cpu/hcd62121/hcd62121d.c4
-rw-r--r--src/emu/cpu/hmcs40/hmcs40op.inc2
-rw-r--r--src/emu/cpu/i8085/i8085.h4
-rw-r--r--src/emu/cpu/i8085/i8085cpu.h4
-rw-r--r--src/emu/cpu/i86/i186.c4
-rw-r--r--src/emu/cpu/i86/i186.h4
-rw-r--r--src/emu/cpu/i86/i286.c4
-rw-r--r--src/emu/cpu/i86/i286.h4
-rw-r--r--src/emu/cpu/i86/i86.c2
-rw-r--r--src/emu/cpu/i86/i86.h4
-rw-r--r--src/emu/cpu/i86/i86inline.h4
-rw-r--r--src/emu/cpu/i860/i860.c2
-rw-r--r--src/emu/cpu/i860/i860.h2
-rw-r--r--src/emu/cpu/i860/i860dasm.c2
-rw-r--r--src/emu/cpu/i860/i860dec.inc2
-rw-r--r--src/emu/cpu/i860/i860dis.c2
-rw-r--r--src/emu/cpu/i960/i960.c4
-rw-r--r--src/emu/cpu/i960/i960.h4
-rw-r--r--src/emu/cpu/i960/i960dis.c4
-rw-r--r--src/emu/cpu/i960/i960dis.h4
-rw-r--r--src/emu/cpu/konami/konamops.c4341
-rw-r--r--src/emu/cpu/konami/konamtbl.c493
-rw-r--r--src/emu/cpu/lh5801/5801tbl.inc2
-rw-r--r--src/emu/cpu/lr35902/lr35902.c4
-rw-r--r--src/emu/cpu/lr35902/lr35902.h4
-rw-r--r--src/emu/cpu/lr35902/lr35902d.c4
-rw-r--r--src/emu/cpu/lr35902/opc_cb.inc2
-rw-r--r--src/emu/cpu/lr35902/opc_main.inc2
-rw-r--r--src/emu/cpu/m6502/m3745x.c4
-rw-r--r--src/emu/cpu/m6502/m3745x.h4
-rw-r--r--src/emu/cpu/m6502/m5074x.c4
-rw-r--r--src/emu/cpu/m6502/m5074x.h4
-rw-r--r--src/emu/cpu/m6800/6800dasm.c4
-rw-r--r--src/emu/cpu/m6809/6309dasm.c4
-rw-r--r--src/emu/cpu/m6809/6809dasm.c4
-rw-r--r--src/emu/cpu/m6809/hd6309.c4
-rw-r--r--src/emu/cpu/m6809/hd6309.h4
-rw-r--r--src/emu/cpu/m6809/knmidasm.c4
-rw-r--r--src/emu/cpu/m6809/konami.c4
-rw-r--r--src/emu/cpu/m6809/konami.h4
-rw-r--r--src/emu/cpu/m6809/m6809.c4
-rw-r--r--src/emu/cpu/m6809/m6809.h4
-rw-r--r--src/emu/cpu/m6809/m6809inl.h4
-rw-r--r--src/emu/cpu/mb86233/mb86233.h4
-rw-r--r--src/emu/cpu/mb86233/mb86233d.c4
-rw-r--r--src/emu/cpu/mb86235/mb86235.c4
-rw-r--r--src/emu/cpu/mb86235/mb86235.h4
-rw-r--r--src/emu/cpu/mb86235/mb86235d.c4
-rw-r--r--src/emu/cpu/mc68hc11/hc11dasm.c2
-rw-r--r--src/emu/cpu/mc68hc11/hc11ops.h2
-rw-r--r--src/emu/cpu/mc68hc11/mc68hc11.h4
-rw-r--r--src/emu/cpu/mcs51/mcs51.c2
-rw-r--r--src/emu/cpu/mcs51/mcs51.h2
-rw-r--r--src/emu/cpu/mcs51/mcs51dasm.c2
-rw-r--r--src/emu/cpu/minx/minx.c4
-rw-r--r--src/emu/cpu/minx/minx.h4
-rw-r--r--src/emu/cpu/minx/minxd.c4
-rw-r--r--src/emu/cpu/minx/minxfunc.h4
-rw-r--r--src/emu/cpu/minx/minxopce.h4
-rw-r--r--src/emu/cpu/minx/minxopcf.h4
-rw-r--r--src/emu/cpu/minx/minxops.h4
-rw-r--r--src/emu/cpu/mips/mips3com.h4
-rw-r--r--src/emu/cpu/nec/nec.h4
-rw-r--r--src/emu/cpu/nec/necdasm.c4
-rw-r--r--src/emu/cpu/nec/necea.h4
-rw-r--r--src/emu/cpu/nec/necinstr.h4
-rw-r--r--src/emu/cpu/nec/necinstr.inc2
-rw-r--r--src/emu/cpu/nec/necmacro.h4
-rw-r--r--src/emu/cpu/nec/necmodrm.h4
-rw-r--r--src/emu/cpu/nec/necpriv.h4
-rw-r--r--src/emu/cpu/nec/v25.c4
-rw-r--r--src/emu/cpu/nec/v25.h4
-rw-r--r--src/emu/cpu/nec/v25instr.h4
-rw-r--r--src/emu/cpu/nec/v25instr.inc2
-rw-r--r--src/emu/cpu/nec/v25priv.h4
-rw-r--r--src/emu/cpu/nec/v25sfr.c4
-rw-r--r--src/emu/cpu/nec/v53.c4
-rw-r--r--src/emu/cpu/nec/v53.h4
-rw-r--r--src/emu/cpu/pdp1/pdp1.c2
-rw-r--r--src/emu/cpu/pdp1/pdp1.h2
-rw-r--r--src/emu/cpu/pdp1/pdp1dasm.c2
-rw-r--r--src/emu/cpu/pdp1/tx0.c2
-rw-r--r--src/emu/cpu/pdp1/tx0.h2
-rw-r--r--src/emu/cpu/pdp1/tx0dasm.c2
-rw-r--r--src/emu/cpu/pic16c5x/16c5xdsm.c2
-rw-r--r--src/emu/cpu/pic16c5x/dis16c5x.c2
-rw-r--r--src/emu/cpu/pic16c5x/pic16c5x.c2
-rw-r--r--src/emu/cpu/pic16c5x/pic16c5x.h2
-rw-r--r--src/emu/cpu/pic16c62x/16c62xdsm.c2
-rw-r--r--src/emu/cpu/pic16c62x/dis16c62x.c2
-rw-r--r--src/emu/cpu/pic16c62x/pic16c62x.c2
-rw-r--r--src/emu/cpu/pic16c62x/pic16c62x.h2
-rw-r--r--src/emu/cpu/powerpc/drc_ops.c4
-rw-r--r--src/emu/cpu/powerpc/drc_ops.h4
-rw-r--r--src/emu/cpu/powerpc/ppc.c4
-rw-r--r--src/emu/cpu/powerpc/ppc403.inc2
-rw-r--r--src/emu/cpu/powerpc/ppc602.inc2
-rw-r--r--src/emu/cpu/powerpc/ppc603.inc2
-rw-r--r--src/emu/cpu/powerpc/ppc_dasm.c4
-rw-r--r--src/emu/cpu/powerpc/ppc_mem.inc2
-rw-r--r--src/emu/cpu/powerpc/ppc_ops.h4
-rw-r--r--src/emu/cpu/powerpc/ppc_ops.inc2
-rw-r--r--src/emu/cpu/powerpc/ppccom.h4
-rw-r--r--src/emu/cpu/psx/dismips.c4
-rw-r--r--src/emu/cpu/rsp/rsp.c4
-rw-r--r--src/emu/cpu/rsp/rsp.h8
-rw-r--r--src/emu/cpu/rsp/rsp_dasm.c4
-rw-r--r--src/emu/cpu/rsp/rspcp2.c4
-rw-r--r--src/emu/cpu/rsp/rspcp2.h8
-rw-r--r--src/emu/cpu/rsp/rspcp2d.c4
-rw-r--r--src/emu/cpu/rsp/rspcp2d.h8
-rw-r--r--src/emu/cpu/rsp/rspcp2s.c4
-rw-r--r--src/emu/cpu/rsp/rspcp2s.h8
-rw-r--r--src/emu/cpu/rsp/rspdiv.h4
-rw-r--r--src/emu/cpu/rsp/rspdrc.c4
-rw-r--r--src/emu/cpu/rsp/rspfe.c8
-rw-r--r--src/emu/cpu/rsp/rspfe.h8
-rw-r--r--src/emu/cpu/s2650/2650dasm.c4
-rw-r--r--src/emu/cpu/s2650/s2650.h4
-rw-r--r--src/emu/cpu/saturn/satops.inc2
-rw-r--r--src/emu/cpu/saturn/sattable.inc2
-rw-r--r--src/emu/cpu/sc61860/readpc.c4
-rw-r--r--src/emu/cpu/sc61860/sctable.inc3
-rw-r--r--src/emu/cpu/se3208/se3208.c2
-rw-r--r--src/emu/cpu/se3208/se3208.h2
-rw-r--r--src/emu/cpu/se3208/se3208dis.c2
-rw-r--r--src/emu/cpu/sh2/sh2comn.h4
-rw-r--r--src/emu/cpu/sh2/sh2dasm.c4
-rw-r--r--src/emu/cpu/sh4/sh3comn.c4
-rw-r--r--src/emu/cpu/sh4/sh3comn.h4
-rw-r--r--src/emu/cpu/sh4/sh4comn.c4
-rw-r--r--src/emu/cpu/sh4/sh4comn.h4
-rw-r--r--src/emu/cpu/sh4/sh4dasm.c4
-rw-r--r--src/emu/cpu/sh4/sh4dmac.c4
-rw-r--r--src/emu/cpu/sh4/sh4dmac.h4
-rw-r--r--src/emu/cpu/sh4/sh4regs.h4
-rw-r--r--src/emu/cpu/sh4/sh4tmu.c4
-rw-r--r--src/emu/cpu/sh4/sh4tmu.h4
-rw-r--r--src/emu/cpu/sharc/compute.inc2
-rw-r--r--src/emu/cpu/sharc/sharc.c2
-rw-r--r--src/emu/cpu/sharc/sharc.h2
-rw-r--r--src/emu/cpu/sharc/sharcdma.inc2
-rw-r--r--src/emu/cpu/sharc/sharcdsm.c2
-rw-r--r--src/emu/cpu/sharc/sharcdsm.h2
-rw-r--r--src/emu/cpu/sharc/sharcmem.inc2
-rw-r--r--src/emu/cpu/sharc/sharcops.h2
-rw-r--r--src/emu/cpu/sharc/sharcops.inc2
-rw-r--r--src/emu/cpu/sm8500/sm8500.c4
-rw-r--r--src/emu/cpu/sm8500/sm8500.h4
-rw-r--r--src/emu/cpu/sm8500/sm8500d.c4
-rw-r--r--src/emu/cpu/sm8500/sm85ops.h4
-rw-r--r--src/emu/cpu/ssp1601/ssp1601.c7
-rw-r--r--src/emu/cpu/ssp1601/ssp1601.h4
-rw-r--r--src/emu/cpu/superfx/sfx_dasm.c4
-rw-r--r--src/emu/cpu/superfx/superfx.c4
-rw-r--r--src/emu/cpu/superfx/superfx.h4
-rw-r--r--src/emu/cpu/t11/t11.h4
-rw-r--r--src/emu/cpu/tlcs90/tlcs90.c2
-rw-r--r--src/emu/cpu/tlcs90/tlcs90.h2
-rw-r--r--src/emu/cpu/tlcs900/900tbl.inc2
-rw-r--r--src/emu/cpu/tlcs900/dasm900.c4
-rw-r--r--src/emu/cpu/tlcs900/tlcs900.c4
-rw-r--r--src/emu/cpu/tlcs900/tlcs900.h4
-rw-r--r--src/emu/cpu/tms32010/32010dsm.c2
-rw-r--r--src/emu/cpu/tms32010/dis32010.c2
-rw-r--r--src/emu/cpu/tms32010/tms32010.c2
-rw-r--r--src/emu/cpu/tms32010/tms32010.h2
-rw-r--r--src/emu/cpu/tms32025/32025dsm.c2
-rw-r--r--src/emu/cpu/tms32025/dis32025.c2
-rw-r--r--src/emu/cpu/tms32025/tms32025.c2
-rw-r--r--src/emu/cpu/tms32025/tms32025.h2
-rw-r--r--src/emu/cpu/tms32051/32051ops.c2
-rw-r--r--src/emu/cpu/tms32051/32051ops.h2
-rw-r--r--src/emu/cpu/tms32051/dis32051.c2
-rw-r--r--src/emu/cpu/tms32051/tms32051.c2
-rw-r--r--src/emu/cpu/tms32051/tms32051.h2
-rw-r--r--src/emu/cpu/tms32082/dis_mp.c2
-rw-r--r--src/emu/cpu/tms32082/dis_pp.c2
-rw-r--r--src/emu/cpu/tms32082/mp_ops.c2
-rw-r--r--src/emu/cpu/tms32082/tms32082.c2
-rw-r--r--src/emu/cpu/tms32082/tms32082.h2
-rw-r--r--src/emu/cpu/tms34010/34010dsm.c2
-rw-r--r--src/emu/cpu/tms34010/34010fld.c2
-rw-r--r--src/emu/cpu/tms34010/34010gfx.c2
-rw-r--r--src/emu/cpu/tms34010/34010ops.c2
-rw-r--r--src/emu/cpu/tms34010/34010ops.h2
-rw-r--r--src/emu/cpu/tms34010/34010tbl.c2
-rw-r--r--src/emu/cpu/tms34010/dis34010.c2
-rw-r--r--src/emu/cpu/tms34010/tms34010.c2
-rw-r--r--src/emu/cpu/tms34010/tms34010.h2
-rw-r--r--src/emu/cpu/ucom4/ucom4op.inc2
-rw-r--r--src/emu/cpu/upd7725/dasm7725.c4
-rw-r--r--src/emu/cpu/upd7725/upd7725.c4
-rw-r--r--src/emu/cpu/upd7725/upd7725.h4
-rw-r--r--src/emu/cpu/upd7810/upd7810.h4
-rw-r--r--src/emu/cpu/upd7810/upd7810_macros.h4
-rw-r--r--src/emu/cpu/v30mz/v30mz.h4
-rw-r--r--src/emu/cpu/v60/am.inc3
-rw-r--r--src/emu/cpu/v60/am1.inc3
-rw-r--r--src/emu/cpu/v60/am2.inc3
-rw-r--r--src/emu/cpu/v60/am3.inc3
-rw-r--r--src/emu/cpu/v60/op12.inc2
-rw-r--r--src/emu/cpu/v60/op2.inc3
-rw-r--r--src/emu/cpu/v60/op3.inc2
-rw-r--r--src/emu/cpu/v60/op4.inc3
-rw-r--r--src/emu/cpu/v60/op5.inc3
-rw-r--r--src/emu/cpu/v60/op6.inc3
-rw-r--r--src/emu/cpu/v60/op7a.inc3
-rw-r--r--src/emu/cpu/v60/optable.inc2
-rw-r--r--src/emu/cpu/v60/v60.c4
-rw-r--r--src/emu/cpu/v60/v60.h4
-rw-r--r--src/emu/cpu/v60/v60d.c4
-rw-r--r--src/emu/cpu/z180/z180.h4
-rw-r--r--src/emu/cpu/z180/z180cb.inc2
-rw-r--r--src/emu/cpu/z180/z180dd.inc2
-rw-r--r--src/emu/cpu/z180/z180ed.inc2
-rw-r--r--src/emu/cpu/z180/z180fd.inc2
-rw-r--r--src/emu/cpu/z180/z180op.inc3
-rw-r--r--src/emu/cpu/z180/z180ops.h4
-rw-r--r--src/emu/cpu/z180/z180tbl.h4
-rw-r--r--src/emu/cpu/z180/z180xy.inc2
-rw-r--r--src/emu/cpu/z8/z8.c4
-rw-r--r--src/emu/cpu/z8/z8.h4
-rw-r--r--src/emu/cpu/z8/z8dasm.c4
-rw-r--r--src/emu/cpu/z8/z8ops.inc2
-rw-r--r--src/emu/cpu/z80/kl5c80a12.c4
-rw-r--r--src/emu/cpu/z80/kl5c80a12.h4
-rw-r--r--src/emu/cpu/z80/tmpz84c011.c4
-rw-r--r--src/emu/cpu/z80/tmpz84c011.h4
-rw-r--r--src/emu/cpu/z80/tmpz84c015.c4
-rw-r--r--src/emu/cpu/z80/tmpz84c015.h4
-rw-r--r--src/emu/cpu/z80/z80.h4
-rw-r--r--src/emu/cpu/z80/z80daisy.c4
-rw-r--r--src/emu/cpu/z80/z80daisy.h4
-rw-r--r--src/emu/cpu/z8000/8000dasm.c2
-rw-r--r--src/emu/cpu/z8000/makedab.c4
-rw-r--r--src/emu/cpu/z8000/z8000.c2
-rw-r--r--src/emu/cpu/z8000/z8000.h4
-rw-r--r--src/emu/cpu/z8000/z8000dab.h4
-rw-r--r--src/emu/cpu/z8000/z8000ops.inc2
334 files changed, 565 insertions, 5359 deletions
diff --git a/src/emu/cpu/8x300/8x300.c b/src/emu/cpu/8x300/8x300.c
index 3a359e4aacc..0bbc7eec3d6 100644
--- a/src/emu/cpu/8x300/8x300.c
+++ b/src/emu/cpu/8x300/8x300.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Barry Rodewald
/*
* 8x300.c
*
diff --git a/src/emu/cpu/8x300/8x300.h b/src/emu/cpu/8x300/8x300.h
index 59dc37ca581..274f161c889 100644
--- a/src/emu/cpu/8x300/8x300.h
+++ b/src/emu/cpu/8x300/8x300.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Barry Rodewald
/*
* 8x300.h
*
diff --git a/src/emu/cpu/8x300/8x300dasm.c b/src/emu/cpu/8x300/8x300dasm.c
index 7ca7745bf6f..e35b2b7cb41 100644
--- a/src/emu/cpu/8x300/8x300dasm.c
+++ b/src/emu/cpu/8x300/8x300dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Barry Rodewald
/*
* 8x300dasm.c
* Implementation of the Scientific Micro Systems SMS300 / Signetics 8X300 Microcontroller
diff --git a/src/emu/cpu/adsp2100/2100dasm.c b/src/emu/cpu/adsp2100/2100dasm.c
index e669a7423de..47d8ad8e800 100644
--- a/src/emu/cpu/adsp2100/2100dasm.c
+++ b/src/emu/cpu/adsp2100/2100dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
#include "emu.h"
#include "adsp2100.h"
diff --git a/src/emu/cpu/adsp2100/2100ops.inc b/src/emu/cpu/adsp2100/2100ops.inc
index efa149762e7..31cae1ae59b 100644
--- a/src/emu/cpu/adsp2100/2100ops.inc
+++ b/src/emu/cpu/adsp2100/2100ops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/*===========================================================================
ASTAT -- ALU/MAC status register
===========================================================================*/
diff --git a/src/emu/cpu/alph8201/8201dasm.c b/src/emu/cpu/alph8201/8201dasm.c
index de636a8a343..35daa120390 100644
--- a/src/emu/cpu/alph8201/8201dasm.c
+++ b/src/emu/cpu/alph8201/8201dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tatsuyuki Satoh
/****************************************************************************
Alpha 8201/8301 Disassembler
diff --git a/src/emu/cpu/alph8201/alph8201.c b/src/emu/cpu/alph8201/alph8201.c
index 6bae2398c86..812492e595e 100644
--- a/src/emu/cpu/alph8201/alph8201.c
+++ b/src/emu/cpu/alph8201/alph8201.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tatsuyuki Satoh
/****************************************************************************
Alpha8201 Emulator
diff --git a/src/emu/cpu/alph8201/alph8201.h b/src/emu/cpu/alph8201/alph8201.h
index ea9d42d12c0..c2f40ac83f7 100644
--- a/src/emu/cpu/alph8201/alph8201.h
+++ b/src/emu/cpu/alph8201/alph8201.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tatsuyuki Satoh
/**************************************************************************\
* Alpha8201 Emulator *
* *
diff --git a/src/emu/cpu/am29000/am29000.c b/src/emu/cpu/am29000/am29000.c
index f66fe5fc40f..c95912edf27 100644
--- a/src/emu/cpu/am29000/am29000.c
+++ b/src/emu/cpu/am29000/am29000.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
am29000.c
diff --git a/src/emu/cpu/am29000/am29000.h b/src/emu/cpu/am29000/am29000.h
index 53b00496391..83f421f83c5 100644
--- a/src/emu/cpu/am29000/am29000.h
+++ b/src/emu/cpu/am29000/am29000.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
am29000.h
diff --git a/src/emu/cpu/am29000/am29dasm.c b/src/emu/cpu/am29000/am29dasm.c
index 8d58533362a..28ce48bad9e 100644
--- a/src/emu/cpu/am29000/am29dasm.c
+++ b/src/emu/cpu/am29000/am29dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
am29dasm.c
diff --git a/src/emu/cpu/am29000/am29ops.h b/src/emu/cpu/am29000/am29ops.h
index a839594a129..873be7eaa7d 100644
--- a/src/emu/cpu/am29000/am29ops.h
+++ b/src/emu/cpu/am29000/am29ops.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
am29ops.h
diff --git a/src/emu/cpu/amis2000/amis2000op.inc b/src/emu/cpu/amis2000/amis2000op.inc
index 051cce70151..f561b67f5eb 100644
--- a/src/emu/cpu/amis2000/amis2000op.inc
+++ b/src/emu/cpu/amis2000/amis2000op.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
// AMI S2000 opcode handlers
// internal helpers
diff --git a/src/emu/cpu/apexc/apexc.c b/src/emu/cpu/apexc/apexc.c
index 4737379e383..7a982e01f53 100644
--- a/src/emu/cpu/apexc/apexc.c
+++ b/src/emu/cpu/apexc/apexc.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
/*
cpu/apexc/apexc.c: APE(X)C CPU emulation
diff --git a/src/emu/cpu/apexc/apexc.h b/src/emu/cpu/apexc/apexc.h
index 77566f63a85..98ebc825f35 100644
--- a/src/emu/cpu/apexc/apexc.h
+++ b/src/emu/cpu/apexc/apexc.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
/* register names for apexc_get_reg & apexc_set_reg */
#pragma once
diff --git a/src/emu/cpu/apexc/apexcdsm.c b/src/emu/cpu/apexc/apexcdsm.c
index a2c01ec5b0c..c79359c7025 100644
--- a/src/emu/cpu/apexc/apexcdsm.c
+++ b/src/emu/cpu/apexc/apexcdsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
/*
cpu/apexc/apexcsm.c : APE(X)C CPU disassembler
diff --git a/src/emu/cpu/arc/arc.c b/src/emu/cpu/arc/arc.c
index ab0a395edbc..2fe40ae9bd6 100644
--- a/src/emu/cpu/arc/arc.c
+++ b/src/emu/cpu/arc/arc.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCtangent (A4) core
diff --git a/src/emu/cpu/arc/arc.h b/src/emu/cpu/arc/arc.h
index 7d78124e060..80ed03280bc 100644
--- a/src/emu/cpu/arc/arc.h
+++ b/src/emu/cpu/arc/arc.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCtangent (A4) core
diff --git a/src/emu/cpu/arc/arcdasm.c b/src/emu/cpu/arc/arcdasm.c
index ad62ebbe9f0..7a525d6cb61 100644
--- a/src/emu/cpu/arc/arcdasm.c
+++ b/src/emu/cpu/arc/arcdasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCtangent A4 disassembler
diff --git a/src/emu/cpu/arcompact/arcompact.c b/src/emu/cpu/arcompact/arcompact.c
index ea7b5c2a050..dca1bf9fd91 100644
--- a/src/emu/cpu/arcompact/arcompact.c
+++ b/src/emu/cpu/arcompact/arcompact.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact Core
diff --git a/src/emu/cpu/arcompact/arcompact.h b/src/emu/cpu/arcompact/arcompact.h
index 62373e45db3..c7b2b32f7fb 100644
--- a/src/emu/cpu/arcompact/arcompact.h
+++ b/src/emu/cpu/arcompact/arcompact.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact Core
diff --git a/src/emu/cpu/arcompact/arcompact_common.c b/src/emu/cpu/arcompact/arcompact_common.c
index 6a322993678..f9b74683461 100644
--- a/src/emu/cpu/arcompact/arcompact_common.c
+++ b/src/emu/cpu/arcompact/arcompact_common.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact Core
diff --git a/src/emu/cpu/arcompact/arcompact_common.h b/src/emu/cpu/arcompact/arcompact_common.h
index 165c51d7baf..86259ba2972 100644
--- a/src/emu/cpu/arcompact/arcompact_common.h
+++ b/src/emu/cpu/arcompact/arcompact_common.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact Core
diff --git a/src/emu/cpu/arcompact/arcompact_execute.c b/src/emu/cpu/arcompact/arcompact_execute.c
index a159a98e5ed..ae241987190 100644
--- a/src/emu/cpu/arcompact/arcompact_execute.c
+++ b/src/emu/cpu/arcompact/arcompact_execute.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
#include "emu.h"
#include "debugger.h"
diff --git a/src/emu/cpu/arcompact/arcompactdasm.c b/src/emu/cpu/arcompact/arcompactdasm.c
index 495dc4b0de2..aeb0c8747ac 100644
--- a/src/emu/cpu/arcompact/arcompactdasm.c
+++ b/src/emu/cpu/arcompact/arcompactdasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact disassembler
diff --git a/src/emu/cpu/arcompact/arcompactdasm_dispatch.c b/src/emu/cpu/arcompact/arcompactdasm_dispatch.c
index 2dcd743ef40..ddd809b84bc 100644
--- a/src/emu/cpu/arcompact/arcompactdasm_dispatch.c
+++ b/src/emu/cpu/arcompact/arcompactdasm_dispatch.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact disassembler
diff --git a/src/emu/cpu/arcompact/arcompactdasm_dispatch.h b/src/emu/cpu/arcompact/arcompactdasm_dispatch.h
index 83e46bb558d..40cb06f2d6b 100644
--- a/src/emu/cpu/arcompact/arcompactdasm_dispatch.h
+++ b/src/emu/cpu/arcompact/arcompactdasm_dispatch.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact disassembler
diff --git a/src/emu/cpu/arcompact/arcompactdasm_ops.c b/src/emu/cpu/arcompact/arcompactdasm_ops.c
index 98bb0aeb00d..eeac8cac2f8 100644
--- a/src/emu/cpu/arcompact/arcompactdasm_ops.c
+++ b/src/emu/cpu/arcompact/arcompactdasm_ops.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/*********************************\
ARCompact disassembler
diff --git a/src/emu/cpu/arcompact/arcompactdasm_ops.h b/src/emu/cpu/arcompact/arcompactdasm_ops.h
index 17dcdf2de81..a2d09d83441 100644
--- a/src/emu/cpu/arcompact/arcompactdasm_ops.h
+++ b/src/emu/cpu/arcompact/arcompactdasm_ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/************************************************************************************************************************************
* *
diff --git a/src/emu/cpu/arm/arm.h b/src/emu/cpu/arm/arm.h
index f1ff1b85f7f..824ac1b69db 100644
--- a/src/emu/cpu/arm/arm.h
+++ b/src/emu/cpu/arm/arm.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
#pragma once
#ifndef __ARM_H__
diff --git a/src/emu/cpu/arm7/arm7.h b/src/emu/cpu/arm7/arm7.h
index ea1059fdfa3..cb444cf69e4 100644
--- a/src/emu/cpu/arm7/arm7.h
+++ b/src/emu/cpu/arm7/arm7.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
/*****************************************************************************
*
* arm7.h
diff --git a/src/emu/cpu/arm7/arm7core.h b/src/emu/cpu/arm7/arm7core.h
index 3a0c77f2c11..ba75a0ddf01 100644
--- a/src/emu/cpu/arm7/arm7core.h
+++ b/src/emu/cpu/arm7/arm7core.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
/*****************************************************************************
*
* arm7core.h
diff --git a/src/emu/cpu/arm7/arm7dasm.c b/src/emu/cpu/arm7/arm7dasm.c
index a54f624e53e..50bcae74a1e 100644
--- a/src/emu/cpu/arm7/arm7dasm.c
+++ b/src/emu/cpu/arm7/arm7dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
/*****************************************************************************
*
* arm7dasm.c
diff --git a/src/emu/cpu/arm7/arm7help.h b/src/emu/cpu/arm7/arm7help.h
index 1ef7d9826bc..307da0e44ef 100644
--- a/src/emu/cpu/arm7/arm7help.h
+++ b/src/emu/cpu/arm7/arm7help.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
/* ARM7 core helper Macros / Functions */
/* Macros that need to be defined according to the cpu implementation specific need */
diff --git a/src/emu/cpu/arm7/arm7ops.c b/src/emu/cpu/arm7/arm7ops.c
index eec5dab6942..151299e1e98 100644
--- a/src/emu/cpu/arm7/arm7ops.c
+++ b/src/emu/cpu/arm7/arm7ops.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
#include "emu.h"
#include "arm7.h"
#include "arm7core.h"
diff --git a/src/emu/cpu/arm7/arm7tdrc.inc b/src/emu/cpu/arm7/arm7tdrc.inc
index 148ebcb099b..e9847a97642 100644
--- a/src/emu/cpu/arm7/arm7tdrc.inc
+++ b/src/emu/cpu/arm7/arm7tdrc.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
#include "emu.h"
#include "arm7core.h"
#include "arm7help.h"
diff --git a/src/emu/cpu/arm7/arm7thmb.c b/src/emu/cpu/arm7/arm7thmb.c
index fe057976dbf..5e67464d284 100644
--- a/src/emu/cpu/arm7/arm7thmb.c
+++ b/src/emu/cpu/arm7/arm7thmb.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
#include "emu.h"
#include "arm7.h"
#include "arm7core.h"
diff --git a/src/emu/cpu/cp1610/1610dasm.c b/src/emu/cpu/cp1610/1610dasm.c
index 80ff853a572..06f73664e8c 100644
--- a/src/emu/cpu/cp1610/1610dasm.c
+++ b/src/emu/cpu/cp1610/1610dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Frank Palazzolo
#include "emu.h"
#include "debugger.h"
#include "cp1610.h"
diff --git a/src/emu/cpu/cp1610/cp1610.c b/src/emu/cpu/cp1610/cp1610.c
index 656f9a563ea..b5c14fe32aa 100644
--- a/src/emu/cpu/cp1610/cp1610.c
+++ b/src/emu/cpu/cp1610/cp1610.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Frank Palazzolo
/*****************************************************************************
*
* cp1610.c
diff --git a/src/emu/cpu/cp1610/cp1610.h b/src/emu/cpu/cp1610/cp1610.h
index 5f034774aba..5b0924e2020 100644
--- a/src/emu/cpu/cp1610/cp1610.h
+++ b/src/emu/cpu/cp1610/cp1610.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Frank Palazzolo
/*****************************************************************************
*
* cp1610.h
diff --git a/src/emu/cpu/cubeqcpu/cubedasm.c b/src/emu/cpu/cubeqcpu/cubedasm.c
index c56668a138e..d62b6424ee3 100644
--- a/src/emu/cpu/cubeqcpu/cubedasm.c
+++ b/src/emu/cpu/cubeqcpu/cubedasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
cubedasm.c
diff --git a/src/emu/cpu/cubeqcpu/cubeqcpu.c b/src/emu/cpu/cubeqcpu/cubeqcpu.c
index 37bc5b027a3..cf4d78aee96 100644
--- a/src/emu/cpu/cubeqcpu/cubeqcpu.c
+++ b/src/emu/cpu/cubeqcpu/cubeqcpu.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
cubeqcpu.c
diff --git a/src/emu/cpu/cubeqcpu/cubeqcpu.h b/src/emu/cpu/cubeqcpu/cubeqcpu.h
index 83f13208f70..49fbea25548 100644
--- a/src/emu/cpu/cubeqcpu/cubeqcpu.h
+++ b/src/emu/cpu/cubeqcpu/cubeqcpu.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Philip Bennett
/***************************************************************************
cubeqcpu.h
diff --git a/src/emu/cpu/dsp16/dsp16.c b/src/emu/cpu/dsp16/dsp16.c
index 314735d0880..565377eb714 100644
--- a/src/emu/cpu/dsp16/dsp16.c
+++ b/src/emu/cpu/dsp16/dsp16.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp16.h
diff --git a/src/emu/cpu/dsp16/dsp16.h b/src/emu/cpu/dsp16/dsp16.h
index 7f08171f9a5..195cdcb5943 100644
--- a/src/emu/cpu/dsp16/dsp16.h
+++ b/src/emu/cpu/dsp16/dsp16.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp16.h
diff --git a/src/emu/cpu/dsp16/dsp16dis.c b/src/emu/cpu/dsp16/dsp16dis.c
index bee69e5f444..2e144df03af 100644
--- a/src/emu/cpu/dsp16/dsp16dis.c
+++ b/src/emu/cpu/dsp16/dsp16dis.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include "emu.h"
#include "dsp16.h"
diff --git a/src/emu/cpu/dsp16/dsp16ops.inc b/src/emu/cpu/dsp16/dsp16ops.inc
index 07d5b47cd7a..d63fe9d3f99 100644
--- a/src/emu/cpu/dsp16/dsp16ops.inc
+++ b/src/emu/cpu/dsp16/dsp16ops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include "dsp16.h"
#define DSP_LINE(__DSP_DOCLINE__) printf("0x%04x - %d (%s)\n", m_pc, __LINE__, __DSP_DOCLINE__);
diff --git a/src/emu/cpu/dsp56k/dsp56def.h b/src/emu/cpu/dsp56k/dsp56def.h
index 593e6fdb37e..14fe208dbb8 100644
--- a/src/emu/cpu/dsp56k/dsp56def.h
+++ b/src/emu/cpu/dsp56k/dsp56def.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
///////////////////////////////////////////
// All the macros that are fit to print. //
///////////////////////////////////////////
diff --git a/src/emu/cpu/dsp56k/dsp56dsm.c b/src/emu/cpu/dsp56k/dsp56dsm.c
index 8a3b79d4194..283f712ecda 100644
--- a/src/emu/cpu/dsp56k/dsp56dsm.c
+++ b/src/emu/cpu/dsp56k/dsp56dsm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp56dsm.c
diff --git a/src/emu/cpu/dsp56k/dsp56k.c b/src/emu/cpu/dsp56k/dsp56k.c
index 089eff44211..408521ea8fc 100644
--- a/src/emu/cpu/dsp56k/dsp56k.c
+++ b/src/emu/cpu/dsp56k/dsp56k.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp56k.c
diff --git a/src/emu/cpu/dsp56k/dsp56k.h b/src/emu/cpu/dsp56k/dsp56k.h
index 0199ffdade0..c8d8c948a90 100644
--- a/src/emu/cpu/dsp56k/dsp56k.h
+++ b/src/emu/cpu/dsp56k/dsp56k.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp56k.h
diff --git a/src/emu/cpu/dsp56k/dsp56mem.c b/src/emu/cpu/dsp56k/dsp56mem.c
index 698ec19c477..a6c4c61b9fe 100644
--- a/src/emu/cpu/dsp56k/dsp56mem.c
+++ b/src/emu/cpu/dsp56k/dsp56mem.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
// This file contains functions which handle the On-Chip peripheral Memory Map
// as well as the Host Interface and the SSI0/SSI1 Serial Interfaces.
diff --git a/src/emu/cpu/dsp56k/dsp56mem.h b/src/emu/cpu/dsp56k/dsp56mem.h
index 4023127859d..93ab74ede42 100644
--- a/src/emu/cpu/dsp56k/dsp56mem.h
+++ b/src/emu/cpu/dsp56k/dsp56mem.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56_MEM_H__
#define __DSP56_MEM_H__
diff --git a/src/emu/cpu/dsp56k/dsp56ops.inc b/src/emu/cpu/dsp56k/dsp56ops.inc
index e68ff70a26f..f00d1cc84b4 100644
--- a/src/emu/cpu/dsp56k/dsp56ops.inc
+++ b/src/emu/cpu/dsp56k/dsp56ops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
/***************************************************************************
dsp56ops.inc
diff --git a/src/emu/cpu/dsp56k/dsp56pcu.c b/src/emu/cpu/dsp56k/dsp56pcu.c
index 719b854161e..7ec53891e4c 100644
--- a/src/emu/cpu/dsp56k/dsp56pcu.c
+++ b/src/emu/cpu/dsp56k/dsp56pcu.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include "dsp56pcu.h"
#include "dsp56mem.h"
diff --git a/src/emu/cpu/dsp56k/dsp56pcu.h b/src/emu/cpu/dsp56k/dsp56pcu.h
index 5734213001a..7463ac11d35 100644
--- a/src/emu/cpu/dsp56k/dsp56pcu.h
+++ b/src/emu/cpu/dsp56k/dsp56pcu.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56_PCU_H__
#define __DSP56_PCU_H__
diff --git a/src/emu/cpu/dsp56k/inst.c b/src/emu/cpu/dsp56k/inst.c
index 1adf7de45b1..d01bbdbcf04 100644
--- a/src/emu/cpu/dsp56k/inst.c
+++ b/src/emu/cpu/dsp56k/inst.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include "inst.h"
#include "emu.h"
diff --git a/src/emu/cpu/dsp56k/inst.h b/src/emu/cpu/dsp56k/inst.h
index 3f2263e12c5..bbf9c0a7f1f 100644
--- a/src/emu/cpu/dsp56k/inst.h
+++ b/src/emu/cpu/dsp56k/inst.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56K_INSTRUCTION_H__
#define __DSP56K_INSTRUCTION_H__
diff --git a/src/emu/cpu/dsp56k/opcode.c b/src/emu/cpu/dsp56k/opcode.c
index d098ed4f86c..938014ca1fd 100644
--- a/src/emu/cpu/dsp56k/opcode.c
+++ b/src/emu/cpu/dsp56k/opcode.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include <stdio.h>
#include "opcode.h"
diff --git a/src/emu/cpu/dsp56k/opcode.h b/src/emu/cpu/dsp56k/opcode.h
index 56772a41dc0..20698ed88b3 100644
--- a/src/emu/cpu/dsp56k/opcode.h
+++ b/src/emu/cpu/dsp56k/opcode.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56K_OPCODE_H__
#define __DSP56K_OPCODE_H__
diff --git a/src/emu/cpu/dsp56k/pmove.c b/src/emu/cpu/dsp56k/pmove.c
index d3d05319983..eb1881a4040 100644
--- a/src/emu/cpu/dsp56k/pmove.c
+++ b/src/emu/cpu/dsp56k/pmove.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include "pmove.h"
namespace DSP56K
diff --git a/src/emu/cpu/dsp56k/pmove.h b/src/emu/cpu/dsp56k/pmove.h
index 1ba59015da2..1f81f94884b 100644
--- a/src/emu/cpu/dsp56k/pmove.h
+++ b/src/emu/cpu/dsp56k/pmove.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56K_PARALLEL_MOVE_H__
#define __DSP56K_PARALLEL_MOVE_H__
diff --git a/src/emu/cpu/dsp56k/tables.c b/src/emu/cpu/dsp56k/tables.c
index d19a1c2c225..5837580409e 100644
--- a/src/emu/cpu/dsp56k/tables.c
+++ b/src/emu/cpu/dsp56k/tables.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/emu/cpu/dsp56k/tables.h b/src/emu/cpu/dsp56k/tables.h
index a29a7f29033..f0bb88f21d8 100644
--- a/src/emu/cpu/dsp56k/tables.h
+++ b/src/emu/cpu/dsp56k/tables.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Andrew Gardner
#ifndef __DSP56K_OPS_H__
#define __DSP56K_OPS_H__
diff --git a/src/emu/cpu/e0c6200/e0c6200op.inc b/src/emu/cpu/e0c6200/e0c6200op.inc
index 522c587499b..4aec915dba1 100644
--- a/src/emu/cpu/e0c6200/e0c6200op.inc
+++ b/src/emu/cpu/e0c6200/e0c6200op.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
// E0C6200 opcode handlers
enum
diff --git a/src/emu/cpu/e132xs/e132xs.h b/src/emu/cpu/e132xs/e132xs.h
index a12feed7c25..f10c9983d50 100644
--- a/src/emu/cpu/e132xs/e132xs.h
+++ b/src/emu/cpu/e132xs/e132xs.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Pierpaolo Prazzoli
#pragma once
#ifndef __E132XS_H__
diff --git a/src/emu/cpu/e132xs/e132xsop.inc b/src/emu/cpu/e132xs/e132xsop.inc
index 02fcff4190a..e37ef914246 100644
--- a/src/emu/cpu/e132xs/e132xsop.inc
+++ b/src/emu/cpu/e132xs/e132xsop.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Pierpaolo Prazzoli
#define LOCAL_DECODE_INIT \
struct regs_decode decode_state; \
struct regs_decode *decode = &decode_state; \
diff --git a/src/emu/cpu/es5510/es5510.c b/src/emu/cpu/es5510/es5510.c
index 91f92bd25e5..b535acba7bc 100644
--- a/src/emu/cpu/es5510/es5510.c
+++ b/src/emu/cpu/es5510/es5510.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Christian Brunschen
/***************************************************************************
*
* es5510.c - Ensoniq ES5510 (ESP) emulation
diff --git a/src/emu/cpu/es5510/es5510.h b/src/emu/cpu/es5510/es5510.h
index 2db213496e4..d2a5b5f7523 100644
--- a/src/emu/cpu/es5510/es5510.h
+++ b/src/emu/cpu/es5510/es5510.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Christian Brunschen
/**********************************************************************************************
*
* es5510.h - Ensoniq ES5510 (ESP) driver
diff --git a/src/emu/cpu/esrip/esrip.c b/src/emu/cpu/esrip/esrip.c
index a28254a8482..68fe310d33b 100644
--- a/src/emu/cpu/esrip/esrip.c
+++ b/src/emu/cpu/esrip/esrip.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Phil Bennett
/***************************************************************************
esrip.c
diff --git a/src/emu/cpu/esrip/esrip.h b/src/emu/cpu/esrip/esrip.h
index 13ec36f778f..240ecef773f 100644
--- a/src/emu/cpu/esrip/esrip.h
+++ b/src/emu/cpu/esrip/esrip.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Phil Bennett
/***************************************************************************
esrip.h
diff --git a/src/emu/cpu/esrip/esripdsm.c b/src/emu/cpu/esrip/esripdsm.c
index d9a2a641660..c91e5398669 100644
--- a/src/emu/cpu/esrip/esripdsm.c
+++ b/src/emu/cpu/esrip/esripdsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Phil Bennett
/***************************************************************************
esripdsm.c
diff --git a/src/emu/cpu/f8/f8dasm.c b/src/emu/cpu/f8/f8dasm.c
index 367d70377ff..03e3d3065ea 100644
--- a/src/emu/cpu/f8/f8dasm.c
+++ b/src/emu/cpu/f8/f8dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#include "emu.h"
#include "debugger.h"
#include "f8.h"
diff --git a/src/emu/cpu/h8/h83002.c b/src/emu/cpu/h8/h83002.c
index fbd5e53affc..451454dca40 100644
--- a/src/emu/cpu/h8/h83002.c
+++ b/src/emu/cpu/h8/h83002.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h83002.h"
diff --git a/src/emu/cpu/h8/h83006.c b/src/emu/cpu/h8/h83006.c
index bbca3f00624..2e203a84dbb 100644
--- a/src/emu/cpu/h8/h83006.c
+++ b/src/emu/cpu/h8/h83006.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h83006.h"
diff --git a/src/emu/cpu/h8/h83008.c b/src/emu/cpu/h8/h83008.c
index 6acea2cefda..c919008667d 100644
--- a/src/emu/cpu/h8/h83008.c
+++ b/src/emu/cpu/h8/h83008.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h83008.h"
diff --git a/src/emu/cpu/h8/h83048.c b/src/emu/cpu/h8/h83048.c
index b9ff505fdea..8254f5a6c22 100644
--- a/src/emu/cpu/h8/h83048.c
+++ b/src/emu/cpu/h8/h83048.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h83048.h"
diff --git a/src/emu/cpu/h8/h83337.c b/src/emu/cpu/h8/h83337.c
index 928dbbcdb69..00a353e4347 100644
--- a/src/emu/cpu/h8/h83337.c
+++ b/src/emu/cpu/h8/h83337.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h83337.h"
diff --git a/src/emu/cpu/h8/h8_adc.c b/src/emu/cpu/h8/h8_adc.c
index 4ccd75891d3..b1f02f83ca7 100644
--- a/src/emu/cpu/h8/h8_adc.c
+++ b/src/emu/cpu/h8/h8_adc.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_adc.h"
diff --git a/src/emu/cpu/h8/h8_intc.c b/src/emu/cpu/h8/h8_intc.c
index 717437fbb9c..e88476fc05c 100644
--- a/src/emu/cpu/h8/h8_intc.c
+++ b/src/emu/cpu/h8/h8_intc.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_intc.h"
diff --git a/src/emu/cpu/h8/h8_port.c b/src/emu/cpu/h8/h8_port.c
index 78dd0cd90a8..0f289edc7a3 100644
--- a/src/emu/cpu/h8/h8_port.c
+++ b/src/emu/cpu/h8/h8_port.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_port.h"
diff --git a/src/emu/cpu/h8/h8_sci.c b/src/emu/cpu/h8/h8_sci.c
index df99d160113..758e09141f2 100644
--- a/src/emu/cpu/h8/h8_sci.c
+++ b/src/emu/cpu/h8/h8_sci.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_sci.h"
diff --git a/src/emu/cpu/h8/h8_timer16.c b/src/emu/cpu/h8/h8_timer16.c
index 019680f9358..2498d3bf743 100644
--- a/src/emu/cpu/h8/h8_timer16.c
+++ b/src/emu/cpu/h8/h8_timer16.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_timer16.h"
diff --git a/src/emu/cpu/h8/h8_timer8.c b/src/emu/cpu/h8/h8_timer8.c
index d18dff3e3b1..b652f091c07 100644
--- a/src/emu/cpu/h8/h8_timer8.c
+++ b/src/emu/cpu/h8/h8_timer8.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8_timer8.h"
diff --git a/src/emu/cpu/h8/h8h.c b/src/emu/cpu/h8/h8h.c
index 6f8cfb2b493..89615fadad5 100644
--- a/src/emu/cpu/h8/h8h.c
+++ b/src/emu/cpu/h8/h8h.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8h.h"
diff --git a/src/emu/cpu/h8/h8s2000.c b/src/emu/cpu/h8/h8s2000.c
index 2727fb1ce5d..4686e718666 100644
--- a/src/emu/cpu/h8/h8s2000.c
+++ b/src/emu/cpu/h8/h8s2000.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2000.h"
diff --git a/src/emu/cpu/h8/h8s2245.c b/src/emu/cpu/h8/h8s2245.c
index 1b15fe4c2d5..ca0e4b54c74 100644
--- a/src/emu/cpu/h8/h8s2245.c
+++ b/src/emu/cpu/h8/h8s2245.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2245.h"
diff --git a/src/emu/cpu/h8/h8s2320.c b/src/emu/cpu/h8/h8s2320.c
index e935bfd95f4..d168ade1060 100644
--- a/src/emu/cpu/h8/h8s2320.c
+++ b/src/emu/cpu/h8/h8s2320.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2320.h"
diff --git a/src/emu/cpu/h8/h8s2357.c b/src/emu/cpu/h8/h8s2357.c
index 2caf7f7aa67..56248a29c3a 100644
--- a/src/emu/cpu/h8/h8s2357.c
+++ b/src/emu/cpu/h8/h8s2357.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2357.h"
diff --git a/src/emu/cpu/h8/h8s2600.c b/src/emu/cpu/h8/h8s2600.c
index 48960b1a1fc..a72cf591a19 100644
--- a/src/emu/cpu/h8/h8s2600.c
+++ b/src/emu/cpu/h8/h8s2600.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2600.h"
diff --git a/src/emu/cpu/h8/h8s2655.c b/src/emu/cpu/h8/h8s2655.c
index 2ed63e685ac..cedce054d48 100644
--- a/src/emu/cpu/h8/h8s2655.c
+++ b/src/emu/cpu/h8/h8s2655.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#include "emu.h"
#include "h8s2655.h"
diff --git a/src/emu/cpu/hcd62121/hcd62121.c b/src/emu/cpu/hcd62121/hcd62121.c
index 3209cc4e214..f45ebdbe03d 100644
--- a/src/emu/cpu/hcd62121/hcd62121.c
+++ b/src/emu/cpu/hcd62121/hcd62121.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/**********************************************************************
Hitachi hcd62121 cpu core emulation.
diff --git a/src/emu/cpu/hcd62121/hcd62121.h b/src/emu/cpu/hcd62121/hcd62121.h
index 5285cff01c1..0f91cbd3890 100644
--- a/src/emu/cpu/hcd62121/hcd62121.h
+++ b/src/emu/cpu/hcd62121/hcd62121.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#ifndef __HCD62121_H__
#define __HCD62121_H__
diff --git a/src/emu/cpu/hcd62121/hcd62121_ops.h b/src/emu/cpu/hcd62121/hcd62121_ops.h
index b80ea574bf1..7ede44b3105 100644
--- a/src/emu/cpu/hcd62121/hcd62121_ops.h
+++ b/src/emu/cpu/hcd62121/hcd62121_ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#define HCD62121_MSK \
{ \
diff --git a/src/emu/cpu/hcd62121/hcd62121d.c b/src/emu/cpu/hcd62121/hcd62121d.c
index 0777c8a237c..2283c0682af 100644
--- a/src/emu/cpu/hcd62121/hcd62121d.c
+++ b/src/emu/cpu/hcd62121/hcd62121d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#include "emu.h"
#include "debugger.h"
diff --git a/src/emu/cpu/hmcs40/hmcs40op.inc b/src/emu/cpu/hmcs40/hmcs40op.inc
index 1887c3c0105..5d9bfcfc8ea 100644
--- a/src/emu/cpu/hmcs40/hmcs40op.inc
+++ b/src/emu/cpu/hmcs40/hmcs40op.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
// HMCS40 opcode handlers
// internal helpers
diff --git a/src/emu/cpu/i8085/i8085.h b/src/emu/cpu/i8085/i8085.h
index fced49784a4..8ce29d7bd12 100644
--- a/src/emu/cpu/i8085/i8085.h
+++ b/src/emu/cpu/i8085/i8085.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#ifndef __I8085_H__
#define __I8085_H__
diff --git a/src/emu/cpu/i8085/i8085cpu.h b/src/emu/cpu/i8085/i8085cpu.h
index e21171c7ed7..17bfecfdd59 100644
--- a/src/emu/cpu/i8085/i8085cpu.h
+++ b/src/emu/cpu/i8085/i8085cpu.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/*******************************************************
*
* Portable (hopefully ;-) 8085A emulator
diff --git a/src/emu/cpu/i86/i186.c b/src/emu/cpu/i86/i186.c
index 9b1b3614c78..9bc8c222fa5 100644
--- a/src/emu/cpu/i86/i186.c
+++ b/src/emu/cpu/i86/i186.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
// Peripheral code from rmnimbus driver by Phill Harvey-Smith which is
// based on the Leland sound driver by Aaron Giles and Paul Leaman
diff --git a/src/emu/cpu/i86/i186.h b/src/emu/cpu/i86/i186.h
index dced2270b44..af7302e729a 100644
--- a/src/emu/cpu/i86/i186.h
+++ b/src/emu/cpu/i86/i186.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
#ifndef I186_H__
#define I186_H__
diff --git a/src/emu/cpu/i86/i286.c b/src/emu/cpu/i86/i286.c
index 47be9f2ab7e..0c45370255b 100644
--- a/src/emu/cpu/i86/i286.c
+++ b/src/emu/cpu/i86/i286.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
#include "i286.h"
#include "debugger.h"
#include "i86inline.h"
diff --git a/src/emu/cpu/i86/i286.h b/src/emu/cpu/i86/i286.h
index 46015b18165..e1088609996 100644
--- a/src/emu/cpu/i86/i286.h
+++ b/src/emu/cpu/i86/i286.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
#ifndef I286_H_
#define I286_H_
diff --git a/src/emu/cpu/i86/i86.c b/src/emu/cpu/i86/i86.c
index e156a92d617..7a308da61a9 100644
--- a/src/emu/cpu/i86/i86.c
+++ b/src/emu/cpu/i86/i86.c
@@ -1,5 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders:Bryan McPhail
+// copyright-holders:Carl
/****************************************************************************
NEC V20/V30/V33 emulator modified back to a 8086/80186 emulator
diff --git a/src/emu/cpu/i86/i86.h b/src/emu/cpu/i86/i86.h
index 14100a7363d..ff1c56c2e92 100644
--- a/src/emu/cpu/i86/i86.h
+++ b/src/emu/cpu/i86/i86.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
#ifndef __I8086_H__
#define __I8086_H__
diff --git a/src/emu/cpu/i86/i86inline.h b/src/emu/cpu/i86/i86inline.h
index 05a8a2cd30f..d848e336e35 100644
--- a/src/emu/cpu/i86/i86inline.h
+++ b/src/emu/cpu/i86/i86inline.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Carl
#include "i86.h"
#define CF (m_CarryVal!=0)
diff --git a/src/emu/cpu/i860/i860.c b/src/emu/cpu/i860/i860.c
index 6cb81d55b7e..961d68b1fc1 100644
--- a/src/emu/cpu/i860/i860.c
+++ b/src/emu/cpu/i860/i860.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Jason Eckhardt
/***************************************************************************
i860.c
diff --git a/src/emu/cpu/i860/i860.h b/src/emu/cpu/i860/i860.h
index d0486c50fad..146b38ff9a3 100644
--- a/src/emu/cpu/i860/i860.h
+++ b/src/emu/cpu/i860/i860.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Jason Eckhardt
/***************************************************************************
i860.h
diff --git a/src/emu/cpu/i860/i860dasm.c b/src/emu/cpu/i860/i860dasm.c
index 495a141637a..0add148192d 100644
--- a/src/emu/cpu/i860/i860dasm.c
+++ b/src/emu/cpu/i860/i860dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Jason Eckhardt
#include "i860.h"
/* Sub-group decoders */
diff --git a/src/emu/cpu/i860/i860dec.inc b/src/emu/cpu/i860/i860dec.inc
index acefcdce25d..9a3af87b783 100644
--- a/src/emu/cpu/i860/i860dec.inc
+++ b/src/emu/cpu/i860/i860dec.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Jason Eckhardt
/***************************************************************************
i860dec.inc
diff --git a/src/emu/cpu/i860/i860dis.c b/src/emu/cpu/i860/i860dis.c
index 6fcaf4d3ea8..d24f58bb875 100644
--- a/src/emu/cpu/i860/i860dis.c
+++ b/src/emu/cpu/i860/i860dis.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Jason Eckhardt
/***************************************************************************
i860dis.c
diff --git a/src/emu/cpu/i960/i960.c b/src/emu/cpu/i960/i960.c
index 0c2788c0679..4dd29e45940 100644
--- a/src/emu/cpu/i960/i960.c
+++ b/src/emu/cpu/i960/i960.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, R. Belmont
#include "emu.h"
#include "debugger.h"
#include "i960.h"
diff --git a/src/emu/cpu/i960/i960.h b/src/emu/cpu/i960/i960.h
index d218e585423..7251a091fd0 100644
--- a/src/emu/cpu/i960/i960.h
+++ b/src/emu/cpu/i960/i960.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, R. Belmont
#pragma once
#ifndef __I960_H__
diff --git a/src/emu/cpu/i960/i960dis.c b/src/emu/cpu/i960/i960dis.c
index 0feb29affb9..8e1a4c00431 100644
--- a/src/emu/cpu/i960/i960dis.c
+++ b/src/emu/cpu/i960/i960dis.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, R. Belmont
/*
Intel i960 disassembler
diff --git a/src/emu/cpu/i960/i960dis.h b/src/emu/cpu/i960/i960dis.h
index 881e72d6fce..6ad878ee119 100644
--- a/src/emu/cpu/i960/i960dis.h
+++ b/src/emu/cpu/i960/i960dis.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, R. Belmont
#ifndef __I960DIS_H__
#define __I960DIS_H__
diff --git a/src/emu/cpu/konami/konamops.c b/src/emu/cpu/konami/konamops.c
deleted file mode 100644
index 879e0e34a3b..00000000000
--- a/src/emu/cpu/konami/konamops.c
+++ /dev/null
@@ -1,4341 +0,0 @@
-// license:???
-// copyright-holders:???
-/*
-
-HNZVC
-
-? = undefined
-* = affected
-- = unaffected
-0 = cleared
-1 = set
-# = CCr directly affected by instruction
-@ = special - carry set if bit 7 is set
-
-*/
-
-#ifdef NEW
-static void illegal( konami_state *cpustate )
-#else
-INLINE void illegal( konami_state *cpustate )
-#endif
-{
- logerror("KONAMI: illegal opcode at %04x\n",PC);
-}
-
-/* $00 NEG direct ?**** */
-INLINE void neg_di( konami_state *cpustate )
-{
- UINT16 r,t;
- DIRBYTE(cpustate, t);
- r = -t;
- CLR_NZVC;
- SET_FLAGS8(0,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $01 ILLEGAL */
-
-/* $02 ILLEGAL */
-
-/* $03 COM direct -**01 */
-INLINE void com_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- t = ~t;
- CLR_NZV;
- SET_NZ8(t);
- SEC;
- WM(cpustate, EAD,t);
-}
-
-/* $04 LSR direct -0*-* */
-INLINE void lsr_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- CLR_NZC;
- CC |= (t & CC_C);
- t >>= 1;
- SET_Z8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $05 ILLEGAL */
-
-/* $06 ROR direct -**-* */
-INLINE void ror_di( konami_state *cpustate )
-{
- UINT8 t,r;
- DIRBYTE(cpustate, t);
- r= (CC & CC_C) << 7;
- CLR_NZC;
- CC |= (t & CC_C);
- r |= t>>1;
- SET_NZ8(r);
- WM(cpustate, EAD,r);
-}
-
-/* $07 ASR direct ?**-* */
-INLINE void asr_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- CLR_NZC;
- CC |= (t & CC_C);
- t = (t & 0x80) | (t >> 1);
- SET_NZ8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $08 ASL direct ?**** */
-INLINE void asl_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = t << 1;
- CLR_NZVC;
- SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $09 ROL direct -**** */
-INLINE void rol_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = (CC & CC_C) | (t << 1);
- CLR_NZVC;
- SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $0A DEC direct -***- */
-INLINE void dec_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- --t;
- CLR_NZV;
- SET_FLAGS8D(t);
- WM(cpustate, EAD,t);
-}
-
-/* $0B ILLEGAL */
-
-/* $OC INC direct -***- */
-INLINE void inc_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- ++t;
- CLR_NZV;
- SET_FLAGS8I(t);
- WM(cpustate, EAD,t);
-}
-
-/* $OD TST direct -**0- */
-INLINE void tst_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- CLR_NZV;
- SET_NZ8(t);
-}
-
-/* $0E JMP direct ----- */
-INLINE void jmp_di( konami_state *cpustate )
-{
- DIRECT(cpustate);
- PCD=EAD;
-}
-
-/* $0F CLR direct -0100 */
-INLINE void clr_di( konami_state *cpustate )
-{
- DIRECT(cpustate);
- WM(cpustate, EAD,0);
- CLR_NZVC;
- SEZ;
-}
-
-/* $10 FLAG */
-
-/* $11 FLAG */
-
-/* $12 NOP inherent ----- */
-INLINE void nop( konami_state *cpustate )
-{
- ;
-}
-
-/* $13 SYNC inherent ----- */
-INLINE void sync( konami_state *cpustate )
-{
- /* SYNC stops processing instructions until an interrupt request happens. */
- /* This doesn't require the corresponding interrupt to be enabled: if it */
- /* is disabled, execution continues with the next instruction. */
- cpustate->int_state |= KONAMI_SYNC;
- check_irq_lines(cpustate);
- /* if KONAMI_SYNC has not been cleared by check_irq_lines,
- * stop execution until the interrupt lines change. */
- if( (cpustate->int_state & KONAMI_SYNC) && cpustate->icount > 0 )
- cpustate->icount = 0;
-}
-
-/* $14 ILLEGAL */
-
-/* $15 ILLEGAL */
-
-/* $16 LBRA relative ----- */
-INLINE void lbra( konami_state *cpustate )
-{
- IMMWORD(cpustate, cpustate->ea);
- PC += EA;
-}
-
-/* $17 LBSR relative ----- */
-INLINE void lbsr( konami_state *cpustate )
-{
- IMMWORD(cpustate, cpustate->ea);
- PUSHWORD(cpustate, pPC);
- PC += EA;
-}
-
-/* $18 ILLEGAL */
-
-#if 1
-/* $19 DAA inherent (A) -**0* */
-INLINE void daa( konami_state *cpustate )
-{
- UINT8 msn, lsn;
- UINT16 t, cf = 0;
- msn = A & 0xf0; lsn = A & 0x0f;
- if( lsn>0x09 || CC & CC_H) cf |= 0x06;
- if( msn>0x80 && lsn>0x09 ) cf |= 0x60;
- if( msn>0x90 || CC & CC_C) cf |= 0x60;
- t = cf + A;
- CLR_NZV; /* keep carry from previous operation */
- SET_NZ8((UINT8)t); SET_C8(t);
- A = t;
-}
-#else
-/* $19 DAA inherent (A) -**0* */
-INLINE void daa( konami_state *cpustate )
-{
- UINT16 t;
- t = A;
- if (CC & CC_H) t+=0x06;
- if ((t&0x0f)>9) t+=0x06; /* ASG -- this code is broken! $66+$99=$FF -> DAA should = $65, we get $05! */
- if (CC & CC_C) t+=0x60;
- if ((t&0xf0)>0x90) t+=0x60;
- if (t&0x100) SEC;
- A = t;
-}
-#endif
-
-/* $1A ORCC immediate ##### */
-INLINE void orcc( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- CC |= t;
- check_irq_lines(cpustate);
-}
-
-/* $1B ILLEGAL */
-
-/* $1C ANDCC immediate ##### */
-INLINE void andcc( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- CC &= t;
- check_irq_lines(cpustate);
-}
-
-/* $1D SEX inherent -**0- */
-INLINE void sex( konami_state *cpustate )
-{
- UINT16 t;
- t = SIGNED(B);
- D = t;
-// CLR_NZV; NS 20020905: applying the same fix that was applied to 6809 and 6309
- CLR_NZ;
- SET_NZ16(t);
-}
-
-/* $1E EXG inherent ----- */
-INLINE void exg( konami_state *cpustate )
-{
- UINT16 t1 = 0, t2 = 0;
- UINT8 tb;
-
- IMMBYTE(cpustate, tb);
-
- GETREG( t1, tb >> 4 );
- GETREG( t2, tb & 0x0f );
-
- SETREG( t2, tb >> 4 );
- SETREG( t1, tb & 0x0f );
-}
-
-/* $1F TFR inherent ----- */
-INLINE void tfr( konami_state *cpustate )
-{
- UINT8 tb;
- UINT16 t = 0;
-
- IMMBYTE(cpustate, tb);
-
- GETREG( t, tb & 0x0f );
- SETREG( t, ( tb >> 4 ) & 0x07 );
-}
-
-/* $20 BRA relative ----- */
-INLINE void bra( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- PC += SIGNED(t);
-}
-
-/* $21 BRN relative ----- */
-static UINT8 konami_brn_t; // hack around GCC 4.6 error because we need the side effects of IMMBYTE
-INLINE void brn( konami_state *cpustate )
-{
- IMMBYTE(cpustate, konami_brn_t);
-}
-
-/* $1021 LBRN relative ----- */
-INLINE void lbrn( konami_state *cpustate )
-{
- IMMWORD(cpustate, cpustate->ea);
-}
-
-/* $22 BHI relative ----- */
-INLINE void bhi( konami_state *cpustate )
-{
- BRANCH(cpustate, !(CC & (CC_Z|CC_C)) );
-}
-
-/* $1022 LBHI relative ----- */
-INLINE void lbhi( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(CC & (CC_Z|CC_C)) );
-}
-
-/* $23 BLS relative ----- */
-INLINE void bls( konami_state *cpustate )
-{
- BRANCH(cpustate, (CC & (CC_Z|CC_C)) );
-}
-
-/* $1023 LBLS relative ----- */
-INLINE void lbls( konami_state *cpustate )
-{
- LBRANCH(cpustate, (CC&(CC_Z|CC_C)) );
-}
-
-/* $24 BCC relative ----- */
-INLINE void bcc( konami_state *cpustate )
-{
- BRANCH(cpustate, !(CC&CC_C) );
-}
-
-/* $1024 LBCC relative ----- */
-INLINE void lbcc( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(CC&CC_C) );
-}
-
-/* $25 BCS relative ----- */
-INLINE void bcs( konami_state *cpustate )
-{
- BRANCH(cpustate, (CC&CC_C) );
-}
-
-/* $1025 LBCS relative ----- */
-INLINE void lbcs( konami_state *cpustate )
-{
- LBRANCH(cpustate, (CC&CC_C) );
-}
-
-/* $26 BNE relative ----- */
-INLINE void bne( konami_state *cpustate )
-{
- BRANCH(cpustate, !(CC&CC_Z) );
-}
-
-/* $1026 LBNE relative ----- */
-INLINE void lbne( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(CC&CC_Z) );
-}
-
-/* $27 BEQ relative ----- */
-INLINE void beq( konami_state *cpustate )
-{
- BRANCH(cpustate, (CC&CC_Z) );
-}
-
-/* $1027 LBEQ relative ----- */
-INLINE void lbeq( konami_state *cpustate )
-{
- LBRANCH(cpustate, (CC&CC_Z) );
-}
-
-/* $28 BVC relative ----- */
-INLINE void bvc( konami_state *cpustate )
-{
- BRANCH(cpustate, !(CC&CC_V) );
-}
-
-/* $1028 LBVC relative ----- */
-INLINE void lbvc( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(CC&CC_V) );
-}
-
-/* $29 BVS relative ----- */
-INLINE void bvs( konami_state *cpustate )
-{
- BRANCH(cpustate, (CC&CC_V) );
-}
-
-/* $1029 LBVS relative ----- */
-INLINE void lbvs( konami_state *cpustate )
-{
- LBRANCH(cpustate, (CC&CC_V) );
-}
-
-/* $2A BPL relative ----- */
-INLINE void bpl( konami_state *cpustate )
-{
- BRANCH(cpustate, !(CC&CC_N) );
-}
-
-/* $102A LBPL relative ----- */
-INLINE void lbpl( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(CC&CC_N) );
-}
-
-/* $2B BMI relative ----- */
-INLINE void bmi( konami_state *cpustate )
-{
- BRANCH(cpustate, (CC&CC_N) );
-}
-
-/* $102B LBMI relative ----- */
-INLINE void lbmi( konami_state *cpustate )
-{
- LBRANCH(cpustate, (CC&CC_N) );
-}
-
-/* $2C BGE relative ----- */
-INLINE void bge( konami_state *cpustate )
-{
- BRANCH(cpustate, !NXORV );
-}
-
-/* $102C LBGE relative ----- */
-INLINE void lbge( konami_state *cpustate )
-{
- LBRANCH(cpustate, !NXORV );
-}
-
-/* $2D BLT relative ----- */
-INLINE void blt( konami_state *cpustate )
-{
- BRANCH(cpustate, NXORV );
-}
-
-/* $102D LBLT relative ----- */
-INLINE void lblt( konami_state *cpustate )
-{
- LBRANCH(cpustate, NXORV );
-}
-
-/* $2E BGT relative ----- */
-INLINE void bgt( konami_state *cpustate )
-{
- BRANCH(cpustate, !(NXORV || (CC&CC_Z)) );
-}
-
-/* $102E LBGT relative ----- */
-INLINE void lbgt( konami_state *cpustate )
-{
- LBRANCH(cpustate, !(NXORV || (CC&CC_Z)) );
-}
-
-/* $2F BLE relative ----- */
-INLINE void ble( konami_state *cpustate )
-{
- BRANCH(cpustate, (NXORV || (CC&CC_Z)) );
-}
-
-/* $102F LBLE relative ----- */
-INLINE void lble( konami_state *cpustate )
-{
- LBRANCH(cpustate, (NXORV || (CC&CC_Z)) );
-}
-
-/* $30 LEAX indexed --*-- */
-INLINE void leax( konami_state *cpustate )
-{
- X = EA;
- CLR_Z;
- SET_Z(X);
-}
-
-/* $31 LEAY indexed --*-- */
-INLINE void leay( konami_state *cpustate )
-{
- Y = EA;
- CLR_Z;
- SET_Z(Y);
-}
-
-/* $32 LEAS indexed ----- */
-INLINE void leas( konami_state *cpustate )
-{
- S = EA;
- cpustate->int_state |= KONAMI_LDS;
-}
-
-/* $33 LEAU indexed ----- */
-INLINE void leau( konami_state *cpustate )
-{
- U = EA;
-}
-
-/* $34 PSHS inherent ----- */
-INLINE void pshs( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- if( t&0x80 ) { PUSHWORD(cpustate, pPC); cpustate->icount -= 2; }
- if( t&0x40 ) { PUSHWORD(cpustate, pU); cpustate->icount -= 2; }
- if( t&0x20 ) { PUSHWORD(cpustate, pY); cpustate->icount -= 2; }
- if( t&0x10 ) { PUSHWORD(cpustate, pX); cpustate->icount -= 2; }
- if( t&0x08 ) { PUSHBYTE(cpustate, DP); cpustate->icount -= 1; }
- if( t&0x04 ) { PUSHBYTE(cpustate, B); cpustate->icount -= 1; }
- if( t&0x02 ) { PUSHBYTE(cpustate, A); cpustate->icount -= 1; }
- if( t&0x01 ) { PUSHBYTE(cpustate, CC); cpustate->icount -= 1; }
-}
-
-/* 35 PULS inherent ----- */
-INLINE void puls( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- if( t&0x01 ) { PULLBYTE(cpustate, CC); cpustate->icount -= 1; }
- if( t&0x02 ) { PULLBYTE(cpustate, A); cpustate->icount -= 1; }
- if( t&0x04 ) { PULLBYTE(cpustate, B); cpustate->icount -= 1; }
- if( t&0x08 ) { PULLBYTE(cpustate, DP); cpustate->icount -= 1; }
- if( t&0x10 ) { PULLWORD(cpustate, XD); cpustate->icount -= 2; }
- if( t&0x20 ) { PULLWORD(cpustate, YD); cpustate->icount -= 2; }
- if( t&0x40 ) { PULLWORD(cpustate, UD); cpustate->icount -= 2; }
- if( t&0x80 ) { PULLWORD(cpustate, PCD); cpustate->icount -= 2; }
-
- /* check after all PULLs */
- if( t&0x01 ) { check_irq_lines(cpustate); }
-}
-
-/* $36 PSHU inherent ----- */
-INLINE void pshu( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- if( t&0x80 ) { PSHUWORD(cpustate, pPC); cpustate->icount -= 2; }
- if( t&0x40 ) { PSHUWORD(cpustate, pS); cpustate->icount -= 2; }
- if( t&0x20 ) { PSHUWORD(cpustate, pY); cpustate->icount -= 2; }
- if( t&0x10 ) { PSHUWORD(cpustate, pX); cpustate->icount -= 2; }
- if( t&0x08 ) { PSHUBYTE(cpustate, DP); cpustate->icount -= 1; }
- if( t&0x04 ) { PSHUBYTE(cpustate, B); cpustate->icount -= 1; }
- if( t&0x02 ) { PSHUBYTE(cpustate, A); cpustate->icount -= 1; }
- if( t&0x01 ) { PSHUBYTE(cpustate, CC); cpustate->icount -= 1; }
-}
-
-/* 37 PULU inherent ----- */
-INLINE void pulu( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- if( t&0x01 ) { PULUBYTE(cpustate, CC); cpustate->icount -= 1; }
- if( t&0x02 ) { PULUBYTE(cpustate, A); cpustate->icount -= 1; }
- if( t&0x04 ) { PULUBYTE(cpustate, B); cpustate->icount -= 1; }
- if( t&0x08 ) { PULUBYTE(cpustate, DP); cpustate->icount -= 1; }
- if( t&0x10 ) { PULUWORD(cpustate, XD); cpustate->icount -= 2; }
- if( t&0x20 ) { PULUWORD(cpustate, YD); cpustate->icount -= 2; }
- if( t&0x40 ) { PULUWORD(cpustate, SD); cpustate->icount -= 2; }
- if( t&0x80 ) { PULUWORD(cpustate, PCD); cpustate->icount -= 2; }
-
- /* check after all PULLs */
- if( t&0x01 ) { check_irq_lines(cpustate); }
-}
-
-/* $38 ILLEGAL */
-
-/* $39 RTS inherent ----- */
-INLINE void rts( konami_state *cpustate )
-{
- PULLWORD(cpustate, PCD);
-}
-
-/* $3A ABX inherent ----- */
-INLINE void abx( konami_state *cpustate )
-{
- X += B;
-}
-
-/* $3B RTI inherent ##### */
-INLINE void rti( konami_state *cpustate )
-{
- PULLBYTE(cpustate, CC);
- if( CC & CC_E ) /* entire state saved? */
- {
- cpustate->icount -= 9;
- PULLBYTE(cpustate, A);
- PULLBYTE(cpustate, B);
- PULLBYTE(cpustate, DP);
- PULLWORD(cpustate, XD);
- PULLWORD(cpustate, YD);
- PULLWORD(cpustate, UD);
- }
- PULLWORD(cpustate, PCD);
- check_irq_lines(cpustate);
-}
-
-/* $3C CWAI inherent ----1 */
-INLINE void cwai( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- CC &= t;
- /*
- * CWAI stacks the entire machine state on the hardware stack,
- * then waits for an interrupt; when the interrupt is taken
- * later, the state is *not* saved again after CWAI.
- */
- CC |= CC_E; /* HJB 990225: save entire state */
- PUSHWORD(cpustate, pPC);
- PUSHWORD(cpustate, pU);
- PUSHWORD(cpustate, pY);
- PUSHWORD(cpustate, pX);
- PUSHBYTE(cpustate, DP);
- PUSHBYTE(cpustate, B);
- PUSHBYTE(cpustate, A);
- PUSHBYTE(cpustate, CC);
- cpustate->int_state |= KONAMI_CWAI;
- check_irq_lines(cpustate);
- if( (cpustate->int_state & KONAMI_CWAI) && cpustate->icount > 0 )
- cpustate->icount = 0;
-}
-
-/* $3D MUL inherent --*-@ */
-INLINE void mul( konami_state *cpustate )
-{
- UINT16 t;
- t = A * B;
- CLR_ZC; SET_Z16(t); if(t&0x80) SEC;
- D = t;
-}
-
-/* $3E ILLEGAL */
-
-/* $3F SWI (SWI2 SWI3) absolute indirect ----- */
-INLINE void swi( konami_state *cpustate )
-{
- CC |= CC_E; /* HJB 980225: save entire state */
- PUSHWORD(cpustate, pPC);
- PUSHWORD(cpustate, pU);
- PUSHWORD(cpustate, pY);
- PUSHWORD(cpustate, pX);
- PUSHBYTE(cpustate, DP);
- PUSHBYTE(cpustate, B);
- PUSHBYTE(cpustate, A);
- PUSHBYTE(cpustate, CC);
- CC |= CC_IF | CC_II; /* inhibit FIRQ and IRQ */
- PCD=RM16(cpustate, 0xfffa);
-}
-
-/* $103F SWI2 absolute indirect ----- */
-INLINE void swi2( konami_state *cpustate )
-{
- CC |= CC_E; /* HJB 980225: save entire state */
- PUSHWORD(cpustate, pPC);
- PUSHWORD(cpustate, pU);
- PUSHWORD(cpustate, pY);
- PUSHWORD(cpustate, pX);
- PUSHBYTE(cpustate, DP);
- PUSHBYTE(cpustate, B);
- PUSHBYTE(cpustate, A);
- PUSHBYTE(cpustate, CC);
- PCD=RM16(cpustate, 0xfff4);
-}
-
-/* $113F SWI3 absolute indirect ----- */
-INLINE void swi3( konami_state *cpustate )
-{
- CC |= CC_E; /* HJB 980225: save entire state */
- PUSHWORD(cpustate, pPC);
- PUSHWORD(cpustate, pU);
- PUSHWORD(cpustate, pY);
- PUSHWORD(cpustate, pX);
- PUSHBYTE(cpustate, DP);
- PUSHBYTE(cpustate, B);
- PUSHBYTE(cpustate, A);
- PUSHBYTE(cpustate, CC);
- PCD=RM16(cpustate, 0xfff2);
-}
-
-/* $40 NEGA inherent ?**** */
-INLINE void nega( konami_state *cpustate )
-{
- UINT16 r;
- r = -A;
- CLR_NZVC;
- SET_FLAGS8(0,A,r);
- A = r;
-}
-
-/* $41 ILLEGAL */
-
-/* $42 ILLEGAL */
-
-/* $43 COMA inherent -**01 */
-INLINE void coma( konami_state *cpustate )
-{
- A = ~A;
- CLR_NZV;
- SET_NZ8(A);
- SEC;
-}
-
-/* $44 LSRA inherent -0*-* */
-INLINE void lsra( konami_state *cpustate )
-{
- CLR_NZC;
- CC |= (A & CC_C);
- A >>= 1;
- SET_Z8(A);
-}
-
-/* $45 ILLEGAL */
-
-/* $46 RORA inherent -**-* */
-INLINE void rora( konami_state *cpustate )
-{
- UINT8 r;
- r = (CC & CC_C) << 7;
- CLR_NZC;
- CC |= (A & CC_C);
- r |= A >> 1;
- SET_NZ8(r);
- A = r;
-}
-
-/* $47 ASRA inherent ?**-* */
-INLINE void asra( konami_state *cpustate )
-{
- CLR_NZC;
- CC |= (A & CC_C);
- A = (A & 0x80) | (A >> 1);
- SET_NZ8(A);
-}
-
-/* $48 ASLA inherent ?**** */
-INLINE void asla( konami_state *cpustate )
-{
- UINT16 r;
- r = A << 1;
- CLR_NZVC;
- SET_FLAGS8(A,A,r);
- A = r;
-}
-
-/* $49 ROLA inherent -**** */
-INLINE void rola( konami_state *cpustate )
-{
- UINT16 t,r;
- t = A;
- r = (CC & CC_C) | (t<<1);
- CLR_NZVC; SET_FLAGS8(t,t,r);
- A = r;
-}
-
-/* $4A DECA inherent -***- */
-INLINE void deca( konami_state *cpustate )
-{
- --A;
- CLR_NZV;
- SET_FLAGS8D(A);
-}
-
-/* $4B ILLEGAL */
-
-/* $4C INCA inherent -***- */
-INLINE void inca( konami_state *cpustate )
-{
- ++A;
- CLR_NZV;
- SET_FLAGS8I(A);
-}
-
-/* $4D TSTA inherent -**0- */
-INLINE void tsta( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $4E ILLEGAL */
-
-/* $4F CLRA inherent -0100 */
-INLINE void clra( konami_state *cpustate )
-{
- A = 0;
- CLR_NZVC; SEZ;
-}
-
-/* $50 NEGB inherent ?**** */
-INLINE void negb( konami_state *cpustate )
-{
- UINT16 r;
- r = -B;
- CLR_NZVC;
- SET_FLAGS8(0,B,r);
- B = r;
-}
-
-/* $51 ILLEGAL */
-
-/* $52 ILLEGAL */
-
-/* $53 COMB inherent -**01 */
-INLINE void comb( konami_state *cpustate )
-{
- B = ~B;
- CLR_NZV;
- SET_NZ8(B);
- SEC;
-}
-
-/* $54 LSRB inherent -0*-* */
-INLINE void lsrb( konami_state *cpustate )
-{
- CLR_NZC;
- CC |= (B & CC_C);
- B >>= 1;
- SET_Z8(B);
-}
-
-/* $55 ILLEGAL */
-
-/* $56 RORB inherent -**-* */
-INLINE void rorb( konami_state *cpustate )
-{
- UINT8 r;
- r = (CC & CC_C) << 7;
- CLR_NZC;
- CC |= (B & CC_C);
- r |= B >> 1;
- SET_NZ8(r);
- B = r;
-}
-
-/* $57 ASRB inherent ?**-* */
-INLINE void asrb( konami_state *cpustate )
-{
- CLR_NZC;
- CC |= (B & CC_C);
- B= (B & 0x80) | (B >> 1);
- SET_NZ8(B);
-}
-
-/* $58 ASLB inherent ?**** */
-INLINE void aslb( konami_state *cpustate )
-{
- UINT16 r;
- r = B << 1;
- CLR_NZVC;
- SET_FLAGS8(B,B,r);
- B = r;
-}
-
-/* $59 ROLB inherent -**** */
-INLINE void rolb( konami_state *cpustate )
-{
- UINT16 t,r;
- t = B;
- r = CC & CC_C;
- r |= t << 1;
- CLR_NZVC;
- SET_FLAGS8(t,t,r);
- B = r;
-}
-
-/* $5A DECB inherent -***- */
-INLINE void decb( konami_state *cpustate )
-{
- --B;
- CLR_NZV;
- SET_FLAGS8D(B);
-}
-
-/* $5B ILLEGAL */
-
-/* $5C INCB inherent -***- */
-INLINE void incb( konami_state *cpustate )
-{
- ++B;
- CLR_NZV;
- SET_FLAGS8I(B);
-}
-
-/* $5D TSTB inherent -**0- */
-INLINE void tstb( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $5E ILLEGAL */
-
-/* $5F CLRB inherent -0100 */
-INLINE void clrb( konami_state *cpustate )
-{
- B = 0;
- CLR_NZVC; SEZ;
-}
-
-/* $60 NEG indexed ?**** */
-INLINE void neg_ix( konami_state *cpustate )
-{
- UINT16 r,t;
- t = RM(cpustate, EAD);
- r = -t;
- CLR_NZVC;
- SET_FLAGS8(0,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $61 ILLEGAL */
-
-/* $62 ILLEGAL */
-
-/* $63 COM indexed -**01 */
-INLINE void com_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = ~RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(t);
- SEC;
- WM(cpustate, EAD,t);
-}
-
-/* $64 LSR indexed -0*-* */
-INLINE void lsr_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EAD);
- CLR_NZC;
- CC |= (t & CC_C);
- t>>=1; SET_Z8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $65 ILLEGAL */
-
-/* $66 ROR indexed -**-* */
-INLINE void ror_ix( konami_state *cpustate )
-{
- UINT8 t,r;
- t = RM(cpustate, EAD);
- r = (CC & CC_C) << 7;
- CLR_NZC;
- CC |= (t & CC_C);
- r |= t>>1; SET_NZ8(r);
- WM(cpustate, EAD,r);
-}
-
-/* $67 ASR indexed ?**-* */
-INLINE void asr_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EAD);
- CLR_NZC;
- CC |= (t & CC_C);
- t=(t&0x80)|(t>>1);
- SET_NZ8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $68 ASL indexed ?**** */
-INLINE void asl_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = t << 1;
- CLR_NZVC;
- SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $69 ROL indexed -**** */
-INLINE void rol_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = CC & CC_C;
- r |= t << 1;
- CLR_NZVC;
- SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $6A DEC indexed -***- */
-INLINE void dec_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EAD) - 1;
- CLR_NZV; SET_FLAGS8D(t);
- WM(cpustate, EAD,t);
-}
-
-/* $6B ILLEGAL */
-
-/* $6C INC indexed -***- */
-INLINE void inc_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EAD) + 1;
- CLR_NZV; SET_FLAGS8I(t);
- WM(cpustate, EAD,t);
-}
-
-/* $6D TST indexed -**0- */
-INLINE void tst_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(t);
-}
-
-/* $6E JMP indexed ----- */
-INLINE void jmp_ix( konami_state *cpustate )
-{
- PCD=EAD;
-}
-
-/* $6F CLR indexed -0100 */
-INLINE void clr_ix( konami_state *cpustate )
-{
- WM(cpustate, EAD,0);
- CLR_NZVC; SEZ;
-}
-
-/* $70 NEG extended ?**** */
-INLINE void neg_ex( konami_state *cpustate )
-{
- UINT16 r,t;
- EXTBYTE(cpustate, t); r=-t;
- CLR_NZVC; SET_FLAGS8(0,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $71 ILLEGAL */
-
-/* $72 ILLEGAL */
-
-/* $73 COM extended -**01 */
-INLINE void com_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); t = ~t;
- CLR_NZV; SET_NZ8(t); SEC;
- WM(cpustate, EAD,t);
-}
-
-/* $74 LSR extended -0*-* */
-INLINE void lsr_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); CLR_NZC; CC |= (t & CC_C);
- t>>=1; SET_Z8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $75 ILLEGAL */
-
-/* $76 ROR extended -**-* */
-INLINE void ror_ex( konami_state *cpustate )
-{
- UINT8 t,r;
- EXTBYTE(cpustate, t); r=(CC & CC_C) << 7;
- CLR_NZC; CC |= (t & CC_C);
- r |= t>>1; SET_NZ8(r);
- WM(cpustate, EAD,r);
-}
-
-/* $77 ASR extended ?**-* */
-INLINE void asr_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); CLR_NZC; CC |= (t & CC_C);
- t=(t&0x80)|(t>>1);
- SET_NZ8(t);
- WM(cpustate, EAD,t);
-}
-
-/* $78 ASL extended ?**** */
-INLINE void asl_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t); r=t<<1;
- CLR_NZVC; SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $79 ROL extended -**** */
-INLINE void rol_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t); r = (CC & CC_C) | (t << 1);
- CLR_NZVC; SET_FLAGS8(t,t,r);
- WM(cpustate, EAD,r);
-}
-
-/* $7A DEC extended -***- */
-INLINE void dec_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); --t;
- CLR_NZV; SET_FLAGS8D(t);
- WM(cpustate, EAD,t);
-}
-
-/* $7B ILLEGAL */
-
-/* $7C INC extended -***- */
-INLINE void inc_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); ++t;
- CLR_NZV; SET_FLAGS8I(t);
- WM(cpustate, EAD,t);
-}
-
-/* $7D TST extended -**0- */
-INLINE void tst_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t); CLR_NZV; SET_NZ8(t);
-}
-
-/* $7E JMP extended ----- */
-INLINE void jmp_ex( konami_state *cpustate )
-{
- EXTENDED(cpustate);
- PCD=EAD;
-}
-
-/* $7F CLR extended -0100 */
-INLINE void clr_ex( konami_state *cpustate )
-{
- EXTENDED(cpustate);
- WM(cpustate, EAD,0);
- CLR_NZVC; SEZ;
-}
-
-/* $80 SUBA immediate ?**** */
-INLINE void suba_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $81 CMPA immediate ?**** */
-INLINE void cmpa_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
-}
-
-/* $82 SBCA immediate ?**** */
-INLINE void sbca_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = A - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $83 SUBD (CMPD CMPU) immediate -**** */
-INLINE void subd_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $1083 CMPD immediate -**** */
-INLINE void cmpd_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $1183 CMPU immediate -**** */
-INLINE void cmpu_im( konami_state *cpustate )
-{
- UINT32 r, d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = U;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $84 ANDA immediate -**0- */
-INLINE void anda_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- A &= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $85 BITA immediate -**0- */
-INLINE void bita_im( konami_state *cpustate )
-{
- UINT8 t,r;
- IMMBYTE(cpustate, t);
- r = A & t;
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $86 LDA immediate -**0- */
-INLINE void lda_im( konami_state *cpustate )
-{
- IMMBYTE(cpustate, A);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* is this a legal instruction? */
-/* $87 STA immediate -**0- */
-INLINE void sta_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(A);
- IMM8(cpustate);
- WM(cpustate, EAD,A);
-}
-
-/* $88 EORA immediate -**0- */
-INLINE void eora_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- A ^= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $89 ADCA immediate ***** */
-INLINE void adca_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = A + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $8A ORA immediate -**0- */
-INLINE void ora_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- A |= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $8B ADDA immediate ***** */
-INLINE void adda_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = A + t;
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $8C CMPX (CMPY CMPS) immediate -**** */
-INLINE void cmpx_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = X;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $108C CMPY immediate -**** */
-INLINE void cmpy_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = Y;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $118C CMPS immediate -**** */
-INLINE void cmps_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = S;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $8D BSR ----- */
-INLINE void bsr( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- PUSHWORD(cpustate, pPC);
- PC += SIGNED(t);
-}
-
-/* $8E LDX (LDY) immediate -**0- */
-INLINE void ldx_im( konami_state *cpustate )
-{
- IMMWORD(cpustate, pX);
- CLR_NZV;
- SET_NZ16(X);
-}
-
-/* $108E LDY immediate -**0- */
-INLINE void ldy_im( konami_state *cpustate )
-{
- IMMWORD(cpustate, pY);
- CLR_NZV;
- SET_NZ16(Y);
-}
-
-/* is this a legal instruction? */
-/* $8F STX (STY) immediate -**0- */
-INLINE void stx_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(X);
- IMM16(cpustate);
- WM16(cpustate, EAD,&pX);
-}
-
-/* is this a legal instruction? */
-/* $108F STY immediate -**0- */
-INLINE void sty_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(Y);
- IMM16(cpustate);
- WM16(cpustate, EAD,&pY);
-}
-
-/* $90 SUBA direct ?**** */
-INLINE void suba_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $91 CMPA direct ?**** */
-INLINE void cmpa_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
-}
-
-/* $92 SBCA direct ?**** */
-INLINE void sbca_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = A - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $93 SUBD (CMPD CMPU) direct -**** */
-INLINE void subd_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $1093 CMPD direct -**** */
-INLINE void cmpd_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $1193 CMPU direct -**** */
-INLINE void cmpu_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = U;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(U,b.d,r);
-}
-
-/* $94 ANDA direct -**0- */
-INLINE void anda_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- A &= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $95 BITA direct -**0- */
-INLINE void bita_di( konami_state *cpustate )
-{
- UINT8 t,r;
- DIRBYTE(cpustate, t);
- r = A & t;
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $96 LDA direct -**0- */
-INLINE void lda_di( konami_state *cpustate )
-{
- DIRBYTE(cpustate, A);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $97 STA direct -**0- */
-INLINE void sta_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(A);
- DIRECT(cpustate);
- WM(cpustate, EAD,A);
-}
-
-/* $98 EORA direct -**0- */
-INLINE void eora_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- A ^= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $99 ADCA direct ***** */
-INLINE void adca_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = A + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $9A ORA direct -**0- */
-INLINE void ora_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- A |= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $9B ADDA direct ***** */
-INLINE void adda_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = A + t;
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $9C CMPX (CMPY CMPS) direct -**** */
-INLINE void cmpx_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = X;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $109C CMPY direct -**** */
-INLINE void cmpy_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = Y;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $119C CMPS direct -**** */
-INLINE void cmps_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = S;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $9D JSR direct ----- */
-INLINE void jsr_di( konami_state *cpustate )
-{
- DIRECT(cpustate);
- PUSHWORD(cpustate, pPC);
- PCD=EAD;
-}
-
-/* $9E LDX (LDY) direct -**0- */
-INLINE void ldx_di( konami_state *cpustate )
-{
- DIRWORD(cpustate, pX);
- CLR_NZV;
- SET_NZ16(X);
-}
-
-/* $109E LDY direct -**0- */
-INLINE void ldy_di( konami_state *cpustate )
-{
- DIRWORD(cpustate, pY);
- CLR_NZV;
- SET_NZ16(Y);
-}
-
-/* $9F STX (STY) direct -**0- */
-INLINE void stx_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(X);
- DIRECT(cpustate);
- WM16(cpustate, EAD,&pX);
-}
-
-/* $109F STY direct -**0- */
-INLINE void sty_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(Y);
- DIRECT(cpustate);
- WM16(cpustate, EAD,&pY);
-}
-
-/* $a0 SUBA indexed ?**** */
-INLINE void suba_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $a1 CMPA indexed ?**** */
-INLINE void cmpa_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
-}
-
-/* $a2 SBCA indexed ?**** */
-INLINE void sbca_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = A - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $a3 SUBD (CMPD CMPU) indexed -**** */
-INLINE void subd_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $10a3 CMPD indexed -**** */
-INLINE void cmpd_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $11a3 CMPU indexed -**** */
-INLINE void cmpu_ix( konami_state *cpustate )
-{
- UINT32 r;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- r = U - b.d;
- CLR_NZVC;
- SET_FLAGS16(U,b.d,r);
-}
-
-/* $a4 ANDA indexed -**0- */
-INLINE void anda_ix( konami_state *cpustate )
-{
- A &= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $a5 BITA indexed -**0- */
-INLINE void bita_ix( konami_state *cpustate )
-{
- UINT8 r;
- r = A & RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $a6 LDA indexed -**0- */
-INLINE void lda_ix( konami_state *cpustate )
-{
- A = RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $a7 STA indexed -**0- */
-INLINE void sta_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(A);
- WM(cpustate, EAD,A);
-}
-
-/* $a8 EORA indexed -**0- */
-INLINE void eora_ix( konami_state *cpustate )
-{
- A ^= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $a9 ADCA indexed ***** */
-INLINE void adca_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = A + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $aA ORA indexed -**0- */
-INLINE void ora_ix( konami_state *cpustate )
-{
- A |= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $aB ADDA indexed ***** */
-INLINE void adda_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = A + t;
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $aC CMPX (CMPY CMPS) indexed -**** */
-INLINE void cmpx_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = X;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $10aC CMPY indexed -**** */
-INLINE void cmpy_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = Y;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $11aC CMPS indexed -**** */
-INLINE void cmps_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = S;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $aD JSR indexed ----- */
-INLINE void jsr_ix( konami_state *cpustate )
-{
- PUSHWORD(cpustate, pPC);
- PCD=EAD;
-}
-
-/* $aE LDX (LDY) indexed -**0- */
-INLINE void ldx_ix( konami_state *cpustate )
-{
- X=RM16(cpustate, EAD);
- CLR_NZV;
- SET_NZ16(X);
-}
-
-/* $10aE LDY indexed -**0- */
-INLINE void ldy_ix( konami_state *cpustate )
-{
- Y=RM16(cpustate, EAD);
- CLR_NZV;
- SET_NZ16(Y);
-}
-
-/* $aF STX (STY) indexed -**0- */
-INLINE void stx_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(X);
- WM16(cpustate, EAD,&pX);
-}
-
-/* $10aF STY indexed -**0- */
-INLINE void sty_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(Y);
- WM16(cpustate, EAD,&pY);
-}
-
-/* $b0 SUBA extended ?**** */
-INLINE void suba_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $b1 CMPA extended ?**** */
-INLINE void cmpa_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = A - t;
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
-}
-
-/* $b2 SBCA extended ?**** */
-INLINE void sbca_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = A - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(A,t,r);
- A = r;
-}
-
-/* $b3 SUBD (CMPD CMPU) extended -**** */
-INLINE void subd_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $10b3 CMPD extended -**** */
-INLINE void cmpd_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = D;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $11b3 CMPU extended -**** */
-INLINE void cmpu_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = U;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $b4 ANDA extended -**0- */
-INLINE void anda_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- A &= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $b5 BITA extended -**0- */
-INLINE void bita_ex( konami_state *cpustate )
-{
- UINT8 t,r;
- EXTBYTE(cpustate, t);
- r = A & t;
- CLR_NZV; SET_NZ8(r);
-}
-
-/* $b6 LDA extended -**0- */
-INLINE void lda_ex( konami_state *cpustate )
-{
- EXTBYTE(cpustate, A);
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $b7 STA extended -**0- */
-INLINE void sta_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(A);
- EXTENDED(cpustate);
- WM(cpustate, EAD,A);
-}
-
-/* $b8 EORA extended -**0- */
-INLINE void eora_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- A ^= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $b9 ADCA extended ***** */
-INLINE void adca_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = A + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $bA ORA extended -**0- */
-INLINE void ora_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- A |= t;
- CLR_NZV;
- SET_NZ8(A);
-}
-
-/* $bB ADDA extended ***** */
-INLINE void adda_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = A + t;
- CLR_HNZVC;
- SET_FLAGS8(A,t,r);
- SET_H(A,t,r);
- A = r;
-}
-
-/* $bC CMPX (CMPY CMPS) extended -**** */
-INLINE void cmpx_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = X;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $10bC CMPY extended -**** */
-INLINE void cmpy_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = Y;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $11bC CMPS extended -**** */
-INLINE void cmps_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = S;
- r = d - b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
-}
-
-/* $bD JSR extended ----- */
-INLINE void jsr_ex( konami_state *cpustate )
-{
- EXTENDED(cpustate);
- PUSHWORD(cpustate, pPC);
- PCD=EAD;
-}
-
-/* $bE LDX (LDY) extended -**0- */
-INLINE void ldx_ex( konami_state *cpustate )
-{
- EXTWORD(cpustate, pX);
- CLR_NZV;
- SET_NZ16(X);
-}
-
-/* $10bE LDY extended -**0- */
-INLINE void ldy_ex( konami_state *cpustate )
-{
- EXTWORD(cpustate, pY);
- CLR_NZV;
- SET_NZ16(Y);
-}
-
-/* $bF STX (STY) extended -**0- */
-INLINE void stx_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(X);
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&pX);
-}
-
-/* $10bF STY extended -**0- */
-INLINE void sty_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(Y);
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&pY);
-}
-
-/* $c0 SUBB immediate ?**** */
-INLINE void subb_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $c1 CMPB immediate ?**** */
-INLINE void cmpb_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC; SET_FLAGS8(B,t,r);
-}
-
-/* $c2 SBCB immediate ?**** */
-INLINE void sbcb_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = B - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $c3 ADDD immediate -**** */
-INLINE void addd_im( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- IMMWORD(cpustate, b);
- d = D;
- r = d + b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $c4 ANDB immediate -**0- */
-INLINE void andb_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- B &= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $c5 BITB immediate -**0- */
-INLINE void bitb_im( konami_state *cpustate )
-{
- UINT8 t,r;
- IMMBYTE(cpustate, t);
- r = B & t;
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $c6 LDB immediate -**0- */
-INLINE void ldb_im( konami_state *cpustate )
-{
- IMMBYTE(cpustate, B);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* is this a legal instruction? */
-/* $c7 STB immediate -**0- */
-INLINE void stb_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(B);
- IMM8(cpustate);
- WM(cpustate, EAD,B);
-}
-
-/* $c8 EORB immediate -**0- */
-INLINE void eorb_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- B ^= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $c9 ADCB immediate ***** */
-INLINE void adcb_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = B + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $cA ORB immediate -**0- */
-INLINE void orb_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
- B |= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $cB ADDB immediate ***** */
-INLINE void addb_im( konami_state *cpustate )
-{
- UINT16 t,r;
- IMMBYTE(cpustate, t);
- r = B + t;
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $cC LDD immediate -**0- */
-INLINE void ldd_im( konami_state *cpustate )
-{
- IMMWORD(cpustate, pD);
- CLR_NZV;
- SET_NZ16(D);
-}
-
-/* is this a legal instruction? */
-/* $cD STD immediate -**0- */
-INLINE void std_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(D);
- IMM16(cpustate);
- WM16(cpustate, EAD,&pD);
-}
-
-/* $cE LDU (LDS) immediate -**0- */
-INLINE void ldu_im( konami_state *cpustate )
-{
- IMMWORD(cpustate, pU);
- CLR_NZV;
- SET_NZ16(U);
-}
-
-/* $10cE LDS immediate -**0- */
-INLINE void lds_im( konami_state *cpustate )
-{
- IMMWORD(cpustate, pS);
- CLR_NZV;
- SET_NZ16(S);
- cpustate->int_state |= KONAMI_LDS;
-}
-
-/* is this a legal instruction? */
-/* $cF STU (STS) immediate -**0- */
-INLINE void stu_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(U);
- IMM16(cpustate);
- WM16(cpustate, EAD,&pU);
-}
-
-/* is this a legal instruction? */
-/* $10cF STS immediate -**0- */
-INLINE void sts_im( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(S);
- IMM16(cpustate);
- WM16(cpustate, EAD,&pS);
-}
-
-/* $d0 SUBB direct ?**** */
-INLINE void subb_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $d1 CMPB direct ?**** */
-INLINE void cmpb_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
-}
-
-/* $d2 SBCB direct ?**** */
-INLINE void sbcb_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = B - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $d3 ADDD direct -**** */
-INLINE void addd_di( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- DIRWORD(cpustate, b);
- d = D;
- r = d + b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $d4 ANDB direct -**0- */
-INLINE void andb_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- B &= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $d5 BITB direct -**0- */
-INLINE void bitb_di( konami_state *cpustate )
-{
- UINT8 t,r;
- DIRBYTE(cpustate, t);
- r = B & t;
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $d6 LDB direct -**0- */
-INLINE void ldb_di( konami_state *cpustate )
-{
- DIRBYTE(cpustate, B);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $d7 STB direct -**0- */
-INLINE void stb_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(B);
- DIRECT(cpustate);
- WM(cpustate, EAD,B);
-}
-
-/* $d8 EORB direct -**0- */
-INLINE void eorb_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- B ^= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $d9 ADCB direct ***** */
-INLINE void adcb_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = B + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $dA ORB direct -**0- */
-INLINE void orb_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
- B |= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $dB ADDB direct ***** */
-INLINE void addb_di( konami_state *cpustate )
-{
- UINT16 t,r;
- DIRBYTE(cpustate, t);
- r = B + t;
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $dC LDD direct -**0- */
-INLINE void ldd_di( konami_state *cpustate )
-{
- DIRWORD(cpustate, pD);
- CLR_NZV;
- SET_NZ16(D);
-}
-
-/* $dD STD direct -**0- */
-INLINE void std_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(D);
- DIRECT(cpustate);
- WM16(cpustate, EAD,&pD);
-}
-
-/* $dE LDU (LDS) direct -**0- */
-INLINE void ldu_di( konami_state *cpustate )
-{
- DIRWORD(cpustate, pU);
- CLR_NZV;
- SET_NZ16(U);
-}
-
-/* $10dE LDS direct -**0- */
-INLINE void lds_di( konami_state *cpustate )
-{
- DIRWORD(cpustate, pS);
- CLR_NZV;
- SET_NZ16(S);
- cpustate->int_state |= KONAMI_LDS;
-}
-
-/* $dF STU (STS) direct -**0- */
-INLINE void stu_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(U);
- DIRECT(cpustate);
- WM16(cpustate, EAD,&pU);
-}
-
-/* $10dF STS direct -**0- */
-INLINE void sts_di( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(S);
- DIRECT(cpustate);
- WM16(cpustate, EAD,&pS);
-}
-
-/* $e0 SUBB indexed ?**** */
-INLINE void subb_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $e1 CMPB indexed ?**** */
-INLINE void cmpb_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
-}
-
-/* $e2 SBCB indexed ?**** */
-INLINE void sbcb_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = B - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $e3 ADDD indexed -**** */
-INLINE void addd_ix( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- b.d=RM16(cpustate, EAD);
- d = D;
- r = d + b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $e4 ANDB indexed -**0- */
-INLINE void andb_ix( konami_state *cpustate )
-{
- B &= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $e5 BITB indexed -**0- */
-INLINE void bitb_ix( konami_state *cpustate )
-{
- UINT8 r;
- r = B & RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $e6 LDB indexed -**0- */
-INLINE void ldb_ix( konami_state *cpustate )
-{
- B = RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $e7 STB indexed -**0- */
-INLINE void stb_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(B);
- WM(cpustate, EAD,B);
-}
-
-/* $e8 EORB indexed -**0- */
-INLINE void eorb_ix( konami_state *cpustate )
-{
- B ^= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $e9 ADCB indexed ***** */
-INLINE void adcb_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = B + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $eA ORB indexed -**0- */
-INLINE void orb_ix( konami_state *cpustate )
-{
- B |= RM(cpustate, EAD);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $eb ADDB indexed ***** */
-INLINE void addb_ix( konami_state *cpustate )
-{
- UINT16 t,r;
- t = RM(cpustate, EAD);
- r = B + t;
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $ec LDD indexed -**0- */
-INLINE void ldd_ix( konami_state *cpustate )
-{
- D=RM16(cpustate, EAD);
- CLR_NZV; SET_NZ16(D);
-}
-
-/* $eD STD indexed -**0- */
-INLINE void std_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(D);
- WM16(cpustate, EAD,&pD);
-}
-
-/* $eE LDU (LDS) indexed -**0- */
-INLINE void ldu_ix( konami_state *cpustate )
-{
- U=RM16(cpustate, EAD);
- CLR_NZV;
- SET_NZ16(U);
-}
-
-/* $10eE LDS indexed -**0- */
-INLINE void lds_ix( konami_state *cpustate )
-{
- S=RM16(cpustate, EAD);
- CLR_NZV;
- SET_NZ16(S);
- cpustate->int_state |= KONAMI_LDS;
-}
-
-/* $eF STU (STS) indexed -**0- */
-INLINE void stu_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(U);
- WM16(cpustate, EAD,&pU);
-}
-
-/* $10eF STS indexed -**0- */
-INLINE void sts_ix( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(S);
- WM16(cpustate, EAD,&pS);
-}
-
-/* $f0 SUBB extended ?**** */
-INLINE void subb_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $f1 CMPB extended ?**** */
-INLINE void cmpb_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = B - t;
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
-}
-
-/* $f2 SBCB extended ?**** */
-INLINE void sbcb_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = B - t - (CC & CC_C);
- CLR_NZVC;
- SET_FLAGS8(B,t,r);
- B = r;
-}
-
-/* $f3 ADDD extended -**** */
-INLINE void addd_ex( konami_state *cpustate )
-{
- UINT32 r,d;
- PAIR b;
- EXTWORD(cpustate, b);
- d = D;
- r = d + b.d;
- CLR_NZVC;
- SET_FLAGS16(d,b.d,r);
- D = r;
-}
-
-/* $f4 ANDB extended -**0- */
-INLINE void andb_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- B &= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $f5 BITB extended -**0- */
-INLINE void bitb_ex( konami_state *cpustate )
-{
- UINT8 t,r;
- EXTBYTE(cpustate, t);
- r = B & t;
- CLR_NZV;
- SET_NZ8(r);
-}
-
-/* $f6 LDB extended -**0- */
-INLINE void ldb_ex( konami_state *cpustate )
-{
- EXTBYTE(cpustate, B);
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $f7 STB extended -**0- */
-INLINE void stb_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ8(B);
- EXTENDED(cpustate);
- WM(cpustate, EAD,B);
-}
-
-/* $f8 EORB extended -**0- */
-INLINE void eorb_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- B ^= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $f9 ADCB extended ***** */
-INLINE void adcb_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = B + t + (CC & CC_C);
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $fA ORB extended -**0- */
-INLINE void orb_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
- B |= t;
- CLR_NZV;
- SET_NZ8(B);
-}
-
-/* $fB ADDB extended ***** */
-INLINE void addb_ex( konami_state *cpustate )
-{
- UINT16 t,r;
- EXTBYTE(cpustate, t);
- r = B + t;
- CLR_HNZVC;
- SET_FLAGS8(B,t,r);
- SET_H(B,t,r);
- B = r;
-}
-
-/* $fC LDD extended -**0- */
-INLINE void ldd_ex( konami_state *cpustate )
-{
- EXTWORD(cpustate, pD);
- CLR_NZV;
- SET_NZ16(D);
-}
-
-/* $fD STD extended -**0- */
-INLINE void std_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(D);
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&pD);
-}
-
-/* $fE LDU (LDS) extended -**0- */
-INLINE void ldu_ex( konami_state *cpustate )
-{
- EXTWORD(cpustate, pU);
- CLR_NZV;
- SET_NZ16(U);
-}
-
-/* $10fE LDS extended -**0- */
-INLINE void lds_ex( konami_state *cpustate )
-{
- EXTWORD(cpustate, pS);
- CLR_NZV;
- SET_NZ16(S);
- cpustate->int_state |= KONAMI_LDS;
-}
-
-/* $fF STU (STS) extended -**0- */
-INLINE void stu_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(U);
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&pU);
-}
-
-/* $10fF STS extended -**0- */
-INLINE void sts_ex( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(S);
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&pS);
-}
-
-INLINE void setline_im( konami_state *cpustate )
-{
- UINT8 t;
- IMMBYTE(cpustate, t);
-
- if ( cpustate->setlines_callback )
- (*cpustate->setlines_callback)( cpustate->device, t );
-}
-
-INLINE void setline_ix( konami_state *cpustate )
-{
- UINT8 t;
- t = RM(cpustate, EA);
-
- if ( cpustate->setlines_callback )
- (*cpustate->setlines_callback)( cpustate->device, t );
-}
-
-INLINE void setline_di( konami_state *cpustate )
-{
- UINT8 t;
- DIRBYTE(cpustate, t);
-
- if ( cpustate->setlines_callback )
- (*cpustate->setlines_callback)( cpustate->device, t );
-}
-
-INLINE void setline_ex( konami_state *cpustate )
-{
- UINT8 t;
- EXTBYTE(cpustate, t);
-
- if ( cpustate->setlines_callback )
- (*cpustate->setlines_callback)( cpustate->device, t );
-}
-
-INLINE void bmove( konami_state *cpustate )
-{
- UINT8 t;
-
- while( U != 0 ) {
- t = RM(cpustate, Y);
- WM(cpustate, X,t);
- Y++;
- X++;
- U--;
- cpustate->icount -= 2;
- }
-}
-
-INLINE void move( konami_state *cpustate )
-{
- UINT8 t;
-
- t = RM(cpustate, Y);
- WM(cpustate, X,t);
- Y++;
- X++;
- U--;
-}
-
-/* CLRD inherent -0100 */
-INLINE void clrd( konami_state *cpustate )
-{
- D = 0;
- CLR_NZVC; SEZ;
-}
-
-/* CLRW indexed -0100 */
-INLINE void clrw_ix( konami_state *cpustate )
-{
- PAIR t;
- t.d = 0;
- WM16(cpustate, EAD,&t);
- CLR_NZVC; SEZ;
-}
-
-/* CLRW direct -0100 */
-INLINE void clrw_di( konami_state *cpustate )
-{
- PAIR t;
- t.d = 0;
- DIRECT(cpustate);
- WM16(cpustate, EAD,&t);
- CLR_NZVC;
- SEZ;
-}
-
-/* CLRW extended -0100 */
-INLINE void clrw_ex( konami_state *cpustate )
-{
- PAIR t;
- t.d = 0;
- EXTENDED(cpustate);
- WM16(cpustate, EAD,&t);
- CLR_NZVC; SEZ;
-}
-
-/* LSRD immediate -0*-* */
-INLINE void lsrd( konami_state *cpustate )
-{
- UINT8 t;
-
- IMMBYTE(cpustate, t );
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D >>= 1;
- SET_Z16(D);
- }
-}
-
-/* RORD immediate -**-* */
-INLINE void rord( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- IMMBYTE(cpustate, t);
-
- while ( t-- ) {
- r = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (D & CC_C);
- r |= D >> 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* ASRD immediate ?**-* */
-INLINE void asrd( konami_state *cpustate )
-{
- UINT8 t;
-
- IMMBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D = (D & 0x8000) | (D >> 1);
- SET_NZ16(D);
- }
-}
-
-/* ASLD immediate ?**** */
-INLINE void asld( konami_state *cpustate )
-{
- UINT32 r;
- UINT8 t;
-
- IMMBYTE(cpustate, t );
-
- while ( t-- ) {
- r = D << 1;
- CLR_NZVC;
- SET_FLAGS16(D,D,r);
- D = r;
- }
-}
-
-/* ROLD immediate -**-* */
-INLINE void rold( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- IMMBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- if ( D & 0x8000 ) SEC;
- r = CC & CC_C;
- r |= D << 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* DECB,JNZ relative ----- */
-INLINE void decbjnz( konami_state *cpustate )
-{
- --B;
- CLR_NZV;
- SET_FLAGS8D(B);
- BRANCH(cpustate, !(CC&CC_Z) );
-}
-
-/* DECX,JNZ relative ----- */
-INLINE void decxjnz( konami_state *cpustate )
-{
- --X;
- CLR_NZV;
- SET_NZ16(X); /* should affect V as well? */
- BRANCH(cpustate, !(CC&CC_Z) );
-}
-
-INLINE void bset( konami_state *cpustate )
-{
- UINT8 t;
-
- while( U != 0 ) {
- t = A;
- WM(cpustate, XD,t);
- X++;
- U--;
- cpustate->icount -= 2;
- }
-}
-
-INLINE void bset2( konami_state *cpustate )
-{
- while( U != 0 ) {
- WM16(cpustate, XD,&pD);
- X += 2;
- U--;
- cpustate->icount -= 3;
- }
-}
-
-/* LMUL inherent --*-@ */
-INLINE void lmul( konami_state *cpustate )
-{
- UINT32 t;
- t = X * Y;
- X = (t >> 16);
- Y = (t & 0xffff);
- CLR_ZC; SET_Z(t); if( t & 0x8000 ) SEC;
-}
-
-/* DIVX inherent --*-@ */
-INLINE void divx( konami_state *cpustate )
-{
- UINT16 t;
- UINT8 r;
- if ( B != 0 )
- {
- t = X / B;
- r = X % B;
- }
- else
- {
- /* ?? */
- t = 0;
- r = 0;
- }
- CLR_ZC; SET_Z16(t); if ( t & 0x80 ) SEC;
- X = t;
- B = r;
-}
-
-/* INCD inherent -***- */
-INLINE void incd( konami_state *cpustate )
-{
- UINT32 r;
- r = D + 1;
- CLR_NZV;
- SET_FLAGS16(D,D,r);
- D = r;
-}
-
-/* INCW direct -***- */
-INLINE void incw_di( konami_state *cpustate )
-{
- PAIR t,r;
- DIRWORD(cpustate, t);
- r = t;
- ++r.d;
- CLR_NZV;
- SET_FLAGS16(t.d, t.d, r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* INCW indexed -***- */
-INLINE void incw_ix( konami_state *cpustate )
-{
- PAIR t,r;
- t.d=RM16(cpustate, EAD);
- r = t;
- ++r.d;
- CLR_NZV;
- SET_FLAGS16(t.d, t.d, r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* INCW extended -***- */
-INLINE void incw_ex( konami_state *cpustate )
-{
- PAIR t, r;
- EXTWORD(cpustate, t);
- r = t;
- ++r.d;
- CLR_NZV; SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* DECD inherent -***- */
-INLINE void decd( konami_state *cpustate )
-{
- UINT32 r;
- r = D - 1;
- CLR_NZV;
- SET_FLAGS16(D,D,r);
- D = r;
-}
-
-/* DECW direct -***- */
-INLINE void decw_di( konami_state *cpustate )
-{
- PAIR t,r;
- DIRWORD(cpustate, t);
- r = t;
- --r.d;
- CLR_NZV;
- SET_FLAGS16(t.d, t.d, r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* DECW indexed -***- */
-INLINE void decw_ix( konami_state *cpustate )
-{
- PAIR t, r;
- t.d=RM16(cpustate, EAD);
- r = t;
- --r.d;
- CLR_NZV; SET_FLAGS16(t.d, t.d, r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* DECW extended -***- */
-INLINE void decw_ex( konami_state *cpustate )
-{
- PAIR t, r;
- EXTWORD(cpustate, t);
- r = t;
- --r.d;
- CLR_NZV; SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* TSTD inherent -**0- */
-INLINE void tstd( konami_state *cpustate )
-{
- CLR_NZV;
- SET_NZ16(D);
-}
-
-/* TSTW direct -**0- */
-INLINE void tstw_di( konami_state *cpustate )
-{
- PAIR t;
- CLR_NZV;
- DIRWORD(cpustate, t);
- SET_NZ16(t.d);
-}
-
-/* TSTW indexed -**0- */
-INLINE void tstw_ix( konami_state *cpustate )
-{
- PAIR t;
- CLR_NZV;
- t.d=RM16(cpustate, EAD);
- SET_NZ16(t.d);
-}
-
-/* TSTW extended -**0- */
-INLINE void tstw_ex( konami_state *cpustate )
-{
- PAIR t;
- CLR_NZV;
- EXTWORD(cpustate, t);
- SET_NZ16(t.d);
-}
-
-/* LSRW direct -0*-* */
-INLINE void lsrw_di( konami_state *cpustate )
-{
- PAIR t;
- DIRWORD(cpustate, t);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d >>= 1;
- SET_Z16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* LSRW indexed -0*-* */
-INLINE void lsrw_ix( konami_state *cpustate )
-{
- PAIR t;
- t.d=RM16(cpustate, EAD);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d >>= 1;
- SET_Z16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* LSRW extended -0*-* */
-INLINE void lsrw_ex( konami_state *cpustate )
-{
- PAIR t;
- EXTWORD(cpustate, t);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d >>= 1;
- SET_Z16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* RORW direct -**-* */
-INLINE void rorw_di( konami_state *cpustate )
-{
- PAIR t,r;
- DIRWORD(cpustate, t);
- r.d = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (t.d & CC_C);
- r.d |= t.d>>1;
- SET_NZ16(r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* RORW indexed -**-* */
-INLINE void rorw_ix( konami_state *cpustate )
-{
- PAIR t,r;
- t.d=RM16(cpustate, EAD);
- r.d = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (t.d & CC_C);
- r.d |= t.d>>1;
- SET_NZ16(r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* RORW extended -**-* */
-INLINE void rorw_ex( konami_state *cpustate )
-{
- PAIR t,r;
- EXTWORD(cpustate, t);
- r.d = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (t.d & CC_C);
- r.d |= t.d>>1;
- SET_NZ16(r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ASRW direct ?**-* */
-INLINE void asrw_di( konami_state *cpustate )
-{
- PAIR t;
- DIRWORD(cpustate, t);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d = (t.d & 0x8000) | (t.d >> 1);
- SET_NZ16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* ASRW indexed ?**-* */
-INLINE void asrw_ix( konami_state *cpustate )
-{
- PAIR t;
- t.d=RM16(cpustate, EAD);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d = (t.d & 0x8000) | (t.d >> 1);
- SET_NZ16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* ASRW extended ?**-* */
-INLINE void asrw_ex( konami_state *cpustate )
-{
- PAIR t;
- EXTWORD(cpustate, t);
- CLR_NZC;
- CC |= (t.d & CC_C);
- t.d = (t.d & 0x8000) | (t.d >> 1);
- SET_NZ16(t.d);
- WM16(cpustate, EAD,&t);
-}
-
-/* ASLW direct ?**** */
-INLINE void aslw_di( konami_state *cpustate )
-{
- PAIR t,r;
- DIRWORD(cpustate, t);
- r.d = t.d << 1;
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ASLW indexed ?**** */
-INLINE void aslw_ix( konami_state *cpustate )
-{
- PAIR t,r;
- t.d=RM16(cpustate, EAD);
- r.d = t.d << 1;
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ASLW extended ?**** */
-INLINE void aslw_ex( konami_state *cpustate )
-{
- PAIR t,r;
- EXTWORD(cpustate, t);
- r.d = t.d << 1;
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ROLW direct -**** */
-INLINE void rolw_di( konami_state *cpustate )
-{
- PAIR t,r;
- DIRWORD(cpustate, t);
- r.d = (CC & CC_C) | (t.d << 1);
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ROLW indexed -**** */
-INLINE void rolw_ix( konami_state *cpustate )
-{
- PAIR t,r;
- t.d=RM16(cpustate, EAD);
- r.d = (CC & CC_C) | (t.d << 1);
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ROLW extended -**** */
-INLINE void rolw_ex( konami_state *cpustate )
-{
- PAIR t,r;
- EXTWORD(cpustate, t);
- r.d = (CC & CC_C) | (t.d << 1);
- CLR_NZVC;
- SET_FLAGS16(t.d,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* NEGD inherent ?**** */
-INLINE void negd( konami_state *cpustate )
-{
- UINT32 r;
- r = -D;
- CLR_NZVC;
- SET_FLAGS16(0,D,r);
- D = r;
-}
-
-/* NEGW direct ?**** */
-INLINE void negw_di( konami_state *cpustate )
-{
- PAIR r,t;
- DIRWORD(cpustate, t);
- r.d = -t.d;
- CLR_NZVC;
- SET_FLAGS16(0,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* NEGW indexed ?**** */
-INLINE void negw_ix( konami_state *cpustate )
-{
- PAIR r,t;
- t.d=RM16(cpustate, EAD);
- r.d = -t.d;
- CLR_NZVC;
- SET_FLAGS16(0,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* NEGW extended ?**** */
-INLINE void negw_ex( konami_state *cpustate )
-{
- PAIR r,t;
- EXTWORD(cpustate, t);
- r.d = -t.d;
- CLR_NZVC;
- SET_FLAGS16(0,t.d,r.d);
- WM16(cpustate, EAD,&r);
-}
-
-/* ABSA inherent ?**** */
-INLINE void absa( konami_state *cpustate )
-{
- UINT16 r;
- if (A & 0x80)
- r = -A;
- else
- r = A;
- CLR_NZVC;
- SET_FLAGS8(0,A,r);
- A = r;
-}
-
-/* ABSB inherent ?**** */
-INLINE void absb( konami_state *cpustate )
-{
- UINT16 r;
- if (B & 0x80)
- r = -B;
- else
- r = B;
- CLR_NZVC;
- SET_FLAGS8(0,B,r);
- B = r;
-}
-
-/* ABSD inherent ?**** */
-INLINE void absd( konami_state *cpustate )
-{
- UINT32 r;
- if (D & 0x8000)
- r = -D;
- else
- r = D;
- CLR_NZVC;
- SET_FLAGS16(0,D,r);
- D = r;
-}
-
-/* LSRD direct -0*-* */
-INLINE void lsrd_di( konami_state *cpustate )
-{
- UINT8 t;
-
- DIRBYTE(cpustate, t );
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D >>= 1;
- SET_Z16(D);
- }
-}
-
-/* RORD direct -**-* */
-INLINE void rord_di( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- DIRBYTE(cpustate, t);
-
- while ( t-- ) {
- r = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (D & CC_C);
- r |= D >> 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* ASRD direct ?**-* */
-INLINE void asrd_di( konami_state *cpustate )
-{
- UINT8 t;
-
- DIRBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D = (D & 0x8000) | (D >> 1);
- SET_NZ16(D);
- }
-}
-
-/* ASLD direct ?**** */
-INLINE void asld_di( konami_state *cpustate )
-{
- UINT32 r;
- UINT8 t;
-
- DIRBYTE(cpustate, t );
-
- while ( t-- ) {
- r = D << 1;
- CLR_NZVC;
- SET_FLAGS16(D,D,r);
- D = r;
- }
-}
-
-/* ROLD direct -**-* */
-INLINE void rold_di( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- DIRBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- if ( D & 0x8000 ) SEC;
- r = CC & CC_C;
- r |= D << 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* LSRD indexed -0*-* */
-INLINE void lsrd_ix( konami_state *cpustate )
-{
- UINT8 t;
-
- t=RM(cpustate, EA);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D >>= 1;
- SET_Z16(D);
- }
-}
-
-/* RORD indexed -**-* */
-INLINE void rord_ix( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- t=RM(cpustate, EA);
-
- while ( t-- ) {
- r = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (D & CC_C);
- r |= D >> 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* ASRD indexed ?**-* */
-INLINE void asrd_ix( konami_state *cpustate )
-{
- UINT8 t;
-
- t=RM(cpustate, EA);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D = (D & 0x8000) | (D >> 1);
- SET_NZ16(D);
- }
-}
-
-/* ASLD indexed ?**** */
-INLINE void asld_ix( konami_state *cpustate )
-{
- UINT32 r;
- UINT8 t;
-
- t=RM(cpustate, EA);
-
- while ( t-- ) {
- r = D << 1;
- CLR_NZVC;
- SET_FLAGS16(D,D,r);
- D = r;
- }
-}
-
-/* ROLD indexed -**-* */
-INLINE void rold_ix( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- t=RM(cpustate, EA);
-
- while ( t-- ) {
- CLR_NZC;
- if ( D & 0x8000 ) SEC;
- r = CC & CC_C;
- r |= D << 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* LSRD extended -0*-* */
-INLINE void lsrd_ex( konami_state *cpustate )
-{
- UINT8 t;
-
- EXTBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D >>= 1;
- SET_Z16(D);
- }
-}
-
-/* RORD extended -**-* */
-INLINE void rord_ex( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- EXTBYTE(cpustate, t);
-
- while ( t-- ) {
- r = (CC & CC_C) << 15;
- CLR_NZC;
- CC |= (D & CC_C);
- r |= D >> 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-/* ASRD extended ?**-* */
-INLINE void asrd_ex( konami_state *cpustate )
-{
- UINT8 t;
-
- EXTBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- CC |= (D & CC_C);
- D = (D & 0x8000) | (D >> 1);
- SET_NZ16(D);
- }
-}
-
-/* ASLD extended ?**** */
-INLINE void asld_ex( konami_state *cpustate )
-{
- UINT32 r;
- UINT8 t;
-
- EXTBYTE(cpustate, t);
-
- while ( t-- ) {
- r = D << 1;
- CLR_NZVC;
- SET_FLAGS16(D,D,r);
- D = r;
- }
-}
-
-/* ROLD extended -**-* */
-INLINE void rold_ex( konami_state *cpustate )
-{
- UINT16 r;
- UINT8 t;
-
- EXTBYTE(cpustate, t);
-
- while ( t-- ) {
- CLR_NZC;
- if ( D & 0x8000 ) SEC;
- r = CC & CC_C;
- r |= D << 1;
- SET_NZ16(r);
- D = r;
- }
-}
-
-INLINE void opcode2( konami_state *cpustate )
-{
- UINT8 ireg2 = ROP_ARG(cpustate, PCD);
- PC++;
-
- switch ( ireg2 ) {
-// case 0x00: EA=0; break; /* auto increment */
-// case 0x01: EA=0; break; /* double auto increment */
-// case 0x02: EA=0; break; /* auto decrement */
-// case 0x03: EA=0; break; /* double auto decrement */
-// case 0x04: EA=0; break; /* postbyte offs */
-// case 0x05: EA=0; break; /* postword offs */
-// case 0x06: EA=0; break; /* normal */
- case 0x07:
- EAD=0;
- (*konami_extended[cpustate->ireg])(cpustate);
- cpustate->icount -= 2;
- return;
-// case 0x08: EA=0; break; /* indirect - auto increment */
-// case 0x09: EA=0; break; /* indirect - double auto increment */
-// case 0x0a: EA=0; break; /* indirect - auto decrement */
-// case 0x0b: EA=0; break; /* indirect - double auto decrement */
-// case 0x0c: EA=0; break; /* indirect - postbyte offs */
-// case 0x0d: EA=0; break; /* indirect - postword offs */
-// case 0x0e: EA=0; break; /* indirect - normal */
- case 0x0f: /* indirect - extended */
- IMMWORD(cpustate, cpustate->ea);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0x10: EA=0; break; /* auto increment */
-// case 0x11: EA=0; break; /* double auto increment */
-// case 0x12: EA=0; break; /* auto decrement */
-// case 0x13: EA=0; break; /* double auto decrement */
-// case 0x14: EA=0; break; /* postbyte offs */
-// case 0x15: EA=0; break; /* postword offs */
-// case 0x16: EA=0; break; /* normal */
-// case 0x17: EA=0; break; /* extended */
-// case 0x18: EA=0; break; /* indirect - auto increment */
-// case 0x19: EA=0; break; /* indirect - double auto increment */
-// case 0x1a: EA=0; break; /* indirect - auto decrement */
-// case 0x1b: EA=0; break; /* indirect - double auto decrement */
-// case 0x1c: EA=0; break; /* indirect - postbyte offs */
-// case 0x1d: EA=0; break; /* indirect - postword offs */
-// case 0x1e: EA=0; break; /* indirect - normal */
-// case 0x1f: EA=0; break; /* indirect - extended */
-
-/* base X */
- case 0x20: /* auto increment */
- EA=X;
- X++;
- cpustate->icount-=2;
- break;
- case 0x21: /* double auto increment */
- EA=X;
- X+=2;
- cpustate->icount-=3;
- break;
- case 0x22: /* auto decrement */
- X--;
- EA=X;
- cpustate->icount-=2;
- break;
- case 0x23: /* double auto decrement */
- X-=2;
- EA=X;
- cpustate->icount-=3;
- break;
- case 0x24: /* postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=X+SIGNED(EA);
- cpustate->icount-=2;
- break;
- case 0x25: /* postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=X;
- cpustate->icount-=4;
- break;
- case 0x26: /* normal */
- EA=X;
- break;
-// case 0x27: EA=0; break; /* extended */
- case 0x28: /* indirect - auto increment */
- EA=X;
- X++;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x29: /* indirect - double auto increment */
- EA=X;
- X+=2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x2a: /* indirect - auto decrement */
- X--;
- EA=X;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x2b: /* indirect - double auto decrement */
- X-=2;
- EA=X;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x2c: /* indirect - postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=X+SIGNED(EA);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0x2d: /* indirect - postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=X;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0x2e: /* indirect - normal */
- EA=X;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=3;
- break;
-// case 0x2f: EA=0; break; /* indirect - extended */
-
-/* base Y */
- case 0x30: /* auto increment */
- EA=Y;
- Y++;
- cpustate->icount-=2;
- break;
- case 0x31: /* double auto increment */
- EA=Y;
- Y+=2;
- cpustate->icount-=3;
- break;
- case 0x32: /* auto decrement */
- Y--;
- EA=Y;
- cpustate->icount-=2;
- break;
- case 0x33: /* double auto decrement */
- Y-=2;
- EA=Y;
- cpustate->icount-=3;
- break;
- case 0x34: /* postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=Y+SIGNED(EA);
- cpustate->icount-=2;
- break;
- case 0x35: /* postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=Y;
- cpustate->icount-=4;
- break;
- case 0x36: /* normal */
- EA=Y;
- break;
-// case 0x37: EA=0; break; /* extended */
- case 0x38: /* indirect - auto increment */
- EA=Y;
- Y++;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x39: /* indirect - double auto increment */
- EA=Y;
- Y+=2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x3a: /* indirect - auto decrement */
- Y--;
- EA=Y;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x3b: /* indirect - double auto decrement */
- Y-=2;
- EA=Y;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x3c: /* indirect - postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=Y+SIGNED(EA);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0x3d: /* indirect - postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=Y;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0x3e: /* indirect - normal */
- EA=Y;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=3;
- break;
-// case 0x3f: EA=0; break; /* indirect - extended */
-
-// case 0x40: EA=0; break; /* auto increment */
-// case 0x41: EA=0; break; /* double auto increment */
-// case 0x42: EA=0; break; /* auto decrement */
-// case 0x43: EA=0; break; /* double auto decrement */
-// case 0x44: EA=0; break; /* postbyte offs */
-// case 0x45: EA=0; break; /* postword offs */
-// case 0x46: EA=0; break; /* normal */
-// case 0x47: EA=0; break; /* extended */
-// case 0x48: EA=0; break; /* indirect - auto increment */
-// case 0x49: EA=0; break; /* indirect - double auto increment */
-// case 0x4a: EA=0; break; /* indirect - auto decrement */
-// case 0x4b: EA=0; break; /* indirect - double auto decrement */
-// case 0x4c: EA=0; break; /* indirect - postbyte offs */
-// case 0x4d: EA=0; break; /* indirect - postword offs */
-// case 0x4e: EA=0; break; /* indirect - normal */
-// case 0x4f: EA=0; break; /* indirect - extended */
-
-/* base U */
- case 0x50: /* auto increment */
- EA=U;
- U++;
- cpustate->icount-=2;
- break;
- case 0x51: /* double auto increment */
- EA=U;
- U+=2;
- cpustate->icount-=3;
- break;
- case 0x52: /* auto decrement */
- U--;
- EA=U;
- cpustate->icount-=2;
- break;
- case 0x53: /* double auto decrement */
- U-=2;
- EA=U;
- cpustate->icount-=3;
- break;
- case 0x54: /* postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=U+SIGNED(EA);
- cpustate->icount-=2;
- break;
- case 0x55: /* postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=U;
- cpustate->icount-=4;
- break;
- case 0x56: /* normal */
- EA=U;
- break;
-// case 0x57: EA=0; break; /* extended */
- case 0x58: /* indirect - auto increment */
- EA=U;
- U++;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x59: /* indirect - double auto increment */
- EA=U;
- U+=2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x5a: /* indirect - auto decrement */
- U--;
- EA=U;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x5b: /* indirect - double auto decrement */
- U-=2;
- EA=U;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x5c: /* indirect - postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=U+SIGNED(EA);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0x5d: /* indirect - postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=U;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0x5e: /* indirect - normal */
- EA=U;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=3;
- break;
-// case 0x5f: EA=0; break; /* indirect - extended */
-
-/* base S */
- case 0x60: /* auto increment */
- EAD=SD;
- S++;
- cpustate->icount-=2;
- break;
- case 0x61: /* double auto increment */
- EAD=SD;
- S+=2;
- cpustate->icount-=3;
- break;
- case 0x62: /* auto decrement */
- S--;
- EAD=SD;
- cpustate->icount-=2;
- break;
- case 0x63: /* double auto decrement */
- S-=2;
- EAD=SD;
- cpustate->icount-=3;
- break;
- case 0x64: /* postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=S+SIGNED(EA);
- cpustate->icount-=2;
- break;
- case 0x65: /* postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=S;
- cpustate->icount-=4;
- break;
- case 0x66: /* normal */
- EAD=SD;
- break;
-// case 0x67: EA=0; break; /* extended */
- case 0x68: /* indirect - auto increment */
- EAD=SD;
- S++;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x69: /* indirect - double auto increment */
- EAD=SD;
- S+=2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x6a: /* indirect - auto decrement */
- S--;
- EAD=SD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x6b: /* indirect - double auto decrement */
- S-=2;
- EAD=SD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x6c: /* indirect - postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=S+SIGNED(EA);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0x6d: /* indirect - postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=S;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0x6e: /* indirect - normal */
- EAD=SD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=3;
- break;
-// case 0x6f: EA=0; break; /* indirect - extended */
-
-/* base PC */
- case 0x70: /* auto increment */
- EAD=PCD;
- PC++;
- cpustate->icount-=2;
- break;
- case 0x71: /* double auto increment */
- EAD=PCD;
- PC+=2;
- cpustate->icount-=3;
- break;
- case 0x72: /* auto decrement */
- PC--;
- EAD=PCD;
- cpustate->icount-=2;
- break;
- case 0x73: /* double auto decrement */
- PC-=2;
- EAD=PCD;
- cpustate->icount-=3;
- break;
- case 0x74: /* postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=PC-1+SIGNED(EA);
- cpustate->icount-=2;
- break;
- case 0x75: /* postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=PC-2;
- cpustate->icount-=4;
- break;
- case 0x76: /* normal */
- EAD=PCD;
- break;
-// case 0x77: EA=0; break; /* extended */
- case 0x78: /* indirect - auto increment */
- EAD=PCD;
- PC++;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x79: /* indirect - double auto increment */
- EAD=PCD;
- PC+=2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x7a: /* indirect - auto decrement */
- PC--;
- EAD=PCD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=5;
- break;
- case 0x7b: /* indirect - double auto decrement */
- PC-=2;
- EAD=PCD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=6;
- break;
- case 0x7c: /* indirect - postbyte offs */
- IMMBYTE(cpustate, EA);
- EA=PC-1+SIGNED(EA);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0x7d: /* indirect - postword offs */
- IMMWORD(cpustate, cpustate->ea);
- EA+=PC-2;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0x7e: /* indirect - normal */
- EAD=PCD;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=3;
- break;
-// case 0x7f: EA=0; break; /* indirect - extended */
-
-// case 0x80: EA=0; break; /* register a */
-// case 0x81: EA=0; break; /* register b */
-// case 0x82: EA=0; break; /* ???? */
-// case 0x83: EA=0; break; /* ???? */
-// case 0x84: EA=0; break; /* ???? */
-// case 0x85: EA=0; break; /* ???? */
-// case 0x86: EA=0; break; /* ???? */
-// case 0x87: EA=0; break; /* register d */
-// case 0x88: EA=0; break; /* indirect - register a */
-// case 0x89: EA=0; break; /* indirect - register b */
-// case 0x8a: EA=0; break; /* indirect - ???? */
-// case 0x8b: EA=0; break; /* indirect - ???? */
-// case 0x8c: EA=0; break; /* indirect - ???? */
-// case 0x8d: EA=0; break; /* indirect - ???? */
-// case 0x8e: EA=0; break; /* indirect - register d */
-// case 0x8f: EA=0; break; /* indirect - ???? */
-// case 0x90: EA=0; break; /* register a */
-// case 0x91: EA=0; break; /* register b */
-// case 0x92: EA=0; break; /* ???? */
-// case 0x93: EA=0; break; /* ???? */
-// case 0x94: EA=0; break; /* ???? */
-// case 0x95: EA=0; break; /* ???? */
-// case 0x96: EA=0; break; /* ???? */
-// case 0x97: EA=0; break; /* register d */
-// case 0x98: EA=0; break; /* indirect - register a */
-// case 0x99: EA=0; break; /* indirect - register b */
-// case 0x9a: EA=0; break; /* indirect - ???? */
-// case 0x9b: EA=0; break; /* indirect - ???? */
-// case 0x9c: EA=0; break; /* indirect - ???? */
-// case 0x9d: EA=0; break; /* indirect - ???? */
-// case 0x9e: EA=0; break; /* indirect - register d */
-// case 0x9f: EA=0; break; /* indirect - ???? */
- case 0xa0: /* register a */
- EA=X+SIGNED(A);
- cpustate->icount-=1;
- break;
- case 0xa1: /* register b */
- EA=X+SIGNED(B);
- cpustate->icount-=1;
- break;
-// case 0xa2: EA=0; break; /* ???? */
-// case 0xa3: EA=0; break; /* ???? */
-// case 0xa4: EA=0; break; /* ???? */
-// case 0xa5: EA=0; break; /* ???? */
-// case 0xa6: EA=0; break; /* ???? */
- case 0xa7: /* register d */
- EA=X+D;
- cpustate->icount-=4;
- break;
- case 0xa8: /* indirect - register a */
- EA=X+SIGNED(A);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0xa9: /* indirect - register b */
- EA=X+SIGNED(B);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0xaa: EA=0; break; /* indirect - ???? */
-// case 0xab: EA=0; break; /* indirect - ???? */
-// case 0xac: EA=0; break; /* indirect - ???? */
-// case 0xad: EA=0; break; /* indirect - ???? */
-// case 0xae: EA=0; break; /* indirect - ???? */
- case 0xaf: /* indirect - register d */
- EA=X+D;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0xb0: /* register a */
- EA=Y+SIGNED(A);
- cpustate->icount-=1;
- break;
- case 0xb1: /* register b */
- EA=Y+SIGNED(B);
- cpustate->icount-=1;
- break;
-// case 0xb2: EA=0; break; /* ???? */
-// case 0xb3: EA=0; break; /* ???? */
-// case 0xb4: EA=0; break; /* ???? */
-// case 0xb5: EA=0; break; /* ???? */
-// case 0xb6: EA=0; break; /* ???? */
- case 0xb7: /* register d */
- EA=Y+D;
- cpustate->icount-=4;
- break;
- case 0xb8: /* indirect - register a */
- EA=Y+SIGNED(A);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0xb9: /* indirect - register b */
- EA=Y+SIGNED(B);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0xba: EA=0; break; /* indirect - ???? */
-// case 0xbb: EA=0; break; /* indirect - ???? */
-// case 0xbc: EA=0; break; /* indirect - ???? */
-// case 0xbd: EA=0; break; /* indirect - ???? */
-// case 0xbe: EA=0; break; /* indirect - ???? */
- case 0xbf: /* indirect - register d */
- EA=Y+D;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
-// case 0xc0: EA=0; break; /* register a */
-// case 0xc1: EA=0; break; /* register b */
-// case 0xc2: EA=0; break; /* ???? */
-// case 0xc3: EA=0; break; /* ???? */
- case 0xc4:
- EAD=0;
- (*konami_direct[cpustate->ireg])(cpustate);
- cpustate->icount -= 1;
- return;
-// case 0xc5: EA=0; break; /* ???? */
-// case 0xc6: EA=0; break; /* ???? */
-// case 0xc7: EA=0; break; /* register d */
-// case 0xc8: EA=0; break; /* indirect - register a */
-// case 0xc9: EA=0; break; /* indirect - register b */
-// case 0xca: EA=0; break; /* indirect - ???? */
-// case 0xcb: EA=0; break; /* indirect - ???? */
- case 0xcc: /* indirect - direct */
- DIRWORD(cpustate, cpustate->ea);
- cpustate->icount-=4;
- break;
-// case 0xcd: EA=0; break; /* indirect - ???? */
-// case 0xce: EA=0; break; /* indirect - register d */
-// case 0xcf: EA=0; break; /* indirect - ???? */
- case 0xd0: /* register a */
- EA=U+SIGNED(A);
- cpustate->icount-=1;
- break;
- case 0xd1: /* register b */
- EA=U+SIGNED(B);
- cpustate->icount-=1;
- break;
-// case 0xd2: EA=0; break; /* ???? */
-// case 0xd3: EA=0; break; /* ???? */
-// case 0xd4: EA=0; break; /* ???? */
-// case 0xd5: EA=0; break; /* ???? */
-// case 0xd6: EA=0; break; /* ???? */
- case 0xd7: /* register d */
- EA=U+D;
- cpustate->icount-=4;
- break;
- case 0xd8: /* indirect - register a */
- EA=U+SIGNED(A);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0xd9: /* indirect - register b */
- EA=U+SIGNED(B);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0xda: EA=0; break; /* indirect - ???? */
-// case 0xdb: EA=0; break; /* indirect - ???? */
-// case 0xdc: EA=0; break; /* indirect - ???? */
-// case 0xdd: EA=0; break; /* indirect - ???? */
-// case 0xde: EA=0; break; /* indirect - ???? */
- case 0xdf: /* indirect - register d */
- EA=U+D;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0xe0: /* register a */
- EA=S+SIGNED(A);
- cpustate->icount-=1;
- break;
- case 0xe1: /* register b */
- EA=S+SIGNED(B);
- cpustate->icount-=1;
- break;
-// case 0xe2: EA=0; break; /* ???? */
-// case 0xe3: EA=0; break; /* ???? */
-// case 0xe4: EA=0; break; /* ???? */
-// case 0xe5: EA=0; break; /* ???? */
-// case 0xe6: EA=0; break; /* ???? */
- case 0xe7: /* register d */
- EA=S+D;
- cpustate->icount-=4;
- break;
- case 0xe8: /* indirect - register a */
- EA=S+SIGNED(A);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0xe9: /* indirect - register b */
- EA=S+SIGNED(B);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0xea: EA=0; break; /* indirect - ???? */
-// case 0xeb: EA=0; break; /* indirect - ???? */
-// case 0xec: EA=0; break; /* indirect - ???? */
-// case 0xed: EA=0; break; /* indirect - ???? */
-// case 0xee: EA=0; break; /* indirect - ???? */
- case 0xef: /* indirect - register d */
- EA=S+D;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- case 0xf0: /* register a */
- EA=PC+SIGNED(A);
- cpustate->icount-=1;
- break;
- case 0xf1: /* register b */
- EA=PC+SIGNED(B);
- cpustate->icount-=1;
- break;
-// case 0xf2: EA=0; break; /* ???? */
-// case 0xf3: EA=0; break; /* ???? */
-// case 0xf4: EA=0; break; /* ???? */
-// case 0xf5: EA=0; break; /* ???? */
-// case 0xf6: EA=0; break; /* ???? */
- case 0xf7: /* register d */
- EA=PC+D;
- cpustate->icount-=4;
- break;
- case 0xf8: /* indirect - register a */
- EA=PC+SIGNED(A);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
- case 0xf9: /* indirect - register b */
- EA=PC+SIGNED(B);
- EA=RM16(cpustate, EAD);
- cpustate->icount-=4;
- break;
-// case 0xfa: EA=0; break; /* indirect - ???? */
-// case 0xfb: EA=0; break; /* indirect - ???? */
-// case 0xfc: EA=0; break; /* indirect - ???? */
-// case 0xfd: EA=0; break; /* indirect - ???? */
-// case 0xfe: EA=0; break; /* indirect - ???? */
- case 0xff: /* indirect - register d */
- EA=PC+D;
- EA=RM16(cpustate, EAD);
- cpustate->icount-=7;
- break;
- default:
- logerror("KONAMI: Unknown/Invalid postbyte at PC = %04x\n", PC -1 );
- EAD = 0;
- }
- (*konami_indexed[cpustate->ireg])(cpustate);
-}
diff --git a/src/emu/cpu/konami/konamtbl.c b/src/emu/cpu/konami/konamtbl.c
deleted file mode 100644
index 6c6539f6c50..00000000000
--- a/src/emu/cpu/konami/konamtbl.c
+++ /dev/null
@@ -1,493 +0,0 @@
-// license:???
-// copyright-holders:???
-INLINE void abx(konami_state *cpustate);
-INLINE void adca_di(konami_state *cpustate);
-INLINE void adca_ex(konami_state *cpustate);
-INLINE void adca_im(konami_state *cpustate);
-INLINE void adca_ix(konami_state *cpustate);
-INLINE void adcb_di(konami_state *cpustate);
-INLINE void adcb_ex(konami_state *cpustate);
-INLINE void adcb_im(konami_state *cpustate);
-INLINE void adcb_ix(konami_state *cpustate);
-INLINE void adda_di(konami_state *cpustate);
-INLINE void adda_ex(konami_state *cpustate);
-INLINE void adda_im(konami_state *cpustate);
-INLINE void adda_ix(konami_state *cpustate);
-INLINE void addb_di(konami_state *cpustate);
-INLINE void addb_ex(konami_state *cpustate);
-INLINE void addb_im(konami_state *cpustate);
-INLINE void addb_ix(konami_state *cpustate);
-INLINE void addd_di(konami_state *cpustate);
-INLINE void addd_ex(konami_state *cpustate);
-INLINE void addd_im(konami_state *cpustate);
-INLINE void addd_ix(konami_state *cpustate);
-INLINE void anda_di(konami_state *cpustate);
-INLINE void anda_ex(konami_state *cpustate);
-INLINE void anda_im(konami_state *cpustate);
-INLINE void anda_ix(konami_state *cpustate);
-INLINE void andb_di(konami_state *cpustate);
-INLINE void andb_ex(konami_state *cpustate);
-INLINE void andb_im(konami_state *cpustate);
-INLINE void andb_ix(konami_state *cpustate);
-INLINE void andcc(konami_state *cpustate);
-INLINE void asl_di(konami_state *cpustate);
-INLINE void asl_ex(konami_state *cpustate);
-INLINE void asl_ix(konami_state *cpustate);
-INLINE void asla(konami_state *cpustate);
-INLINE void aslb(konami_state *cpustate);
-INLINE void asr_di(konami_state *cpustate);
-INLINE void asr_ex(konami_state *cpustate);
-INLINE void asr_ix(konami_state *cpustate);
-INLINE void asra(konami_state *cpustate);
-INLINE void asrb(konami_state *cpustate);
-INLINE void bcc(konami_state *cpustate);
-INLINE void bcs(konami_state *cpustate);
-INLINE void beq(konami_state *cpustate);
-INLINE void bge(konami_state *cpustate);
-INLINE void bgt(konami_state *cpustate);
-INLINE void bhi(konami_state *cpustate);
-INLINE void bita_di(konami_state *cpustate);
-INLINE void bita_ex(konami_state *cpustate);
-INLINE void bita_im(konami_state *cpustate);
-INLINE void bita_ix(konami_state *cpustate);
-INLINE void bitb_di(konami_state *cpustate);
-INLINE void bitb_ex(konami_state *cpustate);
-INLINE void bitb_im(konami_state *cpustate);
-INLINE void bitb_ix(konami_state *cpustate);
-INLINE void ble(konami_state *cpustate);
-INLINE void bls(konami_state *cpustate);
-INLINE void blt(konami_state *cpustate);
-INLINE void bmi(konami_state *cpustate);
-INLINE void bne(konami_state *cpustate);
-INLINE void bpl(konami_state *cpustate);
-INLINE void bra(konami_state *cpustate);
-INLINE void brn(konami_state *cpustate);
-INLINE void bsr(konami_state *cpustate);
-INLINE void bvc(konami_state *cpustate);
-INLINE void bvs(konami_state *cpustate);
-INLINE void clr_di(konami_state *cpustate);
-INLINE void clr_ex(konami_state *cpustate);
-INLINE void clr_ix(konami_state *cpustate);
-INLINE void clra(konami_state *cpustate);
-INLINE void clrb(konami_state *cpustate);
-INLINE void cmpa_di(konami_state *cpustate);
-INLINE void cmpa_ex(konami_state *cpustate);
-INLINE void cmpa_im(konami_state *cpustate);
-INLINE void cmpa_ix(konami_state *cpustate);
-INLINE void cmpb_di(konami_state *cpustate);
-INLINE void cmpb_ex(konami_state *cpustate);
-INLINE void cmpb_im(konami_state *cpustate);
-INLINE void cmpb_ix(konami_state *cpustate);
-INLINE void cmpd_di(konami_state *cpustate);
-INLINE void cmpd_ex(konami_state *cpustate);
-INLINE void cmpd_im(konami_state *cpustate);
-INLINE void cmpd_ix(konami_state *cpustate);
-INLINE void cmps_di(konami_state *cpustate);
-INLINE void cmps_ex(konami_state *cpustate);
-INLINE void cmps_im(konami_state *cpustate);
-INLINE void cmps_ix(konami_state *cpustate);
-INLINE void cmpu_di(konami_state *cpustate);
-INLINE void cmpu_ex(konami_state *cpustate);
-INLINE void cmpu_im(konami_state *cpustate);
-INLINE void cmpu_ix(konami_state *cpustate);
-INLINE void cmpx_di(konami_state *cpustate);
-INLINE void cmpx_ex(konami_state *cpustate);
-INLINE void cmpx_im(konami_state *cpustate);
-INLINE void cmpx_ix(konami_state *cpustate);
-INLINE void cmpy_di(konami_state *cpustate);
-INLINE void cmpy_ex(konami_state *cpustate);
-INLINE void cmpy_im(konami_state *cpustate);
-INLINE void cmpy_ix(konami_state *cpustate);
-INLINE void com_di(konami_state *cpustate);
-INLINE void com_ex(konami_state *cpustate);
-INLINE void com_ix(konami_state *cpustate);
-INLINE void coma(konami_state *cpustate);
-INLINE void comb(konami_state *cpustate);
-INLINE void cwai(konami_state *cpustate);
-INLINE void daa(konami_state *cpustate);
-INLINE void dec_di(konami_state *cpustate);
-INLINE void dec_ex(konami_state *cpustate);
-INLINE void dec_ix(konami_state *cpustate);
-INLINE void deca(konami_state *cpustate);
-INLINE void decb(konami_state *cpustate);
-INLINE void eora_di(konami_state *cpustate);
-INLINE void eora_ex(konami_state *cpustate);
-INLINE void eora_im(konami_state *cpustate);
-INLINE void eora_ix(konami_state *cpustate);
-INLINE void eorb_di(konami_state *cpustate);
-INLINE void eorb_ex(konami_state *cpustate);
-INLINE void eorb_im(konami_state *cpustate);
-INLINE void eorb_ix(konami_state *cpustate);
-INLINE void exg(konami_state *cpustate);
-INLINE void illegal(konami_state *cpustate);
-INLINE void inc_di(konami_state *cpustate);
-INLINE void inc_ex(konami_state *cpustate);
-INLINE void inc_ix(konami_state *cpustate);
-INLINE void inca(konami_state *cpustate);
-INLINE void incb(konami_state *cpustate);
-INLINE void jmp_di(konami_state *cpustate);
-INLINE void jmp_ex(konami_state *cpustate);
-INLINE void jmp_ix(konami_state *cpustate);
-INLINE void jsr_di(konami_state *cpustate);
-INLINE void jsr_ex(konami_state *cpustate);
-INLINE void jsr_ix(konami_state *cpustate);
-INLINE void lbcc(konami_state *cpustate);
-INLINE void lbcs(konami_state *cpustate);
-INLINE void lbeq(konami_state *cpustate);
-INLINE void lbge(konami_state *cpustate);
-INLINE void lbgt(konami_state *cpustate);
-INLINE void lbhi(konami_state *cpustate);
-INLINE void lble(konami_state *cpustate);
-INLINE void lbls(konami_state *cpustate);
-INLINE void lblt(konami_state *cpustate);
-INLINE void lbmi(konami_state *cpustate);
-INLINE void lbne(konami_state *cpustate);
-INLINE void lbpl(konami_state *cpustate);
-INLINE void lbra(konami_state *cpustate);
-INLINE void lbrn(konami_state *cpustate);
-INLINE void lbsr(konami_state *cpustate);
-INLINE void lbvc(konami_state *cpustate);
-INLINE void lbvs(konami_state *cpustate);
-INLINE void lda_di(konami_state *cpustate);
-INLINE void lda_ex(konami_state *cpustate);
-INLINE void lda_im(konami_state *cpustate);
-INLINE void lda_ix(konami_state *cpustate);
-INLINE void ldb_di(konami_state *cpustate);
-INLINE void ldb_ex(konami_state *cpustate);
-INLINE void ldb_im(konami_state *cpustate);
-INLINE void ldb_ix(konami_state *cpustate);
-INLINE void ldd_di(konami_state *cpustate);
-INLINE void ldd_ex(konami_state *cpustate);
-INLINE void ldd_im(konami_state *cpustate);
-INLINE void ldd_ix(konami_state *cpustate);
-INLINE void lds_di(konami_state *cpustate);
-INLINE void lds_ex(konami_state *cpustate);
-INLINE void lds_im(konami_state *cpustate);
-INLINE void lds_ix(konami_state *cpustate);
-INLINE void ldu_di(konami_state *cpustate);
-INLINE void ldu_ex(konami_state *cpustate);
-INLINE void ldu_im(konami_state *cpustate);
-INLINE void ldu_ix(konami_state *cpustate);
-INLINE void ldx_di(konami_state *cpustate);
-INLINE void ldx_ex(konami_state *cpustate);
-INLINE void ldx_im(konami_state *cpustate);
-INLINE void ldx_ix(konami_state *cpustate);
-INLINE void ldy_di(konami_state *cpustate);
-INLINE void ldy_ex(konami_state *cpustate);
-INLINE void ldy_im(konami_state *cpustate);
-INLINE void ldy_ix(konami_state *cpustate);
-INLINE void leas(konami_state *cpustate);
-INLINE void leau(konami_state *cpustate);
-INLINE void leax(konami_state *cpustate);
-INLINE void leay(konami_state *cpustate);
-INLINE void lsr_di(konami_state *cpustate);
-INLINE void lsr_ex(konami_state *cpustate);
-INLINE void lsr_ix(konami_state *cpustate);
-INLINE void lsra(konami_state *cpustate);
-INLINE void lsrb(konami_state *cpustate);
-INLINE void mul(konami_state *cpustate);
-INLINE void neg_di(konami_state *cpustate);
-INLINE void neg_ex(konami_state *cpustate);
-INLINE void neg_ix(konami_state *cpustate);
-INLINE void nega(konami_state *cpustate);
-INLINE void negb(konami_state *cpustate);
-INLINE void nop(konami_state *cpustate);
-INLINE void ora_di(konami_state *cpustate);
-INLINE void ora_ex(konami_state *cpustate);
-INLINE void ora_im(konami_state *cpustate);
-INLINE void ora_ix(konami_state *cpustate);
-INLINE void orb_di(konami_state *cpustate);
-INLINE void orb_ex(konami_state *cpustate);
-INLINE void orb_im(konami_state *cpustate);
-INLINE void orb_ix(konami_state *cpustate);
-INLINE void orcc(konami_state *cpustate);
-INLINE void pshs(konami_state *cpustate);
-INLINE void pshu(konami_state *cpustate);
-INLINE void puls(konami_state *cpustate);
-INLINE void pulu(konami_state *cpustate);
-INLINE void rol_di(konami_state *cpustate);
-INLINE void rol_ex(konami_state *cpustate);
-INLINE void rol_ix(konami_state *cpustate);
-INLINE void rola(konami_state *cpustate);
-INLINE void rolb(konami_state *cpustate);
-INLINE void ror_di(konami_state *cpustate);
-INLINE void ror_ex(konami_state *cpustate);
-INLINE void ror_ix(konami_state *cpustate);
-INLINE void rora(konami_state *cpustate);
-INLINE void rorb(konami_state *cpustate);
-INLINE void rti(konami_state *cpustate);
-INLINE void rts(konami_state *cpustate);
-INLINE void sbca_di(konami_state *cpustate);
-INLINE void sbca_ex(konami_state *cpustate);
-INLINE void sbca_im(konami_state *cpustate);
-INLINE void sbca_ix(konami_state *cpustate);
-INLINE void sbcb_di(konami_state *cpustate);
-INLINE void sbcb_ex(konami_state *cpustate);
-INLINE void sbcb_im(konami_state *cpustate);
-INLINE void sbcb_ix(konami_state *cpustate);
-INLINE void sex(konami_state *cpustate);
-INLINE void sta_di(konami_state *cpustate);
-INLINE void sta_ex(konami_state *cpustate);
-INLINE void sta_im(konami_state *cpustate);
-INLINE void sta_ix(konami_state *cpustate);
-INLINE void stb_di(konami_state *cpustate);
-INLINE void stb_ex(konami_state *cpustate);
-INLINE void stb_im(konami_state *cpustate);
-INLINE void stb_ix(konami_state *cpustate);
-INLINE void std_di(konami_state *cpustate);
-INLINE void std_ex(konami_state *cpustate);
-INLINE void std_im(konami_state *cpustate);
-INLINE void std_ix(konami_state *cpustate);
-INLINE void sts_di(konami_state *cpustate);
-INLINE void sts_ex(konami_state *cpustate);
-INLINE void sts_im(konami_state *cpustate);
-INLINE void sts_ix(konami_state *cpustate);
-INLINE void stu_di(konami_state *cpustate);
-INLINE void stu_ex(konami_state *cpustate);
-INLINE void stu_im(konami_state *cpustate);
-INLINE void stu_ix(konami_state *cpustate);
-INLINE void stx_di(konami_state *cpustate);
-INLINE void stx_ex(konami_state *cpustate);
-INLINE void stx_im(konami_state *cpustate);
-INLINE void stx_ix(konami_state *cpustate);
-INLINE void sty_di(konami_state *cpustate);
-INLINE void sty_ex(konami_state *cpustate);
-INLINE void sty_im(konami_state *cpustate);
-INLINE void sty_ix(konami_state *cpustate);
-INLINE void suba_di(konami_state *cpustate);
-INLINE void suba_ex(konami_state *cpustate);
-INLINE void suba_im(konami_state *cpustate);
-INLINE void suba_ix(konami_state *cpustate);
-INLINE void subb_di(konami_state *cpustate);
-INLINE void subb_ex(konami_state *cpustate);
-INLINE void subb_im(konami_state *cpustate);
-INLINE void subb_ix(konami_state *cpustate);
-INLINE void subd_di(konami_state *cpustate);
-INLINE void subd_ex(konami_state *cpustate);
-INLINE void subd_im(konami_state *cpustate);
-INLINE void subd_ix(konami_state *cpustate);
-INLINE void swi(konami_state *cpustate);
-INLINE void swi2(konami_state *cpustate);
-INLINE void swi3(konami_state *cpustate);
-INLINE void sync(konami_state *cpustate);
-INLINE void tfr(konami_state *cpustate);
-INLINE void tst_di(konami_state *cpustate);
-INLINE void tst_ex(konami_state *cpustate);
-INLINE void tst_ix(konami_state *cpustate);
-INLINE void tsta(konami_state *cpustate);
-INLINE void tstb(konami_state *cpustate);
-
-INLINE void clrd(konami_state *cpustate); /* 6309 */
-INLINE void clrw_ix(konami_state *cpustate); /* 6309 ? */
-INLINE void clrw_di(konami_state *cpustate); /* 6309 ? */
-INLINE void clrw_ex(konami_state *cpustate); /* 6309 ? */
-INLINE void negd(konami_state *cpustate);
-INLINE void negw_ix(konami_state *cpustate); /* 6309 ? */
-INLINE void negw_di(konami_state *cpustate); /* 6309 ? */
-INLINE void negw_ex(konami_state *cpustate); /* 6309 ? */
-INLINE void lsrd(konami_state *cpustate); /* 6309 */
-INLINE void lsrd_di(konami_state *cpustate); /* 6309 */
-INLINE void lsrd_ix(konami_state *cpustate); /* 6309 */
-INLINE void lsrd_ex(konami_state *cpustate); /* 6309 */
-INLINE void rord(konami_state *cpustate); /* 6309 ? */
-INLINE void rord_di(konami_state *cpustate); /* 6309 */
-INLINE void rord_ix(konami_state *cpustate); /* 6309 */
-INLINE void rord_ex(konami_state *cpustate); /* 6309 */
-INLINE void asrd(konami_state *cpustate); /* 6309 ? */
-INLINE void asrd_di(konami_state *cpustate); /* 6309 */
-INLINE void asrd_ix(konami_state *cpustate); /* 6309 */
-INLINE void asrd_ex(konami_state *cpustate); /* 6309 */
-INLINE void asld(konami_state *cpustate); /* 6309 */
-INLINE void asld_di(konami_state *cpustate); /* 6309 */
-INLINE void asld_ix(konami_state *cpustate); /* 6309 */
-INLINE void asld_ex(konami_state *cpustate); /* 6309 */
-INLINE void rold(konami_state *cpustate); /* 6309 ? */
-INLINE void rold_di(konami_state *cpustate); /* 6309 */
-INLINE void rold_ix(konami_state *cpustate); /* 6309 */
-INLINE void rold_ex(konami_state *cpustate); /* 6309 */
-INLINE void tstd(konami_state *cpustate);
-INLINE void tstw_di(konami_state *cpustate);
-INLINE void tstw_ix(konami_state *cpustate);
-INLINE void tstw_ex(konami_state *cpustate);
-
-/* Custom opcodes */
-INLINE void setline_im(konami_state *cpustate);
-INLINE void setline_ix(konami_state *cpustate);
-INLINE void setline_di(konami_state *cpustate);
-INLINE void setline_ex(konami_state *cpustate);
-INLINE void bmove(konami_state *cpustate);
-INLINE void move(konami_state *cpustate);
-INLINE void decbjnz(konami_state *cpustate);
-INLINE void decxjnz(konami_state *cpustate);
-INLINE void bset(konami_state *cpustate);
-INLINE void bset2(konami_state *cpustate);
-INLINE void lmul(konami_state *cpustate);
-INLINE void divx(konami_state *cpustate);
-INLINE void incd(konami_state *cpustate);
-INLINE void incw_di(konami_state *cpustate);
-INLINE void incw_ix(konami_state *cpustate);
-INLINE void incw_ex(konami_state *cpustate);
-INLINE void decd(konami_state *cpustate);
-INLINE void decw_di(konami_state *cpustate);
-INLINE void decw_ix(konami_state *cpustate);
-INLINE void decw_ex(konami_state *cpustate);
-INLINE void lsrw_di(konami_state *cpustate);
-INLINE void lsrw_ix(konami_state *cpustate);
-INLINE void lsrw_ex(konami_state *cpustate);
-INLINE void rorw_di(konami_state *cpustate);
-INLINE void rorw_ix(konami_state *cpustate);
-INLINE void rorw_ex(konami_state *cpustate);
-INLINE void asrw_di(konami_state *cpustate);
-INLINE void asrw_ix(konami_state *cpustate);
-INLINE void asrw_ex(konami_state *cpustate);
-INLINE void aslw_di(konami_state *cpustate);
-INLINE void aslw_ix(konami_state *cpustate);
-INLINE void aslw_ex(konami_state *cpustate);
-INLINE void rolw_di(konami_state *cpustate);
-INLINE void rolw_ix(konami_state *cpustate);
-INLINE void rolw_ex(konami_state *cpustate);
-INLINE void absa(konami_state *cpustate);
-INLINE void absb(konami_state *cpustate);
-INLINE void absd(konami_state *cpustate);
-
-INLINE void opcode2(konami_state *cpustate);
-
-static void (*const konami_main[0x100])(konami_state *cpustate) = {
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 00 */
- opcode2,opcode2,opcode2,opcode2,pshs ,pshu ,puls ,pulu ,
- lda_im ,ldb_im ,opcode2,opcode2,adda_im,addb_im,opcode2,opcode2, /* 10 */
- adca_im,adcb_im,opcode2,opcode2,suba_im,subb_im,opcode2,opcode2,
- sbca_im,sbcb_im,opcode2,opcode2,anda_im,andb_im,opcode2,opcode2, /* 20 */
- bita_im,bitb_im,opcode2,opcode2,eora_im,eorb_im,opcode2,opcode2,
- ora_im ,orb_im ,opcode2,opcode2,cmpa_im,cmpb_im,opcode2,opcode2, /* 30 */
- setline_im,opcode2,opcode2,opcode2,andcc,orcc ,exg ,tfr ,
- ldd_im ,opcode2,ldx_im ,opcode2,ldy_im ,opcode2,ldu_im ,opcode2, /* 40 */
- lds_im ,opcode2,cmpd_im,opcode2,cmpx_im,opcode2,cmpy_im,opcode2,
- cmpu_im,opcode2,cmps_im,opcode2,addd_im,opcode2,subd_im,opcode2, /* 50 */
- opcode2,opcode2,opcode2,opcode2,opcode2,illegal,illegal,illegal,
- bra ,bhi ,bcc ,bne ,bvc ,bpl ,bge ,bgt , /* 60 */
- lbra ,lbhi ,lbcc ,lbne ,lbvc ,lbpl ,lbge ,lbgt ,
- brn ,bls ,bcs ,beq ,bvs ,bmi ,blt ,ble , /* 70 */
- lbrn ,lbls ,lbcs ,lbeq ,lbvs ,lbmi ,lblt ,lble ,
- clra ,clrb ,opcode2,coma ,comb ,opcode2,nega ,negb , /* 80 */
- opcode2,inca ,incb ,opcode2,deca ,decb ,opcode2,rts ,
- tsta ,tstb ,opcode2,lsra ,lsrb ,opcode2,rora ,rorb , /* 90 */
- opcode2,asra ,asrb ,opcode2,asla ,aslb ,opcode2,rti ,
- rola ,rolb ,opcode2,opcode2,opcode2,opcode2,opcode2,opcode2, /* a0 */
- opcode2,opcode2,bsr ,lbsr ,decbjnz,decxjnz,nop ,illegal,
- abx ,daa ,sex ,mul ,lmul ,divx ,bmove ,move , /* b0 */
- lsrd ,opcode2,rord ,opcode2,asrd ,opcode2,asld ,opcode2,
- rold ,opcode2,clrd ,opcode2,negd ,opcode2,incd ,opcode2, /* c0 */
- decd ,opcode2,tstd ,opcode2,absa ,absb ,absd ,bset ,
- bset2 ,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* d0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* e0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* f0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal
-};
-
-static void (*const konami_indexed[0x100])(konami_state *cpustate) = {
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 00 */
- leax ,leay ,leau ,leas ,illegal,illegal,illegal,illegal,
- illegal,illegal,lda_ix ,ldb_ix ,illegal,illegal,adda_ix,addb_ix, /* 10 */
- illegal,illegal,adca_ix,adcb_ix,illegal,illegal,suba_ix,subb_ix,
- illegal,illegal,sbca_ix,sbcb_ix,illegal,illegal,anda_ix,andb_ix, /* 20 */
- illegal,illegal,bita_ix,bitb_ix,illegal,illegal,eora_ix,eorb_ix,
- illegal,illegal,ora_ix ,orb_ix ,illegal,illegal,cmpa_ix,cmpb_ix, /* 30 */
- illegal,setline_ix,sta_ix,stb_ix,illegal,illegal,illegal,illegal,
- illegal,ldd_ix ,illegal,ldx_ix ,illegal,ldy_ix ,illegal,ldu_ix , /* 40 */
- illegal,lds_ix ,illegal,cmpd_ix,illegal,cmpx_ix,illegal,cmpy_ix,
- illegal,cmpu_ix,illegal,cmps_ix,illegal,addd_ix,illegal,subd_ix, /* 50 */
- std_ix ,stx_ix ,sty_ix ,stu_ix ,sts_ix ,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 60 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 70 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,clr_ix ,illegal,illegal,com_ix ,illegal,illegal, /* 80 */
- neg_ix ,illegal,illegal,inc_ix ,illegal,illegal,dec_ix ,illegal,
- illegal,illegal,tst_ix ,illegal,illegal,lsr_ix ,illegal,illegal, /* 90 */
- ror_ix ,illegal,illegal,asr_ix ,illegal,illegal,asl_ix ,illegal,
- illegal,illegal,rol_ix ,lsrw_ix,rorw_ix,asrw_ix,aslw_ix,rolw_ix, /* a0 */
- jmp_ix ,jsr_ix ,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* b0 */
- illegal,lsrd_ix,illegal,rord_ix,illegal,asrd_ix,illegal,asld_ix,
- illegal,rold_ix,illegal,clrw_ix,illegal,negw_ix,illegal,incw_ix, /* c0 */
- illegal,decw_ix,illegal,tstw_ix,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* d0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* e0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* f0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal
-};
-
-static void (*const konami_direct[0x100])(konami_state *cpustate) = {
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 00 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,lda_di ,ldb_di ,illegal,illegal,adda_di,addb_di, /* 10 */
- illegal,illegal,adca_di,adcb_di,illegal,illegal,suba_di,subb_di,
- illegal,illegal,sbca_di,sbcb_di,illegal,illegal,anda_di,andb_di, /* 20 */
- illegal,illegal,bita_di,bitb_di,illegal,illegal,eora_di,eorb_di,
- illegal,illegal,ora_di ,orb_di ,illegal,illegal,cmpa_di,cmpb_di, /* 30 */
- illegal,setline_di,sta_di,stb_di,illegal,illegal,illegal,illegal,
- illegal,ldd_di ,illegal,ldx_di ,illegal,ldy_di ,illegal,ldu_di , /* 40 */
- illegal,lds_di ,illegal,cmpd_di,illegal,cmpx_di,illegal,cmpy_di,
- illegal,cmpu_di,illegal,cmps_di,illegal,addd_di,illegal,subd_di, /* 50 */
- std_di ,stx_di ,sty_di ,stu_di ,sts_di ,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 60 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 70 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,clr_di ,illegal,illegal,com_di ,illegal,illegal, /* 80 */
- neg_di ,illegal,illegal,inc_di ,illegal,illegal,dec_di ,illegal,
- illegal,illegal,tst_di ,illegal,illegal,lsr_di ,illegal,illegal, /* 90 */
- ror_di ,illegal,illegal,asr_di ,illegal,illegal,asl_di ,illegal,
- illegal,illegal,rol_di ,lsrw_di,rorw_di,asrw_di,aslw_di,rolw_di, /* a0 */
- jmp_di ,jsr_di ,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* b0 */
- illegal,lsrd_di,illegal,rord_di,illegal,asrd_di,illegal,asld_di,
- illegal,rold_di,illegal,clrw_di,illegal,negw_di,illegal,incw_di, /* c0 */
- illegal,decw_di,illegal,tstw_di,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* d0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* e0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* f0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal
-};
-
-static void (*const konami_extended[0x100])(konami_state *cpustate) = {
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 00 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,lda_ex ,ldb_ex ,illegal,illegal,adda_ex,addb_ex, /* 10 */
- illegal,illegal,adca_ex,adcb_ex,illegal,illegal,suba_ex,subb_ex,
- illegal,illegal,sbca_ex,sbcb_ex,illegal,illegal,anda_ex,andb_ex, /* 20 */
- illegal,illegal,bita_ex,bitb_ex,illegal,illegal,eora_ex,eorb_ex,
- illegal,illegal,ora_ex ,orb_ex ,illegal,illegal,cmpa_ex,cmpb_ex, /* 30 */
- illegal,setline_ex,sta_ex,stb_ex,illegal,illegal,illegal,illegal,
- illegal,ldd_ex ,illegal,ldx_ex ,illegal,ldy_ex ,illegal,ldu_ex , /* 40 */
- illegal,lds_ex ,illegal,cmpd_ex,illegal,cmpx_ex,illegal,cmpy_ex,
- illegal,cmpu_ex,illegal,cmps_ex,illegal,addd_ex,illegal,subd_ex, /* 50 */
- std_ex ,stx_ex ,sty_ex ,stu_ex ,sts_ex ,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 60 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* 70 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,clr_ex ,illegal,illegal,com_ex ,illegal,illegal, /* 80 */
- neg_ex ,illegal,illegal,inc_ex ,illegal,illegal,dec_ex ,illegal,
- illegal,illegal,tst_ex ,illegal,illegal,lsr_ex ,illegal,illegal, /* 90 */
- ror_ex ,illegal,illegal,asr_ex ,illegal,illegal,asl_ex ,illegal,
- illegal,illegal,rol_ex ,lsrw_ex,rorw_ex,asrw_ex,aslw_ex,rolw_ex, /* a0 */
- jmp_ex ,jsr_ex ,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* b0 */
- illegal,lsrd_ex,illegal,rord_ex,illegal,asrd_ex,illegal,asld_ex,
- illegal,rold_ex,illegal,clrw_ex,illegal,negw_ex,illegal,incw_ex, /* c0 */
- illegal,decw_ex,illegal,tstw_ex,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* d0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* e0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal,
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal, /* f0 */
- illegal,illegal,illegal,illegal,illegal,illegal,illegal,illegal
-};
diff --git a/src/emu/cpu/lh5801/5801tbl.inc b/src/emu/cpu/lh5801/5801tbl.inc
index 8fee2f28fbd..352e0d64d05 100644
--- a/src/emu/cpu/lh5801/5801tbl.inc
+++ b/src/emu/cpu/lh5801/5801tbl.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Peter Trauner
/* assumed
res=left+right+c
sbc is like adc with inverted carry and right side
diff --git a/src/emu/cpu/lr35902/lr35902.c b/src/emu/cpu/lr35902/lr35902.c
index d89030e7377..02cb785e1ff 100644
--- a/src/emu/cpu/lr35902/lr35902.c
+++ b/src/emu/cpu/lr35902/lr35902.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*************************************************************/
/** **/
/** lr35902.c **/
diff --git a/src/emu/cpu/lr35902/lr35902.h b/src/emu/cpu/lr35902/lr35902.h
index 3aa1bda932b..a7667825aad 100644
--- a/src/emu/cpu/lr35902/lr35902.h
+++ b/src/emu/cpu/lr35902/lr35902.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#pragma once
#ifndef __LR35902_H__
diff --git a/src/emu/cpu/lr35902/lr35902d.c b/src/emu/cpu/lr35902/lr35902d.c
index f14ea6abd35..64af29a544c 100644
--- a/src/emu/cpu/lr35902/lr35902d.c
+++ b/src/emu/cpu/lr35902/lr35902d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*****************************************************************************
*
* lr35902d.c
diff --git a/src/emu/cpu/lr35902/opc_cb.inc b/src/emu/cpu/lr35902/opc_cb.inc
index 072240e1dae..ace58d019e7 100644
--- a/src/emu/cpu/lr35902/opc_cb.inc
+++ b/src/emu/cpu/lr35902/opc_cb.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#define RLC_8BIT(x) \
{ \
register UINT8 f; \
diff --git a/src/emu/cpu/lr35902/opc_main.inc b/src/emu/cpu/lr35902/opc_main.inc
index 524f6ffc82d..c551bb3d351 100644
--- a/src/emu/cpu/lr35902/opc_main.inc
+++ b/src/emu/cpu/lr35902/opc_main.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#define INC_8BIT(x) \
{ \
register UINT8 r,f; \
diff --git a/src/emu/cpu/m6502/m3745x.c b/src/emu/cpu/m6502/m3745x.c
index 44f02c69ebe..1dae4faf99e 100644
--- a/src/emu/cpu/m6502/m3745x.c
+++ b/src/emu/cpu/m6502/m3745x.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
/*
Mitsubishi M3745x 8-bit microcontroller family
*/
diff --git a/src/emu/cpu/m6502/m3745x.h b/src/emu/cpu/m6502/m3745x.h
index d6bc1292b7f..d7d24c80880 100644
--- a/src/emu/cpu/m6502/m3745x.h
+++ b/src/emu/cpu/m6502/m3745x.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#pragma once
#ifndef __M3745X_H__
diff --git a/src/emu/cpu/m6502/m5074x.c b/src/emu/cpu/m6502/m5074x.c
index 307216357ac..b4d9cea41ee 100644
--- a/src/emu/cpu/m6502/m5074x.c
+++ b/src/emu/cpu/m6502/m5074x.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
/*
Mitsubishi M5074x 8-bit microcontroller family
*/
diff --git a/src/emu/cpu/m6502/m5074x.h b/src/emu/cpu/m6502/m5074x.h
index c04c35dc584..10f0aa06df5 100644
--- a/src/emu/cpu/m6502/m5074x.h
+++ b/src/emu/cpu/m6502/m5074x.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
#pragma once
#ifndef __M5074X_H__
diff --git a/src/emu/cpu/m6800/6800dasm.c b/src/emu/cpu/m6800/6800dasm.c
index 096261b89f8..49f908013cd 100644
--- a/src/emu/cpu/m6800/6800dasm.c
+++ b/src/emu/cpu/m6800/6800dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/*
* A quick-hack 6803/6808 disassembler
*
diff --git a/src/emu/cpu/m6809/6309dasm.c b/src/emu/cpu/m6809/6309dasm.c
index c28b64e8612..d39f03796e2 100644
--- a/src/emu/cpu/m6809/6309dasm.c
+++ b/src/emu/cpu/m6809/6309dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods,Tim Lindner
/*****************************************************************************
6309dasm.c - a 6309 opcode disassembler
diff --git a/src/emu/cpu/m6809/6809dasm.c b/src/emu/cpu/m6809/6809dasm.c
index 82a35206e94..192dda3b484 100644
--- a/src/emu/cpu/m6809/6809dasm.c
+++ b/src/emu/cpu/m6809/6809dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods, Sean Riddle
/*****************************************************************************
6809dasm.c - a 6809 opcode disassembler
diff --git a/src/emu/cpu/m6809/hd6309.c b/src/emu/cpu/m6809/hd6309.c
index 36d904ac32b..027c9b7511b 100644
--- a/src/emu/cpu/m6809/hd6309.c
+++ b/src/emu/cpu/m6809/hd6309.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods,Tim Lindner
/*********************************************************************
hd6309.c
diff --git a/src/emu/cpu/m6809/hd6309.h b/src/emu/cpu/m6809/hd6309.h
index 3f39afcbcf0..15da7a6cc8d 100644
--- a/src/emu/cpu/m6809/hd6309.h
+++ b/src/emu/cpu/m6809/hd6309.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*********************************************************************
hd6309.h
diff --git a/src/emu/cpu/m6809/knmidasm.c b/src/emu/cpu/m6809/knmidasm.c
index 27d934cca39..5c325e81718 100644
--- a/src/emu/cpu/m6809/knmidasm.c
+++ b/src/emu/cpu/m6809/knmidasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
#include "emu.h"
#include "debugger.h"
#include "konami.h"
diff --git a/src/emu/cpu/m6809/konami.c b/src/emu/cpu/m6809/konami.c
index 6e7e0d407d4..16895a79e31 100644
--- a/src/emu/cpu/m6809/konami.c
+++ b/src/emu/cpu/m6809/konami.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*********************************************************************
konami.c
diff --git a/src/emu/cpu/m6809/konami.h b/src/emu/cpu/m6809/konami.h
index a52a10bddb3..dfc5c741497 100644
--- a/src/emu/cpu/m6809/konami.h
+++ b/src/emu/cpu/m6809/konami.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*********************************************************************
konami.h
diff --git a/src/emu/cpu/m6809/m6809.c b/src/emu/cpu/m6809/m6809.c
index 5845c41c956..3b7fc33d94f 100644
--- a/src/emu/cpu/m6809/m6809.c
+++ b/src/emu/cpu/m6809/m6809.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*** m6809: Portable 6809 emulator ******************************************
Copyright John Butler
diff --git a/src/emu/cpu/m6809/m6809.h b/src/emu/cpu/m6809/m6809.h
index dc05c19813a..eb0633af44c 100644
--- a/src/emu/cpu/m6809/m6809.h
+++ b/src/emu/cpu/m6809/m6809.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*********************************************************************
m6809.h
diff --git a/src/emu/cpu/m6809/m6809inl.h b/src/emu/cpu/m6809/m6809inl.h
index 771af8544f0..4959bcb7fda 100644
--- a/src/emu/cpu/m6809/m6809inl.h
+++ b/src/emu/cpu/m6809/m6809inl.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Nathan Woods
/*********************************************************************
m6809inl.h
diff --git a/src/emu/cpu/mb86233/mb86233.h b/src/emu/cpu/mb86233/mb86233.h
index d0569d5fa42..a52f419e66d 100644
--- a/src/emu/cpu/mb86233/mb86233.h
+++ b/src/emu/cpu/mb86233/mb86233.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ernesto Corvi
#pragma once
#ifndef __MB86233_H__
diff --git a/src/emu/cpu/mb86233/mb86233d.c b/src/emu/cpu/mb86233/mb86233d.c
index 0068ff7f3d2..6e27c3b4d06 100644
--- a/src/emu/cpu/mb86233/mb86233d.c
+++ b/src/emu/cpu/mb86233/mb86233d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ernesto Corvi
#include "emu.h"
#include "debugger.h"
#include "mb86233.h"
diff --git a/src/emu/cpu/mb86235/mb86235.c b/src/emu/cpu/mb86235/mb86235.c
index 891f9746a91..c68a66e4e7b 100644
--- a/src/emu/cpu/mb86235/mb86235.c
+++ b/src/emu/cpu/mb86235/mb86235.c
@@ -1,5 +1,5 @@
-// license: ?
-// copyright-holders: Angelo Salese, ElSemi
+// license:BSD-3-Clause
+// copyright-holders:Angelo Salese, ElSemi
/*****************************************************************************
*
* MB86235 "TGPx4" (c) Fujitsu
diff --git a/src/emu/cpu/mb86235/mb86235.h b/src/emu/cpu/mb86235/mb86235.h
index 1a6d4c81a4b..f7fc4e51bf1 100644
--- a/src/emu/cpu/mb86235/mb86235.h
+++ b/src/emu/cpu/mb86235/mb86235.h
@@ -1,5 +1,5 @@
-// license: ?
-// copyright-holders: Angelo Salese
+// license:BSD-3-Clause
+// copyright-holders:Angelo Salese, ElSemi
/*****************************************************************************
*
* template for CPU cores
diff --git a/src/emu/cpu/mb86235/mb86235d.c b/src/emu/cpu/mb86235/mb86235d.c
index bcb8eda381b..e77da1a0cad 100644
--- a/src/emu/cpu/mb86235/mb86235d.c
+++ b/src/emu/cpu/mb86235/mb86235d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Angelo Salese, ElSemi
#include "emu.h"
#include "debugger.h"
#include "mb86235.h"
diff --git a/src/emu/cpu/mc68hc11/hc11dasm.c b/src/emu/cpu/mc68hc11/hc11dasm.c
index cd179bf1c33..56ec25f5784 100644
--- a/src/emu/cpu/mc68hc11/hc11dasm.c
+++ b/src/emu/cpu/mc68hc11/hc11dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
/*
Motorola M68HC11 disassembler
diff --git a/src/emu/cpu/mc68hc11/hc11ops.h b/src/emu/cpu/mc68hc11/hc11ops.h
index a1f1651cda1..00a54fc35ce 100644
--- a/src/emu/cpu/mc68hc11/hc11ops.h
+++ b/src/emu/cpu/mc68hc11/hc11ops.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
const mc68hc11_cpu_device::hc11_opcode_list_struct mc68hc11_cpu_device::hc11_opcode_list[] =
{
diff --git a/src/emu/cpu/mc68hc11/mc68hc11.h b/src/emu/cpu/mc68hc11/mc68hc11.h
index a95de65ad92..3834f8135da 100644
--- a/src/emu/cpu/mc68hc11/mc68hc11.h
+++ b/src/emu/cpu/mc68hc11/mc68hc11.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:?
+// copyright-holders:Ville Linde, Angelo Salese
#pragma once
#ifndef __MC68HC11_H__
diff --git a/src/emu/cpu/mcs51/mcs51.c b/src/emu/cpu/mcs51/mcs51.c
index 77fd65af9aa..67ec1a09cb1 100644
--- a/src/emu/cpu/mcs51/mcs51.c
+++ b/src/emu/cpu/mcs51/mcs51.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff
/*****************************************************************************
*
* i8051.c
diff --git a/src/emu/cpu/mcs51/mcs51.h b/src/emu/cpu/mcs51/mcs51.h
index 7efd657a23b..25c008b6902 100644
--- a/src/emu/cpu/mcs51/mcs51.h
+++ b/src/emu/cpu/mcs51/mcs51.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff
/*****************************************************************************
*
* mcs51.h
diff --git a/src/emu/cpu/mcs51/mcs51dasm.c b/src/emu/cpu/mcs51/mcs51dasm.c
index da2c1abb505..62187d4a692 100644
--- a/src/emu/cpu/mcs51/mcs51dasm.c
+++ b/src/emu/cpu/mcs51/mcs51dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Steve Ellenoff
/*****************************************************************************
*
* i8051dasm.c
diff --git a/src/emu/cpu/minx/minx.c b/src/emu/cpu/minx/minx.c
index 59b1c65735d..e822fbd9ecc 100644
--- a/src/emu/cpu/minx/minx.c
+++ b/src/emu/cpu/minx/minx.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*
Implementation for the Nintendo Minx CPU.
diff --git a/src/emu/cpu/minx/minx.h b/src/emu/cpu/minx/minx.h
index 6d0f44d9eab..6e99bc06cf5 100644
--- a/src/emu/cpu/minx/minx.h
+++ b/src/emu/cpu/minx/minx.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#pragma once
#ifndef __MINX_H__
diff --git a/src/emu/cpu/minx/minxd.c b/src/emu/cpu/minx/minxd.c
index af99481da9b..58789942409 100644
--- a/src/emu/cpu/minx/minxd.c
+++ b/src/emu/cpu/minx/minxd.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/************************************************************
Nintendo Minx CPU disassembly
diff --git a/src/emu/cpu/minx/minxfunc.h b/src/emu/cpu/minx/minxfunc.h
index 5755a4bf2a5..45478bc6667 100644
--- a/src/emu/cpu/minx/minxfunc.h
+++ b/src/emu/cpu/minx/minxfunc.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
UINT8 minx_cpu_device::ADD8( UINT8 arg1, UINT8 arg2 )
{
UINT32 res = arg1 + arg2;
diff --git a/src/emu/cpu/minx/minxopce.h b/src/emu/cpu/minx/minxopce.h
index 796a7737a8b..ec0198273e3 100644
--- a/src/emu/cpu/minx/minxopce.h
+++ b/src/emu/cpu/minx/minxopce.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
void minx_cpu_device::execute_one_ce()
{
diff --git a/src/emu/cpu/minx/minxopcf.h b/src/emu/cpu/minx/minxopcf.h
index 92277d06970..f81d991304a 100644
--- a/src/emu/cpu/minx/minxopcf.h
+++ b/src/emu/cpu/minx/minxopcf.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
void minx_cpu_device::execute_one_cf()
{
diff --git a/src/emu/cpu/minx/minxops.h b/src/emu/cpu/minx/minxops.h
index 8143d753aa8..b19e733deb2 100644
--- a/src/emu/cpu/minx/minxops.h
+++ b/src/emu/cpu/minx/minxops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
void minx_cpu_device::execute_one()
{
diff --git a/src/emu/cpu/mips/mips3com.h b/src/emu/cpu/mips/mips3com.h
index 5c456fadb5e..86d7f0c7a05 100644
--- a/src/emu/cpu/mips/mips3com.h
+++ b/src/emu/cpu/mips/mips3com.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/***************************************************************************
mips3com.h
diff --git a/src/emu/cpu/nec/nec.h b/src/emu/cpu/nec/nec.h
index 1ec2365728d..2e881591426 100644
--- a/src/emu/cpu/nec/nec.h
+++ b/src/emu/cpu/nec/nec.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* ASG 971222 -- rewrote this interface */
#ifndef __NEC_H_
#define __NEC_H_
diff --git a/src/emu/cpu/nec/necdasm.c b/src/emu/cpu/nec/necdasm.c
index 74f8a0dcdf5..e1912a1ce4f 100644
--- a/src/emu/cpu/nec/necdasm.c
+++ b/src/emu/cpu/nec/necdasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/*
NEC V-series Disassembler
diff --git a/src/emu/cpu/nec/necea.h b/src/emu/cpu/nec/necea.h
index 76b38655da7..2633637304a 100644
--- a/src/emu/cpu/nec/necea.h
+++ b/src/emu/cpu/nec/necea.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
UINT32 nec_common_device::EA_000() { m_EO=Wreg(BW)+Wreg(IX); m_EA=DefaultBase(DS0)+m_EO; return m_EA; }
UINT32 nec_common_device::EA_001() { m_EO=Wreg(BW)+Wreg(IY); m_EA=DefaultBase(DS0)+m_EO; return m_EA; }
diff --git a/src/emu/cpu/nec/necinstr.h b/src/emu/cpu/nec/necinstr.h
index 7a639a4fbd6..6dd8d52aa49 100644
--- a/src/emu/cpu/nec/necinstr.h
+++ b/src/emu/cpu/nec/necinstr.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
const nec_common_device::nec_ophandler nec_common_device::s_nec_instruction[256] =
{
diff --git a/src/emu/cpu/nec/necinstr.inc b/src/emu/cpu/nec/necinstr.inc
index 423e5c49743..1630bf5c82f 100644
--- a/src/emu/cpu/nec/necinstr.inc
+++ b/src/emu/cpu/nec/necinstr.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
#define OP(num,func_name) void nec_common_device::func_name()
OP( 0x00, i_add_br8 ) { DEF_br8; ADDB; PutbackRMByte(ModRM,dst); CLKM(2,2,2,16,16,7); }
diff --git a/src/emu/cpu/nec/necmacro.h b/src/emu/cpu/nec/necmacro.h
index b465fdeb373..a6091f34eba 100644
--- a/src/emu/cpu/nec/necmacro.h
+++ b/src/emu/cpu/nec/necmacro.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* parameter x = result, y = source 1, z = source 2 */
#define SetTF(x) (m_TF = (x))
diff --git a/src/emu/cpu/nec/necmodrm.h b/src/emu/cpu/nec/necmodrm.h
index 3d1d9e9fd41..8afc0240a78 100644
--- a/src/emu/cpu/nec/necmodrm.h
+++ b/src/emu/cpu/nec/necmodrm.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
static struct {
struct {
WREGS w[256];
diff --git a/src/emu/cpu/nec/necpriv.h b/src/emu/cpu/nec/necpriv.h
index 94cda31e977..79457f5523a 100644
--- a/src/emu/cpu/nec/necpriv.h
+++ b/src/emu/cpu/nec/necpriv.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* Cpu types, steps of 8 to help the cycle count calculation */
#define V33_TYPE 0
#define V30_TYPE 8
diff --git a/src/emu/cpu/nec/v25.c b/src/emu/cpu/nec/v25.c
index 866d9f15358..1fc7d965856 100644
--- a/src/emu/cpu/nec/v25.c
+++ b/src/emu/cpu/nec/v25.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/****************************************************************************
NEC V25/V35 emulator
diff --git a/src/emu/cpu/nec/v25.h b/src/emu/cpu/nec/v25.h
index 07cb9b5dbf8..c1113633897 100644
--- a/src/emu/cpu/nec/v25.h
+++ b/src/emu/cpu/nec/v25.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* ASG 971222 -- rewrote this interface */
#ifndef __NEC_V25_H_
#define __NEC_V25_H_
diff --git a/src/emu/cpu/nec/v25instr.h b/src/emu/cpu/nec/v25instr.h
index 10287c20f3d..33b5aac3e12 100644
--- a/src/emu/cpu/nec/v25instr.h
+++ b/src/emu/cpu/nec/v25instr.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
const v25_common_device::nec_ophandler v25_common_device::s_nec_instruction[256] =
{
&v25_common_device::i_add_br8, /* 0x00 */
diff --git a/src/emu/cpu/nec/v25instr.inc b/src/emu/cpu/nec/v25instr.inc
index 77dd415eee0..8b88f163429 100644
--- a/src/emu/cpu/nec/v25instr.inc
+++ b/src/emu/cpu/nec/v25instr.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
#define GetRB \
ModRM = FETCH(); \
if (ModRM >= 0xc0) \
diff --git a/src/emu/cpu/nec/v25priv.h b/src/emu/cpu/nec/v25priv.h
index ce9cad4ce00..a351d95b90d 100644
--- a/src/emu/cpu/nec/v25priv.h
+++ b/src/emu/cpu/nec/v25priv.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* Cpu types, steps of 8 to help the cycle count calculation */
#define V33_TYPE 0
#define V30_TYPE 8
diff --git a/src/emu/cpu/nec/v25sfr.c b/src/emu/cpu/nec/v25sfr.c
index 92218186024..4a4592cf9f3 100644
--- a/src/emu/cpu/nec/v25sfr.c
+++ b/src/emu/cpu/nec/v25sfr.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/****************************************************************************
NEC V25/V35 special function registers and internal ram access
diff --git a/src/emu/cpu/nec/v53.c b/src/emu/cpu/nec/v53.c
index a187cc34f6f..43969a0a78c 100644
--- a/src/emu/cpu/nec/v53.c
+++ b/src/emu/cpu/nec/v53.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* V53 */
// V33 / V33A cores with onboard peripherals
diff --git a/src/emu/cpu/nec/v53.h b/src/emu/cpu/nec/v53.h
index 8c4db1b443d..796f620fd40 100644
--- a/src/emu/cpu/nec/v53.h
+++ b/src/emu/cpu/nec/v53.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
/* V53 */
#include "nec.h"
diff --git a/src/emu/cpu/pdp1/pdp1.c b/src/emu/cpu/pdp1/pdp1.c
index b6ce4e44c3f..3c414bd5ed6 100644
--- a/src/emu/cpu/pdp1/pdp1.c
+++ b/src/emu/cpu/pdp1/pdp1.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
/*
* Note: Original Java source written by:
*
diff --git a/src/emu/cpu/pdp1/pdp1.h b/src/emu/cpu/pdp1/pdp1.h
index f675f8cc251..c4c9c8c465e 100644
--- a/src/emu/cpu/pdp1/pdp1.h
+++ b/src/emu/cpu/pdp1/pdp1.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
#pragma once
#ifndef __PDP1_H__
diff --git a/src/emu/cpu/pdp1/pdp1dasm.c b/src/emu/cpu/pdp1/pdp1dasm.c
index 97e589f3951..036aa3e2f22 100644
--- a/src/emu/cpu/pdp1/pdp1dasm.c
+++ b/src/emu/cpu/pdp1/pdp1dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
#include "emu.h"
#include "cpu/pdp1/pdp1.h"
diff --git a/src/emu/cpu/pdp1/tx0.c b/src/emu/cpu/pdp1/tx0.c
index 13ec6a98c37..8c2c9c33887 100644
--- a/src/emu/cpu/pdp1/tx0.c
+++ b/src/emu/cpu/pdp1/tx0.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
/*
TX-0 emulator
diff --git a/src/emu/cpu/pdp1/tx0.h b/src/emu/cpu/pdp1/tx0.h
index cd4d781f135..bdb492bbfc3 100644
--- a/src/emu/cpu/pdp1/tx0.h
+++ b/src/emu/cpu/pdp1/tx0.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
#pragma once
#ifndef __TX0_H__
diff --git a/src/emu/cpu/pdp1/tx0dasm.c b/src/emu/cpu/pdp1/tx0dasm.c
index 295aa99e420..8eef06f832e 100644
--- a/src/emu/cpu/pdp1/tx0dasm.c
+++ b/src/emu/cpu/pdp1/tx0dasm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Raphael Nabet
#include "emu.h"
#include "cpu/pdp1/tx0.h"
diff --git a/src/emu/cpu/pic16c5x/16c5xdsm.c b/src/emu/cpu/pic16c5x/16c5xdsm.c
index 2aa28acb6f9..badf9d022ac 100644
--- a/src/emu/cpu/pic16c5x/16c5xdsm.c
+++ b/src/emu/cpu/pic16c5x/16c5xdsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C5x Emulator *
* *
diff --git a/src/emu/cpu/pic16c5x/dis16c5x.c b/src/emu/cpu/pic16c5x/dis16c5x.c
index 54976af6f6f..bbbb6b37756 100644
--- a/src/emu/cpu/pic16c5x/dis16c5x.c
+++ b/src/emu/cpu/pic16c5x/dis16c5x.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C5x Emulator *
* *
diff --git a/src/emu/cpu/pic16c5x/pic16c5x.c b/src/emu/cpu/pic16c5x/pic16c5x.c
index 5dd109380a4..3dbaa5ccb62 100644
--- a/src/emu/cpu/pic16c5x/pic16c5x.c
+++ b/src/emu/cpu/pic16c5x/pic16c5x.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C5x Emulator *
* *
diff --git a/src/emu/cpu/pic16c5x/pic16c5x.h b/src/emu/cpu/pic16c5x/pic16c5x.h
index 3c441680c08..6e39bf41a2b 100644
--- a/src/emu/cpu/pic16c5x/pic16c5x.h
+++ b/src/emu/cpu/pic16c5x/pic16c5x.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C5x Emulator *
* *
diff --git a/src/emu/cpu/pic16c62x/16c62xdsm.c b/src/emu/cpu/pic16c62x/16c62xdsm.c
index ce10d92d2c4..b79e24ad0b4 100644
--- a/src/emu/cpu/pic16c62x/16c62xdsm.c
+++ b/src/emu/cpu/pic16c62x/16c62xdsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C62X Emulator *
* *
diff --git a/src/emu/cpu/pic16c62x/dis16c62x.c b/src/emu/cpu/pic16c62x/dis16c62x.c
index 93b2e42963b..8c674fa0235 100644
--- a/src/emu/cpu/pic16c62x/dis16c62x.c
+++ b/src/emu/cpu/pic16c62x/dis16c62x.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C62X Emulator *
* *
diff --git a/src/emu/cpu/pic16c62x/pic16c62x.c b/src/emu/cpu/pic16c62x/pic16c62x.c
index 2083faf8691..8d73d6e337b 100644
--- a/src/emu/cpu/pic16c62x/pic16c62x.c
+++ b/src/emu/cpu/pic16c62x/pic16c62x.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C62X Emulator *
* *
diff --git a/src/emu/cpu/pic16c62x/pic16c62x.h b/src/emu/cpu/pic16c62x/pic16c62x.h
index 720e8003390..5178855923c 100644
--- a/src/emu/cpu/pic16c62x/pic16c62x.h
+++ b/src/emu/cpu/pic16c62x/pic16c62x.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Microchip PIC16C62X Emulator *
* *
diff --git a/src/emu/cpu/powerpc/drc_ops.c b/src/emu/cpu/powerpc/drc_ops.c
index f88ff50ac89..cfe3614fb5a 100644
--- a/src/emu/cpu/powerpc/drc_ops.c
+++ b/src/emu/cpu/powerpc/drc_ops.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/* PowerPC common opcodes */
// it really seems like this should be elsewhere - like maybe the floating point checks can hang out someplace else
diff --git a/src/emu/cpu/powerpc/drc_ops.h b/src/emu/cpu/powerpc/drc_ops.h
index 6fc3df335bf..792cdd6260a 100644
--- a/src/emu/cpu/powerpc/drc_ops.h
+++ b/src/emu/cpu/powerpc/drc_ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
static const PPC_OPCODE ppcdrc_opcode_common[] =
{
/*code subcode handler */
diff --git a/src/emu/cpu/powerpc/ppc.c b/src/emu/cpu/powerpc/ppc.c
index 1310bc72e6b..3e2c1858ee6 100644
--- a/src/emu/cpu/powerpc/ppc.c
+++ b/src/emu/cpu/powerpc/ppc.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/* IBM/Motorola PowerPC 4xx/6xx Emulator */
#include <setjmp.h>
diff --git a/src/emu/cpu/powerpc/ppc403.inc b/src/emu/cpu/powerpc/ppc403.inc
index 9199ba86bc8..054c2657142 100644
--- a/src/emu/cpu/powerpc/ppc403.inc
+++ b/src/emu/cpu/powerpc/ppc403.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/* PowerPC 403 specific functions */
static void ppc403_dma_exec(int ch);
diff --git a/src/emu/cpu/powerpc/ppc602.inc b/src/emu/cpu/powerpc/ppc602.inc
index 9632d0f42a1..6b1998201f7 100644
--- a/src/emu/cpu/powerpc/ppc602.inc
+++ b/src/emu/cpu/powerpc/ppc602.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
static void ppc_dsa(UINT32 op)
{
UINT32 msr = ppc_get_msr();
diff --git a/src/emu/cpu/powerpc/ppc603.inc b/src/emu/cpu/powerpc/ppc603.inc
index d543d637a99..114728d19ce 100644
--- a/src/emu/cpu/powerpc/ppc603.inc
+++ b/src/emu/cpu/powerpc/ppc603.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
void ppc603_exception(int exception)
{
switch( exception )
diff --git a/src/emu/cpu/powerpc/ppc_dasm.c b/src/emu/cpu/powerpc/ppc_dasm.c
index 922cc9b01a5..e1ccb28591c 100644
--- a/src/emu/cpu/powerpc/ppc_dasm.c
+++ b/src/emu/cpu/powerpc/ppc_dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/*
* disasm.c
*
diff --git a/src/emu/cpu/powerpc/ppc_mem.inc b/src/emu/cpu/powerpc/ppc_mem.inc
index 1350bb158c1..0f8851e4c5c 100644
--- a/src/emu/cpu/powerpc/ppc_mem.inc
+++ b/src/emu/cpu/powerpc/ppc_mem.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
#define DUMP_PAGEFAULTS 0
INLINE UINT8 READ8(UINT32 a)
diff --git a/src/emu/cpu/powerpc/ppc_ops.h b/src/emu/cpu/powerpc/ppc_ops.h
index 4b9a687590f..b44e92a016b 100644
--- a/src/emu/cpu/powerpc/ppc_ops.h
+++ b/src/emu/cpu/powerpc/ppc_ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
#pragma once
#ifndef __PPC_OPS_H__
diff --git a/src/emu/cpu/powerpc/ppc_ops.inc b/src/emu/cpu/powerpc/ppc_ops.inc
index dddf2379c40..86ccd8e2225 100644
--- a/src/emu/cpu/powerpc/ppc_ops.inc
+++ b/src/emu/cpu/powerpc/ppc_ops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/* PowerPC common opcodes */
// it really seems like this should be elsewhere - like maybe the floating point checks can hang out someplace else
diff --git a/src/emu/cpu/powerpc/ppccom.h b/src/emu/cpu/powerpc/ppccom.h
index 0551cd56181..d50422c028b 100644
--- a/src/emu/cpu/powerpc/ppccom.h
+++ b/src/emu/cpu/powerpc/ppccom.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/***************************************************************************
ppccom.h
diff --git a/src/emu/cpu/psx/dismips.c b/src/emu/cpu/psx/dismips.c
index 9ff658cb2f9..76f67fba2cf 100644
--- a/src/emu/cpu/psx/dismips.c
+++ b/src/emu/cpu/psx/dismips.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:smf
/*
* standalone MIPS disassembler by smf
*
diff --git a/src/emu/cpu/rsp/rsp.c b/src/emu/cpu/rsp/rsp.c
index 187d4d1ca69..1bb36af0612 100644
--- a/src/emu/cpu/rsp/rsp.c
+++ b/src/emu/cpu/rsp/rsp.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ville Linde, Ryan Holtz
/*
Nintendo/SGI Reality Signal Processor (RSP) emulator
diff --git a/src/emu/cpu/rsp/rsp.h b/src/emu/cpu/rsp/rsp.h
index 83d19accee1..564f1652109 100644
--- a/src/emu/cpu/rsp/rsp.h
+++ b/src/emu/cpu/rsp/rsp.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ville Linde, Ryan Holtz
/***************************************************************************
rsp.h
@@ -7,10 +7,6 @@
Interface file for the universal machine language-based
Reality Signal Processor (RSP) emulator.
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#pragma once
diff --git a/src/emu/cpu/rsp/rsp_dasm.c b/src/emu/cpu/rsp/rsp_dasm.c
index 1b2458fd633..2f455567588 100644
--- a/src/emu/cpu/rsp/rsp_dasm.c
+++ b/src/emu/cpu/rsp/rsp_dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ville Linde, Ryan Holtz
/*
Nintendo/SGI RSP Disassembler
diff --git a/src/emu/cpu/rsp/rspcp2.c b/src/emu/cpu/rsp/rspcp2.c
index 7492e9c2596..8371583c948 100644
--- a/src/emu/cpu/rsp/rspcp2.c
+++ b/src/emu/cpu/rsp/rspcp2.c
@@ -7,10 +7,6 @@
Universal machine language-based Nintendo/SGI RSP COP2 emulator.
Written by Harmony of the MESS team.
- Copyright the MESS team.
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#include "emu.h"
diff --git a/src/emu/cpu/rsp/rspcp2.h b/src/emu/cpu/rsp/rspcp2.h
index 20a028c53d2..15857bd687c 100644
--- a/src/emu/cpu/rsp/rspcp2.h
+++ b/src/emu/cpu/rsp/rspcp2.h
@@ -1,15 +1,11 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
/***************************************************************************
rspcp2.h
Interface file for Reality Signal Processor (RSP) vector extensions.
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#pragma once
diff --git a/src/emu/cpu/rsp/rspcp2d.c b/src/emu/cpu/rsp/rspcp2d.c
index f24aa02c991..3a5ca09b9ee 100644
--- a/src/emu/cpu/rsp/rspcp2d.c
+++ b/src/emu/cpu/rsp/rspcp2d.c
@@ -7,10 +7,6 @@
Universal machine language-based Nintendo/SGI RSP COP2 emulator.
Written by Harmony of the MESS team.
- Copyright the MESS team.
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#include "emu.h"
diff --git a/src/emu/cpu/rsp/rspcp2d.h b/src/emu/cpu/rsp/rspcp2d.h
index 067bb1a357d..d56e04e7532 100644
--- a/src/emu/cpu/rsp/rspcp2d.h
+++ b/src/emu/cpu/rsp/rspcp2d.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
/***************************************************************************
rspcp2d.h
@@ -7,10 +7,6 @@
Interface file for Reality Signal Processor (RSP) vector extensions
using Universal Machine Language (UML) dynamic recompilation.
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#pragma once
diff --git a/src/emu/cpu/rsp/rspcp2s.c b/src/emu/cpu/rsp/rspcp2s.c
index 937a3e5590d..4f2c2b18fa9 100644
--- a/src/emu/cpu/rsp/rspcp2s.c
+++ b/src/emu/cpu/rsp/rspcp2s.c
@@ -8,10 +8,6 @@
SSSE3 SIMD optimizations.
Written by Harmony of the MESS team.
- Copyright the MESS team.
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#include "emu.h"
diff --git a/src/emu/cpu/rsp/rspcp2s.h b/src/emu/cpu/rsp/rspcp2s.h
index fd5a5b1c99f..b9ad85fbf54 100644
--- a/src/emu/cpu/rsp/rspcp2s.h
+++ b/src/emu/cpu/rsp/rspcp2s.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
/***************************************************************************
rspcp2s.h
@@ -7,10 +7,6 @@
Interface file for Reality Signal Processor (RSP) vector extensions
using SSSE3 SIMD acceleration.
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#pragma once
diff --git a/src/emu/cpu/rsp/rspdiv.h b/src/emu/cpu/rsp/rspdiv.h
index 4507c85f37f..67e4afacd01 100644
--- a/src/emu/cpu/rsp/rspdiv.h
+++ b/src/emu/cpu/rsp/rspdiv.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
static const UINT16 rsp_divtable[1024] =
{
0xffff,
diff --git a/src/emu/cpu/rsp/rspdrc.c b/src/emu/cpu/rsp/rspdrc.c
index 544ac6e6a8e..e30bad904ec 100644
--- a/src/emu/cpu/rsp/rspdrc.c
+++ b/src/emu/cpu/rsp/rspdrc.c
@@ -9,10 +9,6 @@
SIMD versions of vector multiplication opcodes provided by Marathon Man
of the CEN64 team.
- Copyright the MESS team.
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
****************************************************************************
Future improvements/changes:
diff --git a/src/emu/cpu/rsp/rspfe.c b/src/emu/cpu/rsp/rspfe.c
index b8ac8c5e67c..96291bd0d65 100644
--- a/src/emu/cpu/rsp/rspfe.c
+++ b/src/emu/cpu/rsp/rspfe.c
@@ -1,15 +1,11 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
/***************************************************************************
rspfe.c
Front-end for RSP recompiler
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#include "emu.h"
diff --git a/src/emu/cpu/rsp/rspfe.h b/src/emu/cpu/rsp/rspfe.h
index 19d7f9cfda5..bdfd7a83fb7 100644
--- a/src/emu/cpu/rsp/rspfe.h
+++ b/src/emu/cpu/rsp/rspfe.h
@@ -1,15 +1,11 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
/***************************************************************************
rspfe.h
Front-end for RSP recompiler
- Copyright the MESS team
- Released for general non-commercial use under the MAME license
- Visit http://mamedev.org for licensing and usage restrictions.
-
***************************************************************************/
#pragma once
diff --git a/src/emu/cpu/s2650/2650dasm.c b/src/emu/cpu/s2650/2650dasm.c
index 924ae522e68..6a6f9b1a00c 100644
--- a/src/emu/cpu/s2650/2650dasm.c
+++ b/src/emu/cpu/s2650/2650dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/***************************************************************************
*
* Portable Signetics 2650 disassembler
diff --git a/src/emu/cpu/s2650/s2650.h b/src/emu/cpu/s2650/s2650.h
index a84b77f1f7b..9fa79257bd7 100644
--- a/src/emu/cpu/s2650/s2650.h
+++ b/src/emu/cpu/s2650/s2650.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#pragma once
#ifndef __S2650_H__
diff --git a/src/emu/cpu/saturn/satops.inc b/src/emu/cpu/saturn/satops.inc
index 99bc9af389c..35befaaa55f 100644
--- a/src/emu/cpu/saturn/satops.inc
+++ b/src/emu/cpu/saturn/satops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Peter Trauner,Antoine Mine
#define IRQ_ADDRESS 0xf
#define saturn_assert(x) \
diff --git a/src/emu/cpu/saturn/sattable.inc b/src/emu/cpu/saturn/sattable.inc
index 82af6dd829f..f8b5398973c 100644
--- a/src/emu/cpu/saturn/sattable.inc
+++ b/src/emu/cpu/saturn/sattable.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Peter Trauner,Antoine Mine
static const int adr_a_begin[]={
-1, -1, BEGIN_XS, BEGIN_X, BEGIN_S, BEGIN_M, BEGIN_B, BEGIN_W,
-1, -1, -1, -1, -1, -1, -1, -1,
diff --git a/src/emu/cpu/sc61860/readpc.c b/src/emu/cpu/sc61860/readpc.c
index f977a223370..46afbbf8a3e 100644
--- a/src/emu/cpu/sc61860/readpc.c
+++ b/src/emu/cpu/sc61860/readpc.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Peter Trauner
#if 0
#include <sys/time.h>
#include <sys/stat.h>
diff --git a/src/emu/cpu/sc61860/sctable.inc b/src/emu/cpu/sc61860/sctable.inc
index 5b324230bf5..2e16dc51033 100644
--- a/src/emu/cpu/sc61860/sctable.inc
+++ b/src/emu/cpu/sc61860/sctable.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Peter Trauner
void sc61860_device::sc61860_instruction()
{
int oper=READ_OP();
diff --git a/src/emu/cpu/se3208/se3208.c b/src/emu/cpu/se3208/se3208.c
index a396cc51866..e87a49acf2d 100644
--- a/src/emu/cpu/se3208/se3208.c
+++ b/src/emu/cpu/se3208/se3208.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:ElSemi
#include "emu.h"
#include "debugger.h"
#include "se3208.h"
diff --git a/src/emu/cpu/se3208/se3208.h b/src/emu/cpu/se3208/se3208.h
index fd839995858..032b50ca086 100644
--- a/src/emu/cpu/se3208/se3208.h
+++ b/src/emu/cpu/se3208/se3208.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:ElSemi
enum
{
diff --git a/src/emu/cpu/se3208/se3208dis.c b/src/emu/cpu/se3208/se3208dis.c
index d83a89bfad3..3ceaa78ea17 100644
--- a/src/emu/cpu/se3208/se3208dis.c
+++ b/src/emu/cpu/se3208/se3208dis.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:ElSemi
#include "emu.h"
#include "debugger.h"
#include "se3208.h"
diff --git a/src/emu/cpu/sh2/sh2comn.h b/src/emu/cpu/sh2/sh2comn.h
index ad54b229d41..79d06547462 100644
--- a/src/emu/cpu/sh2/sh2comn.h
+++ b/src/emu/cpu/sh2/sh2comn.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R. Belmont
/*****************************************************************************
*
* sh2common.h
diff --git a/src/emu/cpu/sh2/sh2dasm.c b/src/emu/cpu/sh2/sh2dasm.c
index 01502b9bff8..e37611b9d28 100644
--- a/src/emu/cpu/sh2/sh2dasm.c
+++ b/src/emu/cpu/sh2/sh2dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#include "emu.h"
#include "debugger.h"
#include "sh2.h"
diff --git a/src/emu/cpu/sh4/sh3comn.c b/src/emu/cpu/sh4/sh3comn.c
index 59701e1e746..25254ebf96b 100644
--- a/src/emu/cpu/sh4/sh3comn.c
+++ b/src/emu/cpu/sh4/sh3comn.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/* Handlers for SH3 internals */
#include "emu.h"
diff --git a/src/emu/cpu/sh4/sh3comn.h b/src/emu/cpu/sh4/sh3comn.h
index 122a88ab06c..73cad125d98 100644
--- a/src/emu/cpu/sh4/sh3comn.h
+++ b/src/emu/cpu/sh4/sh3comn.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
#pragma once
#ifndef __SH3COMN_H__
diff --git a/src/emu/cpu/sh4/sh4comn.c b/src/emu/cpu/sh4/sh4comn.c
index 3c842f982a3..7a4f6945d92 100644
--- a/src/emu/cpu/sh4/sh4comn.c
+++ b/src/emu/cpu/sh4/sh4comn.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/*****************************************************************************
*
* sh4comn.c
diff --git a/src/emu/cpu/sh4/sh4comn.h b/src/emu/cpu/sh4/sh4comn.h
index 81f43753357..ffb5a1b5bad 100644
--- a/src/emu/cpu/sh4/sh4comn.h
+++ b/src/emu/cpu/sh4/sh4comn.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/*****************************************************************************
*
* sh4comn.h
diff --git a/src/emu/cpu/sh4/sh4dasm.c b/src/emu/cpu/sh4/sh4dasm.c
index 63e57f9d709..138c50fe3b1 100644
--- a/src/emu/cpu/sh4/sh4dasm.c
+++ b/src/emu/cpu/sh4/sh4dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
#include "emu.h"
#include "debugger.h"
#include "sh4.h"
diff --git a/src/emu/cpu/sh4/sh4dmac.c b/src/emu/cpu/sh4/sh4dmac.c
index 7de37e2863d..2f2ff993923 100644
--- a/src/emu/cpu/sh4/sh4dmac.c
+++ b/src/emu/cpu/sh4/sh4dmac.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/* SHA3/4 DMA Controller */
#include "emu.h"
diff --git a/src/emu/cpu/sh4/sh4dmac.h b/src/emu/cpu/sh4/sh4dmac.h
index f9f2d4986ac..3c9e4b9e6f7 100644
--- a/src/emu/cpu/sh4/sh4dmac.h
+++ b/src/emu/cpu/sh4/sh4dmac.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/* SHA3/4 DMA Controller */
/* bit definitions */
diff --git a/src/emu/cpu/sh4/sh4regs.h b/src/emu/cpu/sh4/sh4regs.h
index 4be51f681fa..e6c5691b0f6 100644
--- a/src/emu/cpu/sh4/sh4regs.h
+++ b/src/emu/cpu/sh4/sh4regs.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
#pragma once
#ifndef __SH4REGS_H__
diff --git a/src/emu/cpu/sh4/sh4tmu.c b/src/emu/cpu/sh4/sh4tmu.c
index 2908dc2366e..e96e7d6e297 100644
--- a/src/emu/cpu/sh4/sh4tmu.c
+++ b/src/emu/cpu/sh4/sh4tmu.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/* SH3/4 Timer Unit */
#include "emu.h"
diff --git a/src/emu/cpu/sh4/sh4tmu.h b/src/emu/cpu/sh4/sh4tmu.h
index 6bf0f506cf9..1928a5db820 100644
--- a/src/emu/cpu/sh4/sh4tmu.h
+++ b/src/emu/cpu/sh4/sh4tmu.h
@@ -1,3 +1,3 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R.Belmont
/* SH3/4 Timer Unit */
diff --git a/src/emu/cpu/sharc/compute.inc b/src/emu/cpu/sharc/compute.inc
index 30f0a3fbba4..548e98394c0 100644
--- a/src/emu/cpu/sharc/compute.inc
+++ b/src/emu/cpu/sharc/compute.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Ville Linde
/* compute operations */
#include <math.h>
diff --git a/src/emu/cpu/sharc/sharc.c b/src/emu/cpu/sharc/sharc.c
index 9c3f5ec7878..758d560471f 100644
--- a/src/emu/cpu/sharc/sharc.c
+++ b/src/emu/cpu/sharc/sharc.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
/* Analog Devices ADSP-2106x SHARC emulator v2.0
Written by Ville Linde
diff --git a/src/emu/cpu/sharc/sharc.h b/src/emu/cpu/sharc/sharc.h
index 13e1d1d826c..08825607944 100644
--- a/src/emu/cpu/sharc/sharc.h
+++ b/src/emu/cpu/sharc/sharc.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
#pragma once
#ifndef __SHARC_H__
diff --git a/src/emu/cpu/sharc/sharcdma.inc b/src/emu/cpu/sharc/sharcdma.inc
index 95753528dc6..2b6129eb5a8 100644
--- a/src/emu/cpu/sharc/sharcdma.inc
+++ b/src/emu/cpu/sharc/sharcdma.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Ville Linde
/* SHARC DMA operations */
#define DMA_PMODE_NO_PACKING 0
diff --git a/src/emu/cpu/sharc/sharcdsm.c b/src/emu/cpu/sharc/sharcdsm.c
index 299ce438a6b..b75e2a3ca4a 100644
--- a/src/emu/cpu/sharc/sharcdsm.c
+++ b/src/emu/cpu/sharc/sharcdsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
/*
Analog Devices ADSP-2106x SHARC Disassembler
diff --git a/src/emu/cpu/sharc/sharcdsm.h b/src/emu/cpu/sharc/sharcdsm.h
index 2dcdf575345..60c6fb5c075 100644
--- a/src/emu/cpu/sharc/sharcdsm.h
+++ b/src/emu/cpu/sharc/sharcdsm.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
static const char ureg_names[256][16] =
{
"R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7",
diff --git a/src/emu/cpu/sharc/sharcmem.inc b/src/emu/cpu/sharc/sharcmem.inc
index 089e2065791..085faa34f73 100644
--- a/src/emu/cpu/sharc/sharcmem.inc
+++ b/src/emu/cpu/sharc/sharcmem.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Ville Linde
/* SHARC memory operations */
UINT32 adsp21062_device::pm_read32(UINT32 address)
diff --git a/src/emu/cpu/sharc/sharcops.h b/src/emu/cpu/sharc/sharcops.h
index e8e6ea8c1d6..6c6a9ee0a42 100644
--- a/src/emu/cpu/sharc/sharcops.h
+++ b/src/emu/cpu/sharc/sharcops.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
const adsp21062_device::SHARC_OP adsp21062_device::s_sharc_opcode_table[] =
{
diff --git a/src/emu/cpu/sharc/sharcops.inc b/src/emu/cpu/sharc/sharcops.inc
index 95c86cfa140..f5ddc27fae2 100644
--- a/src/emu/cpu/sharc/sharcops.inc
+++ b/src/emu/cpu/sharc/sharcops.inc
@@ -1,3 +1,5 @@
+// license:???
+// copyright-holders:Ville Linde
#define SIGN_EXTEND6(x) (((x) & 0x20) ? (0xffffffc0 | (x)) : (x))
#define SIGN_EXTEND24(x) (((x) & 0x800000) ? (0xff000000 | (x)) : (x))
diff --git a/src/emu/cpu/sm8500/sm8500.c b/src/emu/cpu/sm8500/sm8500.c
index 87284d70c27..6159d8a45fa 100644
--- a/src/emu/cpu/sm8500/sm8500.c
+++ b/src/emu/cpu/sm8500/sm8500.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*
Implementation for Sharp sm8500 cpu. There is hardly any information available
on this cpu. Currently we've only found documentation on the microcontroller
diff --git a/src/emu/cpu/sm8500/sm8500.h b/src/emu/cpu/sm8500/sm8500.h
index 41f9505d2d7..4a51c2bcdf8 100644
--- a/src/emu/cpu/sm8500/sm8500.h
+++ b/src/emu/cpu/sm8500/sm8500.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#pragma once
#ifndef __SM8500_H__
diff --git a/src/emu/cpu/sm8500/sm8500d.c b/src/emu/cpu/sm8500/sm8500d.c
index 1e7a0f95f55..be8fc0f0549 100644
--- a/src/emu/cpu/sm8500/sm8500d.c
+++ b/src/emu/cpu/sm8500/sm8500d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*******************************************************************
sm8500d.c
diff --git a/src/emu/cpu/sm8500/sm85ops.h b/src/emu/cpu/sm8500/sm85ops.h
index 8d066153879..dacfa02482d 100644
--- a/src/emu/cpu/sm8500/sm85ops.h
+++ b/src/emu/cpu/sm8500/sm85ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#define ARG_R r1 = mem_readbyte( m_PC++ );
diff --git a/src/emu/cpu/ssp1601/ssp1601.c b/src/emu/cpu/ssp1601/ssp1601.c
index e28b78b913f..e9a5f39ac1c 100644
--- a/src/emu/cpu/ssp1601/ssp1601.c
+++ b/src/emu/cpu/ssp1601/ssp1601.c
@@ -1,13 +1,10 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Pierpaolo Prazzoli,Grazvydas Ignotas
/*
* Samsung SSP1601 DSP emulator
*
* Copyright 2008, Grazvydas Ignotas
*
- * This code is released under the MAME license.
- *
- *
* notes:
* not everything is implemented, but it is accurate enough to
* properly emulate Virtua Racing for Genesis/MegaDrive:
diff --git a/src/emu/cpu/ssp1601/ssp1601.h b/src/emu/cpu/ssp1601/ssp1601.h
index c482c3ff318..744dfdbc1ce 100644
--- a/src/emu/cpu/ssp1601/ssp1601.h
+++ b/src/emu/cpu/ssp1601/ssp1601.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Pierpaolo Prazzoli
#pragma once
#ifndef __SSP1601_H__
diff --git a/src/emu/cpu/superfx/sfx_dasm.c b/src/emu/cpu/superfx/sfx_dasm.c
index 2e451233e7f..e76e37ee003 100644
--- a/src/emu/cpu/superfx/sfx_dasm.c
+++ b/src/emu/cpu/superfx/sfx_dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
#include "emu.h"
#include "superfx.h"
diff --git a/src/emu/cpu/superfx/superfx.c b/src/emu/cpu/superfx/superfx.c
index 913078e6a1c..b59be533acd 100644
--- a/src/emu/cpu/superfx/superfx.c
+++ b/src/emu/cpu/superfx/superfx.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
#include "emu.h"
#include "debugger.h"
#include "superfx.h"
diff --git a/src/emu/cpu/superfx/superfx.h b/src/emu/cpu/superfx/superfx.h
index 7fcb374560c..8e64875e1bd 100644
--- a/src/emu/cpu/superfx/superfx.h
+++ b/src/emu/cpu/superfx/superfx.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
#ifndef __SUPERFX_H__
#define __SUPERFX_H__
diff --git a/src/emu/cpu/t11/t11.h b/src/emu/cpu/t11/t11.h
index 554c7f09861..d5c8c38fb56 100644
--- a/src/emu/cpu/t11/t11.h
+++ b/src/emu/cpu/t11/t11.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
/*** T-11: Portable DEC T-11 emulator ******************************************/
#pragma once
diff --git a/src/emu/cpu/tlcs90/tlcs90.c b/src/emu/cpu/tlcs90/tlcs90.c
index 65c970f9c9c..dc228c12e66 100644
--- a/src/emu/cpu/tlcs90/tlcs90.c
+++ b/src/emu/cpu/tlcs90/tlcs90.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Luca Elia
/*************************************************************************************************************
Toshiba TLCS-90 Series MCU's
diff --git a/src/emu/cpu/tlcs90/tlcs90.h b/src/emu/cpu/tlcs90/tlcs90.h
index cde0ef474a8..15498e26309 100644
--- a/src/emu/cpu/tlcs90/tlcs90.h
+++ b/src/emu/cpu/tlcs90/tlcs90.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Luca Elia
#pragma once
#ifndef __TLCS90_H__
diff --git a/src/emu/cpu/tlcs900/900tbl.inc b/src/emu/cpu/tlcs900/900tbl.inc
index 02457f40a8a..53ec4291fba 100644
--- a/src/emu/cpu/tlcs900/900tbl.inc
+++ b/src/emu/cpu/tlcs900/900tbl.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*******************************************************************
TLCS-900/H instruction set
diff --git a/src/emu/cpu/tlcs900/dasm900.c b/src/emu/cpu/tlcs900/dasm900.c
index 0cebddcf549..4d13d6cd322 100644
--- a/src/emu/cpu/tlcs900/dasm900.c
+++ b/src/emu/cpu/tlcs900/dasm900.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*******************************************************************
Toshiba TLCS-900/H disassembly
diff --git a/src/emu/cpu/tlcs900/tlcs900.c b/src/emu/cpu/tlcs900/tlcs900.c
index 1d6e2c39058..c11dc9c08a9 100644
--- a/src/emu/cpu/tlcs900/tlcs900.c
+++ b/src/emu/cpu/tlcs900/tlcs900.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
/*******************************************************************
Toshiba TLCS-900/H emulation
diff --git a/src/emu/cpu/tlcs900/tlcs900.h b/src/emu/cpu/tlcs900/tlcs900.h
index ca02d801313..e8235ae5cb5 100644
--- a/src/emu/cpu/tlcs900/tlcs900.h
+++ b/src/emu/cpu/tlcs900/tlcs900.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
#ifndef __TLCS900_H__
#define __TLCS900_H__
diff --git a/src/emu/cpu/tms32010/32010dsm.c b/src/emu/cpu/tms32010/32010dsm.c
index e3ed2864d10..4c005e065df 100644
--- a/src/emu/cpu/tms32010/32010dsm.c
+++ b/src/emu/cpu/tms32010/32010dsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS32010 DSP Disassembler *
* *
diff --git a/src/emu/cpu/tms32010/dis32010.c b/src/emu/cpu/tms32010/dis32010.c
index 2e20e696d6d..544a72a21cb 100644
--- a/src/emu/cpu/tms32010/dis32010.c
+++ b/src/emu/cpu/tms32010/dis32010.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS32010 DSP Disassembler *
* *
diff --git a/src/emu/cpu/tms32010/tms32010.c b/src/emu/cpu/tms32010/tms32010.c
index f9afd70fe87..26a65679efb 100644
--- a/src/emu/cpu/tms32010/tms32010.c
+++ b/src/emu/cpu/tms32010/tms32010.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS32010 DSP Emulator *
* *
diff --git a/src/emu/cpu/tms32010/tms32010.h b/src/emu/cpu/tms32010/tms32010.h
index a13adf8a0ff..05ff3e3fe73 100644
--- a/src/emu/cpu/tms32010/tms32010.h
+++ b/src/emu/cpu/tms32010/tms32010.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS32010 DSP Emulator *
* *
diff --git a/src/emu/cpu/tms32025/32025dsm.c b/src/emu/cpu/tms32025/32025dsm.c
index 14fb2c8c585..054c54846f1 100644
--- a/src/emu/cpu/tms32025/32025dsm.c
+++ b/src/emu/cpu/tms32025/32025dsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS320x25 DSP Disassembler *
* *
diff --git a/src/emu/cpu/tms32025/dis32025.c b/src/emu/cpu/tms32025/dis32025.c
index ae9a8a649d2..d4f191fc67e 100644
--- a/src/emu/cpu/tms32025/dis32025.c
+++ b/src/emu/cpu/tms32025/dis32025.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS320x25 DSP Disassembler *
* *
diff --git a/src/emu/cpu/tms32025/tms32025.c b/src/emu/cpu/tms32025/tms32025.c
index e41ebac8ae0..29089665037 100644
--- a/src/emu/cpu/tms32025/tms32025.c
+++ b/src/emu/cpu/tms32025/tms32025.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS320x25 DSP Emulator *
* *
diff --git a/src/emu/cpu/tms32025/tms32025.h b/src/emu/cpu/tms32025/tms32025.h
index 6d1b6ffce55..6f8ecfbe0d6 100644
--- a/src/emu/cpu/tms32025/tms32025.h
+++ b/src/emu/cpu/tms32025/tms32025.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Tony La Porta
/**************************************************************************\
* Texas Instruments TMS320x25 DSP Emulator *
* *
diff --git a/src/emu/cpu/tms32051/32051ops.c b/src/emu/cpu/tms32051/32051ops.c
index ae4ca615ade..b4ae623eac4 100644
--- a/src/emu/cpu/tms32051/32051ops.c
+++ b/src/emu/cpu/tms32051/32051ops.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
// stack is LIFO and is 8 levels deep, there is no stackpointer on the real chip
void tms32051_device::PUSH_STACK(UINT16 pc)
{
diff --git a/src/emu/cpu/tms32051/32051ops.h b/src/emu/cpu/tms32051/32051ops.h
index 489ab5f30ff..960adbfb22b 100644
--- a/src/emu/cpu/tms32051/32051ops.h
+++ b/src/emu/cpu/tms32051/32051ops.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
const tms32051_device::opcode_func tms32051_device::s_opcode_table[256] =
{
/* 0x00 - 0x0f */
diff --git a/src/emu/cpu/tms32051/dis32051.c b/src/emu/cpu/tms32051/dis32051.c
index 321d40da12d..6efeb872990 100644
--- a/src/emu/cpu/tms32051/dis32051.c
+++ b/src/emu/cpu/tms32051/dis32051.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
#include "emu.h"
diff --git a/src/emu/cpu/tms32051/tms32051.c b/src/emu/cpu/tms32051/tms32051.c
index f3d5f50dc41..4d5e502befc 100644
--- a/src/emu/cpu/tms32051/tms32051.c
+++ b/src/emu/cpu/tms32051/tms32051.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
/*
Texas Instruments TMS320C51 DSP Emulator
diff --git a/src/emu/cpu/tms32051/tms32051.h b/src/emu/cpu/tms32051/tms32051.h
index 6c425e5b021..49f18244246 100644
--- a/src/emu/cpu/tms32051/tms32051.h
+++ b/src/emu/cpu/tms32051/tms32051.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
#pragma once
#ifndef __TMS32051_H__
diff --git a/src/emu/cpu/tms32082/dis_mp.c b/src/emu/cpu/tms32082/dis_mp.c
index 289206d6f6d..3100724c31e 100644
--- a/src/emu/cpu/tms32082/dis_mp.c
+++ b/src/emu/cpu/tms32082/dis_mp.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
// TMS32082 MP Disassembler
#include "emu.h"
diff --git a/src/emu/cpu/tms32082/dis_pp.c b/src/emu/cpu/tms32082/dis_pp.c
index c11abd076e7..1d7dafb21ae 100644
--- a/src/emu/cpu/tms32082/dis_pp.c
+++ b/src/emu/cpu/tms32082/dis_pp.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
// TMS32082 PP Disassembler
#include "emu.h"
diff --git a/src/emu/cpu/tms32082/mp_ops.c b/src/emu/cpu/tms32082/mp_ops.c
index 582bbfa71ea..79a79b970cf 100644
--- a/src/emu/cpu/tms32082/mp_ops.c
+++ b/src/emu/cpu/tms32082/mp_ops.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
// TMS320C82 Master Processor core execution
#include "emu.h"
diff --git a/src/emu/cpu/tms32082/tms32082.c b/src/emu/cpu/tms32082/tms32082.c
index e3d78550e64..406d1430169 100644
--- a/src/emu/cpu/tms32082/tms32082.c
+++ b/src/emu/cpu/tms32082/tms32082.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
/*
Texas Instruments TMS320C82 DSP Emulator
diff --git a/src/emu/cpu/tms32082/tms32082.h b/src/emu/cpu/tms32082/tms32082.h
index c67f7049cd3..a0310235ba0 100644
--- a/src/emu/cpu/tms32082/tms32082.h
+++ b/src/emu/cpu/tms32082/tms32082.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Ville Linde
#pragma once
#ifndef __TMS32082_H__
diff --git a/src/emu/cpu/tms34010/34010dsm.c b/src/emu/cpu/tms34010/34010dsm.c
index 3d80b837bfb..2fc3168cc45 100644
--- a/src/emu/cpu/tms34010/34010dsm.c
+++ b/src/emu/cpu/tms34010/34010dsm.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/*
* A TMS34010 disassembler
*
diff --git a/src/emu/cpu/tms34010/34010fld.c b/src/emu/cpu/tms34010/34010fld.c
index 750bd9ea8c1..b507f7b966f 100644
--- a/src/emu/cpu/tms34010/34010fld.c
+++ b/src/emu/cpu/tms34010/34010fld.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/tms34010/34010gfx.c b/src/emu/cpu/tms34010/34010gfx.c
index 8b56dc31c86..66234c24f42 100644
--- a/src/emu/cpu/tms34010/34010gfx.c
+++ b/src/emu/cpu/tms34010/34010gfx.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/tms34010/34010ops.c b/src/emu/cpu/tms34010/34010ops.c
index 43d2e211a40..f33dc6a2461 100644
--- a/src/emu/cpu/tms34010/34010ops.c
+++ b/src/emu/cpu/tms34010/34010ops.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/tms34010/34010ops.h b/src/emu/cpu/tms34010/34010ops.h
index c31fd3e2b90..3feefd7fa7e 100644
--- a/src/emu/cpu/tms34010/34010ops.h
+++ b/src/emu/cpu/tms34010/34010ops.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/tms34010/34010tbl.c b/src/emu/cpu/tms34010/34010tbl.c
index 0d82877914e..34e0f97b018 100644
--- a/src/emu/cpu/tms34010/34010tbl.c
+++ b/src/emu/cpu/tms34010/34010tbl.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/*** TMS34010: Portable TMS34010 emulator ***********************************
Copyright Alex Pasadyn/Zsolt Vasvari
diff --git a/src/emu/cpu/tms34010/dis34010.c b/src/emu/cpu/tms34010/dis34010.c
index 2e8751e9a36..a17d9e14816 100644
--- a/src/emu/cpu/tms34010/dis34010.c
+++ b/src/emu/cpu/tms34010/dis34010.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/* This program is based on DIS68k by Aaron Giles */
#include "emu.h"
diff --git a/src/emu/cpu/tms34010/tms34010.c b/src/emu/cpu/tms34010/tms34010.c
index c38237771af..815d3d53c22 100644
--- a/src/emu/cpu/tms34010/tms34010.c
+++ b/src/emu/cpu/tms34010/tms34010.c
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/tms34010/tms34010.h b/src/emu/cpu/tms34010/tms34010.h
index 9f7e8f5694f..74c163f6dd4 100644
--- a/src/emu/cpu/tms34010/tms34010.h
+++ b/src/emu/cpu/tms34010/tms34010.h
@@ -1,5 +1,5 @@
// license:???
-// copyright-holders:???
+// copyright-holders:Zsolt Vasvari
/***************************************************************************
TMS34010: Portable Texas Instruments TMS34010 emulator
diff --git a/src/emu/cpu/ucom4/ucom4op.inc b/src/emu/cpu/ucom4/ucom4op.inc
index d5819369278..42b52af8258 100644
--- a/src/emu/cpu/ucom4/ucom4op.inc
+++ b/src/emu/cpu/ucom4/ucom4op.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
// uCOM-4 opcode handlers
// internal helpers
diff --git a/src/emu/cpu/upd7725/dasm7725.c b/src/emu/cpu/upd7725/dasm7725.c
index 7c7ccb43603..987002412ac 100644
--- a/src/emu/cpu/upd7725/dasm7725.c
+++ b/src/emu/cpu/upd7725/dasm7725.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R. Belmont,byuu
/***************************************************************************
dasm7725.c
diff --git a/src/emu/cpu/upd7725/upd7725.c b/src/emu/cpu/upd7725/upd7725.c
index 544d1e6c689..78e248eb7bf 100644
--- a/src/emu/cpu/upd7725/upd7725.c
+++ b/src/emu/cpu/upd7725/upd7725.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R. Belmont,byuu
/***************************************************************************
upd7725.c
diff --git a/src/emu/cpu/upd7725/upd7725.h b/src/emu/cpu/upd7725/upd7725.h
index ae72f94180c..d10094073c3 100644
--- a/src/emu/cpu/upd7725/upd7725.h
+++ b/src/emu/cpu/upd7725/upd7725.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:R. Belmont,byuu
/***************************************************************************
upd7725.h
diff --git a/src/emu/cpu/upd7810/upd7810.h b/src/emu/cpu/upd7810/upd7810.h
index db83f60bf22..cdea4f376b8 100644
--- a/src/emu/cpu/upd7810/upd7810.h
+++ b/src/emu/cpu/upd7810/upd7810.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#pragma once
#ifndef __UPD7810_H__
diff --git a/src/emu/cpu/upd7810/upd7810_macros.h b/src/emu/cpu/upd7810/upd7810_macros.h
index 3a02e209b2f..b6172e816ba 100644
--- a/src/emu/cpu/upd7810/upd7810_macros.h
+++ b/src/emu/cpu/upd7810/upd7810_macros.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/***************************************************************************
uPD7810/11, 7810H/11H, 78C10/C11/C14 private use macros
diff --git a/src/emu/cpu/v30mz/v30mz.h b/src/emu/cpu/v30mz/v30mz.h
index d34eed59121..5fb83ca00f1 100644
--- a/src/emu/cpu/v30mz/v30mz.h
+++ b/src/emu/cpu/v30mz/v30mz.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Bryan McPhail
#ifndef __V30MZ_H__
#define __V30MZ_H__
diff --git a/src/emu/cpu/v60/am.inc b/src/emu/cpu/v60/am.inc
index 6c2652de2f9..e79cbe86291 100644
--- a/src/emu/cpu/v60/am.inc
+++ b/src/emu/cpu/v60/am.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
// NOTE for bit string / field addressing
// ************************************
// m_moddim must be passed as 10 for bit string instructions,
diff --git a/src/emu/cpu/v60/am1.inc b/src/emu/cpu/v60/am1.inc
index 180551c1f1e..7bf58d76be6 100644
--- a/src/emu/cpu/v60/am1.inc
+++ b/src/emu/cpu/v60/am1.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
// AM1 Functions (for ReadAM)
// **************************
diff --git a/src/emu/cpu/v60/am2.inc b/src/emu/cpu/v60/am2.inc
index 39c1a501294..7b4057964d7 100644
--- a/src/emu/cpu/v60/am2.inc
+++ b/src/emu/cpu/v60/am2.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
// AM2 Functions (for ReadAMAddress)
// *********************************
diff --git a/src/emu/cpu/v60/am3.inc b/src/emu/cpu/v60/am3.inc
index 6de71d78e86..6b2944f30f7 100644
--- a/src/emu/cpu/v60/am3.inc
+++ b/src/emu/cpu/v60/am3.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
// AM3 Functions (for ReadAM)
// **************************
diff --git a/src/emu/cpu/v60/op12.inc b/src/emu/cpu/v60/op12.inc
index 32dcafe4622..4b6f258a4f0 100644
--- a/src/emu/cpu/v60/op12.inc
+++ b/src/emu/cpu/v60/op12.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
/*
* MUL* and MULU* do not set OV correctly
* DIVX: the second operand should be treated as dword instead of word
diff --git a/src/emu/cpu/v60/op2.inc b/src/emu/cpu/v60/op2.inc
index 9b4a945e869..f9abbb592ac 100644
--- a/src/emu/cpu/v60/op2.inc
+++ b/src/emu/cpu/v60/op2.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
#define F2END() \
return 2 + m_amlength1 + m_amlength2;
diff --git a/src/emu/cpu/v60/op3.inc b/src/emu/cpu/v60/op3.inc
index ff6d36eba87..6115ea61fc6 100644
--- a/src/emu/cpu/v60/op3.inc
+++ b/src/emu/cpu/v60/op3.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
UINT32 v60_device::opINCB() /* TRUSTED */
{
UINT8 appb;
diff --git a/src/emu/cpu/v60/op4.inc b/src/emu/cpu/v60/op4.inc
index 1082353b2d1..c2bf0c57b47 100644
--- a/src/emu/cpu/v60/op4.inc
+++ b/src/emu/cpu/v60/op4.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
/*
FULLY TRUSTED
*/
diff --git a/src/emu/cpu/v60/op5.inc b/src/emu/cpu/v60/op5.inc
index d758edc85ae..9e8641b0cf8 100644
--- a/src/emu/cpu/v60/op5.inc
+++ b/src/emu/cpu/v60/op5.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
/*
* HALT: must add log
*/
diff --git a/src/emu/cpu/v60/op6.inc b/src/emu/cpu/v60/op6.inc
index 7c7cff05368..d426ba0c3e3 100644
--- a/src/emu/cpu/v60/op6.inc
+++ b/src/emu/cpu/v60/op6.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
/*
FULLY TRUSTED
*/
diff --git a/src/emu/cpu/v60/op7a.inc b/src/emu/cpu/v60/op7a.inc
index c2b0fe49ccd..20b1137bc3f 100644
--- a/src/emu/cpu/v60/op7a.inc
+++ b/src/emu/cpu/v60/op7a.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
/*
* CMPC: What happens to _S flag if the strings are identical?
* I suppose that it will be cleared. And is it set or cleared
diff --git a/src/emu/cpu/v60/optable.inc b/src/emu/cpu/v60/optable.inc
index 0f7e0dd96fa..2c4cf4646cf 100644
--- a/src/emu/cpu/v60/optable.inc
+++ b/src/emu/cpu/v60/optable.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
const v60_device::am_func v60_device::s_OpCodeTable[256] =
{
/* 0x00 */ &v60_device::opHALT,
diff --git a/src/emu/cpu/v60/v60.c b/src/emu/cpu/v60/v60.c
index 8fc54ad3b9b..b4a582843e7 100644
--- a/src/emu/cpu/v60/v60.c
+++ b/src/emu/cpu/v60/v60.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
// V60.C
// Undiscover the beast!
// Main hacking and coding by Farfetch'd
diff --git a/src/emu/cpu/v60/v60.h b/src/emu/cpu/v60/v60.h
index c0fc53d7ea1..b0fe1ba6842 100644
--- a/src/emu/cpu/v60/v60.h
+++ b/src/emu/cpu/v60/v60.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
#pragma once
#ifndef __V60_H__
diff --git a/src/emu/cpu/v60/v60d.c b/src/emu/cpu/v60/v60d.c
index aa73fc7b722..d7468c1c800 100644
--- a/src/emu/cpu/v60/v60d.c
+++ b/src/emu/cpu/v60/v60d.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Farfetch'd, Richter Belmont
#include "emu.h"
#include "debugger.h"
diff --git a/src/emu/cpu/z180/z180.h b/src/emu/cpu/z180/z180.h
index a95105bcbcb..a3d50852bf3 100644
--- a/src/emu/cpu/z180/z180.h
+++ b/src/emu/cpu/z180/z180.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#pragma once
#ifndef __Z180_H__
diff --git a/src/emu/cpu/z180/z180cb.inc b/src/emu/cpu/z180/z180cb.inc
index cf767029a5d..3a58725024e 100644
--- a/src/emu/cpu/z180/z180cb.inc
+++ b/src/emu/cpu/z180/z180cb.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/**********************************************************
* opcodes with CB prefix
* rotate, shift and bit operations
diff --git a/src/emu/cpu/z180/z180dd.inc b/src/emu/cpu/z180/z180dd.inc
index ec195eb4d87..99557547757 100644
--- a/src/emu/cpu/z180/z180dd.inc
+++ b/src/emu/cpu/z180/z180dd.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
OP(illegal,1) {
logerror("Z180 '%s' ill. opcode $%02x $%02x\n",
tag(), m_direct->read_decrypted_byte((_PCD-1)&0xffff), m_direct->read_decrypted_byte(_PCD));
diff --git a/src/emu/cpu/z180/z180ed.inc b/src/emu/cpu/z180/z180ed.inc
index f0dba4c140c..83dcee1afdb 100644
--- a/src/emu/cpu/z180/z180ed.inc
+++ b/src/emu/cpu/z180/z180ed.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
OP(illegal,2)
{
logerror("Z180 '%s' ill. opcode $ed $%02x\n",
diff --git a/src/emu/cpu/z180/z180fd.inc b/src/emu/cpu/z180/z180fd.inc
index 142d4879f78..66697a9b997 100644
--- a/src/emu/cpu/z180/z180fd.inc
+++ b/src/emu/cpu/z180/z180fd.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/**********************************************************
* IY register related opcodes (FD prefix)
**********************************************************/
diff --git a/src/emu/cpu/z180/z180op.inc b/src/emu/cpu/z180/z180op.inc
index f7f30b86ec7..b3005629a78 100644
--- a/src/emu/cpu/z180/z180op.inc
+++ b/src/emu/cpu/z180/z180op.inc
@@ -1,4 +1,5 @@
-
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/**********************************************************
* main opcodes
**********************************************************/
diff --git a/src/emu/cpu/z180/z180ops.h b/src/emu/cpu/z180/z180ops.h
index 62fa3d9cd50..66de64871ba 100644
--- a/src/emu/cpu/z180/z180ops.h
+++ b/src/emu/cpu/z180/z180ops.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/***************************************************************
* Enter HALT state; write 1 to fake port on first execution
***************************************************************/
diff --git a/src/emu/cpu/z180/z180tbl.h b/src/emu/cpu/z180/z180tbl.h
index b8b2b3bbca3..4884992a5e3 100644
--- a/src/emu/cpu/z180/z180tbl.h
+++ b/src/emu/cpu/z180/z180tbl.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/* tmp1 value for ini/inir/outi/otir for [C.1-0][io.1-0] */
static const UINT8 irep_tmp1[4][4] = {
{0,0,1,0},{0,1,0,1},{1,0,1,1},{0,1,1,0}
diff --git a/src/emu/cpu/z180/z180xy.inc b/src/emu/cpu/z180/z180xy.inc
index 96aef1be86f..e8976079dfd 100644
--- a/src/emu/cpu/z180/z180xy.inc
+++ b/src/emu/cpu/z180/z180xy.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/**********************************************************
* opcodes with DD/FD CB prefix
* rotate, shift and bit operations with (IX+o)
diff --git a/src/emu/cpu/z8/z8.c b/src/emu/cpu/z8/z8.c
index ca7b63367ff..97488f7381b 100644
--- a/src/emu/cpu/z8/z8.c
+++ b/src/emu/cpu/z8/z8.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Curt Coder
/**********************************************************************
Zilog Z8 Single-Chip MCU emulation
diff --git a/src/emu/cpu/z8/z8.h b/src/emu/cpu/z8/z8.h
index e680ed738df..c1061fcccdb 100644
--- a/src/emu/cpu/z8/z8.h
+++ b/src/emu/cpu/z8/z8.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Curt Coder
/**********************************************************************
Zilog Z8 Single-Chip MCU emulation
diff --git a/src/emu/cpu/z8/z8dasm.c b/src/emu/cpu/z8/z8dasm.c
index 587431b7e5a..3801ca5c34b 100644
--- a/src/emu/cpu/z8/z8dasm.c
+++ b/src/emu/cpu/z8/z8dasm.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Curt Coder
#include "emu.h"
#include "debugger.h"
#include "z8.h"
diff --git a/src/emu/cpu/z8/z8ops.inc b/src/emu/cpu/z8/z8ops.inc
index 8d08951bd6e..2249ddfdd7d 100644
--- a/src/emu/cpu/z8/z8ops.inc
+++ b/src/emu/cpu/z8/z8ops.inc
@@ -1,3 +1,5 @@
+// license:BSD-3-Clause
+// copyright-holders:Curt Coder
/**********************************************************************
Zilog Z8 Single-Chip MCU emulation
diff --git a/src/emu/cpu/z80/kl5c80a12.c b/src/emu/cpu/z80/kl5c80a12.c
index b7302a60ef2..500b68d567b 100644
--- a/src/emu/cpu/z80/kl5c80a12.c
+++ b/src/emu/cpu/z80/kl5c80a12.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/***************************************************************************
Kawasaki LSI
diff --git a/src/emu/cpu/z80/kl5c80a12.h b/src/emu/cpu/z80/kl5c80a12.h
index fa83a267138..3e5e35a460b 100644
--- a/src/emu/cpu/z80/kl5c80a12.h
+++ b/src/emu/cpu/z80/kl5c80a12.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
/***************************************************************************
Kawasaki LSI
diff --git a/src/emu/cpu/z80/tmpz84c011.c b/src/emu/cpu/z80/tmpz84c011.c
index c887a088bb3..428dd924c71 100644
--- a/src/emu/cpu/z80/tmpz84c011.c
+++ b/src/emu/cpu/z80/tmpz84c011.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood,hap
/***************************************************************************
Toshiba TMPZ84C011, MPUZ80/TLCS-Z80 ASSP Family
diff --git a/src/emu/cpu/z80/tmpz84c011.h b/src/emu/cpu/z80/tmpz84c011.h
index 22d71e2b403..1a5bdd83a85 100644
--- a/src/emu/cpu/z80/tmpz84c011.h
+++ b/src/emu/cpu/z80/tmpz84c011.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood,hap
/***************************************************************************
Toshiba TMPZ84C011, MPUZ80/TLCS-Z80 ASSP Family
diff --git a/src/emu/cpu/z80/tmpz84c015.c b/src/emu/cpu/z80/tmpz84c015.c
index af2a66fcd75..ebe4e3bf33c 100644
--- a/src/emu/cpu/z80/tmpz84c015.c
+++ b/src/emu/cpu/z80/tmpz84c015.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood,hap
/***************************************************************************
Toshiba TMPZ84C015, MPUZ80/TLCS-Z80 ASSP Family
diff --git a/src/emu/cpu/z80/tmpz84c015.h b/src/emu/cpu/z80/tmpz84c015.h
index 99b84a49338..7401cd2d85c 100644
--- a/src/emu/cpu/z80/tmpz84c015.h
+++ b/src/emu/cpu/z80/tmpz84c015.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:David Haywood,hap
/***************************************************************************
Toshiba TMPZ84C015, MPUZ80/TLCS-Z80 ASSP Family
diff --git a/src/emu/cpu/z80/z80.h b/src/emu/cpu/z80/z80.h
index 777990a58e1..be04708b3a2 100644
--- a/src/emu/cpu/z80/z80.h
+++ b/src/emu/cpu/z80/z80.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
#pragma once
#ifndef __Z80_H__
diff --git a/src/emu/cpu/z80/z80daisy.c b/src/emu/cpu/z80/z80daisy.c
index 25cb0fbe049..c1b0a5454c3 100644
--- a/src/emu/cpu/z80/z80daisy.c
+++ b/src/emu/cpu/z80/z80daisy.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/***************************************************************************
z80daisy.c
diff --git a/src/emu/cpu/z80/z80daisy.h b/src/emu/cpu/z80/z80daisy.h
index 158df274718..b4651649a20 100644
--- a/src/emu/cpu/z80/z80daisy.h
+++ b/src/emu/cpu/z80/z80daisy.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
/***************************************************************************
z80daisy.h
diff --git a/src/emu/cpu/z8000/8000dasm.c b/src/emu/cpu/z8000/8000dasm.c
index 537a021c1d5..91a4849da41 100644
--- a/src/emu/cpu/z8000/8000dasm.c
+++ b/src/emu/cpu/z8000/8000dasm.c
@@ -1,5 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders:Juergen Buchmueller
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
/*****************************************************************************
*
* 8000dasm.c
diff --git a/src/emu/cpu/z8000/makedab.c b/src/emu/cpu/z8000/makedab.c
index d293c74cfb6..57668f3af85 100644
--- a/src/emu/cpu/z8000/makedab.c
+++ b/src/emu/cpu/z8000/makedab.c
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
#include <stdio.h>
#define CF 0x100
diff --git a/src/emu/cpu/z8000/z8000.c b/src/emu/cpu/z8000/z8000.c
index efa3f13462d..76ff93c76b8 100644
--- a/src/emu/cpu/z8000/z8000.c
+++ b/src/emu/cpu/z8000/z8000.c
@@ -1,5 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders:Juergen Buchmueller
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
/*****************************************************************************
*
* z8000.c
diff --git a/src/emu/cpu/z8000/z8000.h b/src/emu/cpu/z8000/z8000.h
index b3966030ede..4437e0399ab 100644
--- a/src/emu/cpu/z8000/z8000.h
+++ b/src/emu/cpu/z8000/z8000.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
#pragma once
#ifndef __Z8000_H__
diff --git a/src/emu/cpu/z8000/z8000dab.h b/src/emu/cpu/z8000/z8000dab.h
index 4da6c4e22bf..44280993803 100644
--- a/src/emu/cpu/z8000/z8000dab.h
+++ b/src/emu/cpu/z8000/z8000dab.h
@@ -1,5 +1,5 @@
-// license:???
-// copyright-holders:???
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
/************************************************
* Result table for Z8000 DAB instruction
*
diff --git a/src/emu/cpu/z8000/z8000ops.inc b/src/emu/cpu/z8000/z8000ops.inc
index 6dae8772a2e..511a0034887 100644
--- a/src/emu/cpu/z8000/z8000ops.inc
+++ b/src/emu/cpu/z8000/z8000ops.inc
@@ -1,5 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders:Juergen Buchmueller
+// copyright-holders:Juergen Buchmueller,Ernesto Corvi
/*****************************************************************************
*
* z8000ops.inc