diff options
author | 2017-07-05 11:44:49 +0200 | |
---|---|---|
committer | 2017-11-26 17:41:27 +0100 | |
commit | 6caef2579a1490f05d28bcede731cbdd45fc5c65 (patch) | |
tree | 8055384e183be3cb27e7d0894ac53dc96c09e6fa /src/devices/cpu/i8085/8085dasm.h | |
parent | 34b222062c89adbeed822f56be6130421777e11f (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/devices/cpu/i8085/8085dasm.h')
-rw-r--r-- | src/devices/cpu/i8085/8085dasm.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/devices/cpu/i8085/8085dasm.h b/src/devices/cpu/i8085/8085dasm.h new file mode 100644 index 00000000000..b2466ec2d05 --- /dev/null +++ b/src/devices/cpu/i8085/8085dasm.h @@ -0,0 +1,25 @@ +// license:BSD-3-Clause +// copyright-holders:Juergen Buchmueller +/***************************************************************************** + * + * 8085dasm.c + * Portable I8085A disassembler + * + *****************************************************************************/ + +#ifndef MAME_CPU_I8085_8085DASM_H +#define MAME_CPU_I8085_8085DASM_H + +#pragma once + +class i8085_disassembler : public util::disasm_interface +{ +public: + i8085_disassembler() = default; + virtual ~i8085_disassembler() = default; + + virtual u32 opcode_alignment() const override; + virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms) override; +}; + +#endif |