trunk/src/tools/unidasm.c
| r21646 | r21647 | |
| 187 | 187 | CPU_DISASSEMBLE( tms32051 ); |
| 188 | 188 | CPU_DISASSEMBLE( tms34010 ); |
| 189 | 189 | CPU_DISASSEMBLE( tms34020 ); |
| 190 | | //CPU_DISASSEMBLE( tms57002 ); |
| 190 | CPU_DISASSEMBLE( tms57002 ); |
| 191 | 191 | CPU_DISASSEMBLE( tms7000 ); |
| 192 | 192 | CPU_DISASSEMBLE( upd7810 ); |
| 193 | 193 | CPU_DISASSEMBLE( upd7807 ); |
| r21646 | r21647 | |
| 309 | 309 | { "tms32051", _16le, -1, CPU_DISASSEMBLE_NAME(tms32051) }, |
| 310 | 310 | { "tms34010", _8bit, 3, CPU_DISASSEMBLE_NAME(tms34010) }, |
| 311 | 311 | { "tms34020", _8bit, 3, CPU_DISASSEMBLE_NAME(tms34020) }, |
| 312 | | // { "tms57002", _32le, -2, CPU_DISASSEMBLE_NAME(tms57002) }, |
| 312 | { "tms57002", _32le, -2, CPU_DISASSEMBLE_NAME(tms57002) }, |
| 313 | 313 | { "tms7000", _8bit, 0, CPU_DISASSEMBLE_NAME(tms7000) }, |
| 314 | 314 | { "upd7810", _8bit, 0, CPU_DISASSEMBLE_NAME(upd7810) }, |
| 315 | 315 | { "upd7807", _8bit, 0, CPU_DISASSEMBLE_NAME(upd7807) }, |
trunk/src/emu/cpu/tms57002/57002dsm.c
| r21646 | r21647 | |
| 41 | 41 | #include "debugger.h" |
| 42 | 42 | #include "tms57002.h" |
| 43 | 43 | |
| 44 | | const char *tms57002_device::get_memadr(UINT32 opcode, char type) |
| 44 | static const char *get_memadr(UINT32 opcode, char type) |
| 45 | 45 | { |
| 46 | 46 | static char buff[2][10]; |
| 47 | 47 | static int index = 0; |
| r21646 | r21647 | |
| 64 | 64 | return buf; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | | UINT32 tms57002_device::disasm_min_opcode_bytes() const |
| 68 | | { |
| 69 | | return 4; |
| 70 | | } |
| 71 | 67 | |
| 72 | | UINT32 tms57002_device::disasm_max_opcode_bytes() const |
| 68 | CPU_DISASSEMBLE(tms57002) |
| 73 | 69 | { |
| 74 | | return 4; |
| 75 | | } |
| 76 | | |
| 77 | | offs_t tms57002_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) |
| 78 | | { |
| 79 | 70 | UINT32 opcode = opram[0] | (opram[1] << 8) | (opram[2] << 16); |
| 80 | 71 | UINT8 fa = opcode >> 18; |
| 81 | 72 | char *buf = buffer; |
trunk/src/emu/cpu/tms57002/tms57002.c
| r21646 | r21647 | |
| 844 | 844 | return 0; |
| 845 | 845 | } |
| 846 | 846 | |
| 847 | UINT32 tms57002_device::disasm_min_opcode_bytes() const |
| 848 | { |
| 849 | return 4; |
| 850 | } |
| 851 | |
| 852 | UINT32 tms57002_device::disasm_max_opcode_bytes() const |
| 853 | { |
| 854 | return 4; |
| 855 | } |
| 856 | |
| 857 | offs_t tms57002_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) |
| 858 | { |
| 859 | extern CPU_DISASSEMBLE( tms57002 ); |
| 860 | return CPU_DISASSEMBLE_NAME(tms57002)(this, buffer, pc, oprom, opram, options); |
| 861 | } |
| 862 | |
| 847 | 863 | const address_space_config *tms57002_device::memory_space_config(address_spacenum spacenum) const |
| 848 | 864 | { |
| 849 | 865 | switch(spacenum) { |