Commit Graph

9 Commits

Author SHA1 Message Date
Miodrag Milanovic
1f9d1cd620 change from device->machine() to space.machine() in device handlers in order to make next changes easier (no whatsnew) 2012-09-21 08:25:27 +00:00
Aaron Giles
621ac620ae Since nobody checks for NULLs anyway, make
device_memory_interface::space() assert against NULL and
return a reference, and pushed references throughout all 
address space usage in the system. Added a has_space() 
method to check for those rare case when it is ambiguous.
[Aaron Giles]

Also reinstated the generic space and added fatal error
handlers if anyone tries to actually read/write from it.
2012-09-19 19:48:09 +00:00
Aaron Giles
e33b41ee01 Stop allocating arrays of UINT8s for the tokens, when
we can allocate objects of the real type.
2012-09-18 05:28:33 +00:00
Aaron Giles
cc16777cce Memory handler normalization, part 1.
READ/WRITE_DEVICE*_HANDLERs are now passed an
address_space &, and the 8-bit variants get a mem_mask
as well. This means they are now directly compatible
with the member function delegates. Added a generic
address space to the driver_device that can be used
when no specific address space is available. Also
added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to
declare device callbacks with default mem_mask
parameters. [Aaron Giles]
2012-09-17 07:43:37 +00:00
Aaron Giles
ab97dc30ef First pass at modernizing struct definitions. 2012-09-15 21:47:30 +00:00
Miodrag Milanovic
071eb8de4b Cleanup and some inheritance fixes (no whatsnew) 2012-09-03 15:00:20 +00:00
Miodrag Milanovic
b711b1a007 conversion of legacy devices into modern wip (no whatsnew) 2012-09-03 13:56:17 +00:00
Miodrag Milanovic
5bac802b5f Removed zero sized inline_config (no whatsnew) 2012-08-30 10:06:22 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00