Previous 15994 Revisions Next

r14864 Saturday 7th April, 2012 at 10:33:48 UTC by Miodrag Milanović
Sync with MAME r15893 (nw)
[src/emu]addrmap.h

src/emu/addrmap.h
r14863r14864
520520#define AM_READ16_LEGACY(_handler, _unitmask) \
521521   curentry->set_handler(_handler, #_handler, _unitmask); \
522522
523#define AM_READ32_LEGACY(_handler, _unitmask) \
524   curentry->set_handler(_handler, #_handler, _unitmask); \
525523
526524
527525// legacy space writes
r14863r14864
531529#define AM_WRITE8_LEGACY(_handler, _unitmask) \
532530   curentry->set_handler(_handler, #_handler, _unitmask); \
533531
534#define AM_WRITE16_LEGACY(_handler, _unitmask) \
535   curentry->set_handler(_handler, #_handler, _unitmask); \
536532
537#define AM_WRITE32_LEGACY(_handler, _unitmask) \
538   curentry->set_handler(_handler, #_handler, _unitmask); \
539533
540534
541535// legacy space reads/writes
r14863r14864
559553#define AM_DEVREAD8_LEGACY(_tag, _handler, _unitmask) \
560554   curentry->set_handler(device, _tag, _handler, #_handler, _unitmask); \
561555
562#define AM_DEVREAD16_LEGACY(_tag, _handler, _unitmask) \
563   curentry->set_handler(device, _tag, _handler, #_handler, _unitmask); \
564556
565#define AM_DEVREAD32_LEGACY(_tag, _handler, _unitmask) \
566   curentry->set_handler(device, _tag, _handler, #_handler, _unitmask); \
567557
568558
569559// legacy device writes
r14863r14864
576566#define AM_DEVWRITE16_LEGACY(_tag, _handler, _unitmask) \
577567   curentry->set_handler(device, _tag, _handler, #_handler, _unitmask); \
578568
579#define AM_DEVWRITE32_LEGACY(_tag, _handler, _unitmask) \
580   curentry->set_handler(device, _tag, _handler, #_handler, _unitmask); \
581569
582570
583571// legacy device reads/writes
r14863r14864
774762
775763#define AM_RAM_READ_LEGACY(_read)         AM_READ_LEGACY(_read) AM_WRITEONLY
776764#define AM_RAM_WRITE_LEGACY(_write)         AM_READONLY AM_WRITE_LEGACY(_write)
777#define AM_RAM_DEVREAD_LEGACY(_tag, _read) AM_DEVREAD_LEGACY(_tag, _read) AM_WRITEONLY
778765#define AM_RAM_DEVWRITE_LEGACY(_tag, _write) AM_READONLY AM_DEVWRITE_LEGACY(_tag, _write)
779766   
780767#define AM_BASE_SIZE(_base, _size)         AM_BASE(_base) AM_SIZE(_size)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team