summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/norautp.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-08-01 21:04:03 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-08-01 21:04:03 +0000
commitfe47da274ec3305f787cc8fbd6c23cb868a18551 (patch)
treec1cb1ca69ae2090ca090f3ef6e62b9aaf60ae3aa /src/mame/drivers/norautp.c
parentfdf30b568e7addcf355c557b446f9c55d0a04f1e (diff)
Return to type safety. Changed address maps back into functions that build
up the definition, rather than the whole tokenizing system, which lost type checking. Added a new module addrmap.c which implements the address map classes, and changed the macros to call methods on the address_map and address_map_entry classes which are strongly typed. Fixed a few incorrectly specified memory map entries along the way. Please double-check to make sure the behavior is expected in: twincobr.c, lordgun.c, galaxold.c. This change also means that since the address_maps are now constructor functions, they are detected when not used, so a number of #ifdef UNUSED_CODE were added around dangling address map definitions. Also included with this change: - removed cputag_clocks_to_attotime() and cputag_attotime_to_clocks() in favor of just expanding the class - same for cputag_suspend() and cputag_resume()
Diffstat (limited to 'src/mame/drivers/norautp.c')
-rw-r--r--src/mame/drivers/norautp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/norautp.c b/src/mame/drivers/norautp.c
index daf9b959f7e..f4e54e05870 100644
--- a/src/mame/drivers/norautp.c
+++ b/src/mame/drivers/norautp.c
@@ -859,9 +859,11 @@ static ADDRESS_MAP_START( kimble_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0xc800, 0xc9ff) AM_RAM /* working RAM? */
ADDRESS_MAP_END
+#ifdef UNUSED_CODE
static ADDRESS_MAP_START( norautxp_portmap, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
ADDRESS_MAP_END
+#endif
/*********** 8080 based **********/