Commit Graph

9 Commits

Author SHA1 Message Date
Curt Coder
abbfd858ea Replaced all device_t's with actual device classes. Regression test recommended. (nw) 2012-11-26 16:04:41 +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
Miodrag Milanovic
a1b116c06f INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER for MESS part (no whatsnew) 2012-09-18 14:45:06 +00:00
Miodrag Milanovic
5ddbca3e7a Modernized screen update calls (no whatsnew) 2012-09-17 15:00:31 +00:00
Aaron Giles
3cce7e019e Memory handler normalization, part 2. Change legacy
read/write handlers to take an address_space & instead
of an address_space *. Also update pretty much all other
functions to take a reference where appropriate.
[Aaron Giles]
2012-09-17 08:22:16 +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
Miodrag Milanovic
219e664785 Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew) 2012-09-13 11:15:32 +00:00
Aaron Giles
17e66e39fd Clear out remaining global inlines in diexec.h. 2012-09-12 06:07:51 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00