Previous 199869 Revisions Next

r21627 Wednesday 6th March, 2013 at 11:29:39 UTC by smf
made 6309 and konami compatible with unidasm, only 6809 to go (nw)
[src/emu/cpu/m6809]6309dasm.c hd6309.c knmidasm.c konami.c

trunk/src/emu/cpu/m6809/hd6309.c
r21626r21627
206206
207207offs_t hd6309_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
208208{
209   extern offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
210   return hd6309_disassemble(buffer, pc, oprom, opram, options);
209   extern CPU_DISASSEMBLE( hd6309 );
210   return CPU_DISASSEMBLE_NAME(hd6309)(NULL, buffer, pc, oprom, opram, options);
211211}
212212
213213
trunk/src/emu/cpu/m6809/konami.c
r21626r21627
110110
111111offs_t konami_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
112112{
113   extern offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
114   return konami_cpu_disassemble(buffer, pc, oprom, opram, options);
113   extern CPU_DISASSEMBLE( konami );
114   return CPU_DISASSEMBLE_NAME(konami)(NULL, buffer, pc, oprom, opram, options);
115115}
116116
117117
trunk/src/emu/cpu/m6809/knmidasm.c
r21626r21627
18601860   /* ff */    { illegal, 0 }
18611861};
18621862
1863offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
1863CPU_DISASSEMBLE( konami )
18641864{
18651865   buffer[0] = '\0';
18661866
trunk/src/emu/cpu/m6809/6309dasm.c
r21626r21627
604604
605605static const char *const tfm_s[] = { "%s+,%s+", "%s-,%s-", "%s+,%s", "%s,%s+" };
606606
607offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
607CPU_DISASSEMBLE( hd6309 )
608608{
609609   UINT8 opcode, mode, pb, pbm, reg;
610610   const UINT8 *operandarray;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team