Go to file
Alex W. Jackson ae27a1935b ioport_array_finder: [Alex Jackson]
Clean build probably needed since this touches a core header file.

ioport_array_finder is a new device finder template for finding,
unsurprisingly, an array of ioports. It is mainly intended to
help handle multiplexed ioports without runtime tagmap lookups
in a more elegant way than was previously possible.

It is similar in principle to shared_ptr_array_finder; however,
rather than passing a single tag that gets automatically decorated
with numeric suffixes, you need to pass an array of tags (this is so
ioports can continue to have human-meaningful tags rather than the
tags being forced by how the hardware multiplexing happens to work).

Because C++ doesn't have array literals, and because most driver
state class constructors are defined in header files, the semantics
are a little different from other device finders (and possibly
awkward/suboptimal, this is the best I could think of). You have to
declare the array of tags as a static class member and define it
somewhere in a source file (defining it near the function that
actually reads the multiplexed ports seems like the most logical
place to me).

Updated bladestl.c to use ioport_array_finder; will wait for Micko to
pass judgement on the semantics before updating more drivers.
2014-04-22 08:05:17 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs Updated hlsl.txt to mirror fact that some commands are no longer valid (nw) 2014-03-22 09:56:40 +00:00
hash (MESS) pet_flop.xml: Replaced bad D80 for Z-RAM. [Mike Naberezny] 2014-04-17 19:52:53 +00:00
hlsl - Fixed bloom misalignment with HLSL. [MooglyGuy] 2014-04-08 18:34:47 +00:00
keymaps Added Swedish/Finnish SDL keymaps for OSX and Linux. [Curt Coder] 2012-08-29 18:41:01 +00:00
nl_examples Netlist: 2014-04-18 17:58:35 +00:00
src ioport_array_finder: [Alex Jackson] 2014-04-22 08:05:17 +00:00
web Adding missed files (nw) 2013-10-01 14:12:22 +00:00
.gitattributes modernized cage, dcs and midwayic (nw) 2014-04-20 19:18:46 +00:00
.gitignore Made gfx_element::decode() private; fixed drivers that were calling it directly [Alex Jackson] 2014-03-18 06:42:10 +00:00
makefile added makefile define SSE2 to enable specially optimized code [Oliver Stöneberg] 2014-04-07 09:28:49 +00:00