summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/disasmintf.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-07-05 11:44:49 +0200
committer Olivier Galibert <galibert@pobox.com>2017-11-26 17:41:27 +0100
commit6caef2579a1490f05d28bcede731cbdd45fc5c65 (patch)
tree8055384e183be3cb27e7d0894ac53dc96c09e6fa /src/lib/util/disasmintf.cpp
parent34b222062c89adbeed822f56be6130421777e11f (diff)
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.
Diffstat (limited to 'src/lib/util/disasmintf.cpp')
-rw-r--r--src/lib/util/disasmintf.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/util/disasmintf.cpp b/src/lib/util/disasmintf.cpp
new file mode 100644
index 00000000000..9699f68e823
--- /dev/null
+++ b/src/lib/util/disasmintf.cpp
@@ -0,0 +1,47 @@
+#include "disasmintf.h"
+
+util::u32 util::disasm_interface::interface_flags() const
+{
+ return 0;
+}
+
+util::u32 util::disasm_interface::page_address_bits() const
+{
+ throw ("unimplemented page_address_bits called");
+}
+
+util::u32 util::disasm_interface::page2_address_bits() const
+{
+ throw ("unimplemented page2_address_bits called");
+}
+
+util::disasm_interface::offs_t util::disasm_interface::pc_linear_to_real(offs_t pc) const
+{
+ throw ("unimplemented pc_linear_to_real called");
+}
+
+util::disasm_interface::offs_t util::disasm_interface::pc_real_to_linear(offs_t pc) const
+{
+ throw ("unimplemented pc_real_to_linear called");
+}
+
+util::u8 util::disasm_interface::decrypt8(u8 value, offs_t pc, bool opcode) const
+{
+ throw ("unimplemented decrypt8 called");
+}
+
+util::u16 util::disasm_interface::decrypt16(u16 value, offs_t pc, bool opcode) const
+{
+ throw ("unimplemented decrypt16 called");
+}
+
+util::u32 util::disasm_interface::decrypt32(u32 value, offs_t pc, bool opcode) const
+{
+ throw ("unimplemented decrypt32 called");
+}
+
+util::u64 util::disasm_interface::decrypt64(u64 value, offs_t pc, bool opcode) const
+{
+ throw ("unimplemented decrypt64 called");
+}
+