Fix Visual-C build.
first round of printf fixes (nw)
baraduke.c, pacland.c: fix flipscreen after core changes, add SCREEN_RAW_PARAMs [Alex Jackson]
MESS part of ATTR_PRINTF review (nw)
rest of ATTR_PRINTF review (nw)
fixed src/emu/machine/nvram.c clang compilation (nw)
namcos1.c, namcos86.c: fix flipscreen after core changes, add SCREEN_RAW_PARAMs [Alex Jackson]
Whoops, forgot this (nw)
Fixe leland games crashing regression (nw)
better
Reduced tagmap lookups in dai3wksi.c (nw)
new WORKING game
x2222 (prototype) [David Haywood, se yong Jang]

this is kind of interesting, it's like G-stream hardware, but with raw 16bpp RGB graphics instead of 8-bit indexed.

We lack a sound ROM, I'm assuming it should be an OKI like G-Stream, although I'm not 100% certain.

The program rom we use doesn't match the sprite rom we use, it's an earlier revision.  This causes the boss graphics to be corrupt.

The code we're using is for a 5 level prototype version.  We have raw .hye files for both the version we run, and a later version that might match the graphics, but we haven't managed to figure out how to convert a .hye to a .bin.

Ideally we need
1) a .bin that is correct for the graphic roms we use (or a way to convert the .hye we have)
2) graphic roms that are correct for the 'older.bin' we use.
3) the sound rom(s)
remove gfx offset (nw)
pdp1.c: Modernized cpu core.  [Wilbert Pol]
cdp1871: devcb2. (nw)
cdp1802: devcb for the state codes. (nw)