mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
![]() 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 |
||
---|---|---|
.. | ||
build | ||
emu | ||
lib | ||
mame | ||
osd | ||
tools | ||
version.c |