Go to file
Alex W. Jackson 6ca10ab4fa devfind: Add rom_ptr_finder, which works like shared_ptr_finder
except it finds a ROM region instead of a memory share.
Unlike the old memory_region_finder, these can be accessed without
any overhead (since it's a pointer directly to the data and not
to the memory_region object), can be whatever data type you want
(no casting needed) and are strictly type-checked--if you have a
required_rom_ptr<UINT32> the region has to be a ROM_REGION32
(or an implicitly 32-bit region due to belonging to a CPU) or
the finder won't find it and will tell you why.

Basically, rom_ptr_finders are strictly better than
memory_region_finders and all drivers using the latter should be
converted over. I've done megasys1.c and twin16.c as examples.

megasys1: Use a device address map for the peekaboo oki instead
of memcpy().

twin16: Convert the scrolling layers to tilemaps (the fixed text
layer was already one). Miscellaneous cleanups/modernizations.

(nw)

Notice that rom_ptr_finder has a length() method which returns the
length in whatever size unit the pointer is, instead of a bytes()
method. Yes, I'm going to convert shared_ptr_finder to match, since
this way makes a lot more sense (in particular, mask() is useless
for shared_ptrs that are anything other than INT8/UINT8)
2014-10-17 02:59:51 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs If we were documented, we'd be dangerous (nw) 2014-09-17 20:50:32 +00:00
hash (MESS) removed softlist features that were not used anymore since conversion 2014-10-15 18:38:30 +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 Preliminary support for LTE dynamic time-stepping based on Local truncation error. This enables the possibility to connect a capacitor between ground and a TTL output and get a e.g. 100 ns delay with a 1nF capacitor. 2014-05-15 22:50:40 +00:00
src devfind: Add rom_ptr_finder, which works like shared_ptr_finder 2014-10-17 02:59:51 +00:00
web WebUI: clean up and fixed HTML compliance. [Firehawke] 2014-09-29 03:31:14 +00:00
.gitattributes Added Sega UFO Catcher hardware driver. [hap, Yasuhiro] 2014-10-15 17:56:02 +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 variable OPENMP to enable usage of OpenMP (includes vconv support of -fopenmp) [Oliver Stöneberg] 2014-10-01 09:17:09 +00:00