mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
added tms1024 device placeholder
This commit is contained in:
parent
077ff462f1
commit
eb13a4deda
@ -2070,6 +2070,18 @@ if (MACHINES["TMP68301"]~=null) then
|
||||
}
|
||||
end
|
||||
|
||||
---------------------------------------------------
|
||||
--
|
||||
--@src/emu/machine/tms1024.h,MACHINES += TMS1024
|
||||
---------------------------------------------------
|
||||
|
||||
if (MACHINES["TMS1024"]~=null) then
|
||||
files {
|
||||
MAME_DIR .. "src/emu/machine/tms1024.c",
|
||||
MAME_DIR .. "src/emu/machine/tms1024.h",
|
||||
}
|
||||
end
|
||||
|
||||
---------------------------------------------------
|
||||
--
|
||||
--@src/emu/machine/tms5501.h,MACHINES += TMS5501
|
||||
|
@ -557,6 +557,7 @@ MACHINES["STEPPERS"] = true
|
||||
--MACHINES["WOZFDC"] = true
|
||||
--MACHINES["DIABLO_HD"] = true
|
||||
MACHINES["PCI9050"] = true
|
||||
--MACHINES["TMS1024"] = true
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify available bus cores
|
||||
|
@ -556,6 +556,7 @@ MACHINES["STEPPERS"] = true
|
||||
MACHINES["CORVUSHD"] = true
|
||||
MACHINES["WOZFDC"] = true
|
||||
MACHINES["DIABLO_HD"] = true
|
||||
MACHINES["TMS1024"] = true
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify available bus cores
|
||||
|
43
src/emu/machine/tms1024.c
Normal file
43
src/emu/machine/tms1024.c
Normal file
@ -0,0 +1,43 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:hap
|
||||
/**********************************************************************
|
||||
|
||||
Texas Instruments TMS1024, TMS1025 I/O expander emulation
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#include "machine/tms1024.h"
|
||||
|
||||
|
||||
const device_type TMS1024 = &device_creator<tms1024_device>;
|
||||
|
||||
//-------------------------------------------------
|
||||
// tms1024_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
tms1024_device::tms1024_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, TMS1024, "TMS1024", tag, owner, clock, "tms1024", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void tms1024_device::device_start()
|
||||
{
|
||||
// resolve callbacks
|
||||
|
||||
// register for savestates
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void tms1024_device::device_reset()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// handlers
|
52
src/emu/machine/tms1024.h
Normal file
52
src/emu/machine/tms1024.h
Normal file
@ -0,0 +1,52 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:hap
|
||||
/**********************************************************************
|
||||
|
||||
Texas Instruments TMS1024, TMS1025 I/O expander emulation
|
||||
|
||||
**********************************************************************
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef _TMS1024_H_
|
||||
#define _TMS1024_H_
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// INTERFACE CONFIGURATION MACROS
|
||||
//**************************************************************************
|
||||
|
||||
#define MCFG_TMS1024_ADD(_tag) \
|
||||
MCFG_DEVICE_ADD(_tag, TMS1024, 0)
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
//**************************************************************************
|
||||
|
||||
// ======================> tms1024_device
|
||||
|
||||
class tms1024_device : public device_t
|
||||
{
|
||||
public:
|
||||
tms1024_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
// static configuration helpers
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
};
|
||||
|
||||
// device type definition
|
||||
extern const device_type TMS1024;
|
||||
|
||||
|
||||
#endif /* _TMS1024_H_ */
|
@ -91,6 +91,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "includes/hh_tms1k.h"
|
||||
#include "machine/tms1024.h"
|
||||
#include "sound/beep.h"
|
||||
|
||||
// internal artwork
|
||||
|
Loading…
Reference in New Issue
Block a user