Go to file
Olivier Galibert abc59bb3f8 addrmap: Allow adding device-sourced memory maps in the main map. [O. Galibert]
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 )
2011-07-05 04:41:06 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs Adding hlsl.txt to /docs 2011-05-23 21:37:34 +00:00
hash Fixed Final Arch and Sando-R multi cart support [Angelo Salese] 2011-05-24 15:41:00 +00:00
hlsl HLSL Cleanup, no whatsnew: 2011-06-11 23:46:24 +00:00
src addrmap: Allow adding device-sourced memory maps in the main map. [O. Galibert] 2011-07-05 04:41:06 +00:00
.gitattributes Added default screenless layout, and update pinball devices to relay on that one (no whatsnew) 2011-07-04 13:22:08 +00:00
makefile Added byuu's cothread library, along with a wrapper class. Switched to 2011-06-25 07:03:07 +00:00