mame/src
Aaron Giles e70d4b0a85 (Modified to allow for overwrites of RAM ranges only.)
From: Atari Ace [mailto:atari_ace@verizon.net] 
Subject: [patch] Stricter ADDRESS_MAP checks

Hi mamedev,

The current implementation of address maps is lacking some useful
checks of the initial tokens.  In particular, it doesn't validate that
a particular entry doesn't try to define the same handler multiple
times.

The attached patch adds this and some other validations as fatalerrors
in address_map_detokenize, and fixes the affected maps.  The errors
generally fall into the following categories.

1.  AM_RAM AM_WRITE(...).  Should have been AM_RAM_WRITE(...)
2.  AM_RAM AM_READWRITE(...).  The AM_RAM is a NOP.
3.  AM_RAM AM_RAMBANK(...).  The AM_RAM is a NOP.
4.  AM_ROM AM_ROMBANK(...).  The AM_ROM is a NOP.
5.  AM_ROM AM_READ(...).  The AM_ROM is a NOP.

One peculiar error was in equites.c, where there were two AM_BASE
entries.

~aa
2008-07-29 17:08:43 +00:00
..
build From: Atari Ace [mailto:atari_ace@verizon.net] 2008-06-26 15:27:12 +00:00
emu (Modified to allow for overwrites of RAM ranges only.) 2008-07-29 17:08:43 +00:00
lib From: Atari Ace [mailto:atari_ace@verizon.net] 2008-07-24 06:26:47 +00:00
mame (Modified to allow for overwrites of RAM ranges only.) 2008-07-29 17:08:43 +00:00
osd Region classes go bye-bye. 2008-07-28 16:22:20 +00:00
tools Added logic to parse out the white flag. 2008-07-16 14:25:14 +00:00
version.c Cleanups and version bump. 2008-07-24 09:07:49 +00:00