summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/dspvd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/dspvd.cpp')
-rw-r--r--src/devices/sound/dspvd.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/devices/sound/dspvd.cpp b/src/devices/sound/dspvd.cpp
new file mode 100644
index 00000000000..3a2fd254cf6
--- /dev/null
+++ b/src/devices/sound/dspvd.cpp
@@ -0,0 +1,29 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+
+// Yamaha DSPV
+//
+// Audio dsp dedicated to acoustic simulation
+//
+// Disassembler, placeholder
+
+#include "emu.h"
+#include "dspvd.h"
+
+dspv_disassembler::dspv_disassembler()
+{
+}
+
+u32 dspv_disassembler::opcode_alignment() const
+{
+ return 1;
+}
+
+offs_t dspv_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params)
+{
+ u16 opc = opcodes.r16(pc);
+
+ util::stream_format(stream, "dc.w %04x", opc);
+
+ return 1 | SUPPORTED;
+}