Commit Graph

15 Commits

Author SHA1 Message Date
Miodrag Milanovic
fec65e0b57 Cleanups and version bump 2014-04-07 06:04:18 +00:00
Miodrag Milanovic
d2fd2856a7 Moved optional_device<screen_device> m_screen and optional_device<palette_device> m_palette out of driver.* (nw) 2014-03-05 13:29:22 +00:00
Miodrag Milanovic
64ac8f6776 Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
2014-02-27 13:35:15 +00:00
Aaron Giles
25a100d773 Created new device_video_interface. Right now its sole purpose is to
house a screen tag and to find the screen at startup, providing an m_screen
object that can be used. One nice feature is that if there is only one
screen and no screen has been specified, it will auto configure to that
screen. This removes the need to explicitly specify a screen in the
configuration for a large chunk of drivers (though doing so never hurts).
A new macro MCFG_VIDEO_SET_SCREEN is provided, though devices are 
encouraged to define their own that maps there so it is obvious which
device is being targeted. The device_video_interface's validation
function will error if an invalid screen is specified or if no screen
is provided but there are multiple screens present.

Updated all devices that currently had an m_screen in them to use the
device_video_interface instead. This also has the nice benefit of flagging
video-related devices for categorization purposes. It also means all
these devices inherit the same screen-finding behaviors. For devices
that had interfaces that specified a screen tag, those have been removed
and all existing structs updated.

Added an optional_device<screen_device> m_screen to the base driver_device.
If you name your screen "screen" (as most drivers do), you will have free
access to your screen this way.

Future updates include:
* Updating all devices referencing machine.primary_screen to use the
device_video_interface instead
* Updating all drivers referencing machine.primary_screen to use the
m_screen instead
* Removing machine.primary_screen entirely
2013-07-24 19:20:59 +00:00
Fabio Priuli
0a3efaf541 modernized speaker device. [Fabio Priuli] 2013-06-04 07:57:44 +00:00
Andrew Gardner
df8ca739fb MESS anonymous timers this time. (nw) 2013-05-23 04:38:53 +00:00
Miodrag Milanovic
5d8cdfb2e5 (MESS) cassette cleanup (nw) 2013-04-17 08:30:36 +00:00
Miodrag Milanovic
82681f1bb1 speaker tag lookup removal, also no need to use universal tag, since easier now to follow (nw) 2013-04-12 12:29:10 +00:00
Miodrag Milanovic
d68164b4c1 unified formating of state class constructors, no functional change (nw) 2013-04-10 08:08:19 +00:00
Wilbert Pol
9e11d7aa10 (MESS) zx.c: tagmap cleanups 2013-01-26 15:44:48 +00:00
Miodrag Milanovic
3679f744c2 modernization or timer callbacks part 2 (no whatsnew) 2012-09-24 14:43:01 +00:00
Miodrag Milanovic
2a06847d59 manual cleanup of mame and mess includes (no whatsnew) 2012-09-18 07:33:27 +00:00
Miodrag Milanovic
5ddbca3e7a Modernized screen update calls (no whatsnew) 2012-09-17 15:00:31 +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
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00