-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
65 changed files
with
3,359 additions
and
1,845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// license:BSD-3-Clause | ||
// copyright-holders:Karl Stenerud | ||
|
||
#include "emu.h" | ||
#include "m68000musashi.h" | ||
#include "m68kdasm.h" | ||
|
||
DEFINE_DEVICE_TYPE(M68000MUSASHI, m68000msh_device, "m68000msh", "Motorola MC68000 (Musashi)") | ||
|
||
std::unique_ptr<util::disasm_interface> m68000msh_device::create_disassembler() | ||
{ | ||
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68010); | ||
} | ||
|
||
|
||
m68000msh_device::m68000msh_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) | ||
: m68000_musashi_device(mconfig, tag, owner, clock, M68000MUSASHI, 16, 24) | ||
{ | ||
} | ||
|
||
void m68000msh_device::device_start() | ||
{ | ||
m68000_musashi_device::device_start(); | ||
init_cpu_m68000(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// license:BSD-3-Clause | ||
// copyright-holders:Karl Stenerud | ||
#ifndef MAME_CPU_M68000_M68000MUSASHI_H | ||
#define MAME_CPU_M68000_M68000MUSASHI_H | ||
|
||
#pragma once | ||
|
||
#include "m68kmusashi.h" | ||
|
||
class m68000msh_device : public m68000_musashi_device | ||
{ | ||
public: | ||
// construction/destruction | ||
m68000msh_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); | ||
|
||
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override; | ||
|
||
virtual u32 execute_min_cycles() const noexcept override { return 4; } | ||
virtual u32 execute_max_cycles() const noexcept override { return 158; } | ||
|
||
// device-level overrides | ||
virtual void device_start() override; | ||
}; | ||
|
||
DECLARE_DEVICE_TYPE(M68000MUSASHI, m68000msh_device) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.