mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
Added Toshiba TLCS-900/H cpu core.
This commit is contained in:
parent
415360fc4a
commit
4f2a65da42
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -380,6 +380,10 @@ src/emu/cpu/t11/t11ops.c svneol=native#text/plain
|
||||
src/emu/cpu/t11/t11table.c svneol=native#text/plain
|
||||
src/emu/cpu/tlcs90/tlcs90.c svneol=native#text/plain
|
||||
src/emu/cpu/tlcs90/tlcs90.h svneol=native#text/plain
|
||||
src/emu/cpu/tlcs900/900tbl.c svneol=native#text/plain
|
||||
src/emu/cpu/tlcs900/dasm900.c svneol=native#text/plain
|
||||
src/emu/cpu/tlcs900/tlcs900.c svneol=native#text/plain
|
||||
src/emu/cpu/tlcs900/tlcs900.h svneol=native#text/plain
|
||||
src/emu/cpu/tms32010/32010dsm.c svneol=native#text/plain
|
||||
src/emu/cpu/tms32010/dis32010.c svneol=native#text/plain
|
||||
src/emu/cpu/tms32010/tms32010.c svneol=native#text/plain
|
||||
|
@ -1420,6 +1420,24 @@ $(CPUOBJ)/tlcs90/tlcs90.o: $(CPUSRC)/tlcs90/tlcs90.c \
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# Toshiba TLCS-900 Series
|
||||
#-------------------------------------------------
|
||||
|
||||
ifneq ($(filter TLCS900,$(CPUS)),)
|
||||
OBJDIRS += $(CPUOBJ)/tlcs900
|
||||
CPUOBJS += $(CPUOBJ)/tlcs900/tlcs900.o
|
||||
DBGOBJS += $(CPUOBJ)/tlcs900/dasm900.o
|
||||
endif
|
||||
|
||||
$(CPUOBJ)/tlcs900/tlcs900.o: $(CPUSRC)/tlcs900/tlcs900.c \
|
||||
$(CPUSRC)/tlcs900/900tbl.c \
|
||||
$(CPUSRC)/tlcs900/tlcs900.h
|
||||
|
||||
$(CPUOBJ)/tlcs900/dasm900.o: $(CPUSRC)/tlcs900/dasm900.c
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# Zilog Z80
|
||||
#-------------------------------------------------
|
||||
|
6022
src/emu/cpu/tlcs900/900tbl.c
Normal file
6022
src/emu/cpu/tlcs900/900tbl.c
Normal file
File diff suppressed because it is too large
Load Diff
2246
src/emu/cpu/tlcs900/dasm900.c
Normal file
2246
src/emu/cpu/tlcs900/dasm900.c
Normal file
File diff suppressed because it is too large
Load Diff
1209
src/emu/cpu/tlcs900/tlcs900.c
Normal file
1209
src/emu/cpu/tlcs900/tlcs900.c
Normal file
File diff suppressed because it is too large
Load Diff
49
src/emu/cpu/tlcs900/tlcs900.h
Normal file
49
src/emu/cpu/tlcs900/tlcs900.h
Normal file
@ -0,0 +1,49 @@
|
||||
#ifndef __TLCS900_H__
|
||||
#define __TLCS900_H__
|
||||
|
||||
#include "cpuintrf.h"
|
||||
#include "devcb.h"
|
||||
|
||||
|
||||
enum tlcs900_inputs
|
||||
{
|
||||
TLCS900_NMI=0,
|
||||
TLCS900_INTWD,
|
||||
TLCS900_INT0,
|
||||
TLCS900_INTAD,
|
||||
TLCS900_INT4,
|
||||
TLCS900_INT5,
|
||||
TLCS900_TIO,
|
||||
TLCS900_NUM_INPUTS
|
||||
};
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
TLCS900_PC=1, TLCS900_SR,
|
||||
TLCS900_XWA0, TLCS900_XBC0, TLCS900_XDE0, TLCS900_XHL0,
|
||||
TLCS900_XWA1, TLCS900_XBC1, TLCS900_XDE1, TLCS900_XHL1,
|
||||
TLCS900_XWA2, TLCS900_XBC2, TLCS900_XDE2, TLCS900_XHL2,
|
||||
TLCS900_XWA3, TLCS900_XBC3, TLCS900_XDE3, TLCS900_XHL3,
|
||||
TLCS900_XIX, TLCS900_XIY, TLCS900_XIZ, TLCS900_XNSP, TLCS900_XSSP,
|
||||
TLCS900_DMAS0, TLCS900_DMAS1, TLCS900_DMAS2, TLCS900_DMAS3,
|
||||
TLCS900_DMAD0, TLCS900_DMAD1, TLCS900_DMAD2, TLCS900_DMAD3,
|
||||
TLCS900_DMAC0, TLCS900_DMAC1, TLCS900_DMAC2, TLCS900_DMAC3,
|
||||
TLCS900_DMAM0, TLCS900_DMAM1, TLCS900_DMAM2, TLCS900_DMAM3
|
||||
};
|
||||
|
||||
|
||||
typedef struct _tlcs900_interface tlcs900_interface;
|
||||
struct _tlcs900_interface
|
||||
{
|
||||
devcb_write8 to1;
|
||||
devcb_write8 to3;
|
||||
};
|
||||
|
||||
|
||||
extern CPU_GET_INFO( tlcs900h );
|
||||
#define CPU_TLCS900H CPU_GET_INFO_NAME( tlcs900h )
|
||||
|
||||
extern CPU_DISASSEMBLE( tlcs900 );
|
||||
|
||||
#endif
|
@ -94,6 +94,7 @@ CPUS += ALPHA8201
|
||||
CPUS += CDP1802
|
||||
CPUS += COP400
|
||||
CPUS += TLCS90
|
||||
CPUS += TLCS900
|
||||
CPUS += MB88XX
|
||||
CPUS += MB86233
|
||||
CPUS += SSP1601
|
||||
|
Loading…
Reference in New Issue
Block a user