tms1k: split part 2, renamed files

This commit is contained in:
hap 2016-03-16 01:26:37 +01:00
parent 4865a87134
commit ce5cb07631
9 changed files with 27 additions and 16 deletions

View File

@ -1842,19 +1842,20 @@ if (CPUS["AVR8"]~=null or _OPTIONS["with-tools"]) then
end
--------------------------------------------------
-- Texas Instruments TMS0980
--@src/devices/cpu/tms0980/tms0980.h,CPUS["TMS0980"] = true
-- Texas Instruments TMS1000 series
--@src/devices/cpu/tms0980/tms1000.h,CPUS["TMS1000"] = true
--------------------------------------------------
if (CPUS["TMS0980"]~=null) then
if (CPUS["TMS1000"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms0980/tms0980.cpp",
MAME_DIR .. "src/devices/cpu/tms0980/tms0980.h",
MAME_DIR .. "src/devices/cpu/tms0980/tms1k_base.cpp",
MAME_DIR .. "src/devices/cpu/tms0980/tms1k_base.h",
MAME_DIR .. "src/devices/cpu/tms0980/tms1000.h",
}
end
if (CPUS["TMS0980"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms0980/tms0980d.cpp")
if (CPUS["TMS1000"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms0980/tms1k_dasm.cpp")
end
--------------------------------------------------

View File

@ -100,7 +100,7 @@ CPUS["SM8500"] = true
CPUS["MINX"] = true
CPUS["SSEM"] = true
CPUS["AVR8"] = true
--CPUS["TMS0980"] = true
--CPUS["TMS1000"] = true
CPUS["I4004"] = true
CPUS["SUPERFX"] = true
CPUS["Z8"] = true

View File

@ -101,7 +101,7 @@ CPUS["SM8500"] = true
CPUS["MINX"] = true
CPUS["SSEM"] = true
CPUS["AVR8"] = true
CPUS["TMS0980"] = true
CPUS["TMS1000"] = true
CPUS["I4004"] = true
CPUS["SUPERFX"] = true
CPUS["Z8"] = true

View File

@ -0,0 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Wilbert Pol, hap
#ifndef _TMS1000_H_
#define _TMS1000_H_
#include "tms1k_base.h"
#endif /* _TMS1000_H_ */

View File

@ -66,7 +66,7 @@ unknown cycle: CME, SSE, SSS
*/
#include "tms0980.h"
#include "tms1k_base.h"
#include "debugger.h"
// supported types:

View File

@ -6,8 +6,8 @@
*/
#ifndef _TMS0980_H_
#define _TMS0980_H_
#ifndef _TMS1KBASE_H_
#define _TMS1KBASE_H_
#include "emu.h"
#include "machine/pla.h"
@ -574,4 +574,4 @@ extern const device_type TMS0270;
extern const device_type TP0320;
#endif /* _TMS0980_H_ */
#endif /* _TMS1KBASE_H_ */

View File

@ -8,7 +8,7 @@
#include "emu.h"
#include "debugger.h"
#include "tms0980.h"
#include "tms1k_base.h"
enum e_mnemonics

View File

@ -17,7 +17,7 @@ of the games were clocked at around 500KHz, 550KHz, or 300KHz.
#include "emu.h"
#include "cpu/mcs48/mcs48.h"
#include "cpu/tms0980/tms0980.h"
#include "cpu/tms0980/tms1000.h"
#include "sound/dac.h"
#include "rendlay.h"

View File

@ -11,7 +11,7 @@
#include "emu.h"
#include "cpu/tms0980/tms0980.h"
#include "cpu/tms0980/tms1000.h"
#include "sound/speaker.h"