summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/pdp1
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-17 05:52:10 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-17 05:52:10 +0000
commite2ae5c7fa3248c2d4a204b298b0bf736e8f991f9 (patch)
tree452dd7fa6663ae6c0856a4d186876656f314bcd1 /src/emu/cpu/pdp1
parentab8b93e1d1ced7de5fc96148db3a0eb219d29bd0 (diff)
From: Atari Ace [atari_ace@verizon.net]
Sent: Tuesday, December 16, 2008 12:20 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Migrate CPU defines to cpu header files Hi mamedev, This patch migrates all the CPU definitions into the cpu header files. The #defines and CPU_GET_INFO declarations were added by hand to the cpu cores in the first patch, plus a few partly related fixes to the non-DRC cores. The second patch was produced by the attached script which inserts all needed #includes, except for two that were added by hand in the first patch. The first patch also removed an extra define of N2A03_DEFAULTCLOCK that would have caused problems with the second patch. ~aa
Diffstat (limited to 'src/emu/cpu/pdp1')
-rw-r--r--src/emu/cpu/pdp1/pdp1.h1
-rw-r--r--src/emu/cpu/pdp1/tx0.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/cpu/pdp1/pdp1.h b/src/emu/cpu/pdp1/pdp1.h
index caeb5b6be41..c5557914267 100644
--- a/src/emu/cpu/pdp1/pdp1.h
+++ b/src/emu/cpu/pdp1/pdp1.h
@@ -50,6 +50,7 @@ struct _pdp1_reset_param_t
/* PUBLIC FUNCTIONS */
CPU_GET_INFO( pdp1 );
+#define CPU_PDP1 CPU_GET_INFO_NAME( pdp1 )
#define AND 001
#define IOR 002
diff --git a/src/emu/cpu/pdp1/tx0.h b/src/emu/cpu/pdp1/tx0.h
index 38b6cbe97cb..ee3989cf8ff 100644
--- a/src/emu/cpu/pdp1/tx0.h
+++ b/src/emu/cpu/pdp1/tx0.h
@@ -47,6 +47,9 @@ struct _tx0_reset_param_t
CPU_GET_INFO( tx0_64kw );
CPU_GET_INFO( tx0_8kw );
+#define CPU_TX0_64KW CPU_GET_INFO_NAME( tx0_64kw )
+#define CPU_TX0_8KW CPU_GET_INFO_NAME( tx0_8kw )
+
CPU_DISASSEMBLE( tx0_64kw );
CPU_DISASSEMBLE( tx0_8kw );