Commit Graph

16 Commits

Author SHA1 Message Date
Curt Coder
76fafcda03 (MESS) coleco: Set cleanup. (nw) 2014-03-13 19:55:27 +00:00
smf-
6c5750e667 Converted SN76496 ready to DEVCB2 [smf] 2014-02-11 15:40:52 +00:00
Michaël Banaan Ananas
fa502fcfbd was going to do some coleco stuff, but changed my mind 2014-01-20 10:54:25 +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
adb8846f1f (MESS) coleco: added missing input-related variables to save states, which should now work. [Fabio Priuli] 2013-05-26 10:08:52 +00:00
Miodrag Milanovic
bd4514adde Removal of machine().root_device() where appropriate (nw) 2013-04-14 10:46:03 +00:00
R. Belmont
b151e90f28 (MESS) ColecoVision: controller has a * key, not a . key [Nick3092] 2013-02-18 20:15:20 +00:00
Wilbert Pol
400b9bcc29 Started moving DEVICE_IMAGE_ functions into driver_device classes. (nw) 2013-02-05 20:54:03 +00:00
smf-
1940866c70 output of new srcclean changes that are relatively small [smf] 2013-01-11 19:43:14 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Miodrag Milanovic
e52d60b7f8 Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew) 2012-10-03 09:27:22 +00:00
Miodrag Milanovic
d5169298b6 Removed _new from name of modern device (no whatsnew) 2012-10-02 07:24:11 +00:00
Miodrag Milanovic
6c40f0f292 TIMER_CALLBACK_DEVICE_MEMBER modernization part 1 (no whatsnew) 2012-09-25 13:39:59 +00:00
Miodrag Milanovic
3679f744c2 modernization or timer callbacks part 2 (no whatsnew) 2012-09-24 14:43:01 +00:00
Scott Stone
d01ca81899 (MESS) Continuing new device implementation for SN76496 and clones - apricot.c, apricotp.c, coleco.c, m5.c, mz700.c, pc.c, pv2000.c, rx78.c, sms.c, tutor.c [Osso] 2012-08-29 18:04:27 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00