Go to file
Aaron Giles ecfbeb7fd0 Created a base class delegate_common_base for all delegate
types. Created a binding_type_exception which is thrown when
a bind attempt fails due to mismatched types.

Added helper templates to driver_device to wrap legacy
device read/write handlers into driver_device member functions.
This should help move some things forward until more common
code is converted into proper devices.

Introduce new module devcb2 which contains modernized
versions of devcb. Compared to previous implementation
this one is simpler overall, trampolining calls through
a single internal set of adapter functions. The new
versions are also designed to be specified in the
machine_config rather than in structures, so they are
no longer simple POD types. Additional new/changed
features:

 * reads and writes can map to delegates for line or 8/16/32/64-bit
 * reads and writes can map to an I/O port
 * reads can be mapped to a constant value, with or without logging
 * writes can be mapped to a device's input line
 * all reads/writes can have a shift, mask, and/or xor applied
 * devices can opt to make the functions safe-if-NULL when resolving
 * only member function types are supported

Rewrote the YM2151 interface to be fully modernized, and
removed the ym2151_interface struct in favor of inline configs
using the new devcb2 mechanism. In many cases, removed
no longer needed trampolines, instead taking advantage of
direct support for input line writes.
2012-10-14 06:28:35 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs Updated DOCS config.txt and windows.txt with recent commands that were never added to documentation as well as some clarifications. [Tafoid] 2012-09-16 02:49:18 +00:00
hash minor fixes from ReadOnly. nw. 2012-10-13 19:53:17 +00:00
hlsl HLSL "Hurricain't Keep A Good Dev Down" Bugfix Extravaganza: [Ryan Holtz, Bat 2011-08-28 09:10:53 +00:00
keymaps Added Swedish/Finnish SDL keymaps for OSX and Linux. [Curt Coder] 2012-08-29 18:41:01 +00:00
src Created a base class delegate_common_base for all delegate 2012-10-14 06:28:35 +00:00
.gitattributes Created a base class delegate_common_base for all delegate 2012-10-14 06:28:35 +00:00
makefile Fix to make "make depend" work if on empty obj tree (no whatsnew) 2012-09-08 13:58:11 +00:00