mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
upd7810: move near empty upd7811 file to upd7810
This commit is contained in:
parent
2d775aaee8
commit
0732db9d07
@ -2240,8 +2240,6 @@ if CPUS["UPD7810"] then
|
||||
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_opcodes.cpp",
|
||||
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_table.cpp",
|
||||
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_macros.h",
|
||||
MAME_DIR .. "src/devices/cpu/upd7810/upd7811.cpp",
|
||||
MAME_DIR .. "src/devices/cpu/upd7810/upd7811.h",
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -376,6 +376,8 @@ STOP 01001000 10111011 12 stop
|
||||
|
||||
DEFINE_DEVICE_TYPE(UPD7810, upd7810_device, "upd7810", "NEC uPD7810")
|
||||
DEFINE_DEVICE_TYPE(UPD78C10, upd78c10_device, "upd78c10", "NEC uPD78C10")
|
||||
DEFINE_DEVICE_TYPE(UPD7811, upd7811_device, "upd7811", "NEC uPD7811")
|
||||
DEFINE_DEVICE_TYPE(UPD78C11, upd78c11_device, "upd78c11", "NEC uPD78C11")
|
||||
DEFINE_DEVICE_TYPE(UPD7807, upd7807_device, "upd7807", "NEC uPD7807")
|
||||
DEFINE_DEVICE_TYPE(UPD7801, upd7801_device, "upd7801", "NEC uPD7801")
|
||||
DEFINE_DEVICE_TYPE(UPD78C05, upd78c05_device, "upd78c05", "NEC uPD78C05")
|
||||
@ -462,6 +464,16 @@ upd78c10_device::upd78c10_device(const machine_config &mconfig, const char *tag,
|
||||
{
|
||||
}
|
||||
|
||||
upd7811_device::upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: upd7810_device(mconfig, UPD7811, tag, owner, clock, address_map_constructor(FUNC(upd7811_device::upd_internal_4096_rom_256_ram_map), this))
|
||||
{
|
||||
}
|
||||
|
||||
upd78c11_device::upd78c11_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: upd78c10_device(mconfig, UPD78C11, tag, owner, clock, address_map_constructor(FUNC(upd78c11_device::upd_internal_4096_rom_256_ram_map), this))
|
||||
{
|
||||
}
|
||||
|
||||
void upd7807_device::configure_ops()
|
||||
{
|
||||
m_opXX = s_opXX_7807;
|
||||
|
@ -1367,6 +1367,22 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
class upd7811_device : public upd7810_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
};
|
||||
|
||||
|
||||
class upd78c11_device : public upd78c10_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
upd78c11_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
};
|
||||
|
||||
|
||||
class upd7807_device : public upd7810_device
|
||||
{
|
||||
public:
|
||||
@ -1428,6 +1444,8 @@ public:
|
||||
|
||||
DECLARE_DEVICE_TYPE(UPD7810, upd7810_device)
|
||||
DECLARE_DEVICE_TYPE(UPD78C10, upd78c10_device)
|
||||
DECLARE_DEVICE_TYPE(UPD7811, upd7811_device)
|
||||
DECLARE_DEVICE_TYPE(UPD78C11, upd78c11_device)
|
||||
DECLARE_DEVICE_TYPE(UPD7807, upd7807_device)
|
||||
DECLARE_DEVICE_TYPE(UPD7801, upd7801_device)
|
||||
DECLARE_DEVICE_TYPE(UPD78C05, upd78c05_device)
|
||||
|
@ -1,37 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Juergen Buchmueller
|
||||
|
||||
/*
|
||||
|
||||
uPD7811 - variant of uPD7810 with internal ROM
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "upd7811.h"
|
||||
|
||||
/*
|
||||
the MODE pins can cause this to work with external ROM instead
|
||||
todo: document MODE pins
|
||||
|
||||
M0 M1
|
||||
|
||||
0 0 -
|
||||
0 1 -
|
||||
1 0 -
|
||||
1 1 -
|
||||
|
||||
*/
|
||||
|
||||
DEFINE_DEVICE_TYPE(UPD7811, upd7811_device, "upd7811", "NEC uPD7811")
|
||||
DEFINE_DEVICE_TYPE(UPD78C11, upd78c11_device, "upd78c11", "NEC uPD78C11")
|
||||
|
||||
upd7811_device::upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: upd7810_device(mconfig, UPD7811, tag, owner, clock, address_map_constructor(FUNC(upd7811_device::upd_internal_4096_rom_256_ram_map), this))
|
||||
{
|
||||
}
|
||||
|
||||
upd78c11_device::upd78c11_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: upd78c10_device(mconfig, UPD78C11, tag, owner, clock, address_map_constructor(FUNC(upd78c11_device::upd_internal_4096_rom_256_ram_map), this))
|
||||
{
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Juergen Buchmueller
|
||||
|
||||
#ifndef MAME_CPU_UPD7810_UPD7811_H
|
||||
#define MAME_CPU_UPD7810_UPD7811_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "upd7810.h"
|
||||
|
||||
DECLARE_DEVICE_TYPE(UPD7811, upd7811_device)
|
||||
DECLARE_DEVICE_TYPE(UPD78C11, upd78c11_device)
|
||||
|
||||
class upd7811_device : public upd7810_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
};
|
||||
|
||||
class upd78c11_device : public upd78c10_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
upd78c11_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
};
|
||||
|
||||
#endif // MAME_CPU_UPD7810_UPD7811_H
|
@ -37,7 +37,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "machine/pit8253.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/i8279.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "emu.h"
|
||||
//#include "bus/midi/midi.h"
|
||||
#include "cpu/upd78k/upd78k3.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/pit8253.h"
|
||||
//#include "screen.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "emu.h"
|
||||
//#include "bus/midi/midi.h"
|
||||
#include "cpu/i86/i186.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "bus/midi/midiinport.h"
|
||||
#include "bus/midi/midioutport.h"
|
||||
#include "cpu/mcs48/mcs48.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/input_merger.h"
|
||||
#include "machine/msm6200.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "ra3.h"
|
||||
#include "bus/midi/midiinport.h"
|
||||
#include "bus/midi/midioutport.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "sound/upd933.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "bus/midi/midiinport.h"
|
||||
#include "bus/midi/midioutport.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "imagedev/cassette.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "cpu/mcs48/mcs48.h"
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "emu.h"
|
||||
#include "bus/midi/midiinport.h"
|
||||
#include "bus/midi/midioutport.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "formats/trs_cas.h"
|
||||
#include "imagedev/cassette.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -42,7 +42,7 @@ BTANB:
|
||||
|
||||
#include "bus/generic/carts.h"
|
||||
#include "bus/generic/slot.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "sound/spkrdev.h"
|
||||
#include "video/sed1520.h"
|
||||
|
||||
|
@ -11729,7 +11729,7 @@ SYST( 1990, tgoldnaxe, 0, 0, tgoldnaxe, tgoldnaxe, tgold
|
||||
SYST( 1990, trobocop2, 0, 0, trobocop2, trobocop2, trobocop2_state, empty_init, "Tiger Electronics", "Robocop 2 (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1990, taltbeast, 0, 0, taltbeast, taltbeast, taltbeast_state, empty_init, "Tiger Electronics", "Altered Beast (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1991, tmegaman3, 0, 0, tmegaman3, tmegaman3, tmegaman3_state, empty_init, "Tiger Electronics", "Mega Man 3 (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1990, tsf2010, 0, 0, tsf2010, tsf2010, tsf2010_state, empty_init, "Tiger Electronics", "Street Fighter 2010: The Final Fight (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1991, tsf2010, 0, 0, tsf2010, tsf2010, tsf2010_state, empty_init, "Tiger Electronics", "Street Fighter 2010: The Final Fight (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1991, tswampt, 0, 0, tswampt, tswampt, tswampt_state, empty_init, "Tiger Electronics", "Swamp Thing (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1991, tspidman, 0, 0, tspidman, tspidman, tspidman_state, empty_init, "Tiger Electronics", "Spider-Man (Tiger, 1991 version)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
SYST( 1991, txmen, 0, 0, txmen, txmen, txmen_state, empty_init, "Tiger Electronics", "X-Men (Tiger)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
|
||||
|
@ -47,7 +47,7 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "video/mc6845.h"
|
||||
#include "video/ramdac.h"
|
||||
|
@ -105,7 +105,7 @@ This chip *ALWAYS* has a bypass capacitor (ceramic, 104, 0.10 uF) soldered on to
|
||||
#include "emu.h"
|
||||
#include "taitocchip.h"
|
||||
|
||||
#include "cpu/upd7810/upd7811.h"
|
||||
#include "cpu/upd7810/upd7810.h"
|
||||
|
||||
//#define VERBOSE 1
|
||||
#include "logmacro.h"
|
||||
|
Loading…
Reference in New Issue
Block a user