From 6caef2579a1490f05d28bcede731cbdd45fc5c65 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 5 Jul 2017 11:44:49 +0200 Subject: dvdisasm: Overhaul [O. Galibert] Disassemblers are now independant classes. Not only the code is cleaner, but unidasm has access to all the cpu cores again. The interface to the disassembly method has changed from byte buffers to objects that give a result to read methods. This also adds support for lfsr and/or paged PCs. --- src/devices/cpu/alto2/alto2cpu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/devices/cpu/alto2/alto2cpu.cpp') diff --git a/src/devices/cpu/alto2/alto2cpu.cpp b/src/devices/cpu/alto2/alto2cpu.cpp index fd7a1f6dede..21f9faa2625 100644 --- a/src/devices/cpu/alto2/alto2cpu.cpp +++ b/src/devices/cpu/alto2/alto2cpu.cpp @@ -7,6 +7,7 @@ *****************************************************************************/ #include "emu.h" #include "alto2cpu.h" +#include "alto2dsm.h" #include "a2roms.h" #define DEBUG_UCODE_CONST_DATA 0 //!< define to 1 to dump decoded micro code and constants @@ -2980,3 +2981,8 @@ void alto2_cpu_device::soft_reset() m_unload_time = 0; // reset the word unload timing accu m_bitclk_time = 0; // reset the bitclk timing accu } + +util::disasm_interface *alto2_cpu_device::create_disassembler() +{ + return new alto2_disassembler; +} -- cgit v1.2.3-70-g09d2