Commit Graph

23783 Commits

Author SHA1 Message Date
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
Wilbert Pol
4719b9707a cubeqcpu.c: Modernized cpu cores. (nw) 2013-07-24 17:12:50 +00:00
Oliver Stöneberg
f89a42edc3 removed legacy trampoline generic_pulse_irq_line_and_vector() (nw) 2013-07-24 13:59:57 +00:00
Oliver Stöneberg
319f5dc012 removed some legacy interrupt trampolines (nw) 2013-07-24 13:20:19 +00:00
Curt Coder
68e33427df (MESS) Emulated the SSE HardBox, a Corvus interface for PET [Mike Naberezny] 2013-07-24 13:11:13 +00:00
Oliver Stöneberg
08dbb3ccfb fixed comment in src/emu/dimemory.c (nw) 2013-07-24 12:41:49 +00:00
Alex W. Jackson
0374758271 Make modernized i86 core endian-safe again (Alex Jackson) 2013-07-24 08:01:05 +00:00
Ville Linde
76aac07c72 tms32082: more disasm fixes (nw) 2013-07-23 23:46:06 +00:00
Angelo Salese
538fa484db Notes for Phil and fixed Cross Shooter sound regression, not going to touch it further 2013-07-23 22:29:08 +00:00
Angelo Salese
13f03740d2 Fix compile and improved sound comms in Street Fight 2013-07-23 21:30:11 +00:00
smf-
df5d33d4bd don't use ROM_COPY with overlapping memory. ROM_CONTINUE would probably be more appropriate, but this produces identical results as the old code. (nw) 2013-07-23 20:11:00 +00:00
Brian Troha
ae8da1b92e iteagle.c: Documentation update. - NW 2013-07-23 18:34:50 +00:00
Ville Linde
7808aabecc tms32082: improved vector op disasm (nw) 2013-07-23 17:21:53 +00:00
Michaël Banaan Ananas
ef9c2dc739 hmm, i was expecting a header for sample offsets somewhere but didn't find it 2013-07-23 17:09:49 +00:00
Aaron Giles
23288a5d4c Convert atarimo to a device. Still a bunch more cleanup/improvements to
do; this is pretty much a direct port of the existing functionality,
built on top of the sprite_device.
2013-07-23 16:41:53 +00:00
Michaël Banaan Ananas
d2e22b1b74 nw 2013-07-23 16:37:32 +00:00
Michaël Banaan Ananas
5374050a97 fix hippo assert 2013-07-23 16:25:26 +00:00
Michaël Banaan Ananas
4c17cf1831 better this way than specifying our own size 2013-07-23 15:37:06 +00:00
Ville Linde
b592596476 tms32082: another bunch of stuff (nw) 2013-07-23 15:20:27 +00:00
Oliver Stöneberg
f857f2576c added assert to src/mame/machine/dec0.c to indicate array out-of-bounds access (nw) 2013-07-23 15:16:23 +00:00
Oliver Stöneberg
746daf078c fixed array out-of-bounds access in src/mame/machine/stfight.c (nw) 2013-07-23 14:48:19 +00:00
Oliver Stöneberg
77d84b25ef added missing aakart_device in aristmk5_usa machine config (nw) 2013-07-23 10:04:47 +00:00
Oliver Stöneberg
66e0c19655 fixed array out-of-bounds access in bfm_sc2_state::e2ram_init() (nw) 2013-07-23 09:57:55 +00:00
Miodrag Milanovic
14629cbcb4 Cleanups and version bump 2013-07-23 07:18:56 +00:00
David Haywood
d3f32a1ba7 fix save states (nw) 2013-07-23 03:31:23 +00:00
David Haywood
8eea632bd7 fix ume validation (nw) 2013-07-23 02:37:53 +00:00
Brian Troha
9d29da1533 psikyo.c: Spelling correction - NW 2013-07-23 02:28:46 +00:00
Brian Troha
457db24892 psikyo.c: Add dipswitch locations to all sets in the driver. Filled in some unknown dipswitches from Battle K-Road. Moved Region settings into Game Configuration menu. Added a note about the Free Play mode in the Strikers 1945 sets not working. [Brian Troha] 2013-07-23 02:23:21 +00:00
Scott Stone
d39725b2f1 Modernized Exidy 440 CVSD audio device. [Osso] 2013-07-23 02:22:37 +00:00
Scott Stone
68a838669d Modernized TX1 custom sound device. [Osso] 2013-07-23 02:15:20 +00:00
Scott Stone
8e4b11a87e Modernized hc55516 sound chip. [Osso] 2013-07-23 02:05:54 +00:00
Oliver Stöneberg
94c417325e some whitespace change to src/emu/sound/discrete.h (nw) 2013-07-22 23:52:02 +00:00
Oliver Stöneberg
d96fb716aa fixed number of active inputs in several discrete macros / added missing node in DISCRETE_INVERTER_OSC (nw) 2013-07-22 23:51:36 +00:00
Michaël Banaan Ananas
1669119997 fix array out of bounds? 2013-07-22 23:04:12 +00:00
David Haywood
4f94436201 missed this (nw) 2013-07-22 21:31:10 +00:00
Michaël Banaan Ananas
9130356683 fix array out of bounds access in ejsakura 2013-07-22 21:07:35 +00:00
Michaël Banaan Ananas
94070bdfd4 i had to simplify fm code while i was trying to understand the "Acc" bit, but didn't get much out of that and scrapped it. On the plus side, the refactor did fix a couple of small bugs with feedback/modulation. 2013-07-22 21:02:53 +00:00
David Haywood
eb69cb006e change this note a bit (nw) 2013-07-22 20:52:05 +00:00
Oliver Stöneberg
c8a6f1d9c6 added assert in src/mame/video/system1.c (nw) 2013-07-22 20:29:07 +00:00
David Haywood
d3f7ff6bf4 dragngun - some findings about the dvi playback, also stopped the hang when killing the last boss (nw) 2013-07-22 20:27:42 +00:00
Scott Stone
b465f20f89 Modernized the namco sound device. [Osso] 2013-07-22 19:38:25 +00:00
Phil Bennett
315cdded93 Fixed OPLx key scale level order [Alexey, Phil Bennett] 2013-07-22 17:49:24 +00:00
Curt Coder
0f6af58847 (MESS) softbox: Added reset when IEEE-488 IFC is asserted. [Mike Naberezny] 2013-07-22 16:20:42 +00:00
Brian Troha
4eec337c70 dblewing.c: Remove outdated comment - NW 2013-07-22 16:14:36 +00:00
Michael Zapf
0bf36324de Doing the dummy read immediately on reset. 2013-07-22 16:13:51 +00:00
Brian Troha
bc3895fa74 thepit.c: David figured out the Cabinet dipswitch so change the comment - NW 2013-07-22 15:51:13 +00:00
Michael Zapf
b2b37dd45a (MESS) ti99/8: Removed address masking. (nw) 2013-07-22 15:25:07 +00:00
David Haywood
8ad9a7256f fix one or two input bits (nw) 2013-07-22 14:52:47 +00:00
Miodrag Milanovic
5a278d9382 m68k : fixed handling of double fault, not sure if this is proper or some other trap should be generated (nw) 2013-07-22 14:38:16 +00:00
Angelo Salese
f2f1f74d6d Little note regarding dreambal, nw 2013-07-22 14:18:05 +00:00