mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
![]() Device-side, it only works for modern device. Declare the map with DECLARE_ADDRESS_MAP(name, width). It's a method which can be virtual but not static. In the implementation, define ADDRESS_MAP_MODERN, and define the map starting with DEVICE_ADDRESS_MAP_START(name, width, device_class). Rest is like a normal modern map. To include it in the memory map use: AM_DEVICE( "device tag", devicea_class, name ) Or for device with differing widths: AM_DEVICE8( "device tag", devicea_class, name, unitmask ) AM_DEVICE16( "device tag", devicea_class, name, unitmask ) AM_DEVICE32( "device tag", devicea_class, name, unitmask ) |
||
---|---|---|
artwork | ||
docs | ||
hash | ||
hlsl | ||
src | ||
.gitattributes | ||
makefile |