diff options
author | 2013-03-06 11:29:39 +0000 | |
---|---|---|
committer | 2013-03-06 11:29:39 +0000 | |
commit | dae58284c6eadf4c5c94ec36f0e420cf1d7d91bf (patch) | |
tree | 8e612a566f6dbb04b41bdcab4ad9d51f08df1d15 /src/emu/cpu | |
parent | 39be32c76ce8652ce56c4c14744e21c494d443ef (diff) |
made 6309 and konami compatible with unidasm, only 6809 to go (nw)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r-- | src/emu/cpu/m6809/6309dasm.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/m6809/hd6309.c | 4 | ||||
-rw-r--r-- | src/emu/cpu/m6809/knmidasm.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/m6809/konami.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/cpu/m6809/6309dasm.c b/src/emu/cpu/m6809/6309dasm.c index 630075de67b..716dc59c525 100644 --- a/src/emu/cpu/m6809/6309dasm.c +++ b/src/emu/cpu/m6809/6309dasm.c @@ -604,7 +604,7 @@ static const char *const hd6309_tfmregs[16] = { static const char *const tfm_s[] = { "%s+,%s+", "%s-,%s-", "%s+,%s", "%s,%s+" }; -offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) +CPU_DISASSEMBLE( hd6309 ) { UINT8 opcode, mode, pb, pbm, reg; const UINT8 *operandarray; diff --git a/src/emu/cpu/m6809/hd6309.c b/src/emu/cpu/m6809/hd6309.c index 2fe56695274..fbd729f8c19 100644 --- a/src/emu/cpu/m6809/hd6309.c +++ b/src/emu/cpu/m6809/hd6309.c @@ -206,8 +206,8 @@ UINT32 hd6309_device::disasm_max_opcode_bytes() const offs_t hd6309_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { - extern offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options); - return hd6309_disassemble(buffer, pc, oprom, opram, options); + extern CPU_DISASSEMBLE( hd6309 ); + return CPU_DISASSEMBLE_NAME(hd6309)(NULL, buffer, pc, oprom, opram, options); } diff --git a/src/emu/cpu/m6809/knmidasm.c b/src/emu/cpu/m6809/knmidasm.c index 8ea2033de5e..779307d8dab 100644 --- a/src/emu/cpu/m6809/knmidasm.c +++ b/src/emu/cpu/m6809/knmidasm.c @@ -1860,7 +1860,7 @@ static const konami_opcode_def op_table[256] = { /* ff */ { illegal, 0 } }; -offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) +CPU_DISASSEMBLE( konami ) { buffer[0] = '\0'; diff --git a/src/emu/cpu/m6809/konami.c b/src/emu/cpu/m6809/konami.c index ed09268f4c5..b7b3635f935 100644 --- a/src/emu/cpu/m6809/konami.c +++ b/src/emu/cpu/m6809/konami.c @@ -110,8 +110,8 @@ void konami_cpu_device::device_start() offs_t konami_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { - extern offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options); - return konami_cpu_disassemble(buffer, pc, oprom, opram, options); + extern CPU_DISASSEMBLE( konami ); + return CPU_DISASSEMBLE_NAME(konami)(NULL, buffer, pc, oprom, opram, options); } |