summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i8x41
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/i8x41
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/i8x41')
-rw-r--r--src/emu/cpu/i8x41/i8x41.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/cpu/i8x41/i8x41.h b/src/emu/cpu/i8x41/i8x41.h
index 00fbacb54b6..7e88a5feaf2 100644
--- a/src/emu/cpu/i8x41/i8x41.h
+++ b/src/emu/cpu/i8x41/i8x41.h
@@ -89,6 +89,12 @@ extern CPU_GET_INFO( i8042 );
extern CPU_GET_INFO( i8242 );
extern CPU_GET_INFO( i8742 );
+#define CPU_I8041 CPU_GET_INFO_NAME( i8041 )
+#define CPU_I8741 CPU_GET_INFO_NAME( i8741 )
+#define CPU_I8042 CPU_GET_INFO_NAME( i8042 )
+#define CPU_I8242 CPU_GET_INFO_NAME( i8242 )
+#define CPU_I8742 CPU_GET_INFO_NAME( i8742 )
+
extern CPU_DISASSEMBLE( i8x41 );
#endif /* __I8X41_H__ */