0.130u3
-------

MAMETesters Bugs Fixed
----------------------
- 01030: [Side-by-side] starjack: "Star Jacker" side-by-side test. (Aaron Giles)
- 00983: [Graphics] pitfall2: Once you lose your last life, any object not in the background shows up on the high score and continue screens. (Aaron Giles)
- 00984: [Graphics] 4dwarrio: The game resolution changes in the 2nd players turn in the cocktail mode. (Aaron Giles)
- 00257: [Graphics] wbmlb, wbmljb: When the player sprite reaches the right side of the playfield, some garbage gfx appear on the left side. (Aaron Giles)
- 00303: [Graphics] regulus: In cocktail mode when it is player 2's turn graphics from the top of the screen flash at the bottom of the screen (Aaron Giles)
- 00256: [Graphics] seganinj: [possible] Sprites leaving on the left side on the screen aren't clipped properly. (Aaron Giles)
- 03098: [Color/Palette] all sets in mcatadv.c: Palette regression (Christophe Jaillet, Fabio Priuli)
- 03087: [Graphics] daireika: Graphic artifacts on attract mode. (Angelo Salese)
- 03093: [Graphics] mazinger: the boss of 4th level is black (robiza)
- 03092: [Sound] spuzbobl: Some sound samples are being played indefinitely (David Haywood)
- 01163: [DIP/Input] popbounc: [possible] MAME doesn't support paddle input. (Fabio Priuli)
- 02187: [Documentation] All games of "Technos": Fix for manufacturer. (Fabio Priuli)
- 02558: [Graphics] Graphic priority is not fully understood. (Angelo Salese)
- 02557: [Graphics] All games in jalmah.c: There are square gaps during gameplay. (Angelo Salese)
- 00598: [DIP/Input] popbounc: Regardless of whether the "paddle" or "joystick" option is activated in the dipswitch, the controls are broken. (Fabio Priuli)
- 00947: [Graphics] batsugun: At the level 4 boss there's a sprite problem. (robiza)
- 02562: [Interface] Ability to choose arbitrarily named crosshair pictures (Derrick Renaud)


Source Changes
--------------
Crosshair update: [Derrick Renaud]
* Added Crosshair Options menu
    - ability to individually enable/disable crosshairs
    - ability for them to automatically disappear after a set amount
       of time (this is now the default)
    - ability to select crosshair graphic
    - all settings are saved in the cfg file
* Removed F1 toggle for crosshairs
* Added new command option -crsshairpath
    - store all selectable graphics here
    - see config.txt for further info

Merged memory maps, renamed sets in the following drivers: vendetta, videopkr, wrally, vball, unico, tsamuri, triplhnt, toypop, tnzs, topshoot, topspeed, tecmo, tecmo16, tecmosys, terracre, thoop2, tunderx, tiamc1, timelimt, taito_z. [Aaron Giles]

Added direct mode JVS command, used by the i/o for the later Naomi games [ElSemi, Angelo Salese]

hyprduel fix [Hau]

Force cpu resyncs main<->protection on pgm. [David Haywood]

trackfld cleanups: [Aaron Giles]
- derived clocks where possible
- complete memory maps from the schematics
- hooked up proper sound command latching
- reimplemented 6802-based ADPCM samples for the bootlegs
- merged memory maps
- extended NVRAM to the full RAM range (according to schematics)
- created common include file and modified drivers to use it instead of explicit externs

Removed msb/lsb handlers from taitosnd. Updated all drivers to call the 8-bit versions directly from the address maps. [Aaron Giles]

Did bulk replace of AM_READ/WRITE(SMH_NOP) -> AM_READ/WRITENOP. [Aaron Giles]

Reverted recent TMS32025 timing change which busted Cool Pool sound. [Olivier Galibert]

exctsccr update: [Uki]
- verified clock frequency (including 4KHz NMI)
- position 6A is not populated in JAPAN ver.
- sound tempo is wrong in all sets (with or without this change)
- clock for AY-3-8910 is 14.31818M/8 except for main melody

taito_l input updates: [Fabio Priuli]
* added plgirls cheat dip-switch [found by Gatinho]
* added plgirls2 coin mode B

Fixed crshrace coinage dips. [stephh, Fabio Priuli]

Fixed mechattu coinage dips. [Fabio Priuli]

Redumped GFX ROM of kakumei2. [Uki]

Improved the Wave-DMA behaviour in Naomi, added PVR-DMA support. [Angel Salese]

Naomi video cleanups/reworking. [David Haywood]

DIPSW update [kanikani]
- added DIP location to following drivers: djmain.c, fitfight.c, gaiden.c, hornet.c, namcos1.c, namcos86.c, nwk-tr.c, skykid.c, zr107.c
- enabled some DIPSW settings

PGM update [XingXing]
- added video ram mirroring (fixes a glitch in kovsh)
- corrected some set names

neogeo fixes: [Fabio Priuli]
* fixed popbounc controls bug (MT 598)
* removed use of sprintf
* added a note about service menu browsing when mahjong panel is ON

Konami inputs improvements: [Fabio Priuli]
* Added source file konamipt.h to unify Konami inputs where possible (e.g. most 80s-90s games were using basically the same coinage settings and joystick inputs).
* While at it, verified all 0x00 coinage effects in drivers which now use konamipt.h (fixing a few mistakes: hexion, mikie, crimfgtj...)
* Added finalizb service coin. Removed roadf coin4 & asterix coin3 (neither used by the games nor present in service mode).
* Fixed gberetb coin inputs (they were switched).
* Added port_condition to hcrash so that brake appears only when present in the chosen cabinet.
* Cleaned up mystwarr.c & moo.c input handlers.
* Verified 0x00 coinage settings in remaining Konami drivers (and two Banpresto ones using same coinage settings)

Fixed the priority system in the jalmah.c driver [Uki, Angelo Salese]

Simulate 'keyoff' in the SPU. The envelopes aren't actually emulated, but the sound is silenced after a key-off (by placing the sound in a 'release' state)  This prevents audiable sound from looping forever. [David Haywood]

Build the IDE features table only when there is a CHD available. [Curt Coder]

Added device-based implementations of the eeprom and i2c deevices. [Samuele Zannoli]

Added diplocations to finalizr.c, gradius3.c, pandoras.c, rollerg.c and ultraman.c based on Guru's notes (thanks to AJG, who fwded them to me). [Fabio Priuli]

Dumped 1 BPROM of suchipi [Uki]

Changed Z80 cycle table definitions to be per-device. Removed old set_info constants for the tables; they are now set up via the z80_set_cycle_tables function. [Aaron Giles]

m90: reduced volume for all games, removed wrong graphics flag and added no cocktail flag for risky challenge. [robiza]

Reduced volume for bombrman, added wrong graphics flag for quizf1. [robiza]

Removed old hardcoded keyboard handling for Atari 8bit systems and used more reasonable key matrix scan. No regressions expected in MAME (tested maxaflex.c games). [Fabio Priuli]

Many Naomi tweaks and improvements, plus a number of new sets added but with no credit specified. [David Haywood]

Corrected names for Champion Italian PK boards (thank f205v for spotting this). [Mirko Buffoni]

Sega System 1/2 rewrite: [Aaron Giles]
* accurate collision detection in all games
* correct full memory maps
* hooked up 8255 and Z80 PIO correctly
* unified many hacked variants into common hardware models
* proper mixing using the mixing PROM
* converted to tilemaps
* fixed shtngmst sprites
* correct Z80 timing
* proper sound interrupt signaling and feedback
* full description of video hardware
* proper input hookup in dakkochn
* cleaned up rendering code
* fixed cocktail mode in pretty much all games
* fixed stuck sprites in some games
* partial 8751 simulation for choplift
* proper global muting (attract sound off works in older games)
* yes, the Pitfall 2 title is missing; more work to be done

Put tables used for RGB utilities in a single object file rather than compiling them as statics in every object that uses them. [Vas Crabb]

Added small workaround to get Thunder Hoop 2 past the "bad coprocessor" screen, but the game still has issues. [Peter Ferrie]

Fixed incorrect DIP location for dealer in epos.c. [Tafoid]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Unknown Poker [robiza, Angelo Salese]


New clones added
----------------
Exciting Soccer (Japan) [Uki]
Super Megatouch IV Tournament Edition (9255-51-01 ROB, Standard version) [Brian Troha]
Pit Fighter (rev 7) [Smitdogg]
Chase H.Q. (US) [Smitdogg]
Crush Roller (bootleg?) [Tafoid, f205v]


New games marked as GAME_NOT_WORKING
------------------------------------
Key of Avalon 1.30 - Client [Alex's Rom Dumping Project]
Key of Avalon 2.0 - Client [Alex's Rom Dumping Project]
Sega Network Taisen Mahjong MJ 2 [Alex's Rom Dumping Project]
Sega Network Taisen Mahjong MJ 3 (Rev D) [Alex's Rom Dumping Project]
Triforce DIMM Updater [Alex's Rom Dumping Project]
Virtua Fighter 4 Final Tuned (Rev D) [Alex's Rom Dumping Project]
Virtua Fighter 4 Final Tuned (Rev A) [Alex's Rom Dumping Project]
Initial D : Arcade Stage Ver. 3 (Japan) (Rev B) [Alex's Rom Dumping Project]
Virtua Fighter 4 Evolution (Rev A) [Alex's Rom Dumping Project]
Wangan Midnight Maximum Tune 2 (Japan?) [Alex's Rom Dumping Project]

http://mamedev.org/
0.130u4
-------

MAMETesters Bugs Fixed
----------------------
- 03106: [Sound] mouja: Sound Effects/Voice missing (Angelo Salese)
- 03065: [Crash/Freeze] All sets in namcos12.c: [debug] MAME asserts during load time (Aaron Giles)
- 03069: [Crash/Freeze] All sets in midzeus.c: [debug] MAME asserts during load time (Aaron Giles)


Source Changes
--------------
Documented the www.segaresurrection.com decrypted Ninja Kids II sound rom so it doesn't show up as newly "found" bootleg version. [Brian Troha]

Converted downtown, gondo, hbarrel, midres, timesold, topgunbl to use IPT_POSITIONAL. [Derrick Renaud]

Fixed Analog Settings to return to default when IPT_UI_SELECT (enter) pressed. Fixed misplaced brackets, allowing upper/lower case extensions for crosshair graphics and ldplayer chd files. [Derrick Renaud]

Naomi updates: [Angelo Salese, David Haywood]
* Added H-Blank IN interrupt hook-up
* Generate a few more interrupts (ISP end of render, VIDEO end of render)
* Some minor improvements to the irq system
* Added a bunch of Maple-DMA fixes, now moeru boots too

Factored out MESS-specific code from machine/atari.c (cart init, loading & unloading) [Fabio Priuli]

Correctly implemented 'trail' function in ninjakd2. [kanikani]

Changed galgbios service switch to be a toggle. [David Haywood]

Fixed CPU_GET_INFO issues spotted by -validate in MESS debug build. [Fabio Priuli]

Added Dip Locations to jalmah.c. [Fabio Priuli]

Improved test mode behaviour on the jalmah.c. [Angelo Salese]

Added display of frame number to the beamx/y info in the register view in the debugger. [Aaron Giles]

munch mobile improvements: [robiza]
* implemented priorities
* removed unnecessary tile index check

Memory map merging for naughtyb.c, ssrj.c. [Angelo Salese]

Converted jangou & nightgal drivers to use resistors with the color proms. [Angelo Salese]

Reverted to older behavior for how modified input port fields are handled. The originally intended behavior is that a new field that intersected a previous field would completely wipe out the original field. Recently a change was made that changed the behavior to only remove a portion of the bits from the original field. This is actually problematic behavior, so the original behavior was restored. [Aaron Giles]

Fixed auto-center bug on analog joysticks. [Derrick Renaud]

Fixed UI when modifying the inc/dec/analog fields of an analog control in sequence. [Derrick Renaud]

Corrected System 1 Z80 clocking: [Aaron Giles]
* each opcode fetch is 2 cycles with /M1 low, so each byte of opcode fetching causes slightly longer delays than the previous tables
* implemented approximate wait state timing for videoram access; further accuracy will rely on getting a dump of the PAL16R4 that controls the horizontal video timing

Merged memory maps in taito_l.c, taito_x.c, taito_b.c, taito_f2.c, taito_f3.c, surpratk.c, system16.c, system18.c. Also removed some word handlers in favor of using READ8/WRITE8 directly in address maps. Removed some additional unnecessary handlers in favor of using AM_READ_PORT. [Aaron Giles]

Changed the PPU2C0x implementation to be a device. [Nathan Woods]

Simplified the gun port handling in the Sammy Outdoor Shooting games. [Derrick Renaud]

Small System 1 update: [Aaron Giles]
* correct video timing
* removed "small" video drivers for games that properly mask the scrolling areas

Correct sound ROM for T-Mek 4.4 [Lars Bull]

Partial fix to bug MT 3070 (harddriv & racedriv do not show anymore
P2 inputs for analog controls). Still thinking about steeltal. [Fabio Priuli]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Tekken Tag Tournament (world versions) [Olivier Galibert]


New clones added
----------------
Might! Pang (Euro 000925) [Corrado Tomaselli]
Night Warriors: Darkstalkers' Revenge (Asia 950302?)
  [Smitdogg Jones, Nicola Salmoria]
Trivia Master (set 4) [SoftwareThis]
Wolf Fang -Kuhga 2001- (Rohga Japan Ver.) [Team Japump!!!]
Mystic Warriors (JAA) [Guru]


New games marked as GAME_NOT_WORKING
------------------------------------
The Typing of the Dead [Alex's Rom Dumping Project]
OutTrigger [Guru]
Cannon Spike / Gun Spike
Heavy Metal Geomatrix
Super Lucky Roulette? [robiza, Angelo Salese]

http://mamedev.org/
0.131
-----

IMPORTANT NOTE: The CHD format has undergone a change with this release. The main reason for this change is to include some of the key metadata into the hashes for the CHDs. This ensures that the metadata is valid and prevents abuse.

The first impact you will find is that all of your CHD differencing files are invalid. Just delete your "diff" directory contents entirely.

The second impact is that all your existing CHDs will warn you that they have incorrect hashes. This is expected. Your old CHDs should still work fine, so if you can live with the "bad ROM" warnings, you
don't really need to do anything. However, if this bugs you or you want to be "clean", you can update your CHDs, using this command line:

   chdman -update <chdfile> <newchdfile>
   
for each one of your CHDs. This will take a while, but will produce CHDs that match the new checksums posted in the drivers.



MAMETesters Bugs Fixed
----------------------
- 02399: [Known Issues/To-Do's] qmhayaku : Sound CPU is running at 4MHz in real machine. (Luigi30)
- 03115: [Graphics] nss_smw: Tilemap issue when displaying game map (Angelo Salese)
- 00767: [DIP/Input] bshark, bsharkj: Analog stick input is broken since 0.112u4. (Derrick Renaud)
- 03070: [DIP/Input] harddriv, racedriv, steeltal and clones: Games map some P1 inputs to P2 controls (Fabio Priuli)
- 03105: [Documentation] quizmeku: Year is listed as 1994, but title screen shows 1992. (Fabio Priuli)



Source Changes
--------------
Removed the last use of PORT_PLAYER(2) for P1 inputs. [Fabio Priuli]

Merged memory maps in the suna8, supbtime, superchs, suprnova, suprslam, subs, suna16, stepstag, stfight, strnskill drivers. [Aaron Giles]

Numerous improvements to the roul driver. [robiza]

Merged findout.c memory map. [Angelo Salese]

Added basic implementation of the TMS9927 video controller. [Aaron Giles]

Status games driver rewrite: [Aaron Giles]
- Reduced multiple drivers down to a primary one with minor tweaks
- Hooked up TMS9927 video generator
- Fixed statriv2v character generator to be more accurate
- Fixed incorrect colors
- Correct video timing

Miscellaneous Naomi work and improvements. Some refactoring done, new games hooked up. Moved NAOMI DRIVER_INITs to specific machine/naomi.c & includes/naomi.h files, in preparation to add per-game JVS settings. [Angelo Salese, David Haywood]

Changed generic NVRAM behavior so that all the variants look for a memory region named "nvram". If it is found and is of the same length as the generic_nvram_size, data is copied from there instead of filling the RAM with the fallback pattern. [Aaron Giles]

Fixed mouse/lightgun buttons to individually select when using -mouse/-multimouse and -lightgun. Meaning you will not receive Mouse Button 0 Gun Button 0 when selecting in the UI. [Derrick Renaud]

Merged memory map and attempted to add proper colors in Carrera. [Angelo Salese]

Fixed verbose output of RAW device names for XP. [Derrick Renaud]

When using RawInput - Fixed UI selection of Gun axis so Gun 1 is not always selected with the desired gun. [Derrick Renaud]

Fixed XF flag in the 8085A core. [Aaron Giles]

Fixed frontend messages to leave enough space for clone longer names. [Fabio Priuli]

Added Toshiba TLCS-900/H cpu core. [Wilbert Pol]

Added T6W28 sound core (SNK(?) custom sn76489a clone). [Wilbert Pol]

removed YM2151 from gijoe which is not present on real PCB. [Yasuhiro Ogawa]

Fixed P2 gun reload in Lethal Enforcers II. [Derrick Renaud]

Fixed bug where repeating axis values were being selected for button input in UI. [Derrick Renaud]

Documented PALs from Xenophobe board. [Kevin Eshbach]

Crystallized 1945kiii.c, maygay1b.c, maygayv1.c, mwarr.c, n8080.c (20.16MHz crystal confirmed with schematics), pacman.c, panicr.c, rallyx.c. [Luigi30]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Fantastic Journey [Olivier Galibert]
Super Lucky Roulette [robiza]
Status Blackjack [Aaron Giles]
Status Fun Casino [Aaron Giles]
Multi Game 2 [Mariusz Wojcieszek]


New clones added
----------------
Asterix (Japan) [Chack'n]
Ashura Blaster (World) [Tirino73]


New games marked as GAME_NOT_WORKING
------------------------------------
Marvel vs. Capcom 2 [Guru]
Zombie Revenge [Guru]
Guilty Gear X [Guru]
Virtua Striker 4 (Japan) [Guru]
Virtua NBA [Guru]
Giant Gram Zen-Nippon Pro Wresring 2 [Guru]
Dengen Tenshi Taisen Janshi Shangri-la [Guru]
Virtua Striker 4 ver. 2006 (Rev D) (Japan) [Alex's Rom Dumping Project]
The Key Of Avalon - The Wizard Master - Server (GDT-0005C) (V4.001) [Alex's Rom Dumping Project]
Virtua Striker 2002 (GDT-0001) [Alex's Rom Dumping Project]
Derby Owners Club II [Guru]
Wild Riders [Guru]
WWF Royal Rumble [Guru]
Quiz Ah Megamisama [Guru]
Dynamite Baseball Naomi [Guru]
Dynamite Baseball '99 [Guru]
Death Crimson OX [Guru]
Tripple Draw [Aaron Giles]
Casino Strip [Aaron Giles]

http://mamedev.org/
0.131u1
-------

MAMETesters Bugs Fixed
----------------------
- 03144: [DIP/Input] piratpet: [possible] Button 2 skips level (Fabio Priuli)
- 03126: [Gameplay] sbishi: When Player 2 plays alone, strange things happen. (David Haywood)
- 03143: [Graphics] screwloo: screwy graphics area on one screen (Pierpaolo Prazzoli)
- 03129: [DIP/Input] xmen: Directional controls re-arranged (Fabio Priuli)
- 00487: [Misc.] groundfx: It has wrong default NVRAM settings, especially about the lap number (1) and the coin/credit settings (1/2). (Angelo Salese)
- 03104: [Graphics] captaven and clones: No enemies appear in the second phase. (Pierpaolo Prazzoli)


Source Changes
--------------
Deprecated device_set_info. Almost all devices had a NULL or empty function here. Remaining devices have been converted to have device-specific functions to do the same thing with proper type checking. CPUs still have a set_info function but it is CPU-specific now and no longer piggybacks on the general device function. [Aaron Giles]

Changed UI to ignore selection from lightguns when off screen. This stops selection of Gun X Gun Y if you move the gun out of range. [Derrick Renaud]

Moved stv_vdp2_dynamic_res_change() function outside of VIDEO_UPDATE in ST-V. [Angelo Salese]

Memory map merging for the NMK16 driver and cleaned-up some unneeded video code. [Angelo Salese]

Made Hyper Pacman run with protection code from decapped MCU rather than simulation. [Guru, David Haywood]

Added a large gfx decode using macros to allow the textures on hng64 to be viewed, handy for verifying the dumps. [David Haywood]

Audited code and added savestate support to the following drivers: [MooglyGuy]
- dotrikun.c (dotrikun, dotriku2)
- espial.c (espial, netwars)
- zodiack.c (zodiack, dogfight, moguchan, percuss, bounty)

Merged memory maps in the Dottori Kun driver [MooglyGuy]

Merged memory maps for the following drivers: [MooglyGuy]
- battlex.c, buggychl.c, bwing.c, carjmbre.c, cbuster.c, chaknpop.c
- changela.c, chqflag.c, circus.c, cischeat.c
- cave.c, circusc.c, citycon.c, cninja.c, combatsc.c, compgolf.c, contra.c, cop01.c, cosmic.c, cps2.c, crimfght.c, crospang.c, crshrace.c, and cshooter.c
- ssv.c
- dambustr.c, darius.c, darkhors.c, darkseal.c, dassault.c, dbz.c, dcon.c, dday.c, ddenlovr.c, ddragon3.c, ddrible.c, dec0.c, dec8.c, deco32.c, deco_mlc.c, deniam.c, dietgo.c, discoboy.c, diverboy.c, dogfgt.c, dooyong.c, dragrace.c, dribling.c, drmicro.c
- egghunt.c, epos.c, esd16.c, espial.c, exedexes.c, exzisus.c
- f1gp.c, fastlane.c, firetrap.c, flkatck.c, flstory.c, freekick.c, fromanc2.c, fromance.c, funkybee.c, funkyjet.c, funybubl.c, fuukifg2.c, fuukifg3.c
- gaelco.c, gaelco2.c, gaiden.c, galaga.c, galastrm.c, galaxold.c, galivan.c, gaplus.c, gbusters.c, gcpinbal.c, genesis.c, gijoe.c, ginganin.c, glass.c, gng.c, goal92.c, goindol.c, gomoku.c, gotcha.c, gotya.c, gridlee.c, gstriker.c, gumbo.c, gunbustr.c
- halleys.c, hanaawas.c, hanaroku.c, hcastle.c, hexa.c, hexion.c, higemaru.c, hnayayoi.c, holeland.c, homedata.c, hshavoc.c, hyhoo.c, hyperspt.c

Merged memory map in ltcasino.c, Lemmings, quizdna.c, pushman.c, popper.c, sshangha.c. [Angelo Salese]

Added irq acks to the snowbros.c driver and merged memory maps on it. [Angelo Salese]

TLCS-900/H cpu core fixes: [Wilbert Pol]
- Reimplemented hdma
- Fixed bugs in the EX (mem), R instructions.

Merged memory map and worked out some sound related stuff in Pass. [Angelo Salese]

Hooked up standard paletteram16_xbgr() function instead of a custom one in sshangha.c driver. [Angelo Salese]

Replaced the use of CPU numbers with tags where possible across most drivers. [Fabio Priuli]

hng64.c improvements / changes: [David Haywood]
- Stripped out some old HNG64 code / some improvements
- disabled the floor stuff in Fatal Fury Wild Ambition (looking for a cleaner implementation)
- disabled zooming code for the same reasons (it was causing many issues)
- understood and implemented the 'auto-animate' registers for the tilemaps (animated waterfalls etc. in Fatal Fury Wild Ambition)
- reorganized graphic decoding
- documented + hooked up 4bpp/8bpp select on layers.
- fixed tile flipping
- fixed a bug in the hng64 dma

goldstar.c improvements / changes: [David Haywood]
- added scroll registers for the girl when enabled in attract mode
- documented how you can swap the blue/green bonus colours (but left the code disabled, I think versions with it swapped probably just have different proms)
- added gfxdecode for cmasterc

Memory maps merges for the following drivers: [Angelo Salese]
* groundfx.c
* lastduel.c
* macrossp.c
* madmotor.c (also cleaned-up some video variables in it)
* mcatadv.c (also reduced a 1.0 clipping out volume setting)
* moo.c

Changed the way memory allocation is handled. Rather than allocating in terms of bytes, allocations are now done in terms of objects. This is done via new set of macros that replace the malloc_or_die() macro:

  alloc_or_die(t) - allocate memory for an object of type 't'
  alloc_array_or_die(t,c) - allocate memory for an array of 'c' objects of type 't'
  alloc_clear_or_die(t) - same as alloc_or_die but clears the memory
  alloc_array_clear_or_die(t,c) - alloc_array_or_die with clearing

All original callers of malloc_or_die have been updated to call these new macros. If you just need an array of bytes, you can use alloc_array_or_die(UINT8, numbytes). [Aaron Giles]

Made a similar change to the auto_* allocation macros. In addition, added 'machine' as a required parameter to the auto-allocation macros, as the resource pools will eventually be owned by the machine object. The new macros are:

  auto_alloc(m,t) - allocate memory for an object of type 't'
  auto_alloc_array(m,t,c) - allocate memory for an array of 'c' objects of type 't'
  auto_alloc_clear(m,t) - allocate and clear
  auto_alloc_array_clear(m,t,c) - allocate and clear

All original calls or auto_malloc have been updated to use the new macros. In addition, auto_realloc(), auto_strdup(), auto_astring_alloc(), and auto_bitmap_alloc() have been updated to take a machine parameter. [Aaron Giles]

Changed validity check allocations to not rely on auto_alloc* anymore because they are not done in the context of a machine. [Aaron Giles]

Removed of SMH_BANKn macros. Just use SMH_BANK(n) instead, which is what the previous macros mapped to anyhow. [Aaron Giles]

Added missing casts and made other tweaks to appease some more strict settings on the compiler. [Aaron Giles]

Merged memory maps in the seta.c, sf.c, nbmj8688.c, megasys1.c drivers. [Angelo Salese]

Merged memory maps in the overdriv.c and demoted it tothe GNW flag. [Angelo Salese]

Added engine noise hook-up to Chequered Flag. [Angelo Salese]

Fixed nested NMIs on Chequered Flag sound cpu, this fixes the sound loops and the music tempo. [Phil Bennett]

Memory maps merges for the following drivers: [Angelo Salese]
* metlclsh.c
* mexico86.c (also added a basic hook-up for the 4p communication cpu,
   disabled by default)
* mirage.c
* mjkjidai.c
* mjsister.c
* mogura.c
* news.c
* ohmygod.c
* ojankohs.c (also cleaned-up some video variables in it)
* oneshot.c
* opwolf.c

Fixed player controls in the 4 player version of tank force (thanks to tip posted by sxevious on mantis #3127) [David Haywood]

Memory maps merges for the following drivers: [Angelo Salese]
* mayumi.c (also cleaned-up the video routines)
* mazerbla.c
* momoko.c
* mosaic.c
* mouser.c
* mrflea.c
* mrjong.c (also cleaned-up the spriteram routines)
* srmp2.c
* shaolins.c
* shisen.c
* shootout.c (and cleaned-up the NMIs on coin insertions)
* sidearms.c
* sidepckt.c (merged the two per-game memory maps and moved the protection simulation hook-up to be called on DRIVER_INIT)
* skyarmy.c
* skyfox.c (and cleaned-up the NMIs on coin insertions)
* skyraid.c
* slapfght.c (also cleaned-up the ram sharing)
* slapshot.c
* spbactn.c
* spcforce.c
* spdodgeb.c
* speedspn.c
* senjyo.c
* seta2.c
* sfkick.c
* shangha3.c
* puckpkmn.c
* punchout.c
* qdrmfgp.c
* quizpani.c
* rabbit.c
* rainbow.c
* rcorsair.c
* redclash.c (also cleaned-up the irq/nmi generation on coin
    insertion)
* renegade.c
* rmhaihai.c
* rockrage.c
* rocnrope.c
* rollerg.c
* rollrace.c
* runaway.c
* rungun.c
* sangho.c
* sauro.c (also cleaned-up a video function)
* sbasketb.c
* sbugger.c
* scregg.c
* segae.c
* powerins.c
* psikyo.c
* psikyo4.c
* psikyosh.c
* rohga.c
* sbugger.c
* spy.c
* nycaptor.c
* olibochu.c
* othldrby.c
* pandoras.c
* parodius.c
* pbaction.c
* pcktgal.c
* pingpong.c
* pirates.c
* pitnrun.c
* pktgaldx.
* pokechmp.c
* popeye.c
* nbmj9195.c
* niyanpai.c
* ninjaw.c
* metro.c
* mitchell.c
* ms32.c
* msisaac.c
* mugsmash.c
* lkage.c
* lsasquad.c
* lwings.c
* m62.c
* m90.c
* magmax.c
* mainevt.c
* marinedt.c
* markham.c
* mastboy.c
* matmania.c
* megadriv.c
* megazone.c
* karnov.c
* kchamp.c
* kingobox.c
* klax.c
* koikoi.c
* konamigq.c
* ladyfrog.c
* liberate.c

Modified my coin_insertion() function to use ASSERT & CLEAR instead of PULSE_LINE in cntsteer.c & ssozumo.c. [Angelo Salese]

Made sure that both the RESET and BUSREQ lines are honored by the megadriv sound cpu. [Wilbert Pol]

Properly hooked-up player 2 mahjong panel in mj4simai. [Angelo Salese]

Moved paletteram_IIBBGGRR_w() from senjyo.c to emu/video/generic.c. [Angelo Salese]

Removed deprecat.h dependancy for usgames.c. [Angelo Salese]

Add READY line readback to the SN76496 core, cleaned up the structs a bit, cleaned up comments, added more TODOs, Fixed some unsaved savestate related stuff. [Lord Nightmare]

Added sn76496 ready line hook-up for spcforce.c, doesn't make a difference since it's not actually used. [Angelo Salese]

Added RTC emulation for hng64 driver [Angelo Salese]

Fixed sprite trail for mnight and robokid [kanikani]

Factored out some more MESS specific code for Atari 8bit. [Fabio Priuli]

Splitted Naomi / Atomiswave memory maps and improved sorting of the driver. [Angelo Salese]

Added sound to Pocket Gal Deluxe (bootleg) [Angelo Salese]

lordgun - Fix: P1 Button2 is really P2 Button1. [Cananas]

Changed Lunar Lander thrust control to a pedal. This more accurately emulates the control. Note: the current code uses IPT_PADDLE. This causes the game to start with the thrust at 50%. This is not correct. The control is really a hand operated pedal. [Derrick Renaud]

Merged memory maps for nycaptor, nbmj8991, nbmj8891, mystwarr. [Angelo Salese]

First layer of memory map merging for namcos2.c and namcos21.c, needs a second hand in order to remove all the SMH references (they both are macroized to hell). [Angelo Salese]

Fixed Yellow Cab (Japan) booting, promoted to working status [Angelo Salese]

Attempted to fix colors in Koi Koi Part 2 [Angelo Salese]

Lowered DAC volume in Karate Champ from 0.50 to 0.15, it was having sound clipping problems since day one. [Angelo Salese]

Cleaned-up HNG64 system ports. [Angelo Salese]

Changed the z80_bank_addr in megadriv.c into a simple 9 bit shift register. Fixes mantis 2817.  [Enik Land]

Improved interrupt handling for the 8/16 bit H8s. [R. Belmont]

System 23: hooked up serial comms between subcpu and I/O board. [R. Belmont]

Added a driver for Irem M14 HW. [Angelo Salese]

Removed deprecat.h dependancy for kopunch.c. [Angelo Salese]

Naomi: hacked up 3D renderer. Still quite preliminary but allows most games to show graphics. [Olivier Galibert, David Haywood]

Converted the WAVE sound device to stereo (for MESS). [Curt Coder]

Various improvements to Parent Jack driver. [Tomasz Slanina]

Modified mahjong games in Naomi to be loaded with a specific configuration, will add the proper JVS hook-up later. [Angelo Salese]

Added proper MCU dump for Black Tiger. [Dr. Decapitator, Guru, Angelo Salese]

Fixed display of the i8085's SP register when in the debugger. [MooglyGuy]

Added proper MCU dump for Meikyuu Hunter G. [Dr. Decapitator, Guru, Angelo Salese]

Moved Taito 'skip to next level' buttons from BUTTON_2 to Q/W keys. [Fabio Priuli]

Fix MCS51 disassembler to work properly when there are two memory arguments (the second would overwrite the first). [Aaron Giles]

Added and began hooking up the 8751's for the System 1 games. Still some work to do. [Aaron Giles]

Added proper JVS I/O board init string for Idol Janshi Suchie-Pai 3 to allow it to boot. [Angelo Salese]

Corrected sauro main cpu to 5Mhz and YM3812 to 2.5Mhz as verified on the pcb. [Corrado Tomaselli]

Improved protection emulation in galpani2 driver: [Luis Faria]
- modified somewhat the protection handling, geeting rid of the need to call galpani2_mcu_run from VIDEO_UPDATE, as that function is performed by CPU2's INT7 and it now works. And added support for command 2, making gp2se go into demo mode and allowing to go ingame, nice skulls! ;-) Unfortunately, this set is still not playable because of missing gals in the background and sometimes there's an ADDRESS ERROR, causing a reset. Included in these changes, I added support for MCU triggering by CPU2.
- changed some 8 bit writes disguised as 16 bit to AM_WRITE8 and AM_DEVWRITE8 and some AM_WRITE(SMH_NOP)s to AM_WRITENOP.
- "crystallized" the clocks of the M68000s and OKIs, deriving the latter from the former.
- fixed a Copy&Paste mistake I made in the previous submission, in the sound rom mappings for galpani2/2t/2g.
- reduced the input port definition duplication by using PORT_INCLUDE where applicable instead of defining everything again.
- reduced the CPU#2 Code region size to the effectively used size, and expanded the CPU#2 Backgrounds Data region size to the maximum usable size, making it the same for all sets.

Fixed bug when setting breakpoints on Z80 CPUs at addresses A-F. [Xander Xander]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pit Boss Supertouch 30 [Mariusz Wojcieszek]


New clones added
----------------
Legend of Kage (oldest) [Uki]
Final Star Force (Japan) [Uki]
Yellow Cab (Japan) [Uki]
Zero Team (set 4) - not working [Uki]
The Combatribes (Japan) [Chack'n]
Super Xevious (Japan) [TH60]
Crazy Kong 2 (Japan) [Team Japump!!!]
Aliens (Asia) [Irongiant]
Noraut Joker Poker [Alan Griffin]
Pit Fighter (Rev 5) [Smitdogg, The Dumping Union]
Cabal (bootleg set 2) [Klaus]
Special Criminal Investigation (Negro Torino hack) [Corrado Tomaselli]
Cruis'n World v1.7 [MSN]


New games marked as GAME_NOT_WORKING
------------------------------------
Ferrari F355 Challenge [Guru]
Samurai Shodown 64 [Guru]
Dancing Stage Featuring Disney's Rave [smf/Mike DX]
Xtreme Rally / Off Beat Racer! [Guru]
Beast Busters 2nd Nightmare [Guru]
Skimaxx [Phil Bennett]
Panic Park (PNP2 Ver. A) [Guru]
Triple Star 2000 [f205v]
Super Star [f205v]
Gigas [Andy Welburn]
Shadow Dancer (Mega-Tech) [Smitdogg, cricri_pingouin, incog, B. Sparks, ANY]
Streets of Rage (Mega-Tech) [Smitdogg, cricri_pingouin, incog, B. Sparks, ANY]

http://mamedev.org/
0.131u2
-------

MAMETesters Bugs Fixed
----------------------
- 03173: [Sound] Many sets using atarijsa.c: Audio samples are incorrectly pitched (Phil Bennett)
- 03171: [Crash/Freeze] pang, spang, pompingw, pkladies: Ram error during the boot checking of the games. (Pierpaolo Prazzoli)
- 03170: [Sound] mtrap and clones: Sound effects cycle constantly while playing (Fabio Priuli)
- 03169: [Crash/Freeze] All sets in hvyunit.c: Access Violation (Angelo Salese)
- 03168: [Sound] All sets in halleys.c: Audio is missing completely (Fabio Priuli)
- 03167: [Color/Palette] fromancr, fromanc4: Second screen has incorrect palette/colors (Fabio Priuli)
- 03166: [Graphics] tattass, tattassa: Missing Graphics (Fabio Priuli)
- 03153: [Crash/Freeze] penbros: Access Violation (Mamesick)
- 03163: [Graphics] sailormn, sailormo: Playfield Graphics regression (Mamesick)
- 03150: [Crash/Freeze] metmqstr, nmaster: Access Violation (Mamesick)
- 03162: [Sound] baddudes, hbarrel, birdtry, robocop, hippodrm, ffantasa : Game has no sound at all (Angelo Salese)
- 03147: [Misc.] shtngmst, shtngmst1: wrong sha1 values for shooting master ic74 (Nicola Salmoria)
- 03160: [Crash/Freeze] tubepb: Access Violation (Fabio Priuli)
- 03152: [Crash/Freeze] All Sets in nss.c: Access Violation (Fabio Priuli)
- 03151: [Crash/Freeze] jajamaru, mightybj, topgun, vsgshoe: Access Violation (Fabio Priuli)
- 03154: [Crash/Freeze] All sets in pooyan.c: Access Violation (Fabio Priuli)
- 03157: [Crash/Freeze] All Sets in policetr.c: Access Violation (Fabio Priuli)
- 03159: [Crash/Freeze] superchs: Access Violation (Fabio Priuli)
- 03148: [Crash/Freeze] All sets in konamigx.c: Access Violation (Fabio Priuli)
- 03146: [Compiling] cpu\vtlb.c 64 bit warning: 64bit vs compile warnings (smf)


Source Changes
--------------
Added notes to several drivers indicating specifically that an MCU is needed for decapping. [Angelo Salese]

Naomi renderer: add all 64 blending modes, and made it anal-retentive where it comes to position precision. [Olivier Galibert]

Converted Irem M14 HW to tilemaps and cleaned-up the driver. [Angelo Salese]

Renamed yumefuda.c/hanaroku.c drivers to albazg.c/albazc.c (like they should be properly named). [Angelo Salese]

Added MCU no dumps for the Grand Striker driver. [Angelo Salese]

Fixed background colors in Alien Command. [Angelo Salese]

Added profile markers to naomi, to see what % of cpu time things are using. [David Haywood]

Lowered the AY-8910 volumes in the adp driver. [Angelo Salese]

Some Maple fixes, now Street Fighter Zero 3 Upper should be fully playable. [Angelo Salese]

Added cart info documentation update for the two resent Mega-Tech cart dumps: Shadow Dancer & Streets of Rage. [Brian Troha]

Merged memory maps in the following remaining drivers and cleaned up some comments: homedata.c, intrscti.c, inufuku.c, irobot.c, jack.c, kaneko16.c, naughtyb.c, scobra.c, scramble.c, slapfght.c, spaceg.c. [MooglyGuy]

Fixed Naomi bug in computedilated, was causing bad portraits in shikgam2. [David Haywood]

Removed second parameter from MDRV_CPU_PROGRAM_MAP, MDRV_CPU_DATA_MAP, and MDRV_CPU_IO_MAP. For the remaining drivers that used multiple address maps, converted them to use AM_IMPORT_FROM to import the base map. [Aaron Giles]

Added bilinear filtering to Naomi video emulation. Textures are still a bit crawly since we're always using the lowest MIP level. [MooglyGuy, Aaron Giles]

Short-circuit the naomi rendering in non-textured cases, prevents a lot of bad graphics. [David Haywood]

Fixed tubepb regression. [Fabio Priuli]

Added MC-8123 key for Gigas. Of course the game still doesn't work because the program ROM is missing. [Nicola Salmoria]

Applied some of the Naomi exclusive texture mode rules. [David Haywood]

Added a work-around for the UART FIFO read only status register on the SH-4 to make Tetris Kiwamemichi happy to boot. It crashes shortly after that like La Keyboard though (jumps to an unmapped address). [Angelo Salese]

Hacked the Naomi YUV interrupt to fire when the base register is written.  (Currently looking at implementing properly, but this prevents KuruCham and SS2005 from hanging). [David Haywood]

Converted namcos2.c, niyanpai.c and nbmj9195.c to use AM_IMPORT_FROM instead of macros. [Angelo Salese]

Fixed regression for mitchell.c games. [Pierpaolo Prazzoli]

Added MCU no-dump to Air Buster. [Angelo Salese]

Commented out the ACIA irq, was causing missing bgms in Street Fighter Zero 3 Upper. [Angelo Salese]

Improved the debugging on the Naomi Wave DMA handler. [Angelo Salese]

Converted DJ Boy memory maps to current standards. [Angelo Salese]

Fixed pipedrm tag problem. [Fabio Priuli]

Fixed ninjakd2 DIPSW and notes. [kanikani]

Fixed a couple of bugs in cave.c and seta2.c introduced with the memory map merges. [Fabio Priuli]

MCS-51 fixes: [Aaron Giles]
* jb int0,<self> loops are now broken out of if int0 comes and is taken
* externally-clocked counters only count when enabled
* internal RAM no longer wraps when accessed out of bounds

System 1 changes: [Aaron Giles]
* hooked up 8751 properly
* removed old 8751 hacks
* shuffled Shooting Master sets

Fixed tattass regression from map merging. [Fabio Priuli]

Fixed P2 palette write handlers for fromancr and fromanc4. [Fabio Priuli]

Fixed halleys.c sound: ay8910 write handlers work on two bytes. [Fabio Priuli]

Marked polystar, hellngt and totlvice CHDs as bad. Will be replaced soon. [Guru]

Added missing YMZ280B ROM to evilngt/hellngt. [Guru]

Fixed regression on homedata.c driver. [Angelo Salese]

Fixed Legend of Makai regression. [Angelo Salese]

Removed "BAD_DUMP" from the Red Baron AVG bprom, it has been verified correct (contents and label) by the Dumping Union. [Smitdogg]

Improved the single board 4p mode in Kick N Run / Mexico 86. It basically works but 2p mode is broken so I still keep it as disabled by default. [Angelo Salese]

Fixed Kiki Kai Kai exception. [Angelo Salese]

Dumped io board rom to Dynamic Golf. [Guru]

Fixed King Derby sprites wrap-around and flip x positioning. [Angelo Salese]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
PT Reach Mahjong [Angelo Salese]
Otenami Haiken (V2.04J) [Joerg Hartenberger, Guru]
Shanghai Sangokuhai Tougi (Ver 2.01J) [Joerg Hartenberger, Guru]
Choplifter (8751 315-5151) [The Decapping Project, Aaron Giles]
Shooting Master (EVG, 8751 315-5159a) [The Decapping Project, Aaron Giles]
Noboranka [The Decapping Project, Aaron Giles]


New clones added
----------------
Samurai Nihon-ichi (set 3, harder) [f205v]
Hatris (US) [Andrew Welburn]


New games marked as GAME_NOT_WORKING
------------------------------------
IQ Pipe [SoftwareThis]

http://mamedev.org/
0.131u3
-------

MAMETesters Bugs Fixed
----------------------
- 03101: [Sound] jantotsu: Game gives incorrect calls (Angelo Salese)
- 03196: [DIP/Input] daisyari: Game resets itself after full strip of girl (Tafoid)
- 02329: [Graphics] iganinju, plusalph and others: Very bad sprite lag (Angelo Salese)
- 03190: [Documentation] 86lions: 'Wrong' colours seem fixed when you swap R/B values (Angelo Salese)
- 03149: [Crash/Freeze] All sets in cps3.c: Access Violation (Aaron Giles)
- 03187: [Documentation] scin: Game title is different as shown in picture (Fabio Priuli)
- 03176: [Graphics] cheekyms: Graphic Regression (Pierpaolo Prazzoli)
- 03182: [Sound] Many sets in system1.c: Missing Sound (Aaron Giles)
- 03178: [DIP/Input] dragngun: Unable to move Crosshair (Fabio Priuli)


Source Changes
--------------
Fixed Oki banking in Grand Cross. [Angelo Salese]

Added basic ADPCM support to Grand Cross [Angelo Salese]

Fixed title screen display in Joshi Volleyball [Angelo Salese]

Fixed sound mute for system 2 games. [Aaron Giles]

The logic for detecting merged roms did not check all the rom sources in the parent, leading to cases where roms from devices aren't detected as merged (e.g. ldv1000 in superdqs). This fixes it. [Atari Ace]

Added save state to artmagic.c and runaway.c. [Xander]

Added newly-dumped PROMs to Robocop. [Irongiant]

Added static qualifiers to recently-added code. [Atari Ace]

Added missing coin lockout to lottofun. [Luigi30]

Improved lamp output in MPU4.c. Redrawing now only occurs on the peaks of the 50Hz AC Power. [AGEMAME]

Updated the megatech.c parts list with info from more carts and fixed some errors in the notes for the rom definitions, and arranged them in correct order. [Smitdogg]

Added LSHIFT and RSHIFT as alises to << and >> for cheat files. [Pugsy]

Added Guru-readme(TM) for Triforce. [Guru]

Added Guru-readme(TM) for Sega model3 and I/O board. [Guru]

Moved the configuration of m6502-family callbacks to the cpu configuration. [Wilbert Pol]

Split Naomi video ram access into 32-bit / 64-bit areas pending more information on how they actually mirror (it's not a straight mirror). [David Haywood]

psattack CF card redump and ID metadata added to create a CHD. [Guru]

H8 series MCU updates: [R. Belmont]
- Implemented 8-bit timers and free-running counter for H8/3334
- Added bld #imm, @Rd instruction
- Improvements to interrupts and the serial ports

Namco System 23 update: [R. Belmont]
- Changes and documentation added on how the I/O board is hooked up. The H8/3334 based TSS-I/O board sometimes handshakes successfully in Time Crisis 2 now but timing-related problems remain.

Namco System Super 22 update: [R. Belmont]
- Reimplemented SPOT RAM - Tokyo Wars relied on some details not previously seen
- Fixed uninitialized RAM area that caused random sprite colors since 0.120 (thanks to Phil Bennett for debugging the problem)
- Updated Guru Readme(tm)

Fixed Aliens P2 inputs. [stephh]

Gladiator coinage fix. [Tafoid]

Fixed regressed sound in wc90b.c. Also fixed nested NMIs, improving msm sound, and converted memory maps to current standards. [Angelo Salese]

Corrected the 202 entry in the LFO Frequency Table (and comments for it) for the YMF271 based on a formula by Olivier Galibert. [Brian Troha, Roman Scherzer]

Added PCB rom locations to Dog Fight (Thunderbolt) romdef as well as the bprom type. [Brian Troha]

Fixed ROM filename for Battle Zone. [Andrew Welburn]

Added basic MSM support for Super Crowns Golf, and fixed NMI generation. Also found & hooked up the flip screen bit, and cleaned up the memory maps. [Angelo Salese]

Hooked up sprite buffering in the Jaleco Mega System 1 driver. [Angelo Salese]

Corrected Euro League clock speeds. [Mike Coates]

Fixed ADPCM stop flag in Jantotsu, and cleaned up some routines in the driver. Added an heuristic table for the msm samples. Fixed MSM frequency. [Angelo Salese]

Hooked up sound in Super Shanghai Dragon's Eye. [Angelo Salese]

Fixed some dip-switches quirks in the Mexico 86 driver and enabled the single board 4 players mode. [Angelo Salese]

Improved timing of communication between the main and sound cpus in the megadriv driver. [Wilbert Pol]

Fixed flickering in Super Shanghai Dragon's Eye on girl presentation screens. Split memory maps for the different sshangha version, and fixed sound in the parent set. [Angelo Salese]

Added I8751 ROM to sqixu [Dr. Decapitator, Nicola Salmoria]

Fixed sqix/sqixa bootleg MCU bad dump by comparison with the original. [Nicola Salmoria]

Fixed coin lockout in Tetris (Arkanoid HW) and removed the GAME_WRONG_COLORS flag since the colors are correct. [Angelo Salese]

Added MSM hook-up for Ganbare Chinsan Ooshoubu. [Angelo Salese]

Fixed background colors in Tryout and cleaned-up the NMI firings on coin insertion. [Angelo Salese]

Cleaned-up the Mazer Blazer driver. [Angelo Salese]

Fixed foreground color offsets in Tryout, game colors should now be 100% accurate. Also fixed flip X on the sprites, fixed scrolling issues, and added screen disable flag. [Angelo Salese]

Disabled unused variables in the project that were only assigned to but never used. [Oliver Stoeneberg]

Removed the pulse input on the touchscreen for the touchmaster drivers, making centipede returns (tm4k), breakout3k (tm3k), wordsearch (tm8k) and possibly other games playable do to the need for "dragging" the screen. An example of this is the word search game where it is necessary to drag from the start letter to the end to highlight the selection, which is not possible with a pulse input. [Mike Green]

Corrected the clock speed for Pirate Ship Higemaru. [Stefan Lindberg]

Hand-tuned bgm OKI sound chip frequency in mirage.c. [Angelo Salese]

Added readmes to Jail Break, Ninja Warriors, Operation Wolf and Rainbow Islands. [Guru]

Fixed sound banking and priorities in Mirage Youjuu Mahjongden. [Angelo Salese]

Decoded color proms and fixed bitplanes in Mirax. [Angelo Salese]

CPUs actually take some time to reset. Changed the 68000/68010 to eat an appropriate number of cycles after a reset. [Aaron Giles]

Sega System 16A changes: [Aaron Giles, Dr. Decapitator]
* Added MCU dumps to quart21 and bodyslam
* Hooked up MCU in these games
* Marked games using simulated MCU as "unemulated protection" as the MCUs clearly do more than what we are simulating

Eliminated SMH_* usage in all memory maps in drivers beginning with A and B. [MooglyGuy]

Added some security custom info to the Sega drivers (from http://www.higenekodo.jp/sega_n.htm). [Yasuhiro Ogawa]

Converted the Namco 50xx, 51xx, 52xx, 53xx, 54xx, and 06xx into proper devices. [Aaron Giles]

Added DERIVED_CLOCK() macro which can be used by sub-devices to derive their clock from the parent device. [Aaron Giles]

Tweaked some of the laserdisc interfaces to use ROM_NAME() and MACHINE_DRIVER_NAME() macros. [Aaron Giles]

Changed the Namco 52xx and 53xx devices to run the actual MCU instead of simulating the behavior. Hooked them up properly in bosco, digdug, and polepos. [Aaron Giles]

Fixed Bronx regression. [Angelo Salese]

Guessed ADPCM PAL shuffling in Idol Janshi Suchie-Pai Special, it sounds better but I'm not sure if it's 100% accurate (I need a side-by-side test). [Angelo Salese]

Added mirrors to Pole Position memory maps. [Aaron Giles]

DIP switch changes: [kanikani]
- added DIPLOCATION to scontra and thunderx
- added some DEF_STRs (Difficult, Very Difficult, etc.) and modified drivers using them

Added internal memory maps and internal clock divider to the MB88xx CPUs. Removed now-redundant memory maps from drivers and removed explicitly-specified clock dividers. [Aaron Giles]

Continued changing CPU references from numbers to tags in drivers. [Fabio Priuli]

Preliminary work on beatmania iidx, still lots to do. [smf]

Several MB88xx changes/fixes: [Aaron Giles]
- internal timer support now works; prescaler is guessed based on Pole Position sample playback frequency
- external counter support works
- a basic mechanism for reading serial input has been added; it is not sufficient for a full implementation, but good enough to sample the SI pin at startup
- fixed TSTS/TSTV to clear their respective flags
- fixed CI and CYI to compute imm-reg instead of reg-imm
- added masking of the PA register upon RTI/RTS to prevent bogus PC values

Fixes compilation with ARM7_DEBUG_CORE enabled. [Reijo Tomperi, Oliver Stoeneberg]

Added support for parsing horizont.ini or vertical.ini based on the game's orientation. [Krick]

Made a pass at shuffling/improving the system 16 and 18 bootlegs. Some games are probably more broken now, but they are better structured for future improvements. [David Haywood]

Fixed a few potential memory leaks detected by cppcheck and also added an errormessage to verinfo. [Oliver Stoeneberg]

Added Guru-readme(TM) for TWINKLE hardware. [Guru]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Aqua Jet (Rev. AJ2 Ver.B) [Guru, R. Belmont, Phil Bennett]


New clones added
----------------
Wizard Fire (Over Sea v2.1) [Irongiant]
US AAF Mustang (TAB Austria bootleg) [Klaus Sommer]
Chaos Heat (World) [Tormod / Brian Troha]
Bloody Roar (Japan) [D. Alves, Smitdogg, Dumping Union]
Fighters' Impact (Japan) [TH60]
Ehrgeiz (Japan) [Uki]
Super Qix (World, Rev 2) [Stefan Lindberg]
High Impact Football (rev LA5 02/15/91)
  [Tormod, Smitdogg, Dumping Union]
Intruder [Smitdogg, jmurjr, ranger_lennier]
Pro. Sports (alternate) [Smitdogg] -- not working
Forgotten Worlds (World) [Corrado Tomaselli]
Cherry Bonus III (alt) [David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Alpine Racer 2 (Rev. ARS2 Ver.A) [Guru]
Tokyo Wars (Rev. TW2 Ver.A) [Guru, R. Belmont, Phil Bennett]
Microman Battle Charge [Guru]
Technical Bowling [Guru]
Enchanted Forest (E - 23/06/95, Local) [AGEMAME]
Golden Pyramids (B - 13-05-97, USA) [AGEMAME]
Queen of the Nile (B - 13-05-97, NSW/ACT) [AGEMAME]
Super Cherry Master / New Cherry Gold '99 [David Haywood]
Super Cherry Master / Super Cherry Gold [David Haywood]
Super Cherry Master / Grand Cherry Master [David Haywood]

http://mamedev.org/
0.131u4
-------

MAMETesters Bugs Fixed
----------------------
- 02730: [Crash/Freeze] fiveside: Doesn't past rom check (Angelo Salese)
- 03226: [Crash/Freeze] dadandrn, mmaulers: Game sits at black screen. (Tafoid)
- 03222: [Sound] ctribe + clones: Music is missing (ShimaPong)
- 03221: [Crash/Freeze] demonwld + clones: Game fails to start (Tafoid)
- 03217: [Misc.] All sets in twinkle.c: Beatmania IIDX chds were added in chdformat < 4 (smf)
- 03218: [Crash/Freeze] anteatgb: Game sits at POST screen (Tafoid)


Source Changes
--------------
Fixed megadrive PAL refresh rate (for MESS). [Enik Land]

Simplified megadriv.c input reading. [Fabio Priuli]

Fixed NMI firing in Goal 92 (same sound hook-up as Euro League). [Angelo Salese]

Replaced almost all remaining cpu[num] occurrences in src/mame/ with tags. [Fabio Priuli]

Converted Dallas DS1302 RTC to a device. [Fabio Priuli]

Fix coin issue sqixr1. [ShimaPong]

Updated Intruder & Moon Base roms with PCB locations. [Brian Troha]

Corrected some rom names & added some PCB locations to pipedrm. Added dipswitch locations. [Brian Troha]

Corrected dipswitches in Konami's Wizz Quiz and added dipswitch locations. [Brian Troha]

Significant improvements to the Super Crowns Golf video. Also hooked up inputs and DIP switches. [Angelo Salese, Yasuhiro Ogawa]

Decrypted Mirax main program roms. [Olivier Galibert]

Cleaned up Namco 5xxx docs, listing both MB88xx pin IDs and Namco custom IDs where appropriate. [Aaron Giles]

Added clocks to the Namco 06xx in anticipation of improved device interconnection. [Aaron Giles]

Added new file devtempl.h which can be used to generate the DEVICE_GET_INFO function. Updated all the Namco I/O devices to use this, along with the 6821pia and voodoo. [Aaron Giles]

Updated galaga driver to use computed video timing. [Aaron Giles]

Added configuration settings and analog adjusters to xml output (see e.g. mario or crbaloon). Also, added port categories for MESS. [Fabio Priuli]

Correct BPROM names, added PCB location and documented the BPROM type for Moon Base. [Smitdogg, Dumping Union]

Corrected rom names for Wing Shooting Championship and added documentation of the new game features of v2.00. [Brian Troha, Dumping Union]

Converted DS1302 to use devtemplate. [Fabio Priuli]

Converted ADC083x converters to be MAME devices. [Fabio Priuli]

Converted Fujitsu MB3773 to be a MAME device. [Fabio Priuli]

Converted NEC uPD4701 to be a MAME device. [Fabio Priuli]

Tekken Tag Tournament Japanese versions: Mark the in-practice undumped roms as NO_DUMP. The versions used in the source were from where from the export version and they're incompatible with the japanese program roms. [Olivier Galibert]

Converted ADC1213x converters to be MAME devices. [Fabio Priuli]

Converted RP5H01 to be a MAME device. [Fabio Priuli]

Added DIP Locations and verified defaults for Speed Rumbler/Rush and Crash (using Speed Rumbler manual). [Tafoid]

Fixed digitalker mode 2. [Olivier Galibert]

Partially converted NEC uPD4990A RTC to be a MAME device. Moved clock init to device_start. [Fabio Priuli]

Added CPU core for the Manchester Small-Scale Experimental Machine (SSEM) from 1948. [MooglyGuy]

Updated the dipswitches and listed the dipswitches in the hvyunit driver. [Brian Troha]

Added documentation about the Galaxian bootleg hardware known as Artic Multi-System. [Brian Troha]

Added alternate read/write handlers to the Z80 PIO implementation. [Curt Coder]

Converted Motorola 6840PTM to be a MAME device. [Fabio Priuli]

Fixed VIA address map in 86 Lions. [Palindrome]

Fixed ROM filenames of CVS Hunchback and Logger. [Andrew Welburn]

Verified clocks and corrected 6502 cpu speed on "the deep". [Corrado Tomaselli]


New clones added
----------------
Off Road Challenge v1.63 [Tormod, Smitdogg, Dumping Union]
Touchmaster 5000 (v7.10 California) [Tormod, Smitdogg, Dumping Union]
Touchmaster 7000 (v8.1X Evaluation) [Incog, Smitdogg, Dumping Untion]
Bucky O'Hare (ver AA) [Irongiant]
Street Fighter II - The World Warrior (World 910214, TAB Austria bootleg) [TeamEurope]

http://mamedev.org/
0.132
-----

MAMETesters Bugs Fixed
----------------------
- 03013: [Misc.] [debug] "Error: free a non-existant block" on TMS57002 source generation (Atari Ace)
- 03241: [DIP/Input] aladbl: Unable to "Press Start" (Fabio Priuli)
- 03238: [Crash/Freeze] gtmr and clones: Access Violation (Tafoid)


Source Changes
--------------
Fixed colors in the Aristocrat Mark-IV driver. [Angelo Salese]

Hooked up 2nd player mahjong panel in mjkjidai. [Angelo Salese]

Watchdog hooked up in twinkle.c so test mode exits. [smf]

Fixed for good the colors in 86 Lions. [Angelo Salese]

Fixed address line swapping in Mirax. [Olivier Galibert]

Fixed rom 2 decryption in Mirax. [Tomasz Slanina]

Improved the video emulation in Mirax. [Angelo Salese]

Fixed a minor typo in the SSEM debugging features. [MooglyGuy]

Fixed a number of year listings known to be unknown or incorrect the current MAME source. The source for these changes come from the book: Arcade TV Game List (Edition: Domestic and Overseas, 1971 - 2005). [Tafoid, Fujix]

Update ghosteo driver with information out of eolith.c about QS1000 and added the sample rom, with a note about it NOT being dumped from this PCB but is a common sample rom used by Eolith. [Brian Troha]

Fixed minor cycle counting inaccuracy in Z80 core. [Marshmellow]

Added the concept of device contracts. A contract is a well-defined set of interfaces supported by a device, and identified by a unique string identifier. A device may support any number of contracts, described in a list via the DEVICE_CONTRACT_LIST* macros. The purpose of contracts is to provide a means for devices to expose a standard set of interfaces to other parts of the system. For example, the PCI device should expose a contract that includes functions for configuration register access, and 32-bit I/O. Then any device with a PCI interface should implement the PCI contract, so that the PCI bus device can route things appropriately. [Aaron Giles]

Removed the MDRV_<devtype>_REMOVE macros. A simple DEVICE_REMOVE works now that device types are not needed. [Aaron Giles]

Verified clocks on Samurai Aces pcb. [Corrado Tomaselli]

Added missing static and const qualifiers throughout the source. [Atari Ace]

Changed several internal interfaces to be more consistent, namely (1) passing device_config as a const always, (2) passing running_machine as a non-const always, (3) eliminating running_machine where possible, (4) passing machine/device first, and (5) preferring (screen, bitmap, cliprect) over (machine, bitmap, cliprect) when all are needed for rendering. [Atari Ace]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mirax [Olivier Galibert, Angelo Salese, Tomasz Slanina]
Super Crowns Golf [Angelo Salese, Tomasz Slanina]
Jockey Club [Andrew Welburn, Dumping Union]


New clones added
----------------
Shadow Force (Japan Version 3) [Guru]


New games marked as GAME_NOT_WORKING
------------------------------------
Enchanted Forest [Palindrome]
Janputer [alien_mame, Dumping Union]
Dolphin Treasure [AGEMAME]

http://mamedev.org/
0.132u1
-------

MAMETesters Bugs Fixed
----------------------
- 03262: [DIP/Input] Drivers using TMS9928: Using any type of frameskip causes crash (Fabio Priuli)
- 03247: [DIP/Input] battles: Unable to locate input port 'IN0' (stephh)
- 03263: [Crash/Freeze] polyplay: PolyPlay crashes/exits with some acces violation (Fabio Priuli)
- 03255: [Compiling] Compile errors with GCC 4.4 (SDLMAME specific)
- 03251: [Sound] kingofb, ringkin3, ringkinw: No sound output (Tafoid)
- 03237: [Crash/Freeze] bagman, sbagman and clones: Error Message: Duplicate save state registration entry (Tafoid)
- 03245: [DIP/Input] nitrobal, gunball: Screen Flipped by default/ Input not allowed (Tafoid)


Source Changes
--------------
Fixed handshaking signals for PPI8255 modes 1/2, and mode 2 input mask. [Curt Coder]

Added framebuffer support in 18 Holes Pro Golf. Fixed backgrounds and added inputs. Decoupled from btime. [Angelo Salese]

Adjusted sound command descriptions for dkong to be closer to the other drivers, and added a missing command description. [Kef Schecter]

Added SP0256 pinout. [Curt Coder]

Fixed colors in Jan-Oh [Angelo Salese]

Fixed several issues compiling with gcc 4.4. [R. Belmont]

Added Dip Locations and made default settings changes to match manuals for Star Wars and The Empire Strikes back. [Tafoid]

Added irq ack support in the rohga driver, fixes character selection behaviour in Wizard Fire. [Angelo Salese]

Fixed background colors and improved the graphics in Pro Soccer. [Angelo Salese]

Refactored MC6845 to use devcb and added cursor callback (for MESS). [Curt Coder]

Added basic gfx pal descrambling to liberate.c, and enabled sound (memory map was disabled but it is actually good?) Fixed for good the background colors and added gfx rom read-back (helps a lot for the tile-based sprites). Improved playability by tweaking IRQ generation. [Angelo Salses]

Added correct ROM names for eprom/eprom2. [Phil Bennett]

Made the 8237 dma controller emulation more accurate by implementing it as a state machine. Deprecated the dma8237_run_transfer function. [Wilbert Pol]

Updated readmes for ATOMISWAVE and TWINKLE hardware. [Guru]

Fixed prom hook-up in Dambuster. [Angelo Salese]

Twinkle WIP: [R. Belmont]
- SPU board emulation improvements (memory map, IRQ controller, IDE, RF5c400)
- Change 4th mix to use real dumped security dongle data

Many graphics and logic fixes to Pro Sports. [Angelo Salese]

Decoded BG backgrounds in Pro Sports. [David Haywood]

Fixed a DECO16 CPU core bug that was causing issues with Pro Bowling part of Pro Sports. [Angelo Salese]

Implemented a new DECO CPU-16 opcode, used by Express Raider for V-BLANK bit and a bunch of liberate.c games for TILT bit. Converted Express Raider to use the DECO CPU-16 core instead of the plain M6502. [Angelo Salese]

Added BPROMs for Intruder. [Yasuhiro Ogawa]

Total Vice now uses the correct boot ROM (same as Polystars). [Phil Bennett]

Fixed Pro Tennis gameplay and added basic background hook-up. [Angelo Salese]

Improved protection simulation and documentation for Shogun Warriors/ BRAP Boys. [David Haywood]

Pointer-ified the minx CPU core. [Atari Ace]

Improved System 16 bootleg behaviors, especially with regards to sprite rendering. [David Haywood]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Double Bet Mahjong  [alien_mame, Dumping Union]
Pro Soccer [Angelo Salese]
Steel Worker [Hau, Chack'n, Dumping Union]


New clones added
----------------
Give us a Break (6 versions) [Anonymous, alien_mame]
Dambusters (US, set2) [N. Garnier, D. Beneke, J. Leyda, A. Costin, W. Belk and Smitdogg]
Cruis'n Exotica (version 2.4) [K. Lee, Smitdogg]
Grand Striker (Americas) [ClawGrip, ShengLuc]
Best League (World) [ClawGrip, ShengLuc]
Grand Striker 2 (Europe and Oceania) [ClawGrip, ShengLuc]


New games marked as GAME_NOT_WORKING
------------------------------------
Sports Shooting USA [Guru]
Ranger Mission [Guru]
beatmania IIDX [Guru]

http://mamedev.org/
0.132u2
-------

MAMETesters Bugs Fixed
----------------------
- 02974: [Crash/Freeze] dmdtouch: Freeze/Hang of process (Angelo Salese)
- 03278: [Gameplay] steelwkr: Inserting a coin at certain moments during attract mode results in a broken game. (Hau)
- 03276: [Sound] bangball, balcube, batlbubl, daitoa: Missing sound (Fabio Priuli)
- 03267: [Crash/Freeze] arabian, arabiana: Game Hangs In demo or play (Tafoid)


Source Changes
--------------
Added sound to bayrouteb2. [Angelo Salese]

Identified the main CPU in Pachi Fever [Olivier Galibert, Wilbert Pol]

Fixed sprite flipping bits in Pro Sports [Angelo Salese]

Cleaned up sexyboom memory map. [Angelo Salese]

Identified the main CPU in Hit Poker [Olivier Galibert]

Fleshed out the MC68HC11 CPU core, adding support for numerous new opcodes and basic IRQ support. [Angelo Salese]

Improved/fixed ROM names for Mortal Kombat 4. [Brian Troha]

Add correct keys for Sports Shoting USA and Ranger Mission [Andreas Naive]

Added extremely rudimentary Atmel 8-bit AVR CPU core, missing most opcodes and any attempt at proper cycle counts. [MooglyGuy]

Added PCB layout for Gaelco's Bang!, corrected Bang! rom names and minor correction of Snowboard PCB layout [Brian Troha]

Fixed gfx decoding in Hit Poker [David Haywood]

Made some logic fixes to Hit Poker and significantly improved the video. [Angelo Salese]

hachamf: redumped GFX maskROM and corrected filename [Team Japump!!!]

Amiga AGA update [Mariusz Wojcieszek]
- fixed sprite data fetching and sprite colors

Cubo CD32 update [stephh]
- fixed inputs
- found why inputs are not read (protection ?), hacked to work now

Fixed PPCDRC incorrect instruction checksum order [Phil Bennett, R Belmont]

Fixed breakpoints in the TMS9900 CPU core [Olivier Galibert]

Improved sound and inputs in Midnight Landing. [Angelo Salese]

Improved protection simulation for Brap / Shogun warriors, eliminating the hardcoded table with the initial program snippet in, getting it from the rom instead, and generally cleaning things up. [David Haywood]

Added GALs to the Klax sets and fixed the ROM names. [Kevin Eshbach]

Updated Bally Sente Spiker with the cartridge type and added notice that it has an undumped PAL. [Kevin Eshbach]

Added some information to the Gottlieb driver about the board ids of Q*Bert and M.A.C.H. 3 and the various known Gottlieb assigned game ids. [Kevin Eshbach]

Removed Shooting Master Unprotected set since the initial dump was bad and turned out to match the EVG revision. [Kevin Eshbach]

Normalized driver-specific drawing code to use the standard parameter ordering: bitmap, cliprect, gfx, ... Updated most video drivers to use the more modern drawgfx_* variants. Eventually the generic drawgfx will be deprecated, so please use the newer functions. [Atari Ace]

Added casts to ensure proper values are passed to the ctype.h functions. [Juergen Buchmueller]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pro Sports [Angelo Salese]
Candy Puzzle [Mariusz Wojcieszek, stephh]
Harem Challenge [Mariusz Wojcieszek, stephh]


New clones added
----------------
High Impact Football (rev LA1 12/16/90) [K. Lee, M. Josephson, Smitdogg]
Asteroids (rev 4) [Andy Welburn, Dumping Union]
Lupin III (set 1) [Hau, Team Japump]


New games marked as GAME_NOT_WORKING
------------------------------------
Hit Poker [Angelo Salese]

http://mamedev.org/
0.132u3
-------

MAMETesters Bugs Fixed
----------------------
- 03288: [Sound] raiga, stratof: Sound is messed up (Mamesick)
- 03185: [Interface] All games using Lightguns: [debug] Bitmap memory Leak (Firewave)
- 02797: [Core] hangplt: Hang Pilot no longer boots since the new PPC DRC went in (Phil Bennett)


Source Changes
--------------
mlanding: fixed sub CPU reset line,fixed main-to-sound CPUs comms, added PORT_TOGGLE for the inputs and fixed color banking. Fixed analog inputs. Added DSP and background graphics. [Angelo Salese]

Added redumped sample ROMs to Hang Pilot. [Guru]

Mapped Player 2 Start in Salary Man Champ [smf]

Marked all beatmania iidx games as not working. [smf]

mlanding: fixed foreground framebuffer graphics [Phil Bennett]

Fixed AGA display window start and stop (fixes startup screen and lsrquiz & lsrquiz2 missing graphics) [Mariusz Wojcieszek]

Added PCB location to several rom sets in the asteroid.c driver. [Brian Troha]

Added TMS0980 cpu core. [Wilbert Pol]

mc68hc11 improvements: [Angelo Salese]
* Added STX DIR, STY DIR opcodes.
* Fixed a bug with TAP opcode.
* Fixed internal RAM/internal I/O start-up state.
* Fixed the I/O system by changing the has_io flag with a has_extended_io flag (switch between 0x40 and 0x100 I/O registers) the latter is used by the Taito JC HC11 CPU only at the current time.
* Fixed a register r/w to allow Skeet Shooter to put some gfxs.

Added default monochrome amber and green palettes. [Curt Coder]

Redumped m1 ROM of minasan [Team Japump]

PPCDRC: fix flags on STWCX and fix FMULS to use the correct registers. [R. Belmont]

Some improvements to the unkch romsets [David Haywood]

Fixed Model 3 Real3D DMA source addressing. [Phil Bennett]

Fixed a graphic bug with Saboten Bombers. [Angelo Salese]

Fixed magtruck to use the alternate EEPROM. [R. Belmont]

Updated drummania 2nd mix and 2nd mix power up ver chds. [smf]

Adds latest US BIOS to the Naomi driver. Adds EPR-21577G, version 1.70 [Gerald (COY), Dumping Union]

Added kludges to get racin force / open golf past the initial check screens with the TMS emulation enabled. [David Haywood]

Fixed an assert when using the 80188 CPU. [Dirk Best]

Verified/changed clocks on Black Heart. [Corrado Tomaselli]

Model 3 driver updates: [R. Belmont]
- Interrupt controller improved
- Fixed chip IDs for magtruck and von254g
- Various notes for working out additional issues

Removed old drawgfx APIs after converting the remaining drivers to the new ones. [Atari Ace, Aaron Giles]

PPCDRC: Generate some FPSCR flags [Phil Bennett]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Hyper Bishi Bashi Champ (2 sets) [smf]
Bass Angler 2 (GE865 VER. JAA) [smf]
Laser Quiz [Mariusz Wojcieszek, stephh]
Laser Strixx 2 [Mariusz Wojcieszek, stephh]
Laser Quiz 2 [Mariusz Wojcieszek, stephh]
Magic Number [Mariusz Wojcieszek, stephh]
Magic Premium [Mariusz Wojcieszek, stephh]


New clones added
----------------
E-Jan Sakurasou (v1.2) [The Guru]
Bloody Roar 2 (World) [Brian Troha]
Super Basketball (version I, encrypted) [Mr Goodwraith, Smitdogg, Dumping Union]
Super Locomotive (Rev.A) [Team Japump]
Mario Bros. (US, Revision F) [Mr Goodwraith, Smitdogg, Dumping Union]
Pae Wang Jeon Seol / Legend of Warrior (Korean censored) [Guru]
Fruits & Bunny (clone of Country Girl) [TeamEurope, Dumping Union]
Lost World (older) [Team Japump]
Cactus (clone of Saboten Bombers) [TeamEurope, Dumping Union, David Haywood]
Sunset Riders (bootleg of Megadrive version) [Gatinho, Smitdogg, Dumping Union, David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Shiseikatsu [mNyz49s8]
Skeet Shot [Phil Bennett, Andy Welburn, Angelo Salese]
Magical Truck Adventure [R. Belmont]

http://mamedev.org/
0.132u4
-------

MAMETesters Bugs Fixed
----------------------
- 03277: [DIP/Input] batrid & clones: If you select freeplay, hit score, music & sound dips are inverted vs MAME tab (Fabio Priuli)
- 03292: [Crash/Freeze] battles, gallag, gatsbee: [debug] assert: src/mame/machine/namco06.c:240: state->device[2] != NULL || config->chip2 == NULL (Fabio Priuli)
- 03019: [Core] Sets with added Shifters: Running with the Shifter changes orientation in vertical games (Mr. Do)


Source Changes
--------------
Fixed sound in Seibu Cup Soccer bootleg [Angelo Salese]

Removed a kludge from Sengoku Mahjong sound comms [Angelo Salese]

K053936 cleanup and some improvements for Racin' Force [David Haywood]

Marked siseikat prg rom as bad dump. [Angelo Salese]

Added very basic SCC68070 implementation, currently is just a basic m68k with 32-bits of address lines. The plan is to add the on-chip peripherals on the magicard.c driver then, when I get some consistency, hardwire it to the cpu core. [Angelo Salese]

Better fix for Amiga AGA ddf_stop_pixel, to avoid breaking Amiga 1200 startup screen. [Mariusz Wojcieszek]

Fixed Cubo CD32 framerate to 50 [Mariusz Wojcieszek]

Confirmed Last Duel sets and changed to use genuine GFX ROMs [Team Japump]

Marked vf3tb CROM0 ROMs as BAD_DUMP (they should be 4MB). Updated game status notes. [Phil Bennett]

Allow skeetsht to put some gfxs. [Angelo Salese]

SCC68070: hooked up basic registers in the memory map. [Angelo Salese]

Update to the lastduel.c driver:
* Better rom load / decode for Last Duel sets [David Haywood]
* Readme / PCB layout [Guru]
* Corrected rom labels and added PCB locations to Mad Gear / LED Storm sets [Brian Troha]

model3: masked CROM bank, fixes missing gfx in several games. [R. Belmont]

Adds DIP port locations to Last Duel & Mad Gear sets. [Brian Troha]

Added redumped vf3tb ROMs [Guru]

Tokimeki Mahjong Paradise driver improvements:
- split tmmjprd / tmpdoki from rabbit.c as it uses the graphic chip in a very different way, and having them together was making it more difficult to make progress on [David Haywood]
- changed them to use custom rendering code instead of tilemaps, as they can address tile data at a sub-tile level, this fixes the girls in the intro [David Haywood]
- added inputs [Angelo Salese]
- added some notes about a hang, and possible reason [David Haywood]
- marked the graphic roms of tmpdoki as BAD as it appears to be using tiles which are not present in the tmmjprd roms for the title screen [David Haywood]

ARM (26-bit): TST/TEQ should only update flags. This eliminates the need for patches in poizone/ertictac, all deco32 games still run (including hvysmsh), and it better matches the documentation. [R. Belmont]

Updated the Led Storm Rally 2011 set with the new roms as per the Guru's info. Marked this game as GAME_IPERFECT_GRAPHICS due to the bad sprite ect. [Brian Troha]

Corrected p911uc compact flash dump by Guru. [Angelo Salese]

Added fade in/fade out effects for tmmjprd [Angelo Salese]

Document the Pacman on Tecmo World Cup '90 hardware. Lists the roms plus CRC32 / SHA1 in the comment section to prevent it from turning up as a newly "found" game and to show users MAME is aware of it existence. [Brian Troha]

Add gun I/O board to Teraburst and hook up 68k/PPC comms. Not sure how the guns are read yet but this fixes the CALL ATTENDENT immediate death and the game runs fine now. [R. Belmont]

Changes to support address maps for arbitrary devices: [Aaron Giles]

- Moved address_map array from cpu_config to device_config. Added MDRV macros in the device for specifying address maps. Changed the memory system to fetch the maps from the new location.

- Moved the address-space related get_info constants to devintrf (including endianness). Removed space array from the CPU class header. Made the memory system much more device-neutral. Various other cleanups along the way.

- Expanded address maps from 3 to 4. Moved ADDRESS_SPACE_PROGRAM/DATA/IO constants to cpuintrf, as those names are really only applicable to CPUs. Added new ADDRESS_MAP_0/1/2/3 constants to identify address maps more generically.

- Updated memory system to be more general about address map handling. Added the concept of default address maps (in addition to the already existing internal memory maps). The difference between internal and default memory maps is that internal memory maps always override everything (including user-specified maps), but default memory maps simply provide a default that can be overridden.

- Converted the okim6295 sound driver to use address maps for access. By default, it defines a ROM address map that overlays its full region. As a result, the validity checks require all okim6295 regions to be at least 256k, unless you provide your own address map. Updated all regions to meet this requirement.

- Updated the atarijsa code to use a custom address space for its okim6295 accesses (which are banked on the first half and static on the second half), as an example of configuring a device with a custom address space.

- For now, attempts to use okim6295_set_bank_base() will still work, though banking for the okim chips should be moved to custom address maps in the drivers eventually. The first time okim6295_set_bank_base() is called, it will install a banked memory handler over the region and use memory_set_bankptr() to change the base on subsequent bank switches.

- Moved address map validity checks to be run for each device instead of just each CPU.

Removed PREDECODE_GFX compile flag, as the on-the-fly decoding seems to be working reliably. Deprecated the ROMREGION_DISPOSE flag, as 98% of the use of it no longer is applicable with on-the-fly decoding, and the remaining cases are difficult to identify among the others. [Aaron Giles]

Documentation updates: [Kevin Eshbach]
* For Super Basketball adds the rom locations for those that were missing before and adds the jumper settings
* Documents the SEGA cpu part number for Future Spy and Super Zaxxon

safarir: fixed colors and filenames, and added samples [Hau]

Update Deniam driver YM3812 clocks to match recording. [Lord Nightmare]

Added comment about galaga.c bootlegs using 06XX emulation. [Fabio Priuli]

Fixed Aqua Jet sample ROM loading [skeleton081983]

Fixed a HD6309 core bug/typo in the divq_im opcode. [Romain Tisserand]

Improved Jockey Club 2 driver organization: [David Haywood]
- added different machine drivers for the different sets.
- added an st0016 to the 'older hardware' machine driver, that's what the 'z80' rom on it is for (see st0016.c)  the newer hardware and bootleg don't use it.
- still waiting for proper gfx dumps


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Private [Uki, Yasuhiro Ogawa]
Tokimeki Mahjong Paradise - Dear My Love [David Haywood, Angelo Salese]
Tokimeki Mahjong Paradise - Doki Doki Hen [David Haywood, Angelo Salese]
Woodpecker (set 2) [Guru]
Teraburst (1998/07/17 ver UEL) [Guru, Mark Frisbee]
(Greyhound) Trivia (Questions Series 11) [Brian Troha, Dumping Union]


New clones added
----------------
Millennium Nuovo 4000 (Version 1.3) [Tomasz Slanina]
Millennium Nuovo 4000 (Version 1.6) [Tomasz Slanina]
The Next Space (Japan, licensed to PIC) [Team Japump]
Peter Pan [David Haywood]
Knights of the Round (World 911127, bootleg) [David Haywood]
Tehkan World Cup (set 3, bootleg) [David Haywood]
International Toote II (World?) [David Haywood]
SportTime Table Hockey (Arcadia, set 2) [Siftware]
World Darts (Arcadia, set 2) [Siftware]
Ninja Mission (Arcadia, set 2) [Siftware]
Sidewinder (Arcadia, set 2) [Siftware]


New games marked as GAME_NOT_WORKING
------------------------------------
Pirati [Tomasz Slanina]
Johnny Nero Action Hero [R. Belmont, The Dumping Union]
Poly-Net Warriors [Uki]
Sunset Riders (bootleg of Megadrive version) [Gatinho, Smitdogg, Dumping Union, David Haywood]
The House of the Dead III [GDX-0001] [MAME Italia]
Jockey Club II (2 sets) [David Haywood]
Quake Arcade Tournament [Siftware]
Turret Tower [Siftware]

http://mamedev.org/
0.132u5
-------

MAMETesters Bugs Fixed
----------------------
- 03250: [DIP/Input] empcity and clones: Credits are registering twice (Luigi30)
- 03309: [Crash/Freeze] All Sets in ojankohs.c: When game issues a sound/voice, the game crashes (Tafoid)
- 03308: [Crash/Freeze] overdriv: Game Resets at "Ram Check" (Tafoid)
- 03235: [Graphics] timecris and clones: Severe graphics corruption (Skeleton081983)
- 03299: [Core] tehkanwcc: double and wrong rom definition (Roman Scherzer)
- 03305: [Graphics] blockout, blckoutj, blckout2: The text in yellow on the "blockmaster" screen is corrupted (Fabio Priuli)
- 00772: [Gameplay] burnforc: The powerup item is always "L" in mame. (hap)
- 02197: [Gameplay] rthun2, rthun2j, finehour: Black screen, game does not start (Phil Bennett)
- 03298: [Compiling] Warning at devintrf.c:128 compiling with MSVC (Aaron Giles)


Source Changes
--------------
DIPSW update [kanikani]
- fixed default setting of jjsquawk, marked the game as IMPERFECT_SOUND, and added some notes
- added DIPLOCATION for toypop and liblrabl

Intel 8255A PPI:
- Added a new implementation of the I8255A device. Rewritten from scratch to properly support handshaking in modes 1 and 2.
- Refactored sg1000a.c to use the new implementation.

Redumped Konami Viper CF and NVRAM for all games and updated drivers. [Guru, Angelo Salese]

Fixed Aqua Jet sample ROM loading offset again. [Phil Bennett]

Fixed screen masking and left screen call drawing in tmmjprd. [Angelo Salese]

Added hardware notes to the Quake Arcade Tournament driver. [vidpro1, Andrew Gardner]

Added mechanism for the laserdisc core to return 0 for the philips codes if video is squelched. Updated the Gottlieb and Cliff Hanger drivers to request it this way, since they decode externally. [Aaron Giles]

Made a couple of minor tweaks to the Cliff Hanger driver. Fixed interrupt timing (was not taking into account interlacing) to fix up glitches in playback and ensure the disk test passes. Added SHA1 and marked the game as working. [Aaron Giles]

Promoted Final Lap 2 & Final Lap 3 to working since they just require to init their analog controls (same sequence as Final Lap R). [Angelo Salese]

Added basic support in bitmap.c for 64-bit indexed bitmaps. As a result, you will need a full recompile with this change, since the bitmap formats enum was altered. [Aaron Giles]

Introduced new feature -burnin, which can be used to generate a PNG that represents the overall brightness seen during the course of running a game. This PNG can be used as a fake "bezel" that overlays the screen via the artwork systems (with a low alpha, say 0.1 or 0.2) to simulate running a game with a monitor that has been burned in from another game. [Aaron Giles]

Fixed the -crsshairpath option to be spelled properly. [Aaron Giles]

Made pr8210 serial processing a little more robust. [Aaron Giles]

Fixed year for Mighty Monkey (and clones) based on US Copyright Searches. [Braille]

ARM7 updates [R. Belmont, Ryan Holtz]
- Prepped to support multiple architecture versions
- Added ARM9 CPU type (ARMv5TE)
- Added mostly-stubbed system coprocessor/MMU support

Fixed resource leak in core_fload(). [Aaron Giles]

Added flashv2.u30 (v2 bios) to the taitogn driver. [Joerg Hartenberger]

Added IDE Lock mechanism to the IDE Driver in MAME, so games on gnet v2 bios are working correct now (idectrl.c / idectrl.h) & taitogn.c. [Joerg Hartenberger]

Further improvements for Shogun Warriors: [David Haywood, Tomasz Slanina]
-- decoded tables for several of the startup commands, made some observations, was unable to properly decode table 0x80, second byte scrambling is .. odd, so just using extract data right now.
-- properly mapped inputs in Shogun Warriors
-- decodes a block of data used by the Japanese version (fjbuster) for the character select screen. Basically block 0x40 is the same as mcu block/table 0x41, but using different encryption (inline encryption table + additional overlay table instead of each byte being bit shifted)

Updated Jockey Club II notes. [David Haywood, Gerald]

Verified Fruits & Bunny PROM. [f205v]

Added new split tool that can be used for splitting giant files with per-file hashes and without corrupting them. [Aaron Giles]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cliff Hanger [Aaron Giles, Warren Ondras, Ernesto Corvi]
Cobra Command (M.A.C.H. 3 conversion) [Aaron Giles, Warren Ondras]
Otenami Haiken Final (V2.07JC) [Joerg Hartenberger]
Back Fire (Tecmo) [Tirino73, David Haywood]


New clones added
----------------
Witch Card (german?) [Team Europe / Dumping Union]


New games marked as GAME_NOT_WORKING
------------------------------------
Shootout Pool [f205v]
Multipede [Angelo Salese]
Cobra Command (Data East LD) [Angelo Salese]
Road Blaster (Data East LD) [Angelo Salese]
Time Traveller [Angelo Salese]
Super Cherry Master [Team Europe / Dumping Union] (incomplete set)

http://mamedev.org/
0.133
-----

MAMETesters Bugs Fixed
----------------------
- 03191: [Crash/Freeze] armchmp2: Allowing Demo to run triggersTest Mode (hap)
- 02916: [Crash/Freeze] srmvs: [debug] Assertion (Aaron Giles)
- 03300: [Crash/Freeze] tmmjprd, tmpdoki: [debug] Crash after OK (Aaron Giles)
- 03310: [Misc.] cobram3, cobra: Parent/clone relationship missing (Aaron Giles)
- 03311: [Misc.] p911uc, p911j: chd a00c02 is used in both clones but they use different hashes (Angelo Salese)


Source Changes
--------------
Added GAME_IMPERFECT_SOUND flag to taitogn.c games since we don't emulate the sound CPU. [Fabio Priuli]

CDP1802: [Curt Coder]
- refactored the Q and DMA callbacks to use devcb
- fixed state code output and load mode

Added FP registers to PPC debugger interface. Fixed bugs in the x64 back-end that prevented proper 3D rendering for Model 3 games. [Aaron Giles]

ARM7 improvements: [R. Belmont]
- Added ARMv5+ CLZ instruction.
- Added ARMv5TE instructions: QADD, QDADD, QSUB, QDSUB, SMLAxy, SMLALxy, SMULxy, SMULWy, and SMLAWy
- Fixed disassembly of CLZ

Improved DIP switches in toypop. [kanikani]

Audited and added GAME_SUPPORTS_SAVE flag to all games in the mappy.c driver (superpac, pacnpal, grobda, phozon, mappy, todruaga, digdug2, motos and clones of each) [MooglyGuy]

Naomi update [Deunan Knute, R. Belmont]
- Implemented cartridge protection chip mechanism
- Added protection data for doa2 and doa2m
- Added real dumped cartridge X76F100 data for doa2/doa2m

Several MESS-specific snes fixes for rendering. [Angelo Salese]

Merit Multi-Poker improvements: [Roberto Fresca]
* Full Inputs.
* DIP Switches.
* Simulated spark-watchdog circuitery.
* Demuxed custom port.
* NVRAM support.
* CPU clock derived from #defined crystal.
* 8000-8007 Output ports.
* Coin related counters.
* Sound components and trigger found at 8000-8003, bit2.
* Full lamps support.
* PCBs layouts & technical notes.
The 4 games are fully playable. Sound seems to be discrete, so the circuitery need to be traced. Colors are still wrong.

Added documentation regarding different Cobra Command versions. [Ruben Panossian]

Fixed card reset in Taito g-net games. [Joerg Hartenberger]

Fixed gun and crosshair positioning in TimeCrisis and Bubble Trouble. [hap]

Decoded some ram based tiles in jclub2. [David Haywood]

Fixed interrupts in the cischeat driver, fixing Scud Hammer and Arm Champs II. [hap]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Multi-Poker [Roberto Fresca]


New clones added
----------------
Super Free Kick (set 2) [Klaus Sommers]

http://mamedev.org/
0.133u1
-------

MAMETesters Bugs Fixed
----------------------
- 03352: [DIP/Input] cobram3: No demo (attract) sound (Xander)
- 03354: [DIP/Input] cobram3: Infinite lives dip switch triggers service mode (Xander)
- 02377: [Graphics] fourtrax: There are some graphics glitches (POSIRQ-related?). (hap)
- 02645: [Gameplay] sbrkout: Super Breakout paddle not reaching left hand side (hap)
- 03317: [Graphics] starblad: No Large polygons displayed (hap)
- 02378: [Graphics] fourtrax: Sprite banking (for rear view mirror) isn't working. (hap)s
- 01119: [Color/Palette] finehour: [possible] Some bigger enemies seems to have bad colors. (hap)
- 03242: [Graphics] fantzone, fantzon1: Background scroll is completely broken. (hap)
- 03314: [Documentation] mrdrillr, mrdrilr2: Title should be "Mr. Driller" (dot), not "Mr Driller" (Fabio Priuli)
- 03349: [Sound] mpatrol, mpatrolw: Wimpy explosion sound (couriersud)
- 03366: [Compiling] Default mametiny build no longer compiles (Fabio Priuli)
- 02715: [Crash/Freeze] sokyugrt, shienryu: sokyugrt freezes after the loading and patent screens. shienryu allows coins but that's it. (Angelo Salese)
- 03359: [Graphics] sonson: unsupported negative sprite positions (Angelo Salese)
- 03358: [Misc.] sonson: Unimplemented coincounter (Angelo Salese)
- 03348: [Graphics] jjsquawb: Background Graphics Incorrectly mapped (robiza)
- 03320: [Sound] cliffhgr: dip switch setting reversed for demo sound play (Tafoid)
- 03316: [Sound] burglarx: The main music is distorted (Osso)
- 03313: [Misc.] cliffhgr, cliffhga: Missing parent/clone relationship (smf)


Source Changes
--------------
Made cliffhga a clone of cliffhgr. [smf]

ARM7 updates: [R. Belmont]
- Preliminary PXA255 support, including Intel-specific CP14
- Hooked up TLB

Fixed player 2 input port in photon.c. Fixed bad CRC/SHA1 in photon.c. [Mariusz Wojcieszek]

Naomi/AW updates: [Deunan Knute, CaH4e3, R. Belmont]
- DMA protection emulation for qmegamis, fixes in-game graphics
- Correct decryption key for Extreme Hunting
- Added protection emulation for Cosmic Smash
- Added protection emulation for Capcom vs. SNK (cartridge ver)

DIPSW fixes: [kanikani]
- argus: fixed service switch (was defined to port that does not exist), and fixed DIPLOCATION order.
- valtric: fixed note for how to enter test mode. coin1 and coin2 were swapped, and fixed DIPLOCATION order.
- butasan: coin1 and coin2 were swapped, and fixed DIPLOCATION order.

The 6532 RIOT timer should keep spinning after a timeout (regression introduced in 0.126u2). [Wilbert Pol]

Did the following changes to the tankbatt.c driver [Angelo Salese]:
* Cleaned-up the irq / nmi firing and fixed irq acks;
* Cleaned-up the memory map;
* Added coin counter, coin lockouts and added a second coin chute;
* Documented some unclear i/os;
* Flagged the game as GAME_IMPERFECT_SOUND since it uses samples instead of proper discrete sound emulation;

Fixed DEMO_SOUND Dip assignment in cliffhgr to work correctly when turned ON. [Tafoid]

Improved colors in Merit Poker [Angelo Salese]

Fixed the version number of 2 sound roms for Mortal Kombat 4 and made U2 1MB in size which is correct. The actual rom type is a 27C800 and has been verified on 2 seperate PCBs. All the rest of the roms are 27C160 as per the driver. [Brian Troha]

Added license information to the 2 Red Hawk sets (IE: the US & Italy). [Brian Troha]

Added Screen Raw Params hook-up to the ST-V driver, fixes some of the current issues [Angelo Salese]

Added dip port locations to Glass, Alligator Hunt, Touch & Go, World Rally 2: Twin Racing & Maniac Square [Brian Troha]

Added dip port locations to Big Karnak, Biomechanical Toy, Maniac Square (prototype), Squash & Thunder Hoop [Brian Troha]

Updated many clone names to use more than 8 characters. [Yasuhiro Ogawa, Brian Troha, Tafoid, Fabio Priuli]

Added dip port locations to Sky Soldier, Time Soldiers and Paddle Mania. [Brian Troha]

39 in 1 improvements: [MooglyGuy, R. Belmont]
- Fleshed out some Intel PXA255 peripherals.
- Improved PXA255 DMA controller emulation.
- Fixed FBARx register accesses to wait until the current DMA transfer has completed before triggering another interrupt.
- Hooked up 93C66 EEPROM.
- Fixed LCD DMA behavior
- Fixed EEPROM byte order
- Video, inputs, and flash data ROM hooked up
- Improved PXA255 LCDC, DMA and I2S emulation
- Working but not great CPLD protection simulation

ST-V: Hand-tuned pixel-clock to match measured fps from the pcb [Angelo Salese, Corrado Tomaselli]

Improved hblank duration behaviour [Angelo Salese]

Added PCB location to 4 roms in a Head Panic clone. [Brian Troha]

Corrected rom names for Four Trax. Added the Guru's readme for Four Trax. Derived all CPU clocks based on actual OSC timing. [Guru, Brian Troha]

Added basic PCB layout and added "U" locations to as many rom names as I could identify in a hi-res pic of the PCB. [Brian Troha]

Updated sonson DIP locations and defaults to match those of the game upgrade manual. [Tafoid]

Added dip port locations to: [Brian Troha]
* Gaplus / Galaga 3 and clones
* Funny Bubble and clone
* Gang Busters and clones
* Green Beret plus clones and Mr. Goemon (also cleaned up)
* GI Joe and clones
* Gladiator and clones (also corrected to match factory settings)
* Ghosts'n Goblins and clones (also restated bonus descriptions)
* Goindol and clones
* Grand Champion
* MX5000 / Flack Attack
* Food Fight and clones
* Got-cha Mini Game Festival and clone
* Aquarium, Gun Dealer plus clones and Wise Guy plus clone
* Haunted Castles and clones
* The Main Event, Devastators and various clones
* Magical Cat Adventure, Nostradamus and various clones
* Multi Champ and clone (also added support for coinage mode 1 & 2)
* Dragon Master
* B-Wings and clones
* DECO Cassette System driver (also split out settings for specific games where appropriate)
* Vandyke, Blackheart, Many Block, Task Force Harrier, US AFF Mustang, Hacha Mecha Fighter, Koutetsu Yousai Strahl, Bio-Ship Paladin, Acrobat Mission, Super Spacefortress Macross, Super Spacefortress Macross II, Thunder Dragon, Thunder Dragon 2, GunNail, Sabotan Bombers, Bombjack Twin, Nouryoku Koujou Iinkai, Guardian Storm
* Stagger I & clones, Bubble 2000, Fire Hawk and Spectrum 2000
* Air Attack, SS Mission and Twin Action
* Super Pac-Man, Pac & Pal, Grodbda, Phozon, Mappy, Tower of Druaga, Dig Dug II and Motos as well as clones

Various improvements to Yumefuda / Alba ZG driver [Angelo Salese]
* Hooked up basic mc6845 crtc, fixing resolution and refresh rate;
* Hooked up the ppi8255;
* Hooked up some previously unemulated system inputs;
* Added coin counter / coin lockout and added proper flip screen bit;
* Corrected system clock;

Added dip port locations to Bosconian, Galaga, Xevious Dig Dug and clones. Added proper conditional bonus (based on number of starting fighters) to Bosconian and Galaga [Brian Troha]

More accurate program rom names for Polygonet Commanders (ver UAA) set. [Brian Troha]

Improved bonus verbiage for the galaga.c, gng.c, gberet.c & gbusters.c drivers. Verbiage more like the actual manual. [Brian Troha]

Various improvements to the Speed Attack driver [Angelo Salese]
* Hooked up basic mc6845 crtc, fixing resolution and refresh rate;
* Added the watchdog;
* Corrected system clock;
* Removed a video quirkness (tilemap h/w values were bigger than its VRAM) and cleaned up some other minor stuff;

Redumped bingor2 gfx roms. [Team Europe]

Simplified Atomiswave's decryption routine & keys. [Andreas Naive]

Added Guardian Storm PCB layout [Brian Troha]

funworld.c improvements [Roberto Fresca]
- Removed generic funworld DRIVER_INIT.
- Added partial PIAs connection diagram.
- Updated technical notes.

Rewrite of NES PPU: [Robert Bohms]
- Ported ppu2c0x to use a device memory map
- Ported all rendering to access PPU address space through memory map
- Updated MAME drivers to install read handlers or memory banks in PPU memory map, as appropriate.
- Removed all mirroring and banking code from the ppu, as the backing memory is documented to be external
- Supplied replacement banking alternatives for all MAME drivers (vsnes.c, playch10.c, cham24.c, and multigam.c)

Sound map cleanup for the taito_x.c driver. [Tafoid]

Improved Irem sound: [couriersud]
- Better Moon Patrol sound
- Revisited schematics
- Found 10-Yard schematics as well
- Corrected a bug, some discrete values and added two RC nodes from schematics

NMK16 driver clean ups. Merged some of the duplicated code in nmk16.c, and attempting to handle the larger tilemaps used by Thunder Dragon 2, Rapid Hero and Macross 2 in a more correct way. This has fixed some glitches in the intro of Rapid Hero without breaking the ingame graphics. [David Haywood]

Added default input mappings for gambling / poker / slot games. Converted many drivers to use the new mappings. [Fabio Priuli]

Some improvements to the meadows driver: [robiza]
- set autocenter value to 0 in deadeye
- implemented correct inputs in bowl3d and removed not working flag

Unified sets with unknown manufacturer to use all the same manufacturer <unknown>. [Fabio Priuli]

Decrypted progolfa. [robiza]

Documented what the "language" dipswitch actually does for Rapid Hero. [Brian Troha]

Clear screens. When set to "English" you simply see "Stage 'x' Clear" (where 'x' is the current stage you just finished).

Changed clocks on Trojan as verified on pcb. [Corrado Tomaselli]

Changed quake CPU speed to 233MHz, added basic PC IO map, hooked up 8259, corrected year to 1998, added some TODO statements. [Luigi30]

Moved priority_bitmap from a global into the running_machine struct. Updated all drivers accordingly. [Atari Ace]

Changed Scud Hammer analog controls from paddle to accelerometer. Previously, if you did nothing, the paddle control caused the hammer to smash automatically. [hap]

Verified and updated the vertical syncs on the following pcb: [Corrado Tomaselli]
- system18 motherboards
- ninja ryukenden
- tricky doc
- raiden
- Ninja Kid 2
- atomic robokid
- tiger road
- stv motherboard
- toki
- raiden 2 / raiden dx (same pcb)
- cabal
- blood bros
- tengai
- gng
- rally byke
- vimana

Fixed some inconsistencies with bootleg manufacturer names, eg. using Bootleg (big B), or using the original company if the rom is a bootleg. [hap]

Changed sound z80 of ghost and goblins from 3mhz to 1.5mhz as verified on pcb. [Corrado Tomaselli]

Documented lamps/motor usage for Night Striker [Angelo Salese]

Made irqs more accurate in City Connection [Angelo Salese]

Hooked up Cobra Command sound ROM. [Jim Hernandez, Aaron Giles]

Fixed cobram3 dip switch. [Xander]

Fixed a bug related to eating cycles during 68k cpu reset. Previously, initial_cycles had a wrong value after reset, and if cycles were < 0, it'd always return 0. This change also happens to fix a scrolling bug in Fantasy Zone, introduced when that cycle eating thing was added. [hap]

Calc 3 update: [David Haywood]
- Shuffled a few things around based on new findings
- Added an extra decryption table used for the Brap Boys startup code (still doesn't do anything interesting)
- Noted that one of the unknown parameters for the MCU Init command is where it reads / writes eeprom data from.
- Noted that an additional parameter in the MCU commands may cause further displacement of the writeback address, as BRap Boys seems to rely on this (needs further testing) - added a hack for now so that BRap Boys places the writeback address of the initial table somewhere that causes it to get executed.

Marked graphics ROMs on Led Storm Rally 2011 (US) as bad, as they cannot possibly be the right ones for this set. [David Haywood]

Properly added support for namcos2 multiple posirq anyway. Fixes the following issues:[hap]
- starblad polys
- fourtrax track and mirror
- dirtfoxj game start spotlight effect, game still locks up tho
- burnforc 'hiccup' glitches when scrolling left/right
- luckywld tunnel glitch (still a bit glitchy though)
- finehour bad sprite colors

Changed vsyncs to the following games: truxton, demon's world, Pang, super pang, block block, yie ar kungfu and kikikaikai. [Corrado Tomaselli]

Corrected sn76459 clock to Ye Ar Kungfu and verified the other clocks. [Corrado Tomaselli]

Changed the main clock of Pang, Super Pang and Block Block. [Corrado Tomaselli]

Switched galaxian LFO sound to use the long-disabled NEW_LFO. It's not entirely fixed, but it's closer. [hap]

Minor MCR documentation changes: [Kevin Eshbach]
* Updated all of the TRON sets with location of the roms and the board they belong to
* Updated the name of the PROM on the Super Sound I/O board
* Added notes about PALs that need to be dumped (The same PAL part numbers are also  used on Xenophobe and probably other MCR II & III games.)

Fixed chdman -update to leave the write protect state alone when updating uncompressed CHDs. [Michael Zapf]

Changed default key for Mahjong P1 Bet to '3', because '2' was conflicting with P2 Start in 2 players Mahjong games. [Fabio Priuli]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Tetris (Photon System) [Miodrag Milanovic, Mariusz Wojcieszek]
Touchmaster 2000 [Mike Green, Dumping Union]
3-D Bowling [robiza]
Panther [Angelo Salese, robiza, Mr. Do]
39 in 1 [R. Belmont, MooglyGuy]


New clones added
----------------
Royal Card Professional v2.0 [Team Europe / Dumping Project] (not working)
Guardian Storm [Christian Raftopol, David Haywood, Dumping Union]
Outrun (original revision) [Guru]
Touchmaster 5000 (v7.01 Standard) [Brian Troha, Dumping Union]
Cruis'n Exotica v2.0 [Smitdogg, Guru, Dumping Union] (not working)
Pinball Action (set 4, encrypted)  [Team Europe / Dumping Project]
Kamakazi III (Galaxian Clone) [Darran]
Enchanted Forest (2 sets) [Heihachi_73, AGEMAME] (not working)
Soccer Superstars (ver JAC) [f205v] (not working)
Dream Land / Super Dream Land (bootleg of Bubble Bobble) [Sean Clough, David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Extreme Hunting [Guru]
Photo Play [Klaus Sommers, Angelo Salese]
Capcom vs. SNK Millenium Fight 2000 (000904) [Deunan Knute]
Videotronics Poker [Angelo Salese, Siftware]
Bingo Roll (4 sets) [Team Europe, Dumping Project]
Space Walk [Siftware, David Haywood]
'98 NeoPri Best 44 (Neo Print) [JohnBoy]
Top Gear [Heihachi_73, AGEMAME]
K.G. Bird (2 sets) [Heihachi_73, AGEMAME]
Black Rhino [Heihachi_73, AGEMAME]
3 Bags Full [Heihachi_73, AGEMAME]
Phantom Pays [Heihachi_73, AGEMAME]
Sweet Hearts II [Heihachi_73, AGEMAME]
Golden Canaries [Heihachi_73, AGEMAME]
Coral Riches II [Heihachi_73, AGEMAME]

http://mamedev.org/
0.133u2
-------

MAMETesters Bugs Fixed
----------------------
- 00191: [Graphics] miaj: some text of the boot-up screen is not correctly displayed (hap)
- 02267: [Graphics] devilw, darkadv, majuu: Some rogue sprites (hap)
- 03370: [Sound] gng and clones: Music slows down while shooting (Corrado Tomaselli)
- 03373: [Misc.] looping: Unmapped I/O read/writes result in large error log and major performance drop (robiza)
- 03381: [Crash/Freeze] pc_moglf, pc_mtoid: Crashes with access violation a short time after boot. (hap)
- 03376: [Crash/Freeze] All Sets with Rev 1 Sound Board in gottlieb.c: Access Violation (hap)
- 03175: [Crash/Freeze] cham24: Game doesn't start correctly
- 03354: [DIP/Input] cobram3: Infinite lives dip switch triggers service mode
- 03352: [DIP/Input] cobram3: No demo (attract) sound (Xander)
- 03370: gng and clones: Music slows down while shooting


Source Changes
--------------
Add PCB locations to the rom names for Dream Land (Bubble Bobble bootleg). [Briah Troha]

Added preliminary sound to 39in1, still buggy. [MooglyGuy]

Hand-tuned BGM tempo in Tryout thanks to a side-by-side reference. [Angelo Salese]

SNES fixes (mostly MESS specific) [Angelo Salese]
- Fixed Super Kick Boxing booting and sound.
- Preliminary open bus emulation for allowing Shien's Revenge / Shien the Blade Chaser to boot
- Fixed mode 5/6 bg drawing cutted in half bug
- Fixed (presumably) broken gfxs in nss_sten
- More accurate behaviour of the last scroll register.
- Improved mode 5/6 gfxs when tile size = 16x16.
- Fixed rowscroll line bugs in many games
- Made the unsupported reads on i/o open bus, fixed a layer enable in Super Kick Boxing
- Fixed vram size when in hires mode
- Hooked up interlace mode
- Fixed doubled y-axis sprites when in interlace mode
- Improved window effects when in H-512 mode.
- Removed a kludge with color windows.
- Fixed buggy layer clearance when in H-512 modes
- Fixed the x scrolling wrap around bug when hscroll == 0
- Fixed a bug that were causing a row of corrupted tiles during scrolling situations
- Fixed irq ack and fixed TIMEUP register open bus behaviour.
- Even more aggressive open bus fixes.
- Fixed a partial update bug when the screen is in interlace mode
- Fixed 8bpp layer colors.

Patched progolfa rom like progolf. Removed bad dump flag in progolf; with progolfa you get the same rom error in test mode and progolfa have different encryption. [robiza]

Added a stop4 input to slot default and remapped slot default keys to better suit Amcoe games. [Fabio Priuli]

Updated sfbonus.c to use the new gambling inputs. Fixed many years and descriptions. Reworked parent/clone relationships so that parent is the higher revision and/or the Export version. Also, tried to establish common rules in the choice of the romset names. [Fabio Priuli]

Added default input mappings for Hanafuda games. Updated most of the Hanafuda games to use them. Like for Mahjong games, keys A->H are used. "Yes" is mapped to M, "No" is mapped to N. [Fabio Priuli]

Add correct color PROM for panther. [Mr. Do, Angelo Salese]

Removed fake P3 Start from Nichibutsu mahjong games and properly called "Credit Clear" that input. Also, added back Bet button in nb1413m3.c fixing omotesnd. [Fabio Priuli]

nmk16.c driver documentation update / clean up: [Briah Troha]
- Moved the PCB layout for S.B.S Gomorrah (Bio-Ship Paladin) down by the game's romdef.
- Added PCB layout for Spectrum 2000 & corrected company name to YONA Tech
- Added PCB layout for Red Hawk
- Moved decryption routines (if needed) to between the info/PCB layout header and game romdef.

Added the 8751 MCU code to Saigo no Nindou (nspiritj). [Guru, David Haywood]

Implemented preliminary bg map banking in 18 Holes Pro Golf. [Angelo Salese, Robiza]

Fixed a mapping error with Maikobana [BET] (mmaiko) which caused the NVRAM not to save correctly. [Tafoid]

Aristocrat MK-4 HW: Hooked up mc6845, fixed a rom crc in goldenc and implemented flip y. [Angelo Salese]

DIP switch cleanups in gberet, mainevt, ninjakd2, and taito_z. [kanikani]

Added GAME_IMPERFECT_SOUND flag to all sets that use external samples which were not already flagged for sound. Flagged Speed Freak (speedfrk) as GAME_SUPPORTED_SAVE to match the rest of the driver. [Tafoid]

SNES video updates: [Fabio Priuli]
* re-enabled video debug functionalities in debug build (to toggle background layers)
* added proper priority tables for various bg/obj layers
* largely simplified tile and line drawing routines, and fixed small bits here and there
* further simplification of tile drawing routines
* added palette index to 8bpp tiles (correct color_shift still unsure, though)
* reworked video drawing routine to simplify the various graphic mode drawing and to allow proper implementation of priority orders (especially bg3 priority bit and mode 7 priority order)
* improved mode 7 extbg (still missing mosaic)
* added some more debugging options
* improved Mode 7 math precision (but still some issues remain) and added a few elements to PPU struct
* implemented Mosaic in Mode 7
* merged OAM functions
* added a few elements to PPU struct (this might be handy if we ever come to convert SNES PPU to a device)
* fixed Mode 7 shared scrolling/matrix registers
* slightly optimized Mode 7 math (by using Anomie's recursive formula)
* moved some more register contents to PPU struct
* added PPU1/PPU2 Open Bus support, STAT77/STAT78 registers should be more accurate (even if still not perfect)
* simplified window masking code and moved some more regs to PPU struct

More NES work: [Robert Bohms]
* Fixed bug in nes_apu that caused errors reading $4015
* Added length counter status bits to $4015
* Fixed 4-screen mirroring (PPU regression)
* Fixed cham24
* Improved Sprite Overflow emulation of NES PPU (this fixes the first of blargg's Sprite Overflow tests)

Added remaining PCB "U" locations to roms that didn't have for G-Stream G2020. [Brian Troha]

Atomiswave updates: [R. Belmont, Cah4e3]
- Hooked up flash ROM at 0
- Use proper AW memory map
- Emulate AW ROM board (different from Naomi)

Fixed buggy breakpoints in the g65816 cpu core. [Angelo Salese]

Fixed Atomiswave COIN ERROR. [Wind]

n8080 update [Team Japump!!!]
- corrected ROM names for Space Fever and SF High Splitter
- renamed spacefeva to spacefevo2
- added spacefevo
- added highspltb

Updated Sega Hikaru readme [Guru]

Discrete sound update: [couriersud]
- Added "abs" function to DISCRETE_TRANSFORM
- Fixed a bug in DISCRETE_RCDISC5

Added 1 missing sample to safarir.c [Team Japump!!!]

Created discrete sound emulation for galaxian [couriersud]
- Changed all audio related AM_WRITE to AM_DEV_WRITE
- Moved discrete sound related pieces such as initialization into audio/galaxian.h
- Split some memory maps into sound related and not sound related parts.
- Added possibility in discrete.h to select hardware (galaxian/moon cresta) at compile time. This leads to slightly different volume levels. Hit sound (explosion) has been hacked to increase volume. Currently, we can not accurately model the switch/opamp filter circuit.
- Rewrote timer code so that the pitch timer is only used when it produces audible results.

Cojag/jaguar video updates (primarily for MESS) [Robbbert]
* Added variable pixel width.
* Fixed display of screens wider than 360 pixels.
* Enabled use of RGB16.

looping: modified the cop420 rom region, fixed mcu rom region in clone set, added mcu support. [robiza]

Redumped bingor2 program roms [Klaus Sommers]

Corrected Kamakazi III's dipswitch setting (the same as superg) and relabeled it a superg hack. Also the dipswitch setting for the Taito license was the same as superg so I eliminated one. [Brian Troha]

Improved speaker-toggle emulation with alias filter. [Anders Hallstrom]

NES: Fixed bank switching in multigm3 (broken due to a mistake of mine when including original Rob Bohms' code). The game still refuses to work, unfortunately. [Fabio Priuli]

vsnes update [Team Japump!!!]
- fixed ROM names
- added vssoccerj

ROM name fixes for sicv, sisv, and sisv2 [Team Japump!!!]

Corrected TNZS vsync to 59.15 as verified on pcb. [Corrado Tomaselli]

Fixed bootleg description inconsistency in goldnpkr.c. [hap]

Fixed sprite wrapping in sonson. [hap]

Added Intel 4004 CPU core. [Miodrag Milanovic]

Converted the tilemap lists to be private information held by the running_machine instead of global variables. Added new APIs to the tilemap code to handle the "ALL_TILEMAPS" cases, and removed the old ALL_TILEMAPS definition. [Atari Ace]

Added redumped gfx rom on Shogun Warrior [Guru]

Updated romload.c and validity.c to not rely on global variables. [Atari Ace]

Corrected resistor values in Cliff Hanger discrete sound based on actual PCB values. [Ruben Panossian]

Removed DAA tables from the 8085 and Z180 implementations in favor of just computing the values. Also fixed code in 8085 to prevent accidental multiple reads due to macro overuse. [hap]

Added game time and coinage DIP switches to Space Walk, along with service mode and test. Also added support for the 2nd controller and coin counter. Removed GAME_NOT_WORKING as it is working fine. Added color overlay based on photo. [hap]

Added a simple color overlay for Depthcharge based on flyers. [hap]

Updated the Konami twin16 driver. Functional changes: [hap]
- improved sprite status register, this fixed the rogue sprites problem in devilw
- added fround coin counters
- lowered k007232 volume
- added savestate support
- added shadows
- fixed devilw and gradius2 sprite lag
- added text layer x/y flipping
- reverted gradius2 sprite-background priority hack, this fixes severe priority problems in devilw, but reintroduces bugs on gradius2 level 7 and ending


New games added or promoted from NOT_WORKING status
---------------------------------------------------
18 Holes Pro Golf [robiza, Angelo Salese]
Python (Photon System) [Mick, Mariusz Wojcieszek]
Pop n' Music 2 [Guru]
beatmania ClubMIX [Team Japump!!!, The Guru]
Ridge Racer (3 screen? Rev. RR2, World) [Guru, Smitdogg]
Sky Love [bbmmamoh, David Haywood]
Triple Draw Poker [Team Europe, David Haywood] (Wrong Colours)


New clones added
----------------
Gun Bullet (World, GN3 Rev B) [Brian Troha, Dumping Union]
Megatouch 5 (9255-60-01 ROI, Standard version) [Brian Troha, Dumping Union]
Dragon World (V021O) [f205v, Olivier Galibert, David Haywood]
Winding Heat (JAA, JPN v2.11) [Guru]
Qix (set 2, smaller roms) [Team Europe]
9-Ball Shootout Championship [SiftWare]

http://mamedev.org/
0.133u3
-------

MAMETesters Bugs Fixed
----------------------
- 03389: [DIP/Input] amspdwy: Both cars steer with Player 1 controls
- 03120: [Color/Palette] nss_lwep: Wrong colors during gameplay (Angelo Salese)
- 02701: [Core] z80.c: SCF CCF X and Y flags (hap)
- 02959: [Crash/Freeze] kinstb: Killer Instinct (SNES Bootleg) no longer starts up, freezes at blank screen. (R. Belmont)
- 03275: [Sound] gradius4: Gradius IV Fukkatsu sound has the wrong pitch (R. Belmont)
- 03387: [DIP/Input] galmedes: Demo Sound Dip Inverted (Tafoid)


Source Changes
--------------
Added a lot of new clones to multfish and cleaned up the driver. [Vampirz, Fabio Priuli, Brian Troha]

Further ROM name fixes and driver name changes [Yasuhiro Ogawa]
- renamed digdugb to digdug1 (it's a rev1, not a bootleg)
- renamed digduga1 to digdugat1

SNES Updates: [Angelo Salese]
- Fixed direct color gfxs in mode 7
- Fixed direct color gfxs in mode 3/4
- Fixed a vram out-of-bounds bug
- Fixed a blending bug involving main/sub color maths
- Fixed interlace mode gfxs when not in gfx modes 5/6
- Fixed a GDMA boundary bug
- Made the OAM address reset more accurate.
- Fixed HDMA mid-frame inits.
- Added clip colors to black window function
- Converted color clipping to use struct entries
- Made dynamic H resolutions to be called only at vblank start and and fixed gfx mode switching 1/5 and 5/1
- Made the gfx mode switches more accurate.
- Corrected a bunch of SPC registers behaviour
- improved joypad read/write handling and fixed a serial port quirk.
- Fixed serial port for player 2 as well
- Improved cart mode 20 reserved access behaviour
- added OBJ interlace support

ST-V: Improved timer 1 irq behaviour. Pebble Beach still have issues with gameplay start though (writes lots of garbage for whatever reason, really worked for random chances before). [Angelo Salese]

Corrected name from Devil's Island to Devil Island. Filled in year for Fruit Bonus 2006 SE & Bug Fever. [Brian Troha]

Discrete sound update: [couriersud]
- removed global variable discrete_current_context
- discrete_info is now passed instead of device, we may get device by using disc_info->device
- Added DISCRETE_IMPORT(*block): imports another discrete block
- Added DISCRETE_REMOVE(node1, node2): removes a range of nodes
- Added DISCRETE_REPLACE: next node replaces existing node, thus preserving run order
- Added DISCRETE_NOP(node): does nothing, to be replaced.
- Added a prescanning stage to build final block list after execution of the above.
- The additions provide an easy way to document subtle difference between boards.
- Please see audio/galaxian.c for an example

Galaxian sound updates: [couriersud]
- Moon Cresta and Galaxian now have their respective schematics emulated, i.e. Moon Cresta has a slightly different mixing stage.
- Cleaned up driver, added some section titles and comments, removed old code.
- Removed emu_timer, this was causing a stream of stream_updates only updating 3 samples
- Replaced with discrete timer module DSS_TIMER now.
- Use DISCRETE_NOTE for pitch generation; it is more accurate (within the one ms where the pitch changes :-) ) and saves a node
- Use DISCRETE_BITS_DECODE and save 2 nodes.

YM2612/3834 updates [Eke-Eke, Nemesis]
- Split YM2612/3834 to a separate file to avoid disturbing other OPN chips
- SSG-EG, envelope, LFO, and CSM behavior all improved to better match tested behavior on real YM2612 chips
   
DSS_COUNTER updates: [couriersud]
- clock_node no longer needs to be static for DISC_CLK_IS_FREQ
- rewrote inc/dec logic to avoid loop

Added DISCRETE_BIT(S)_DECODE: [couriersud]
- decodes individual bits from input values
- Updated drivers which had macro DISCRETE_BITSET (which was a bit misleading)
- This should be slightly faster than using DISCRETE_TRANSROM

Discrete sound enhancements: [couriersud]
- Put some life into RCDISC5 enable mode. This now acts as a switch between R and C. Capacitor voltage will be preserved if disabled.
- Made galaxian use the above. Saved 2 nodes and increased accuracy.
- Added DISC_LFSR_FLAG_OUTPUT_SR_SN1 flag to shift register noise generator. This will output the value of the shift register to sub-node 1. This is needed for future bzone discrete sound emulation. BTW: RCDISC5 will be used as well.
- Left a note on RCDISC3 on what is needed to be implemented for bzone.
- Optimized the LFSR a bit. LFSRs running at high frequency (> sample_freq) should benefit.

Verified and fixed deniam.c M68K, Z80, YM3812 and OKIM6295 clocks and OKI pin 7 for logic pro and logic pro 2.  Fixed visible area on logic pro and logic pro 2 to match real PCBs. Add comment about what ym3812 clone is used. Add note about missing graphical effect in logic pro (screen dim on coin insert) and marked as IMPERFECT_GRAPHICS. Add note about 4 pixels at left edge of screen. [Charles MacDonald, Lord Nightmare]

Attempt to define an I64FMT string that can be used for printf'ing 64-bit integers. This is defined to be "I64" on MSVC and recent mingw compilers, and "ll" for all others. Updated all instances of 64-bit prints to use the new macro. [Aaron Giles]

Added spacwalk extended time setting and DIP locations. [gregf, hap]

Merged 5110intf into tms5110, and 5220intf into tms5220. [Aaron Giles]

Z80 changes: [hap]
- Fixed X/Y flags in CCF/SCF/BIT, ZEXALL is happy now
- Simplified DAA, renamed MEMPTR (3.8) to WZ (same temp register as the officially named WZ in the 8080), added TODO

8085 changes: [hap]
- fixed cycle deduction on unconditional CALL / RET, it took about half too many cycles
- added cycle tables and cleaned up source layout. This was done very carefully, it should be errorfree.
- removed HLT cycle eating (earlier, HLT after EI could theoretically fail)
- fixed parity flag on add/sub/cmp. Bug was caused by z80 overflow detection accidentally left in
- renamed temp register XX to official name WZ
- renamed flags from Z80 style S Z Y H X V N C  to  S Z X5 H X3 P V C and fixed X5 / V flags where accidentally broken due to flag names confusion

Fixed MSVC 64-bit compile errors. [Aaron Giles]

Added rgb[a]int_sh[l|r] operations to the rgbutils. rgbvmx needs to be updated. (Nobody is using them yet.) [Aaron Giles]

Added color PROM for Triple Draw Poker. [David Haywood]

Changed profiler to separate start/stop cases. [Christophe Jaillet]

taito_z DIPSW fixes [kanikani]

Added decryption key for Extreme Hunting 2. [Andreas Naive]

Naomi update: [R. Belmont, Deunan Knute, Alex, Mr. Mudkips, Frank Bukor]
- Use new dump for ic31/32, ROM board test passes now
- Add protection hookup for Marvel vs. Capcom 2, game is playable w/sound

Added support TMS1000 family models TMS1000/1070/1100/1200/1270/1300. Added support for configuration of output PLA to the tms0980/tms1000 interface. [Wilbert Pol]

Implemented transparent mode access for some 6845 model sy6845. [Roberto Lavarone]

Verified clocks + Vsyncs on Downtown, Caliber 50 and Xmen (2-4 players). [Corrado Tomaselli]

Changed to mono both Downtown and Caliber 50: these pcbs don't have a stereo connector.  [Corrado Tomaselli]

Verified and added correct xtals values for cps1 boards. Added correct xtal and divisor for OKI6295 taken from Forgotten Worlds schematics. [Corrado Tomaselli]

Decrypted several tables from the B-Rap Boys ROM. [David Haywood]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
WOW New Fantasia [Irongiant, David Haywood]
Island 2 (060529) [Vampirz]
Pirate (060210) [Vampirz]
Keks (several sets) [Vampirz]

New clones added
----------------
Fruit Cocktail (060111) [Vampirz]
Saulabi Spirits / Jin Saulabi Tu Hon (Korean release of Samurai Shodown II) [Guru / David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Colorama (english) [Roberto Fresca, Angelo Salese]
Roulette V75 (spanish) [Roberto Fresca, Angelo Salese]
Rabbit Poker (Arizona Poker v1.1?) [Roberto Fresca, Andreas Naive, Tomasz Slanina]
Coinmaster Keno (Y2K, spanish, 2000-12-14) [Roberto Fresca]
Coinmaster Keno (Y2K, spanish, 2000-12-02) [Roberto Fresca]
Extreme Hunting 2 [Guru]
Dirt Dash (Rev. DT2) [Guru]

http://mamedev.org/
0.133u4
-------

MAMETesters Bugs Fixed
----------------------
- 03405: [Misc.] trckydoc trckydoca: Default hiscore wrong (Pierpaolo Prazzoli)
- 03412: [Gameplay] goindol and clones: Unable to control and graphics corrupted (Tafoid)
- 03404: [Crash/Freeze] Some drivers using mc6845.c: Access Violation (hap)
- 01043: [DIP/Input] m79amb: There's considerable difficulty in aiming in the game. (hap)
- 01754: [Graphics] tm7k, tm, tm3k, tm4k, tm5k: Background Color/Palette Incorrect (Luca Elia)
- 02191: [Sound] wseries, basebal2, dblplay, strkzone: Speech quality regression (couriersud)
- 02608: [Color/Palette] machomou: Colors are wrong. (hap)


Source Changes
--------------
Intel 8085: [Curt Coder]
- refactored callbacks to use devcb
- added 8080A variant

Added helper macros to devcb for input lines tied to GND/Vcc. [Curt Coder]

Added Dirt Dash wave ROM redumps [Guru]

Battle Zone discrete sound & discrete sound additions: [couriersud]
- added discrete sound to battle zone
- engine frequency (resistor R11) can be changed with slider
- discrete sound may be disabled by setting BZONE_DISCRETE to 0 in bzone.h

Discrete sound improvements: [couriersud]
- DISCRETE_RCDISC3: added diode junction voltage; junction voltage also indicates polarity
- DISCRETE_OPAMP_FILTER: added type DISC_OP_AMP_FILTER_IS_LOW_PASS_1M; INP2 takes role of v_ref in this type
- DISCRETE_OPAMP: fixed a bug (possible divide by 0)
- DISCRETE_LFSR: fixed bug preventing output of shift reg to sub node 1

SNES improvements: [Angelo Salese]
- Fixed half colour blending behaviour

Added infrastructure to compile universal standalone disassembler: [Aaron Giles]
- added unidasm to the tools build
- split the disassemblers out of libcpu and into new libdasm
- ensured the disassembly entry points for all disassemblers are in the source file for the disassembler (sometimes new generic versions were created)

Improvements to Noraut Poker driver... [Roberto Fresca]
* Switched to pre-defined Xtal clock.
* Changed the way how graphics are banked/accessed.
* Fixed the graphics offset and number of tiles per bank.
* Added new set: Noraut Red Hot Joker Poker.
* Added new set: Noraut Poker (NTX10A).
* Added new set: Noraut Joker Poker (V3.010a).
* Fixed the tile size/decode for the first GFX bank.
* Added proper norautrh inputs, including the readout button.
* Added partial DIP switches to norautrh.
* Added an extra DIP switch to Noraut Red Hot Joker Poker.
* Also added DIP locations to the whole bank.
* Added a default NVRAM for Noraut Joker Poker
* Executed a trojan on 2 noraut systems to confirm the way 16x32 tiles are decoded.
* Fixed the x-offset for 32x32 tiles lines.
* Fixed the screen aspect and visible area.
* Confirmed correct colors. No bipolar PROM involved.
* Added Noraut Joker Poker hardware and PCB layouts.
* Documented the discrete audio circuitry. Added a full diagram.
* Fixed the coin counters.
* Documented all the output ports.
* Added a scheme with descriptions for every existent port.
* Added full lamps support to naroutp, naroutjp, naroutrh and naroutpn.
* Created lamps layouts for 11 and 12-lamps scheme.
* Rerouted some inputs to mantain the inputs layout.
* Renamed some inputs to match the text with the real cab buttons.
* Removed the imperfect colors flag from the existent sets.
* Added 2 different control panel layouts to the source.
* Updated technical notes.

Fixed redundancy in clock speed assignments in some drivers by cleaning all divided by 1 (/1) instances. [Tafoid]

Argonaut SuperFX core improvements: [Anonymous]
- Hooked up Branch instructions
- Fixed numerous SuperFX core bugs.
- Improved disassembler to more gracefully handle ALT* opcode effects.
- Corrected instruction behaviors: STOP, SUB, SBC, SUBI, CMP
- Added LSR and ROL opcodes
- Updated instructions to use the safer superfx_gpr_write: LOOP, PLOT, INC, DEC
- Added missing register writeback to LMS
- Corrected carry flag behavior in ROL opcode
- Corrected BRA target address calculation (maybe still wrong)
- Corrected LOOP target address calculation
- Made sure that FROM sets cpustate->sreg_idx
- Disabled RAM/ROM clocking, going with instant transfer for now
- Understood and re-enabled pipelined instruction architecture, Star Fox runs farther
- Fixed a ridiculous typo in ROL instruction
- Fixed overflow flag calculation on ADDI / ADCI
- Fixed lack of register reset after ADD / ADC / ADDI / ADCI

tmaster.c update [Luca Elia]
- implemented carts banking and multiple EEPROMs
- added "pen replacement" blit mode
- fixed palette size

Discrete work [couriersud]
- change the way custom modules are handled
- updated drivers mario and dkong accordingly
- minor change to stream input handling
- no more linear lists for nodes. All node processing switched to linked lists.
- module step and reset now only get a node pointer passed
- Added discrete_info * pointer to node
- Only nodes with a step routine actually get processed.
- Fixed a bug: discrete logs did not work since some time
- preliminary parallel task constants; depending on results these may vanish again.
- Overall slight performance increase. dkong 940% to 960%, galaxian 740% to 790%

Fix NULL timers crash in the mc6845. [hap]

Fixed IM2 interrupt cycles in the Z80 core. [eke]

kaneko16 updates:
- Decoded all protection data for B.Rap Boys [David Haywood, Tomasz Slanina]
- Cleaned up decryption function for B.Rap Boys external Rom [David Haywood]
- Improved video emulation for B.Rap Boys [David Haywood]
- Marked several GFX roms as bad on B.Rap Boys [David Haywood]
- Improved protection simulation logic w/regards to writeback addresses, allowing B.Rap Boys to boot [Tomasz Slanina]
- Redumped GFX Roms [Guru]
- Added hitbox simulation based on suprnova / game requirements [Tomasz Slanina]
- Converted MCU writes to use write_byte [David Haywood]
- Added kludge to reset MCU data write address to prevent game from running out of ram and crashing [David Haywood]
- Added DSWs [David Haywood]
- Added eeprom support to the B Rap Boys protection simulation [David Haywood]
- Change to priorities to fix some visibility problems. [David Haywood]

Added correct U2 sound ROM to the mk3 sets [MK3Fan - Mike]

Discrete sound parallel tasks support: [couriersud]
- Introduced DISCRETE_TASK_START, DISCRETE_TASK_END
- DISCRETE_TASK_START: Start a new task. A task is a set of nodes which only depend on input nodes and nodes in the set
- DISCRETE_TASK_END(task_output_node): Marks the end of the task. task_output_node is the node whose output over time should be preserved. This node can be accessed by nodes in the main thread.
- Illustrated the concept in the dkong discrete emulation. This also has been enhanced to buffer DAC output.
- Discrete tasks now support multiple task output nodes

Further discrete changes: [couriersud]
- DISCRETE_OUTPUT now is a stepping node.
- DISCRETE_STREAM_INPUT now advances input pointer in step.
- More linked_list usage.

Pit Boss driver updates: [Brian Troha]
- Corrected rom names for the Megastar & Supertouch 30
- Added missing rom to Supertouch 30 and verified old bad_dumps
- Added documentation about the Megastar sets
- Made pbst30b a clone of pbst30 and added program versions to the name, IE: Pit Boss Supertouch 30 (9234-10-01)

Fixed B-Rap Boys sound banking [Phil Bennett]

Sigma Poker: Fixed duplicated definition of Hold 2 button. Added the missing Hold 3 button. [Roberto Fresca]

Continued discrete sound system "list-ification": [couriersud]
- No more constraints on number of input and output nodes
- input nodes now make use of a context

Removed osd_is_bad_read_ptr function. [Aaron Giles]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Noraut Red Hot Joker Poker [Roberto Fresca, Alan Griffin]
Galaxy Games StarPak 2 [Luca Elia, Siftware]
Great Football [Kevin Eshbach, Charles MacDonald, Smitdogg, Dumping Union]
Pit Boss Megastar (9244-00-01) [Mariusz Wojcieszek]
B.Rap Boys / B.Rap Boys Special [David Haywood, Tomasz Slanina, Luca Elia]
Billiard [Alexander Stakhanov, CaH4e3, Black1972]


New clones added
----------------
Kollon (V2.04JC)  [Joerg Hartenberger, Frank Berlt]
Mortal Kombat Turbo Ninja (rev 3.1 T-Unit 03/19/93, hack) [MK3Fan - Mike]
Pit Boss Megastar (9244-00-01) [Brian Troha, Dumping Union]


New games marked as GAME_NOT_WORKING
------------------------------------
Noraut Poker (NTX10A) [Roberto Fresca, Alan Griffin]
Noraut Joker Poker (V3.010a) [Roberto Fresca, Alan Griffin]

http://mamedev.org/
0.133u5
-------

MAMETesters Bugs Fixed
----------------------
- 03240: [Crash/Freeze] topracra: Error Message: devcb_resolve_read8: unable to find input port 'IN0L' (couriersud)
- 03426: [Sound] wtennis: Missing ball sound (Tafoid)
- 03422: [Graphics] porter: Missing in-game graphics (Tafoid)
- 03421: [Crash/Freeze] samuraia, sngkace: Access Violation (hap)
- 03420: [Crash/Freeze] espial, espialu, netwars: Access Violation (hap)
- 03416: [Crash/Freeze] bradley: Exits with DISCRETE_ADJUSTMENT_TAG - NODE_88 has invalid tag. (couriersud)
- 03418: [Crash/Freeze] dday, ddayc: Access Violation after coin insertion (M.A.S.H.)
- 03025: [Sound] bzone, bzone2, bzonec: inaccurate sound effects (couriersud)
- 03413: [Compiling] 64-bit compiler warnigs (Aaron Giles)
- 03391: [Misc.] popn2 & bmclubmx: CHD version is V3 for the two new added sets (hap)
- 03073: [Sound] scorpion, scorpiona, scorpionb: Sound Missing (couriersud)
- 03075: [Sound] explorer: Sound Missing (couriersud)


Source Changes
--------------
Discrete sound updates: [couriersud]
- Fix comments for DISCRETE_TRANSFORM
- FatalError if formula is bad
- Fixed two bugs in DISCRETE_RCDISC3
- Fix some ugly bugs around DISCRETE_FILTER_SW:
    - No more iterations
    - The CD4066 internal resistance largely determines sound amplitude. This may vary significantly depending on VCC and type (74HC, 74HCV, CD4066, ...). The current choice makes scramble sound "about right".
- Added some profiling code for discrete tasks
- Added DISCRETE_INPUT_BUFFER to use a stream to buffer an input node. For input nodes with a lot of writes this prevents a stream_update on the whole discrete module which is very ineffective. Instead, the data is buffered and the discrete emulation can process a lot of samples in one go later.
- Added disc_syc.c as a container for core modules (output, task)
- Discrete wav and csv logs now are treated as nodes
- Added DISCRETE_START and DISCRETE_STOP functions to be called at device start/stop
- As a side effect, profiling measures log overhead as well
- DSO_TASK_END now builds it's own dependence list.
    - now simply DSO_TASK_END() ends a task
- added node parameter to RC_(DIS)CHARGE_EXP
- added const where appropriate
- removed some dead code

Color bprom verified correct Royal Card Pro v2. [Brian Troha]

De-globalified sound.c and input.c. [Atari Ace]

Improvements to Noraut Poker driver.... [Roberto Fresca]
* Corrected CPU clock to Xtal/8.
* Discovered 3 new I/O lines coming from PPI-2, PC0-PC2. They are mixed with the handshake ones.
* Added the READOUT button to noraut12 games.
* Splitted the main machine driver to cover 2 different Noraut systems.
* Added partial support for PPI-2, PC0-PC2 output lines on noraut11 games.
* Figured out other remaining I/O lines.
* Added new handlers to simulate the handshake lines. Still need real support through PPI-2.
* Updated technical notes.
* Rerouted norautp and norautjp READOUT button to its own place.
* Routed the whole video RAM access through PPI-2. (bypassed the handshake lines for now).
* Merged back the noraut machine drivers after the 3rd PPI connection.
* Added Low Level Hopper manual input.
* Added a new machine driver for extended hardware. It has 2 jumpers that cut the a14 and a15 addressing lines.

Fixed i386 carry/borrow flag in ADC/SBB [Gabriele Gorla]

Fixes to the PIC16C5x CPU core: [Quench]
- Indirect addressing was not taking into account special purpose memory mapped locations.
- 'iorlw' instruction was saving the result to memory instead of the W register.                              
- 'tris' instruction no longer modifies Port-C on PIC models that do not have Port-C implemented.

Added difficulty DIP to BigTwin. [Quench]

Battery backed 2KB RAM, fixing the default high-scores in speedbal. [Pierpaolo Prazzoli]

Shogun Warriors - various fixes:
- Extracted tables required for Shogun Warriors to work [Tomasz Slanina]
- Decrypted + verified table data for Shogun Warriors [David Haywood]
- Marked 2 graphic roms in Shogun Warriors as BAD_DUMP [David Haywood]
- Temporarily added a hack to the collision function to only use the B.Rap Boys code if the game is B.Rap Boys until we have a single function that works with both [David Haywood]

SuperFX updates [Anonymous]
- Fixed disassembly of LMULT/FMULT ops
- Fixed reads using LDW/LDB
- Fixed writes using STW/STB
- Fixed SBC carry behavior
- Fixed GETC ROM access behavior
- Some SuperFX games begin to show things in MESS
- At least partly fixed PLOT and RPIX behavior. This fixes many gfxs in Star Fox and Vortex, but no polys yet.

Simplified kaneko16 decryption functions by working out what each of the bits does and removing game specific references. Re-based the decryption tables as a result. End result is verified to be the same. [David Haywood]

Added redumped u6 GFX rom to kaneko16, fixes Geisya and Sumo [Guru]

Fix circus charly slowdowns: [couriersud]
- use SOUND_DAC device to "buffer" data and avoid 1 sample updates for discrete part
- this is related to "03401: circusc and clones: Slowdown in attract mode with DIP SW "Demo Sounds=ON"" though I do not consider it a bug, but a implementation optimization.

Fixed sound banking for Shogun Warriors [David Haywood]

Added different TOD implementation for CIA6526 and CIA8520. [robiza]

Fixed a small bug with kaneko16 graphic decoding and removed old comment about bad sound banking. [David Haywood]

SuperFX updates: [Harmony]
- Inlined a number of functions for possible speed increase
- Removed some memory buffering cruft, to be re-added later
- Fixed behavior of ASR opcode
- With additional MESS-side changes, Stunt Race FX is playable, and Vortex shows much more.
- Hooked up RAM and ROM buffering
- Inlined several more functions
- Removed debug spew
- Added the ability to define an external IRQ line callback, and hooked it up to the 65C816
- Fixed flag calculation for HIB opcode
- Hooked SuperFX chip up to the SNES machine driver
- Fixed carry handling in ADC, ADCI, SBC and SBCI opcodes. Fixes many SNES SuperFX bugs.

Added some basic cheat search functionality to the debugger, allowing searches on various memory sizes. [Sandro Ronco]

Added 'Reload All' option to the cheat menu. [Pugsy]

Enabled display of cheat comments from within the cheat menu. Press the SPACE key to toggle display. [Pugsy]

Tweaked the shadows in twin16 to be slightly darker. [hap]

Added new function mame_fclose_and_open_next() which will close a file and then keep searching the searchpath for the next valid file. Did some internal rearranging in fileio.c to make this work. [Aaron Giles]

Changed cheat search so that it loads *all* cheat files in all search paths. Note that it is easy to end up with duplicate entries this way. Some currently disabled code is present which filters out duplicates, but the logic for doing this is quite unclear with the presence of text-only cheats, which is why the code is disabled for now. [Aaron Giles]

M377xx: fix CLB/SEB when not in bank 0. [R. Belmont]

Fixed numerous opcodes in the AVR8 core [Harmony]

Enabled alternate register naming in the MIPS core [Harmony]

Add loopback mode and counter/timer modes 3 and 6 to 68681 DUART, self-tests now pass in dectalk in MESS. [Lord Nightmare]

SNES updates: [R. Belmont, Harmony]
- Corrected ROM loading behavior for SuperFX games
- Added more ROM mirroring needed by certain SuperFX 2 games
- Corrected the behavior of certain bit-restricted SuperFX registers. Doom, Yoshi's Island, Dirt Trax FX and Voxel Demo show things now.
- Improved S-DD1 emulation, neither game using S-DD1 boots yet

Added preliminary Zilog Z8 CPU core for MESS. [Curt Coder]

Cleaned up drivers that write files which are not being actively developed. Also, commented our or changed the printf-ing of some messages to LOGERROR. [Tafoid]

Made numerous corrections to SNES S-DD1 chip emulation, SFA2 and Star Ocean still do not boot [Harmony]

Golden Poker driver... [Roberto Fresca]
* Added 2 new Witch Card sets.
* Reworked inputs for Witch Card (german set 1).
* Created new inputs for Witch Card (english, witch game, lamps).
* Added and connected lamps for both sets.
* Added minimal bet and 50/60 Hz. switches to both sets.
* Added DIP switches info for Witch Card (german, set 2).

Added missing rom to a GEI Poker set [Team Europe, Dumping Union]

Naomi/Atomiswave video hardware update: [David Haywood]

  Basically the region array is processed, and the data from the accumulation buffer where we render is now copied into the framebuffer depending on the tiles specified in the tile list. This isn't full 'tile-based rendering' as that would require more work on the preprocessing side, and writing out the data pointers and data in real formats, however it's a step in the right direction

  Currently only 565 formats are supported for both framebuffer write and framebuffer read.  The accumulation buffer is alwys 8888, data is converted down to the specified format.  The real accumulation buffer is 32x32 and filled per tile, ours is still full screen.

  The video update now just displays the framebuffer using the framebuffer read parameters specified (again only 565 is currently supported)  This allows the Atomiswave bios screens and the rendered output to co-exist.

Added proms to scherrym [Team Europe]

Jaguar updates: [Robbbert]
- Added RGB 24-bit pixels (for Iron Soldier)
- Added depth 0 and 1 to scaled bitmaps (for Val Disere Skiing)
- Preliminary work on PIT support

Got vandykeb up and running. [iq_132]

Added verbose debug logging for the little robin 'vdp' writes in preparation for looking at it further. [David Haywood]

Improved the connect4 layout. [AGEMAME]

Fixed the plane order in the gfx deodes for Black Touch '96 sprites, and Poke Champ sprites. [David Haywood]

Improveed the sprite emulation in Black Touch '96 (still wrong tho). [David Haywood]

Fixed LOOP instructions in 16-bit mode in the i386 core. [Gabriele Gorla]

Added various notes + checksums for Chihiro board. [Alex's Rom Dumping Project, Mr Mudkips, Philip Burke]

Fixed stupid unidasm bug that double-counted bytes. [Aaron Giles]

Major Naomi/Atomiswave update:
- Emulated Atomiswave coin slots and standard Dreamcast controller. Non-lightgun games without other problems are now playable. [R. Belmont]
- Added protection data to Moero Justice Gakuen, Heavy Metal Geomatrix, WWF Royal Rumble, Gigawing 2, Toy Fighter, and Guilty Gear X (all are now playable but still marked GAME_NOT_WORKING due to general Naomi concerns). [R. Belmont, Guru, Deunan Knute, Cah4e3]
- Completed partial dumps: Derby Owners Club II, Slashout, WWF Royal Rumble, Gigawing 2, Moero Justice Gakuen, Wild Riders, Virtua Fighter 4 (cartridge) [Guru]

Rename osd_profiling_ticks() to get_profile_ticks(). Moved implemention into inline functions in eminline.h and the ei* functions. [couriersud, Aaron Giles]

Added 'options' parameter to the CPU_DISASSEMBLE prototype. For now, the debugger always passes 0 for this. unidasm has been updated to accept a mode parameter, which is passed for the options. [Aaron Giles]

Added PORT_CROSSHAIR_MAPPER() allowing you to specify an alternate, non-linear mapping function from the raw crosshair value to its position onscreen. [Aaron Giles]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Shogun Warriors / Fujiyama Buster [David Haywood, Tomasz Slanina, Luca Elia]
Cal Omega - Game 7.4 (Gaming Poker, W.Export) [Roberto Fresca, Team Europe]
Kero Kero Keroppi no Issyoni Asobou [Team Japump!!!, Hau]
Dolphin Blue [R. Belmont, Guru]
The Rumble Fish [R. Belmont, Guru]
Knights of Valour: The Seven Spirits [R. Belmont, Guru]


New clones added
----------------
Karate Champ (US, VS version set 2) [Siftware]
Strong X (Strategy X bootleg) [Siftware]
Mortal Kombat (Turbo 3.1 09/09/93, hack) [Jonathan Hughes, Patrick McCarron]
Narc (Rev 2.0) [Volker Hann, Team Europe]
Witch Card (english, witch game, lamps) [Roberto Fresca, Team Europe]
Master Ninja (bootleg of Ninja Gaiden) [f205v, David Haywood] (NOT WORKING)

New games marked as GAME_NOT_WORKING
------------------------------------
Mr. Driller 2 (DR22 Ver.A) [Guru]
The House of the Dead 2 [Guru]
Super Major League '99 [Guru]
Gun Survivor 2: Bio Hazard Code Veronica [Guru]
Club Kart: European Session [Guru]
The King of Fighters Neowave [R. Belmont, Guru]
Neo Geo Battle Coliseum [R. Belmont, Guru]

http://mamedev.org/
0.134
-----

MAMETesters Bugs Fixed
----------------------
- 03433: [Misc.] Jolly Card, Royal Card, Lucky Lady, Royal Vegas sets (and others)...: All games that need NVRAM initialized aren't working anymore. (Roberto Fresca)
- 03434: [Sound] dingo: Sound is messed up (couriersud)
- 03432: [Sound] circusc and clones: Partially missing sounds. (rte)
- 03430: [Crash/Freeze] Drivers having empty INPUT definitions: Access Violation (Curt Coder)


Source Changes
--------------
Partial fix to CIA timer: avoid timer's desync in read count operation. [robiza]

Fixed access violation in MESS skeleton drivers with empty INPUT_PORT sections. [Curt Coder]

[Z8] Fixed disassembler argument order. [Curt Coder]

MAMEUI uses input_seq_from_tokens() outside the context of a running emulation, so this code will crash if machine == NULL and the keycode was not a built in keycode. Changed this so that it will gracefully fail if machine == NULL. [Nathan Woods]

Naomi/AW: Enforce read-only status of PowerVR ID registers. [R. Belmont]

Added debug_global_input_code_pressed() for use in debugging. [Aaron Giles]

Remove remaining references to machine->cpu[n]. Removed cpu[n] array. Replaced with machine->firstcpu which is a fast access to the head of the list of CPUs. [Aaron Giles]

Minor cleanup of machine/generic.c. Changed watchdog_read handlers to return the address space's unmapped value rather than 0xff. [Aaron Giles]

Fixed CIA PRA, PRB, DDRA, DDRB ports. [robiza]

Added discrete sound to the Noraut Poker games. [Derrick Renaud, Roberto Fresca]

Funworld.c changes: [Roberto Fresca]
* Discovered and documented new features in Jolly Card (Evona Electronics).
* Removed the commented hack for joly980 driver init since is not needed anymore.
* Fixed a bug introduced with the massive input change, that didn't allow initialize all sets that need the normal procedure to do it.
* Updated technical notes.

PIC16C5x CPU - Fixed the T0CKI count input being controlled by the wrong edge sensing. [Quench]

SNES: Added emulation for the DSP-3 and DSP-4 add-on chips, based on latest ZSNES [ZSNES Team, Fabio Priuli]

G65816: Fixed a bug with SBC opcode N flag behaviour in Decimal Mode. [Angelo Salese]

Segas24 rom games don't have NVRAM; fixed nvram_save writing 0KB file. [hap]

68681/2681 duart: When a channel is in loopback mode, do not actually transmit bytes sent to that duart channel over the TX pin. [Lord Nightmare]

Hooked up F6 again as a global cheat enable/disable. [Pugsy]

i386 fixes: [Gabriele Gorla]
- Add missing arpl instruction
- Fixed BCD carry
- Fixed disassembly of group D8 when modrm > 0xc0
- Add fucompp instruction to disassembler

Added "increase or equal" and "decrease or equal" options to the new cheat commands. [Sandro Ronco]

Added helper function core_i64_hex_format. Replaced several printf cases in the debugger with this function to avoid runtime differences on older Windows systems. Also fixed up some error logging messages to output the correct number of characters for addresses and data, using the new function. [Aaron Giles]

Added missing static and const qualifiers, and fixed up some header files. [Atari Ace]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Povar / Sobrat' Buran / Agroprom [Mariusz Wojcieszek]
Czernyj Korabl [Mariusz Wojcieszek]
Brodjaga [Mariusz Wojcieszek]

http://mamedev.org/
0.134u1
-------

MAMETesters Bugs Fixed
----------------------
- 02565: [Sound] All Sets in zaccaria.c: TMS5200 hookup is currently kludged to work. (couriersud)
- 03443: [Sound] brapboys, brapboysj: Music samples looping incorrectly / ending too soon (hap)
- 03439: [Sound] chinagat and clones: OKI6295 sound pitch is too high. (sasuke)
- 03435: [Compiling] gcc warning for src/emu/sound/ymf271.c with OPTIMIZE=3 on openSUSE 11.1 x86 (hap)


Source Changes
--------------
Added CDP1863/CDP1864 sound devices for MESS. [Curt Coder]

Noraut discrete sound system: Changed C1 value (from PPI-1 PC6 line and Darlington array) to match the real value, as seen on the pcb. This should reproduce the 555 output accurately. [Roberto Fresca]

Remove Enable input from a number of discrete sound modules. [couriersud, Derrick Renaud]

Reverted driftout workaround, see latest comments here for reason: http://www.mametesters.org/view.php?id=3356. [hap]

Naomi/AW updates:
* Hooked up protection for Power Stone 2 and Toy Fighter [R. Belmont, Guru, Cah4e3]
* Redumped bad rom in Heavy Metal Geomatrix [Guru]
* Redumped bad roms in Virtua Fighter 4 (cartridge version) [Guru]
* Redumped Club Kart: European Session [Guru]
* Updated Atomiswave hardware documentation [Guru]

Verified CPU clocks for Atomic Point [Stefan Lindberg]

New driver for Amatic encryped gambling hardware. This system is based on a custom CPU. Graphics are decoded but only 2 bitplanes hooked. All the needed devices are in the driver, but commented out till can properly decrypt the program ROMs and identify the CPU. About the encryption scheme, see the driver notes about my findings. [Roberto Fresca]

Added device_find_child_by_tag helper function. [Curt Coder]

i386: improved handling of override prefixes after a rep instruction [Gabriele Gorla]

Corrected Mirax clock frequencies [Stefan Lindberg]

lr35902 cpu core changes: [Wilbert Pol]
- Improved handling of the DI+HALT bug.
- Do not clear the interrupt flag when the cpu is halted and no interrupt is taken.

m68k: don't save signal contexts on *BSD and Mac OS X. [scarlet, R. Belmont]

Correct bprom name in Hellfire sets and added documentation of the type of bprom used. [Brian Troha]

Added deletion of MSVC specific files to clean task. [Curt Coder]

z80dma improvements: [Angelo Salese]
- Added Initiate read sequence command and hooked up basic status reading
- Added continue and reset port A/B timing commands
- Added enable/disable irq, force ready and reinitialize status byte commands
- Fixed Initiate read command
- Implemented reset command
- Implemented fixed port transfer behaviour
- Added decrement step mode and fixed a conceptual bug with portA writes
- Added preliminary search mode support and fixed a bug with WR3 mask byte
- Fixed ready flag when the DMA disabled/enabled commands are used

"=A" inline assembly seems to be only supported on 32bit gcc. Provide a 64bit safe version of _get_profile_ticks. [couriersud]

Ported Capcom CX4 implementation over from bsnes (original code by zsKnight, anomie and Nach). Mega Man X2 and X3 are now playable in MESS, with bugs. [Harmony]

Partially implemented TMS5110_CMD_TEST_TALK: [couriersud]
- according to the documentation, this needs to be issued to read status on CTL1
- cvs driver needs this

[SNES] Fixed a bug in our DSP1 emulation. Super Mario Kart can be played again in MESS. [Fabio Priuli]

CVS improvements: [couriersud]
- hook up speech cpu
- get rid of "temporary" code which hardwire ctl & pdc writes
- use tms rom clock as sense input for the s2650. darkwar now speaks again on startup.
- only one latch used for sound & speech.
- hooked up 393Hz signal to "dac3"
- pcb pictures indicate discrete logic on the sound board. Marked all games as GAME_IMPERFECT_SOUND since we seem to miss some sounds
- 4bit dac remains mysterious

tms5110 improvements: [couriersud]
- Implement ctl port input/output for status reads.
- Input/output is switched by clocking pdc after a TALK STATUS command.
- update drivers to support new tms5110_ctl_r
- now exhibits Rom Clock signal

ym2612/3834: updates to track latest knowledge [Eke-Eke, Nemesis]
- Moved LFO vars inside the chip struct
- Changed SSG-EG to update before channel calcs

Fixed various issues with the dsp56156 disassembler.  [Andrew Gardner]

Updated nova2001 driver to use DIP LOCATIONS.  Clarified and verified switch behavior, comparing to manuals where available. [Fujix, Tafoid]

Fixed disassembly of NEG Rd,Rs instruction in ARM7TDMI Thumb mode. [Harmony]

Fixed S-DD1 support in SNES driver; Street Fighter Alpha 2 is playable, Star Ocean shows decompressed graphics before hanging. [Harmony]

S2650 improvements: [couriersud]
- Added S2650_FO_PORT fake port for flag output line.
- Made CHECK_IRQ_LINE an inline
- Verified irq handling (with help from Quench)

Complete dump of Planet Harriers. [Guru]

Ported SPC7110 support from bsnes. [Harmony]

Ported ST010 support from bsnes. [Fabio Priuli]

Fixes an issue where running ST010 games would hang MESS. [Harmony]

Some progress with protection emulation for herbiedk and 8ballact. No more game specific program counter checks. [couriersud]

Support external baud rates in the MC68681 DUART. [R. Belmont]

Implemented a RS and WS line interface for tms5220: [couriersud]
- this emulates the RS/WS and READY handshaking according to the tms5220 manual. Drivers reading the ready line should most probably use it.
- Note: For cases where the READY handshake is done by the cpu sufficient cycles have to be burnt to simulate that the cpu waited. This yet has to be implemented.

zaccaria.c updates: [couriersud]
- Remove tms5220 kludge
- hooked up new RS/WS/READY tms5220 interface
- removed dac1 as well. Replaced it by attenuation control for ay2, channel B

Made INI file order explicit via priorities. [Rene Single]

Fixed F6 cheat toggle behavior. [Pugsy]

Corrected clocks for V-five pcb. [Corrado Tomaselli]

Added byte swap to the cheat search. [Sandro Ronco]

Now allow for banks to take up half of the available slots. Explicit banks now work up to bank 64. [Aaron Giles]

Changed all tms5220 lines to (READ|WRITE)_LINE_DEVICE_HANDLER: [couriersud]
- Added q suffix to denote active low lines
- Updated all drivers accordingly.
- Removed some trampoline functions

Added TMS5220C variant to tms5220.c [Lord Nightmare]
- implemented reset for TMS5220C if /RS and /WS are pulled down together
- Inserted LNs email and corrections as comment into source
- Created a TODO section.

Updated gauntlet and firefox to use "new" tms5220 interface. [couriersud]

Discrete Updates: [Derrick Renaud]
- Added DISCRETE_LOGIC_SHIFT - generic shift register
- Fixed DISCRETE_BIT_DECODE to apply proper voltage instead of clipping to INT.

Sky Raider - Partial discrete sound. [Derrick Renaud]

SNES: Fixed CG ram reading address. [Angelo Salese]

Converted 6532riot to devcb interfaces: [couriersud]
- updated all drivers
- converted drivers to RS/WS tms5220 interface where appropriate
- removed quite some trampoline functions

Corrected incorrect XTAL value for XTAL_32_768kHz [ArcadeNUT]

Optimized DISCRETE_74LS624 making dkongjr and mario faster. [Derrick Renaud]

SNES: Fixed an incorrectly setted DMA register read, fixes DMA Memory tin the test cartridge. [Angelo Salese]

Further simplifications to Atomiswave's keys. [Andreas Naive]

i8085: [Curt Coder]
- RIM instruction now shows the current status of RST5.5 and RST6.5 pins.

dkongjr now uses parallel discrete tasks. [couriersud]

Removed a number of #ifdef LSB_FIRST in favor of macros that do the equivalent. [Atari Ace]

Neo Geo updates: [JohnBoy]
- Renamed sets based on them being used for the initial AES production runs
      Renamed tophuntra to tophuntrh, added correct s1
      Renamed kof97a to kof97h
      Renamed bstars to bstarsh
- Added correct c1 to neocup98
- Added correct m1 and v1 to androdun (MVS version layout)
- Tagged lastbld2 as newer revision
- Identified pbobblena as bootleg, renamed to pbobblenb, renamed roms to 'correct' chip label
- Renamed p1 in mslug4, see notes

Added dipswitches for the photon2 coins, you can now select between 1 and 6 minutes per coin. Also added information about the original games that these have been bootlegged from. [David Haywood]

listxml changes: [Oliver Stoeneberg]
- adds an "optional" flag for rom/disk entries to -listxml output
- removed the obsolete "dispose" flag from the DTD in the -listxml output

Minor optimization/cleanup of Neo Geo rendering. [Christophe Jaillet]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Target Panic [Phil Bennett, Tormod, The Dumping Union]


New clones added
----------------
Battle Garegga (Taiwan / Germany) (Thu Feb 1 1996) [Tormod, The Dumping Union]
Undercover Cops (US) [Corrado Tomaselli]
X-Men (2 Players ver EAA) [Corrado Tomaselli]
Mirax (set 2) [Stefan Lindberg]
Hellfire (1P Ver., alt) [Stefan Lindberg]
Country Girl (Japan set 2 with Nichibutsu copyright) [Siftware]
Vulcan Venture (Older Ver.) [Brian Troha, Dumping Union]
Mortal Kombat II (rev L3.0) [bulldawg, Smitdogg, Dumping Union]
Exzisus (Japan, dedicated) [Stefan Lindberg, Phil Bennett]
Baseball Stars Professional (set 1) [JohnBoy]
Metal Slug 4 (set 2) [JohnBoy]


New games marked as GAME_NOT_WORKING
------------------------------------
Net Select Keiba Victory Furlong [Guru]
Salary Man Kintarou [Guru]
Amatic Unknown Slots Game [Roberto Fresca, Team Europe]
Multi Game I (V.Ger 2.4) [Roberto Fresca, Team Europe]
Multi Game III (V.Ger 3.5) [Roberto Fresca, Team Europe]

http://mamedev.org/
0.134u2
-------

MAMETesters Bugs Fixed
----------------------
- 03403: [DIP/Input] rollfr_2: Can't init Roll Fruit game. (MetalliC)
- 03458: [Sound] bzone and clones: Broken engine sound (couriersud)


Source Changes
--------------
Added genuine sets of Rally-X and New Rally-X [Team Japump!!!]

discrete_sound_r now can inquiry any node: [couriersud]
- the return type is UINT8, consequently the designer needs to ensure that the node delivers adequately scaled data.
- input nodes allow the input data to be scaled. The return value is the node value *after* scaling.

DISCRETE_74LS624 - optimized for some more speed. [Derrick Renaud]

DISCRETE_566 - started making a more accurate simulation based on testing of a real IC. This makes the rest of Sky Raider sounds work. [Derrick Renaud]

Completed dump of Gun Survivor 2 cart [Guru]

Hacked in the dsp56156's "Long Interrupts."  Added SUB opcode. Polygonet Commanders now goes in-game! [Andrew Gardner]

plygonet.c: hooked up 53936 roz layer. [R. Belmont, David Haywood]

Fleshed out SCC68070 definition in m68k core, for CD-i use in MESS [Harmony]

m68k: disassemble PMOVE instruction (move to/from PMMU). [R. Belmont]

exp is slow, but pow is even slower [couriersud]
- more LS624 optimization, replace pow(10, x) by pow10(x)
- mixer loop optimizations

Impromved discrete performance for mario: [couriersud]
- pow to exp : 5%
- parallel tasks : 45%
- minor tweaks

M680x0 update: [R. Belmont]
- Add CPU types 68EC030, 68030, and 68EC040
- Start of 030/040 PMMU, including stubbed PMOVE

Fixed up RAM bank names to prevent crashes with memdump. Extended explicit banks to 96. [Aaron Giles]

multfish.c driver fixes and improvements: [MetalliC]
- Hooked up inputs for Roll Fruit
- Added hopper emulation, payout now works
- Added information on how to initialize Roll Fruit
- Added in missing rom to a few MultiFish sets

DISCRETE_555_MSTABLE - optimized speed and added new operating modes. [Derrick Renaud]

Fixed ROM name of warpwarp. Also removed 4th program ROM which is not present on real board. [Team Japump!!!]

Memory references can now explicitly specify logical or physical access by prepending with an 'l' or 'p'. Logical remains the default. Example: ppb@1000 = physical program space byte at address $1000. ldw@2000 = logical data space word at address $2000. Changed cheat finder to explicitly reference physical memory when writing out new cheats. [Aaron Giles]

Added simple system for auto-detecting cheat-worthy RAM areas. [Sandro Ronco]

Added NULL check to prevent MAME from crashing if a new input device was connected at runtime. [David Haywood]

Expanded PROFILER_USERx to support up to 8 custom profiler areas. [Christophe Jaillet]

Added more _NAME macros to be consistent with the standard naming conventions. [Atari Ace]

Removed old master system code from megaplay.c, megatech.c, segae.c and updated the drivers to use more recent implementation (from HazeMD) [David Haywood]

Sped up mario_custom_run() discrete sound. [Derrick Renaud]

Added discrete sound to Sprint 8. [Derrick Renaud]

Removed capacitor aging code and assumed range input is gnd for all 74LS629. [couriersud]

Omplemented m:n logic for buffered task nodes in discrete sound [couriersud]
- preparation work so that a task node output buffer may be read by more than one following task.
- target: implementation of task groups: tasks in a task group run parallel, task groups serial. The current main task may than just be task (in the last task group)

Space Walk - started discrete sounds. [Derrick Renaud]

Added static qualifiers where possible throughout the code. [Atari Ace]

Discrete task groups [couriersud]
- DISCRETE_TASK_START now requires a parameter TASK_GROUP (>=0, <=9)
- Tasks are scheduled in the order of their task group
- Nodes are automatically buffered between task groups
- Discrete core determines nodes which need buffering to minimize overhead (information in DISCRETE_LOG)
- A discrete block list now must put each stepped node into a task if it uses tasks
- Drivers not using tasks will get one task allocated automatically
- Updated drivers accordingly
- Some more constification

Optimized tab removal in srcclean. [Atari Ace]

Centralized color definitions and made some colors more specific. [Mamesick]

Hooked up Polynet Warriors joystick properly. [Andrew Gardner]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Othello (version 3.0) [Tomasz Slanina, Stefan Lindberg]


New clones added
----------------
Total Vice (ver UAC) [Phil Bennett]
Street Fighter II - The World Warrior (Quicken Pt-I, bootleg) [D. Beneke, Guru, Smitdogg, The Dumping Union]
Street Fighter II' - Champion Edition (Accelerator!, bootleg) [D. Beneke, Guru, Smitdogg, The Dumping Union]
Ironman Ivan Stewart's Super Off-Road Track-Pak (2 Players) [Darran]
Gals Panic 4 (Korea) [Choi Sung Ho]
Mortal Kombat II (rev L3.1 (European)) [Andy Welburn]
Cadash (Germany) [Volker Hann, Team Europe]
Space Empire (bootleg) [Team Europe]
Target Hits (ver 1.0) [Andrew Conroy]
Vulcan Venture (Older) [Irongiant]
Astro Blaster (German) [Volker Hann & Team Europe]
Pac-Man (Galaxian hardware, set 2) [Team Europe]
Zaxxon (Japan) [Team Japump!!!]


New games marked as GAME_NOT_WORKING
------------------------------------
Virtua Fighter 4 Evolution (Cartridge) [f205v, David Haywood]
48-in-1 MAME bootleg (ver 3.09) [Guru]
48-in-1 MAME bootleg (ver 3.02) [Guru]
Seta Roulette? [Team Europe]

http://mamedev.org/
0.134u3
-------

MAMETesters Bugs Fixed
----------------------
- 03470: [Crash/Freeze] backfirea: Game mode setting error on startup (Fabio Priuli)
- 03465: [Crash/Freeze] batrid, bgaregga, bkraidu and clones: Reset after rom check (R. Belmont)
- 03463: [DIP/Input] kingball, kingballj: Wrong coinage DIP options. (Tafoid)


Source Changes
--------------
Multifish driver update [MetalliC]
- Hooked up RTC (real time clock)
- Added documentation about backdoor / bootleg / hacks

Space Encounter - fixed enemy shot sound. [Derrick Renaud]

Space Walk - started Springboard Miss sound. [Derrick Renaud]

Added color prom to Omega. [Andy Welburn]

m68k updates: [R. Belmont]
- throw F-line trap correctly when PMMU instructions are hit on non-equipped CPUs.
- Added working PMMU address translation (not feature complete, but sufficient to boot several 68030 Macs in MESS)
- Fixed up disassembly of some PMMU instructions
- Added "68020 with 68851" CPU type

Added correct 64Mb CROM dumps to spikeout. [Phil Bennett]

Added EXPECTED macro to complement the already existing UNEXPECTED macro. [couriersud]

Discrete update [couriersud]
- fix some "const" weirdness I introduced
- fix VREF in CRFILTER_VREF and RCFILTER_VREF. VREF never got used since it was only a static parameter.
- Removed enable from CR_FILTER* and RC_FILTER*
- Updated drivers accordingly.
- Use EXPECTED/UNEXPECTED to help the compiler

DISCRETE_CRFILTER, DISCRETE_RCFILTER updates: [Derrick Renaud]
- revert vref change from rev 6979.
- added capability for all values to be nodes.

Starship 1 - fixed motor sounds. [Derrick Renaud]

Shuffleboard - started discrete sounds. [Derrick Renaud]

Fixed DMA write mask register in 8237dma. [Mariusz Wojcieszek]

Blue Shark - added octopus sound. [Derrick Renaud]

Corrected rom names for Frogger (Sega set 2) [Derrick Renaud]

Adds PCB layout for Igrosoft's Gambling hardware in the multfish.c driver. [Brian Troha]

Removed some old and duplicate code for genesis/megadrive from MAME. Also, moved some megaplay/megatech constant to a struct and refactored some code (work in progress). Updated bootlegs to use latest genesis code and finally removed src/mame/drivers/genesis.c! [Fabio Priuli]

Asserted copyright ownership of core library and OSD files, and relicensed them under the standard BSD license, with permission of the original authors. The files in question all live under src/lib/util and src/osd. [Aaron Giles]

Device memory spaces are now visible in the debugger. [Aaron Giles]

Better task processing for discrete sounds: [couriersud]
- tasks are now processed according to their dependency lists. Tasks can now start early and will only process samples which are already available. This has most impact on drivers which have significant variance in the run-time of individual tasks.
- tasks now process samples in slices, currently max 240 samples / slice.
- TASK_GROUP is now obsolete - Will update drivers at a later stage.
- step function pointer now back in node, modules may register optimized step functions.
- profiling code now always compiled, introduced static int profiling = ...
- some more EXPECTED/UNEXPECTED usage.

Fixed Dip Switches for 'attckufo'. [stephh]

Improvements to Noraut poker driver... [Roberto Fresca]
* Added Draw Poker Hi-Lo hardware support, based on 8080A CPU.
* Mirrored the PPI's offsets to simplify/merge the hardware emulation.
* Added hardware documentation and PCB layouts from both DPHL sets.
* Added DPHL discrete sound circuitry scheme/documentation.
* Added Turbo Poker 2 from Micro Manufacturing.
* Added PMA poker.
* Documented the Turbo Poker 2 hardware.
* Added Turbo Poker 2 PCB layout from hi-res picture.
* Switched to the new PPI core.
* Commented out the 3rd PPI device till handshaked strobe lines can be properly emulated. For now, all VRAM access is through direct handlers. This allow to remove the hacks per set needed to boot the games.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pirate 2 (061005) [Metallic]
Phoenix Part 2 [Andy Welburn, Dumping Union]
Block 2 (Arkanoid bootleg) [Andy Welburn, stephh]
Danchi de Quiz [Guru]
Go For The Gold (Japan) [Darran]


New clones added
----------------
Pirate (060803) [MetalliC]
Battle of Atlantis (bootleg) [David Heywood, Dumping Union]
Multi Fish (031124) [MetalliC]


New games marked as GAME_NOT_WORKING
------------------------------------
Bingo Roll / Bell Star V3 [Roberto Fresca, Team Europe]
Draw Poker Hi-Lo (M.Kramer) [Roberto Fresca]
Draw Poker Hi-Lo (alt) [Roberto Fresca, Alan Griffin]
PMA Poker [Roberto Fresca, Siftware]
Turbo Poker 2 [Roberto Fresca, Siftware]

http://mamedev.org/
0.134u4
-------

MAMETesters Bugs Fixed
----------------------
- 03475: [Crash/Freeze] exprraid: Game freezes after insert coins while playing (Angelo Salese)

Source Changes
--------------
Discrete sound improvements: [couriersud]
- DSS_INVERTER_OSC optimizations
- OSD_PROFILING is now an environment variable. No more recompiling to turn profiling on
- Added two asserts to task processing

Updated beaminv.c driver, in attempt to fix MT bug 03473. [stephh]

Draw Poker Hi-Lo - added discrete sound. [Derrick Renaud]

Relaxed romcmp filename length restriction. [Philip Bennett]

Blue Shark - added shark sound. [Derrick Renaud]

Fixed Sega System 16 ROM names according to real machine, and corrected game version description for Alien Syndrome and SDI. [Team Japump!!!]

Fixed TRIG3 register handling in GTIA for Atari XL/XE. [Mariusz Wojcieszek]

Noraut/DPHL driver improvements: [Roberto Fresca]
* Added Draw Poker Hi-Lo (japanese), based on 8080A CPU.
* Merged the gtipoker memory map and machine driver with dphl.
* Created a base machine driver and then derivatives by hardware.
* Splitted the regular RAM and NVRAM systems.
* Added 'Hi-Lo Double Up Joker Poker' from SMS Manufacturing.
* Added smshilo hardware details and PCB layout.
* Added smshilo discrete sound circuitry scheme/documentation.

i386: implemented SLDT & STR opcodes. [Angelo Salese]

scsihd updates: [R. Belmont]
- Fixed parameter interpretation for READ(10) and READ(12)
- Added WRITE(10)

Naomi updates:
- Hackish support for 8888 tiles (Shootout Pool displays something). [R. Belmont]
- Increased number of JVS analog channels for driving games [R. Belmont]
- Protection data added for Crazy Taxi, Jambo! Safari, and Virtua Tennis 2 [Deunan Knute, ANY]

Added PCB layouts of Bingo Roll / Bell Star (4 sets) [Team Europe]

Added Xtal location and values to Bingo Roll / Bell Star hardware/PCB layouts. [Roberto Fresca]

Added Multi Game I (V.Ger 2.4) PCB layout. [Team Europe]

Mario - converted final mixing stage to DISCRETE_MIXER. This adds the missing filtering on the walking sounds. [Derrick Renaud]

Fixed dsp56156 DO & BSCC opcode bugs.  [Andrew Gardner]

Refactored Z80CTC to use devcb. Emulated coin flag flip-flop in Cosmic Chasm. [Curt Coder]

DISCRETE_RC_CIRCUIT_1 - promoted skyraid custom charge to it's own module so it could be used with the same circuit in Battlezone. [Derrick Renaud]

Battlezone - updated to use new module. Adjusted sound levels. Adjusted engine frequency. Remember there is a slider to adjust the frequency. [Derrick Renaud]

Donkey Kong Jr. - set noise clock to a fixed measured frequency. (Speed optimization) [Derrick Renaud]

Removed most remaining instances of statically initialized variables, improving multisession support. [Atari Ace]

Removed dead function prototypes. [Atari Ace]

Swapped ddp2/ddp2a program ROMs around to match set descriptions. [Lei Wu]

Fixed a couple of source typos. [Christophe Jaillet]

Added Chihiro BIOS loading. [Alex, Paul Hogger, David Alves, Hugo Cesar Somellera Calderon, Jeremy Ostrowski, Daniel Palmer]

Fixed crimfght 4P version inputs. [Arthur Peale]

Added colour proms to Seta / Visco Roulette. [Team Europe]

Sped up ertictac driver VIDEO_UPDATE. [Christophe Jaillet]

Minor speed improvement to the e132xs core - don't pass opcode parameter when calling instruction handlers. [Christophe Jaillet]

Added two-sided polygon flag and back-face culling to Model 3 video emulation. [Naibo Zhang]

Changed stepstag set description to Stepping Stage Special. [Naibo Zhang]

Added verified PAL dump to Tokio/Scramble Formation. [Corrado Tomaselli]

Verified on PCB all the clocks for Mikie, changed the M6809 clock to 1.536MHz and Vsync to 60.59Hz. Changed the sound chips to variant SN76489A which are the ones on the PCB. [Corrado Tomaselli]

Naomi: add protection data for 18 Wheeler [Deunan Knute, ANY]

DISCRETE_COUNTER - added MIN parameter and optimized speed. [Derrick Renaud]

naomi: added 18 Wheeler JVS I/O and motor controller dumps. [Gerald (COY)]

Added helper macro for CDP1864 screen creation. [Curt Coder]

Added PROM dumps to starfire and fireone. [TrevEB]

Battlezone - set unclipped volume to 50% slider position. This allows you to drive the audio into clipping like a real game. [Derrick Renaud]

Added helper macro for CDP1869. [Curt Coder]

Naomi: add revision G export BIOS. [R. Belmont]

Goldstar driver improvements: [Roberto Fresca]
* Added new game: New Lucky 8 Lines / New Super 8 Lines.
* Inputs and DIP switches from the scratch.
* Added Hopper service button to all New Lucky 8 Lines sets.
* Added Paytable settings DIP switch to all New Lucky 8 Lines sets.
* Minor clean-ups.
* Created a new machine driver for wcat3.
* Mapped the missing d000-efff ROM space range.
* Added PCB & DIP switches banks layouts for ns8lines.

Changed CPU clock display in the UI to display multiplied/divided clocks instead of raw clocks. [Dirk Best]

Changed device callback system to look up devices owned by the same parent if a child device references another device. [Dirk Best]

Fixed a couple of unbalaced profiling calls, and added output to help identify the source of unbalanced calls. [Christophe Jaillet]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Turbo Outrun (Mega-Tech) [Any, Dumping Union]
Mahjong Gekisha [Luca Elia, Guru, Dyq, Bnathan]
Miracle Derby - Ascot [Stefan Lindberg, David Haywood]
New Lucky 8 Lines / New Super 8 Lines [Roberto Fresca, Darklord & Team Europe]


New clones added
----------------
Alien Syndrome (System 16B, Japan, New version) [Team Japump!!!]
Hana Jingi (Japan, Bet) [Luca Elia, Guru, Brian Troha, Yasuhiro Ogawa]
Super Hang-On (Japan, FD1094 317-0038) [The Dumping Union]
Zaxxon (set 3) [Team Europe]
1942 (Revision A, bootleg) [Darran]
Street Fighter II' - Champion Edition (Double K.O. Turbo II, bootleg) [J. Bijl, krick, Smitdogg]
Sonic Championship [Brian Troha, Dumping Union]


New games marked as GAME_NOT_WORKING
------------------------------------
Criss Cross (Sweden) [Tormod]
Shootout Pool [ANY, The Dumping Union]
Virtua Tennis 2 (cartridge) [ANY, The Dumping Union]
Draw Poker Hi-Lo (Japanese) [Roberto Fresca]
Hi-Lo Double Up Joker Poker [Roberto Fresca, Alan Griffin]
Ten Spot [Smitdogg, N. Francfort, David Haywood]
Crazy Taxi [ANY, The Dumping Union]
18 Wheeler [ANY, The Dumping Union]
Jambo! Safari [ANY, The Dumping Union]
F355 Challenge (Twin) [ANY, The Dumping Union]
F355 Challenge 2 (Twin) [ANY, The Dumping Union]
Go! Go! Connie chan Jaka Jaka Janken [Mariusz Wojcieszek, Dumping Union]

http://mamedev.org/
0.135
-----

MAMETesters Bugs Fixed
----------------------
- 03378: [DIP/Input] kamakazi3: Unable to use normal coin slots (coin lockout) (Luigi30)
- 03496: [Sound] mouja: Sound Effects/Voice missing (Mamesick)
- 03423: [Crash/Freeze] acpsx, atpsx, atluspsx, cpzn1, cpzn2, psarc95, taitofx1, tps, vspsx : Access Violation (Fabio Priuli)
- 03425: [Crash/Freeze] taitogn: Access Violation before typing OK. (Fabio Priuli)
- 03424: [Crash/Freeze] chihiro, triforce: Access Violation before typing OK (Fabio Priuli)
- 03490: [Crash/Freeze] quasar, quasara: Segmentation Fault after OK (Fabio Priuli)
- 03491: [Crash/Freeze] dynobop, sstrike, slikshot, slikshot17, slikshot16 : Access Violation after OK (Phil Bennett)
- 03487: [Crash/Freeze] All Drivers using z180 cpu: Access Violation (Phil Bennett)


Source Changes
--------------
Changed sound banking on Shogun Warriors/B.Rap Boys to use an
OKIM6295 address map and banks [David Haywood]

Removed the MCU comm hack from namcofl/namconb. This now fixes the
music tempo in most games. [Phil Bennett]

Fixed vroulet controls so that the Red column can be selected. [luigi30]

680x0 update: [R. Belmont]
- Support PMOVE modes from PMMU
- Allow the FPU to be used for both '030 and '040
- Add byte and word FPU loads/stores
- Fixed buggy FPU 64-bit stores in the (An) addressing mode

chdman: add option to create uncompressed writeable HD images for MESS [R. Belmont]

scsihd: don't crash if no media is attached [R. Belmont]

More goldstar.c improvements... [Roberto Fresca]
* Completed the New Lucky 8 Lines / New Super 8 Lines hardware/PCB layout.
* Added New Lucky 8 Lines (set 3, extended gfx). This set has the New Lucky 8 Lines / New Super 8 Lines program, so bets are up to 64. Same extended tileset for reels, but lacks of the New Super 8 Lines title tiles. Maybe is a hidden feature, maybe just graphics for another hack.
* Added technical notes.

Added abort button to sfrush [Arthur Peale]

Updated mt_tout CRC/SHA1 and added note about old, likely bad dump [David Haywood]

Added missing dependencies for video/model2.c and video/model3.c [Phil Bennett]

Fixed recent sprite breakage in some toaplan2 video HW-based games. [Phil Bennett]

Added later version of Naomi analog I/O board program [Alex]

Changes to the dsp56156 cpu core. [Andrew Gardner]
* Added JF table decode function.
* Added ABS, IMAC, and TFR2 opcodes.
* Fixed various flags for TST, INC24, SUB, CMP, and CMPM.
* Added hack to DO function to accommodate for the CPU core's inaccurate math.

Galaxian driver changes: [luigi30]
* Crystallized some clock speeds, put ?s near ones that didn't look correct
* Changed references to galaxiaj in game names to galaxiana

Re-added 2nd button back to ddayc [David Haywood]

Documentation update for the Seibu COPDX-based games. Renamed sdgndmrb to grainbow. [David Haywood]

Updated most tools in src/tools to be straight BSD license. [Aaron Giles]

Added -flipped option to unidasm to output with disassembly first and address/data bytes afterwards in comment form. [Aaron Giles]

Changed 32010 unknown opcode to output in $xxx format like all other hex values. [Aaron Giles]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Seiryu Densetsu [Luca Elia, Guru, Dyq, Bnathan]
Mahjong Daimyojin [Luca Elia, Guru, Dyq, Bnathan]


New clones added
----------------
Pinball Action (set 5, encrypted) [f205v]
Hyper Sports (bootleg) [f205v, David Haywood]
Darkstalkers: The Night Warriors (Hispanic 940818) [Artemio]
Gran Premio F1 (Italian bootleg of Pole Position II) [f205v, David Haywood]
Scramble (Karateko, French bootleg) [Joachim Bassmann]
Super Breakout (rev 03) [Andy Welburn, Lord Nightmare]
New Lucky 8 Lines (set 3, extended gfx) [Roberto Fresca, Darklord & Team Europe]


New games marked as GAME_NOT_WORKING
------------------------------------
Tournament Solitaire [Angelo Salese, Siftware]
Airline Pilots DX [ANY, The Dumping Union]

http://mamedev.org/
0.135u1
-------

MAMETesters Bugs Fixed
----------------------
- 03535: [Documentation] 3stooges: P1-P2-P3 button does not match documentation (input (this game)) (David Haywood)
- 02734: [Crash/Freeze] videocba, videodad, blckjack: Crash immediately after OK (Firewave)
- 00941: [Sound] tp84: The startup 'tune' no longer sounds like the original game after the fixes to the SN76496 sound core. (Lord Nightmare)
- 03494: [Gameplay] batridc, batrid, batridk, batridu: 'Guest Player', 'Special Course', 'Player Select' dipswitch settings reversed (Fabio Priuli)
- 02155: [DIP/Input] mole: Incorrect buttons mapping. (M.A.S.H.)
- 03498: [Graphics] sengekis, sengekisj: Missing graphic layer in Stages 3 and 5 (David Haywood)
- 03509: [Graphics] galpans2, galpans3, panicstr: Input test screen shows zoomed in text (David Haywood)


Source Changes
--------------
Updated LFO information in YMF271 core. [Brian Troha, Nicola Salmoria]

Fixed parent relationship between sbrkout3 and sbrkout. [Lord Nightmare]

Removed some magic numbers from machine/psx.c, replaced with #defines. [Harmony]

Change to consistently use Intel notation for hex values in TMS32010 disassembler, rather than a mix of Motorola and Intel notation. [Lord Nightmare]

Z80: Check for NOP in interrupt mode 0. This allows code like ei / halt / di to work correctly. A better solution would be to implement full support for arbitrary opcodes in mode 0. [Dirk Best]

igs017.c update [Luca Elia]
- Merged in some IGS031 based games (igs_m68.c, tarzan.c)
- Implemented tiles flip x and video disable
- Added hopper simulation to mgcs
- Decrypted mgdh

Almost complete decryption of starzan and tarzana [iq_132]

Documented presence of Namco customs on the Pole Position bootleg (Top Racer) sets. Removed Namco devices from bootlegs which don't have them. [David Haywood]

Added save state support to plygonet.c and the DSP56156 CPU core. [Andrew Gardner]

Updated SN76489/A to have correct PRNG waveforms (a 0 bit was missing at the beginning, and beginning of SN76489 waveform was all 1s instead of 0s as measured on hardware). Added SN94624 (same as SN76489). [Lord Nightmare, plgDavid (David Viens)]

IGS blitter based games update [Luca Elia]
- Renamed driver to igs011.c and cleaned it up
- Renamed some sets according to chinese title
- Implemented hopper in lhb, lhb2, wlcc
- Decrypted ryukobou

i386 core fixes: [Barry Rodewald]
* Added Nested Task flag, and I/O Privilege flags.  They aren't implemented in any way, but can now be set or reset.  Can be used to detect a 80386 or later CPU.
* Implemented ENTER instruction.
* Made IRQ vectors treated as 8 bytes when in protected mode, and made the addresses pushed onto the stack 32-bit if the gate descriptor used is a 386 interrupt or trap gate (also when in protected mode, will always be 16-bit if in real mode).

Fixes to default mapping as well as comment/information fixes for Mole Attack [M.A.S.H./Tafoid]

Identify puyoj set as Rev B and correct various rom names. [Smitdogg, Dumping Union]

Improved Super Nova sprite shrinking, used by Gals Panic S2 and Sengeki Striker. [David Haywood]

Improved dips in Mahjong Vegas. [nightsoil]

Added emulation of background graphics (blitter), sound and inputs to skimaxx.c [Luca Elia]

Refactored Z80, i8237, and i8257 DMA to use devcb. [Curt Coder]

Fixed RGB555 palette RAM format in Soccer Superstars [Angelo Salese]

Allowed child CPUs to be used in read8/write8 callbacks. [Curt Coder]

Jaleco Mega System 32 update: [David Haywood]
* Added correct RAM sizes as per Charles McDonald's notes
* Implemented priority in the same manner as tetrisp2
* Add shadows via custom mixing (gametngk and tetrisp / tp2m32 are much improved)
* Added the alt tilemap layout used by f1superb for the backgrounds
* Added f1superb notes and IRQ generation code from nuapete

Tournament Solitaire (pcat_dyn) improvements [luigi30]:
* Added newer version of toursol, renamed existing to toursol1 and the new one is now toursol
* Set toursol date to 1995
* Set toursol CPU speed to 40MHz

Many improvements to konamigx rendering, specifically improving Soccer Superstars and Rushing Hero. [David Haywood, Angelo Salese]

Implemented input buffer copy protection in Rushing Heroes, game is now somewhat playable with heavy gfx glitches [Angelo Salese]

Fixed Konami GX type 4 protection seed $d15, used to protect a sprite bank in Run & Gun 2 / Slam Dunk 2 [Angelo Salese]

Fixed sprite ROM loading in Slam Dunk 2 [David Haywood]

Added missing BLTZAL opcode to the RSP core. [angrylion]

Control fix for Strike Gunner S.T.G. to allow a 3rd button mapping for each player - thus allowing for the feature of merging ships in 2 player games. [Tafoid]

Marked cosmic alien colors as wrong, added TODO to the driver for fixing colors. Added new XTAL value for cosmic alien and switched driver to use it. [Lord Nightmare]

Fixed colors in Greyhound games [Mariusz Wojcieszek]

Restored Final Gorodi and Wyvern Wings to working. [Brian Troha]

Fixed gfx decoding and hooked up mc6845 in the Forte Card driver [Angelo Salese]

Removed dual layout, added Map base video register and fixed transparent issues in the Jackpot Cards driver [Angelo Salese]

MC680x0 update: [R. Belmont]
- Reworked PMMU/core interface so PMMU now sees all cop 0 instructions
- Improved disassembly of PMMU instructions
- Preliminary 68LC040 support
- Fixed disassembly for EC/LC variants of '030/'040

Patched NVRAM check in Jackpot Cards, makes the game playable but you cannot save settings so it's not yet working. [Angelo Salese]

Trashed the old pre-accurate-clocking STEP based sample averaging scheme from sn76489 and friends, vastly simplifying the code. Made the output bipolar rather than only above the 0 line. Added missing statement to the get_safe_token function for the recently added SN94624. [Lord Nightmare]

Many N64 RDP fixes. [angrylion, Ziggy, Gonetz, Orkin, DrgnMndd, Harmony]

Cleaned up toaplan2 V25 support, enabled Batsugun V25 and added decryption table info for the other games [David Haywood]

Improved the V25S memory map in Batsugun, now CPUs starts to communicate properly, needs to find & implement the irq that clears the RAM flag and decrypt the relative opcodes in that. [Angelo Salese]

More Greyhound improvements: [Mariusz Wojcieszek]
- added dip switches for Super Poker
- improved inputs in Sports Authority

Expanded some sound chip tags to specifically indicate they are sound chips (generally, "ay" becomes "aysnd", "fm" becomes "fmsnd", etc) [Aaron Giles]

MIPS3 TLB fixes: [Aaron Giles]
- now properly generating TLB fill exceptions under correct circumstances
- TLB exceptions no longer trash low 4 bits of Context
- exceptions with the EXL bit set always go to vector 0x180
- fixed bug in vtlb code that caused us to lose track of previously registered fixed page ranges
- fixed MIPS3 behavior that would not clear out invalid page ranges from the VTLB under certain circumstances
- added support for TLB sizes less than 48 entries
- fix TLBMOD exceptions so they also properly set BadVAddr

Added NCR7496 variant to sn76496.c. Updated comments to show which chips are currently verified. Cleaned up comments. [Lord Nightmare]

Fixed the 64-bit crashing issues in N64 [Harmony]

Fixed out-of-bounds array accesses in the peplus and videopkr drivers [Oliver Stoeneberg]

Merged findout.c and getrivia.c into gei.c [Mariusz Wojcieszek]

Fixed broken DRC logging. [Aaron Giles]

Fix PowerPC 603 translation so it doesn't get stuck in an infinite loop after the first fixup. [Aaron Giles]

Added driver data struct and save state support to pandoras.c, marineb.c, m10.c, m14.c, m52.c, m57.c, m58.c, m62.c, m63.c, travrusa.c, adp.c, n8080.c, atarifb.c, astinvad.c, avalnche.c, battlex.c, carjmbre.c, popper.c, spaceg.c, bankp.c, battlane.c, blockade.c, blueprnt.c, brkthru.c bsktball.c, hexa.c [Fabio Priuli]

Added driver data struct to espial.c, zodiack.c, 4enraya.c, 1942.c, 1943.c, ace.c, albazc.c, arabian.c, aeroboto.c, astrof.c, ambush.c angelkds.c, arkanoid.c. [Fabio Priuli]

Replaced model3.c fatalerror() calls with development-friendly logerror() calls. Also allows dayto2pe to boot again. [Phil Bennett]

hng64: Improved the Samurai Shodown 64 2 i/o simulation comms, now inputs works and enters into proper gameplay. [Angelo Salese]

Merged some include files and merged audio/fghtbskt.c in drivers/m63.c. [Fabio Priuli]

Got rid of SN76496's R->OldNoise since it causes problems for gamegear/sms. Changed noise taps accordingly. Redid change to gamegear/sms for XOR vs XNOR, now verified by Justin Kerk. Verified gamegear noise taps thanks to sample provided by Justin Kerk. Add stereo sound support to sn76496.c for gamegear. [Lord Nightmare, Justin Kerk]

Added a MDRV_EEPROM_NODEFAULT_ADD macro for drivers which do not need default data size / data. [Fabio Priuli]

Updated 20pacgal to use EEPROM device. Proper save state support still needs some work (to handle the rom banking mechanism). [Fabio Priuli]

Updated galgbios to use EEPROM_NODEFAULT. [Fabio Priuli]

Added PORT_CUSTOM(eepromdev_bit_r) for EEPROM devices. [Fabio Priuli]

Fixed wrong order parameters in memset (spotted by Beledgol). [Fabio Priuli]

Verified/changed clocks and vsyncs on the following games: Aerofighters (only vsync), Power Spikes, Turbo Force (only vsync), Guzzler/Swimmer (same pcb), Exerion and Karate Champs Vs. [Corrado Tomaselli]

hng64: rewrote the MCU simulations, basically to be more clean than before [Angelo Salese]

hng64: improved MCU simulation and added inputs in Beast Busters 2nd Nightmare, it can now reach gameplay mode too [Angelo Salese]

hng64: removed Program Counter-based routines in Samurai Shodown 64 1/2, this fixes the first episode that can now be coined up, however it hangs soon after that [Angelo Salese]

Renamed drw80pkr to drw80pk2. Appears to be later version and MN jurisdiction specific. [Jim Stolis]

Replaced drw80pkr with older dump from [Team Europe].

Added various graphics improvements and corrected colors to drw80pkr. Game boots much farther and cleaner. Additional graphics/memory cleanup and preliminary input support [Jim Stolis]

hng64: work-around to get to the character screen in Samurai Shodown 64, hangs again after it [Angelo Salese]

Added driver_data struct to appoooh.c and boxer.c. Also merged boxer video emulation into drivers/boxer.c. [Fabio Priuli]

Added dual screen output to the Konami GX Type 3/4 games [David Haywood]

Fixed possible NULL pointer dereference in video/dec0.c [Oliver Stoneberg]

Added save states to bionicc.c. [Fabio Priuli]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Super Da Man Guan II [Luca Elia, Pierpaolo Prazzoli, Guru, Xing Xing]
Mahjong Man Guan Da Heng [Luca Elia, Guru, The Dumping Union]
Touche Me [David Haywood]
Skimaxx [Luca Elia, Phil Bennett]
Dream 9 Final [Angelo Salese, David Haywood]
Soccer Superstars [David Haywood, Angelo Salese]
Rushing Heroes [David Haywood, Angelo Salese]
Run & Gun 2 [David Haywood, Angelo Salese]
Super Poker [Mariusz Wojcieszek]
GEI Multi Game [Mariusz Wojcieszek]
Sport Authority [Mariusz Wojcieszek]
Oh! Paipee [Takahiro Nogi]
Tougenkyou [Takahiro Nogi]


New clones added
----------------
Super Street Fighter II: The New Challengers (Hispanic 930911) [Artemio]
Silent Scope (JZD) (not working) [Guru}
Tarzan (V107) (not working) [iq_132]
Mahjong Ryukobou (Japan, V030J) [Luca Elia, Guru, Dyq, Bnathan]
Ultimate Tennis (Japan) [David Haywood, Aaron Giles]
The Big Breakfast (5 sets) [AGEMAME Development]
Gals Panic S - Extra Edition (Korea) [Choi Sung Ho]
Light Bringer (Ver 2.20 1994/04/08) [Choi Sung Ho]
Mad Crusher (Japan) [David Haywood, Andrew Welburn]
Cosmic Alien (first version) [Andrew Welburn, Lord Nightmare]
Dungeons & Dragons: Shadow over Mystara (Hispanic 960223) [Artemio Urbina, David Haywood]
Mega Man 2: The Power Fighters (Hispanic 960712) [Artemio Urbina, David Haywood]
Last Duel (Japan) [Chack'n, Team Japump!!!]
Joker Poker (Version 16.04BI 10-19-88, Joker Poker ICB 9-30-86) [Mariusz Wojcieszek]
Joker Poker (Version 16.03BI 5-10-85, Poker No Raise ICB 9-30-86) [Mariusz Wojcieszek]
Amuse (Version 30.08 IBA) [Mariusz Wojcieszek]
R-Type II (Japan, revision C) [Andrew Welburn]
Popeye Man (hack) [Team Japump!!!]
Steraranger (Moon Cresta bootleg) [Siftware]


New games marked as GAME_NOT_WORKING
------------------------------------
Mega Man 2: The Power Fighters (Hispanic 960712) [Artemio]
Super Tarzan [f205v, Mirko Buffoni, iq_132]
Mahjong Nenrikishu SP [Guru, Dyq, Bnathan]
Print Club 2 (U 970921 V1.000) [Guru, Angelo Salese]
Print Club 2 Vol. 3 (U 990310 V1.000) [Guru, Angelo Salese]

http://mamedev.org/
0.135u2
-------

MAMETesters Bugs Fixed
----------------------
- 03553: [Crash/Freeze] extdwnhl: Game does not start (Phil Bennett)
- 03544: [DIP/Input] mgdh, sdmg2: The joystick function missed in mgdh and sdmg2 (Luca Elia)
- 03547: [Graphics] mgdh,sdmg2: Donden graphics in mgdh and sdmg2 are inaccurate (Luca Elia)
- 03546: [Documentation] nkishusp: Black screen after the game start. (Luca Elia)
- 03540: [Sound] glpracr3, hvnsgate, raystorm: Missing sound. (Phil Bennett)
- 03545: [Graphics] tekken3, tektagt: Tekken games do not proceed into attract mode after initial screen (Phil Bennett)
- 03542: [Sound] Sets/Drivers using YM2610: Missing sounds (Phil Bennett)


Source Changes
--------------
Added driver data structs to: [Fabio Priuli]
- beaminv.c
- cball.c and capbowl.c
- changela.c, circus.c and circusc.c
- crgolf.c and clayshoo.c
- decocass.c
- docastle.c, dotrikun.c, cloud9.c and destroyr.c
- cheekyms.c
- embargo.c
- ddragon.c, ddragon3.c and fgoal.c
- bwing.c
- dday.c
- dcheese.c
- flyball.c
- freekick.c

Added driver data and save state support to: [Fabio Priuli]
- blmbycar.c
- zerozone.c, yunsun16.c, dominob.c, dogfgt.c and bogeyman.c
- blockout.c and bigevglf.c
- chaknpop.c
- albazg.c
- chinagat.c, esd16.c, f-32.c, fcombat.c, finalizr.c
- fantland.c and firetrap.c
- btime.c and scregg.c
- fitfight.c, flstory.c and funkybee.c
- fuukifg2.c and fuukifg3.c

Added save state support to: [Fabio Priuli]
- 2mindril.c, ashnojoe.c, bigfghtr.c, bublbobl.c, cchance.c, champbwl.c, missb2.c
- compgolf.c, champbas.c, copsnrob.c, cop01.c, cosmic.c, cntsteer.c, dacholer.c and dec8.c
- armedf.c, calorie.c, canyon.c, chanbara.c, citycon.c, commando.c, crospang.c & cultures.c
- astrocorp.c
- ddayjlc.c, ddealer.c, deniam.c, discoboy.c, diverboy.c, dorachan.c, dragrace.c, dreamwld.c, dribling.c, drmicro.c, drtomy.c
- dynadice.c, dwarfd.c, dunhuang.c, enigma2.c, epos.c, drgnmst.c and egghunt.c
- equites.c, exedexes.c, exerion.c and exprraid.c
- funybubl.c, galaxi.c, gaiden.c and rocnrope.c

Removed some rogue occurrences of 'x1snd' resulting from device tag mass-change. [Phil Bennett]

drw80pkr.c updates: [Jim Stolis]
- Added Save State Support
- Added Preliminary Dip Switch Settings
- Corrected CPU Clock Value
- Corrected Sound (Now Works)
- Narrowed Down More IO R/W Areas

tms7000: Fixed disassembly of PCREL addressing mode. [Wilbert Pol]

Added device support to the input system. Internally this replaces PORT_CUSTOM/PORT_CHANGED, backward compatibility is achieved with an internal dummy device. Added output lines (IPT_OUTPUT), which can be written using new input_port_write* functions or directly from a memory map using AM_WRITE_PORT converted adc083x to use io lines. [smf]

ADC devices updates: [smf]
- adc08x chips are all hooked up using input/output ports
- reversed racing force steering wheel input and gas pedal, which is enough to get the game to boot.
- reversed steering wheel input on winding heat, the usa cabinets are however hooked up the other way.
- renamed adc0831_interface to adc083x_interface.
- fixed adc083x gnd input
- removed stray call logerror from adc083x.c
- fixed default adc083x sars value
- adc083x reset only affects outputs

Added set name to -romident. [smf]

Updated ddr 3rd mix plus protection to remove display corruption. [smf]

RDP Updates: Fixed TMEM size, removed separate tlut, fixed tlut uploads [angrylion]

hng64 updates:
- Added preliminary hook-up for multi-byte chain mode for sprites, used by Buriki One and the two Samurai Shodown games [David Haywood, Angelo Salese]
- Fixed back plane color, thus giving characteristic blue background for POST screen [Angelo Salese]
- Improved Dual Port emulation, fixing the POST errors about it [Angelo Salese]
- Implemented "simple" scroll register layout [David Haywood]
- Implemented "complex" scroll register layout [David Haywood]
- Corrected sprite end boundary, fixes credit messages in Buriki One [Angelo Salese]
- Fixed scrolling text in Buriki One attract mode [Angelo Salese]
- Hooked up global bpp switch for sprites, HW doesn't seem capable of doing per-sprite bpp switch, fixes coin credit text in Buriki One [Angelo Salese]
- Implemented V-Blank register, fixes palette uploading in Samurai Shodown 1 & 2 [Angelo Salese]
- Fixed sprite wrap-around [David Haywood]
- Implemented irq 11, used by the racing games for network check, currently crashes due to an invalid parameter inside the 3d packets [Angelo Salese]
- Added 16x16 / 8x8 tilemap mode select, fixes one scene in Extreme Rally and transition layer in Fatal Fury WA (squares on title screen) [David Haywood]
- Added alt layout for the roz, fixes Roads Edge graphics before the title screen [David Haywood]
- Implemented sprite clearance capability, fixes garbage gfxs as seen in Samurai Shodown 64 1 & 2 [Angelo Salese]
- Implemented x/y sprite global offsets, used by Samurai Shodown 64 1 ranking screen [David Haywood]
- Hooked-up backup ram [Angelo Salese]
- Documented some sprite findings [Angelo Salese]
- Re-implemented zooming in Fatal Fury WA, and added alternative zooming mode used by the other games, they have some precision bugs though [Angelo Salese]
- Implemented preliminary additive blending [David Haywood]
- Slight optimization to the tile dirty marking [David Haywood]
- Better documentation of mosaic and floor modes [David Haywood]
- Implemented sprite disable bit [David Haywood]
- Implemented dynamic visible area [Angelo Salese]
- Start to document 3d / framebuffer video registers, implemented a quick hook-up that fixes Buriki One 3d model colors minus one case [Angelo Salese]
- Implemented screen disable when the visible area regs are equal to zero and fixed back layer [Angelo Salese]

Updated the albazg driver to use hanafuda standard inputs, eeprom device, and memory_set_bank in place of memory_set_bankptr. [Fabio Priuli]

System 23 update [Naibo Zhang]
- Corrected memory mapping of palette RAM and handling of palette data. Power-On Self Test now shows correct colors.
- Changed Panic Park from SS23 to S23 game.

Galaxian3 update [Naibo Zhang]
- Fleshed out skeleton driver. Each CPU board passes many self-tests
- Master and slave CPU comms hooked up

Designated Puzzle Bang Bang (vamphalf.c) as Korean version. For this set the title and language cannot be change. [Brian Troha]

Added new module tagmap which is a simple hashed string map. Updated device and input port lists to use the tagmap for tag searches. Also removed the whole "quark" thing from the validity checker in favor of using the tagmaps. [Aaron Giles]

Added Intel 8008 and National Semiconductor SC/MP CPU cores. [Miodrag Milanovic]

INS 8060 SC/MP II support (using clock divider 2), main model renamed to INS 8050 SC/MP. [Miodrag Milanovic]

Updated the astrocorp.c and groundfx.c drivers to use EEPROM device. [Fabio Priuli]

Added support for SCSI command 0x2a (Write w/ 32-bit LBA), upped input buffer size in WD33C93 controller [Harmony]

Hooked up eepromdev.c using PORT_READ_LINE_DEVICE/PORT_WRITE_LINE_DEVICE in groundfx.c. Output ports are now affected by IP_ACTIVE_HIGH/IP_ACTIVE_LOW (eepromdev.c has active low cs). The previous value for callbacks in inptport.c is now tracked per field. This saves recalculating it for PORT_CHANGED & conditional fields wouldn't always get updated correctly. Tidied up eepromdev.c interface. [smf]

Added sprites list stop to igs017.c. Implemented joystick mode in mgdh and sdmg2 [Luca Elia]

Fixed audio output lengths in aviio.c. [CDiFan]

Added memory_install_write_port_handler & memory_install_readwrite_port_handler to be consistent with installing handlers. [smf]

CDP1869 changes: [Curt Coder]
- converted page RAM functions to use devcb
- added pull interface for predisplay

Switched from linear interpolation to antialiased point sampling when upconverting low-frequency sound streams. This should de-muffle low-frequency streams, treating them has having hard edges at sample boundaries. [Aaron Giles]

Converted the following drivers to use EEPROM device: deco156.c, eolith.c, eolith16.c, limenko.c, taito_f3.c, taito_z.c, taito_b.c, taitojc.c, toaplan2.c and kaneko16.c. [Fabio Priuli]

Implemented use of per tile colour lookup ROM in Portraits, colour decode is still wrong [David Haywood]

CF clear after binary operations on Intel 8008 CPU core. [Miodrag Milanovic]

Improvements to Noraut Poker driver: [Roberto Fresca]
* A lot of work in memory maps and machine driver stuff.
* Improved Inputs / DIP switches for some games.
* Added lamps support / layouts to new working games.
* Added preliminary support to Kimble hardware.
* Added support to CGI's Credit Poker 30x games.
* Added new (and fixed old) technical notes.
* Renamed norautpn descripion to Noraut Deluxe Poker (bootleg).
* Added a placeholder for tpoker2's undumped 68705 MCU.
* Reorganized the driver, plus some clean-ups.
* Renamed kimblejp to kimbldhl. Changed game description to Kimble Double Hi-Lo.
* Added specific memory map & machine driver to Kimble Double Hi-Lo.
* Fix the Kimble Double Hi-Lo CPU type.
* Added notes about the code obfuscation and PPI's handling/offsets.

Added Magic Card Jackpot and Magic Lotto Export to Impera Magic Card driver. Also added PCB layouts, hardware description and technical notes. Changed the bipolar prom dumps to serial I2C bus EEPROM. [Roberto Fresca]

Made DEVCB_INPUT_PORT(tag) work for write callbacks. [smf]

Fixed regression in magicard.c driver [Angelo Salese]

Introduced a generic_pointers structure within machine that is designed to hold generic pointers that are commonly used. Moved generic_nvram, videoram, colorram, spriteram*, paletteram* pointers there. Added AM_BASE_GENERIC and AM_SIZE_GENERIC macros for initializing generic pointers in memory maps. Also added AM_BASE_SIZE_GENERIC to set both base and size in one step. [Aaron Giles]

Moved global variables out of machine/generic and into a private data structure hanging off of the running_machine. Added newly-needed machine parameters to coin_counter_w, coin_lockout_w, and coin_lockout_global_w. Also added machine parameter to set_led_state. [Aaron Giles]

Added interface functions to get the number of dispensed tickets and to increment the count, to remove the need for direct access to these global variables. Also added functions to get the current count on a particular coin counter and to determine the lockout state. [Aaron Giles]

Intel 8255A: clear input latch after reading it. [Curt Coder]

Actually use the speaker interface if provided. [Curt Coder]

Purged remaining globals from video/generic.c and audio/generic.c. [Aaron Giles]

Fixed i386 REP prefix to use segment:SI when address size is 16-bit (ie: when using OUTSB or OUTSW). [Barry Rodewald]

Removed limited use of spriteram_3 global. [Atari Ace]

Added AM_BASE_SIZE_MEMBER() macro for specifying both base and size structure members at once. Updated all cases where this could be used. [Aaron Giles]

Cleaned up many driver data structs: [Fabio Priuli]
* dropped almost completely the use of generic sizes with struct members
* reduced as much as possible accesses to cputag calls during emulation (they are now mainly concentrated at MACHINE_START & DRIVER_INIT)

Joker's Wild: bypassed the rng test [Angelo Salese]

Joker's Wild: implemented bare minimum to allow it to go into gameplay and fixed tilemap graphics [Angelo Salese]

Memory regions now use a tagmap for lookups. [Aaron Giles]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Submarine [Volker Hann, Team Europe, David Haywood, Angelo Salese]
Noraut Deluxe Poker (console) [Roberto Fresca, ByteMaster]
Noraut Joker Poker (original) [Roberto Fresca, ByteMaster]
Noraut Red Hot Joker Poker (alt HW) [Roberto Fresca, ByteMaster]
Mainline Double Joker Poker [Roberto Fresca, ByteMaster]
Double Joker Poker (45%-75% payout) [Roberto Fresca, ByteMaster]
Royal on Ten (Noraut Deluxe hack) [Roberto Fresca, ByteMaster]
Credit Poker (ver.30c, standard) [Roberto Fresca, ByteMaster]
Iron (SNES bootleg) [Tomasz Slanina, Volker Hann & Team Europe]


New clones added
----------------
Cannon Ball (bootleg on Crazy Kong hardware) (set 3, no bonus game) [Volker Hann, Team Europe]
X-Men (4 Players ver EBA) [Irongiant]
Wizard of Wor (with German Language ROM) [Volker Hann]
Gorf (program 1, with German Language ROM) [Volker Hann]
Super Puzzle Fighter II Turbo (Hispanic 960531) [Artemio Urbina, David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
The King of Fighters Neowave (Japan) [Cah4e3]
Final Furlong (FF2 Ver. A) [Guru]
Dragon Chronicles (DC001 Ver. A) [Guru]
Netchuu Pro Yakyuu 2002 (NPY1 Ver. A) [Guru]
Soul Calibur II (SC23 Ver. A) [Guru]
Soul Calibur II (SC21 Ver. A) [Guru]
Tekken 4 (TEF3 Ver. C) [Guru]
Tekken 4 (TEF2 Ver. A) [Guru]
Tekken 4 (TEF1 Ver. A) [Guru]
Mobile Suit Z-Gundam: A.E.U.G. vs Titans (ZGA1 Ver. A) [Guru]
Capcom Fighting Jam (JAM1 Ver. A) [Guru]
Quiz and Veriety Suku Suku Inufuku 2 (IN2 Ver. A) [Guru]
Mobile Suit Z-Gundam: A.E.U.G. vs Titans DX (ZDX1 Ver. A) [Guru]
Soul Calibur III (SC31001-NA-A) [Guru]
Kinnikuman Muscle Grand Prix (KN1 Ver. A) [Guru]
Taiko No Tatsujin 9 (TK91001-NA-A) [Guru]
Tekken 5.1 (TE51 Ver. B) [Guru]
Airline Pilots (Rev. A) [f205v]
Sega Tetris [Guru]
Noraut unknown set 1 (console) [Roberto Fresca, ByteMaster]
Noraut unknown set 2 (console) [Roberto Fresca, ByteMaster]
Noraut Joker Poker (V3.011a) [Roberto Fresca, Alan Griffin]
Poker / Black Jack (Model 7521) [Roberto Fresca]
Kimble Double Hi-Lo [Roberto Fresca, Alan Griffin]
DRHL Poker (v.2.89) [Roberto Fresca, Siftware]
Magic Card Jackpot (4.01) [Roberto Fresca, Team Europe, krick & The Dumping Union]
Magic Lotto Export (5.03) [Roberto Fresca, Team Europe, krick & The Dumping Union]

http://mamedev.org/
0.135u3
-------

MAMETesters Bugs Fixed
----------------------
- 03565: [Color/Palette] astrof, astrof2, astrof3: blue background is supposed to be black (David Haywood)
- 03557: [Sound] All sets in namcos12.c: Music is slower than original (Phil Bennett)
- 03561: [Crash/Freeze] robokid, robokidj, robokidj2: Segmentation Fault after OK (Fabio Priuli)
- 03562: [Crash/Freeze] fcombat: Segmentation Fault after OK (Fabio Priuli)
- 03560: [Crash/Freeze] missb2, saiyugoub1, saiyugoub2: Driver Data Struct Issues (Fabio Priuli)
- 03559: [Crash/Freeze] All sets in viper.c, subsino.c and coolridr.c: Segmentation Fault before OK (Fabio Priuli)

Source Changes
--------------
Kusayakyu improvements [Angelo Salese]
- fixed color prom hook-up, tilemap color offsets and tilemap flipping
- fixed sound and tweaked the frequencies in the driver

Tron: Hooked up cocktail (P2) fire button so that it can be used in-game and in test mode. [Tafoid]

Added driver data struct and save states to: [Fabio Priuli]
- gberet.c, ddrible.c, gaelco.c, trackfld.c, hyperspt.c, yiear.c
- hnayayoi.c, hanaawas.c, higemaru.c, himesiki.c and sonson.c
- galspnbl.c, gcpinbal.c, ginganin.c, go2000.c, goal92.c, goindol.c, good.c, gotcha.c, gotya.c, gstream.c, gumbo.c, gundealr.c, hitme.c, holeland.c & homerun.c
- glass.c & homedata.c
- fromance.c, fromanc2.c, ikki.c, imolagp.c, inufuku.c
- jack.c
- jangou.c, jantotsu.c, jollyjgr.c and jongkyo.c
- kangaroo.c, karnov.c, kchamp.c, kickgoal.c, kingobox.c, kncljoe.c, koikoi.c, kopunch.c, ksayakyu.c and kyugo.c
- ladybug.c, ladyfrog.c, lastduel.c, lwings.c, redclash.c and yunsung8.c
- laserbas.c, laserbat.c, lastfght.c, lazercmd.c and lemmings.c

Added driver data struct to: [Fabio Priuli]
- galivan.c, jailbrek.c, sbasketb.c
- alpha68k.c, amspdwy.c, gng.c, gunsmoke.c, hotblock.c
- aerofgt.c and gyruss.c
- hyprduel.c
- pipedrm.c
- ironhors.c
- jackal.c
- lasso.c

Changed CDP1869 PAL/NTSC signal to use devcb. [Curt Coder]

Converted cabal, mappy, toypop and zaxxon to use driver_data structure [Atari Ace]

Fixed CP1610 disassembler. [Robbbert]

Cool Riders improvements: [Angelo Salese, David Haywood]
- fixed regression
- hooked up what it looks like a ROM->to->VRAM transfer...
- slightly improved booting
- some hooks to allow FBI logo drawing
- basic DMA hooked up
- fixed program ROM memory map loading as per the service mode item
- allow it to draw RAM-based chars, starts to show correct gfxs
- fixed paletteram and implemented basic inputs
- implemented DMA vram transfers
- added Guru readme
- hooked up videoram reading in drawing functions
- some hook-ups for the text blitter

Wink: Fixed colors [Angelo Salese]

Mostly resolved mix of intel and motorola notation in tms32025 disassembler [Lord Nightmare]

Cosmic: fixed cosmica2 romset rom split and names to match romset as described in mameinfo, which it matches (except for one rom which mameinfo is probably wrong about). The romset uses a different rom daughterboard to the other cosmica romsets, and different sized roms. [Lord Nightmare]

Added shared driver data struct to 40love.c, bking.c, buggychl.c and msisaac.c (they use the same mcu emulation) [Fabio Priuli]

Added preliminary HNG64 additive tilemap blending [David Haywood]

Fixed srcclean handling of embedded comments within strings [Atari Ace]

PCB documentation updates: [Kevin Eshbach]
* Added the board xtal's for Battlantis, Contra and Pandora's Palace
* Corrected the MCU dump for Pandora's Palace
* Added indication of an undumped PAL for Contra/Gryzor
* Added PAL dumps for Cruis'n USA - rev L4.1
* Added information on the PROM from the 2 Board version of Congo Bongo

Noraut Poker driver improvements: [Roberto Fresca]
* Added new technical notes.
* Added Kimble Z80 hardware support.
* Added Prologic-Noraut hardware support.
* Added proper discrete sound support to Kimble games, and Prologic-Noraut Joker Poker.
* Slightly adjusted the visual area. This can be wrong and must be rechecked.
* Relocated the hardware notes and layouts to ROM_LOAD section, so can be seen/maintained in a cleaner way.
* Fixed the default lamps state.

Cleaned-up several drivers; added missing prototypes and removed dead ones, marked non-exported functions as static and removed cases of #include "deprecat.h" [Atari Ace]

Aleck 64: Implemented player 2 inputs [Angelo Salese]

Added a PCB layout for M.Kramer's Black Jack Poker, based on a hi-res pic. Also added undumped devices as NO_DUMP. [Roberto Fresca]

Added common driver data struct to timeplt.c, tutankhm.c, junofrst.c, pooyan.c, rallyx.c and rocnrope.c (these drivers all use audio/timeplt.c). As a side effect, we now have save states in junofrst.c and rallyx.c. [Fabio Priuli]

Converted atari drivers over to using driver_data for the most part. Some shared systems still exist with globals, but this tackles the atarigen module and the variables local to each driver. [Aaron Giles]

Added validity check that AM_BASE_MEMBER and AM_SIZE_MEMBER items point within the bounds of the driver_data structure. [Aaron Giles]

Fixed DMADAC wrapping behavior. [Tim Schuerewegen]

Added Driver Configuration to astrof.c to emulate common wire hack which causes black background [David Haywood]

Aleck 64: Worked around hard-locks at start-up. [Angelo Salese]

Identified Semicom's Dream World hardware as a copy of Psikyo's 68020 hardware (it was already known that their older platforms were copied from Snow Bros, and Tumble Pop) [David Haywood]

i386 core improvements: [Barry Rodewald]
* Fixed EIP displacement when executing FPU instructions with no 80387 present
* Added 32-bit implementations of SLDT and STR

Converted Kaneko Pandora sprite chip to be a MAME device and updated drivers accordingly. [Fabio Priuli]

Added tilemap_create_device() function which lets you create a tilemap from within a device, and be passed that device in your callback. [Aaron Giles]

Converted Signetics 2636 video chip to be a MAME device and updated drivers using it accordingly. [Fabio Priuli]

Memory system changes: [Aaron Giles]
- Memory banks are now referenced by tag rather than index. Changed all memory_bank_* functions to specify a tag. Bulk-converted existing banks to be tagged "bank##" in order to ensure consistency. However, going forward, the tags don't matter, so please name them something useful.

- Added AM_BANK_READ/AM_BANK_WRITE macros to let you specify bank tags. Also changed AM_ROMBANK and AM_RAMBANK macros to accept tags as well.

- Added new functions memory_install_read_bank_handler and memory_install_write_bank_handler to install banks by tag name, similar to input ports.

- Changed internals of memory system to dynamically allocate all banks. The first time a bank with an unknown tag is installed, a new bank object is created and tracked internally.

- Removed SMH_* macros entirely. In their place are a series of expanded macros and new memory installation helpers. Some mappings below (not all are new):

     AM_READ(SMH_RAM)                       -> AM_READONLY
     AM_WRITE(SMH_RAM)                      -> AM_WRITEONLY
     AM_READWRITE(SMH_RAM, SMH_RAM)         -> AM_RAM
     AM_READ(rhandler) AM_WRITE(SMH_RAM)    -> AM_RAM_READ(rhandler)
     AM_READ(SMH_RAM) AM_WRITE(whandler)    -> AM_RAM_WRITE(whandler)
     AM_DEVREAD(tag, rhandler) AM_WRITE(SMH_RAM)
                                  -> AM_RAM_DEVREAD(tag, rhandler)
     AM_READ(SMH_RAM) AM_DEVWRITE(tag, whandler)
                                  -> AM_RAM_DEVWRITE(tag, whandler)

     AM_READ(SMH_ROM)                       -> AM_ROM
     AM_WRITE(SMH_ROM)                      -> (was a no-op)

     AM_READ(SMH_NOP)                       -> AM_READNOP
     AM_WRITE(SMH_NOP)                      -> AM_WRITENOP
     AM_READWRITE(SMH_NOP, SMH_NOP)         -> AM_NOP

   For dynamic memory handler installation of the various types, use the new functions:

     memory_unmap_read()
     memory_unmap_write()
     memory_unmap_readwrite() -- unmaps a section of address space

     memory_nop_read()
     memory_nop_write()
     memory_nop_readwrite() -- nops a section of address space

- Cleaned up the internals of the address_map_entry structure, and also normalized the way the address map macros work to remove a lot of redundancy.

- Renamed functions: memory_install_read/write_port_handler to memory_install_read/write_port

- Memory shares are now specified by tag instead of index. The AM_SHARE() macro now takes a tag parameter. All existing shares have been bulk renamed to "share##". However, the name does not matter, so please use descriptive tags going forward.

- Added tag validation for bank and share tags.

- Added flag to tagmap_add functions that optionally will replace existing objects if a duplicate is found.

- Internal code shuffling. Address maps initialized internally now call the same installation handlers that drivers do for dynamic installation. Cleaned up some parameter ordering and error detection.

- Added new functions:

     memory_install_ram() to assign a un-named bank to a region and specify a pointer to where the RAM lives. If this is called in the DRIVER_INIT function or MACHINE/SOUND/VIDEO_START functions, then it is permissible to specify NULL, in which case the memory system will allocate memory and register it for save states.

     memory_install_rom() is like the above except that it only installs a read handler.

     memory_install_writeonly() is like the above except that it only installs a write handler.

- Updated several instances in the code that were assigning banks to these sorts of static RAM regions and simplified the code.

- Apply mirrors and global masks at address map detokenizing time rather than later.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Top Shooter [Mariusz Wojcieszek]
LA Girl [Tomasz Slanina, Guru]
Noraut Joker Poker (Prologic HW) [Roberto Fresca, Alan Griffin]


New clones added
----------------
Domino Block ver.2 [Guru]
Tower of Druaga (Manufactured by Sidam) [Corrado Tomaselli]
Invasion (4 bootleg sets) [f205v, ANY]
Head On (Sidam bootleg, set 2) [f205v, ANY]
Head On 2 (Sidam bootleg) [f205v, ANY]
Arkanoid (bootleg on Block hardware, set 2) [f205v, ANY]
Gals Panic (Korea, EXPRO-02 PCB) [Guru]
Strikers 1945 (Hong Kong, Bootleg) [David Haywood, Brian Troha, Dumping Union]
Fighting Fantasy (bootleg with 68705) [f205v] (not working)
Phantom (Spectar bootleg) [Team Europe & rades]
Panzar (Spectar bootleg) [f205v]
Fatsy Gambler (Video Hustler bootleg) [f205v]
Fitter (bootleg) [f205v]
Vs. Super Mario Bros. (bootleg with Z80) (2 sets) [f205v, Dante Profeta] (not working)


New games marked as GAME_NOT_WORKING
------------------------------------
White Tiger - 3VXFC5342 (New Zealand) [Heihachi_73]
Magic Mask (A - 09/05/2000, Export) [Heihachi_73]
Geisha (A - 05/03/01, New Zealand) [Heihachi_73]
Kimble Double HI-LO (z80 version) [Roberto Fresca, Alan Griffin]
Fast Draw (poker conversion kit)? [Roberto Fresca]
Draw Poker HI-LO (unknown, rev 1) [Roberto Fresca, Dumping Union]
Draw Poker HI-LO (unknown, rev 2) [Roberto Fresca, Dumping Union]
Video Stars [Andrew Welburn]

http://mamedev.org/
0.135u4
-------

MAMETesters Bugs Fixed
----------------------
- 03583: [Core] Windows Debug: Stack crawl is not generated anymore (Firewave)
- 03588: [Sound] mystston, myststono: Music is faster than original PCB (Kold666)
- 03589: [Graphics] mystston, myststono: VSYNC does not match original PCB (Kold666)
- 03592: [Original Reference] outrun, outrunra, outruno, outrundx, outrunb: Master clock is incorrect (Tafoid)
- 00400: [Graphics] combascb: Graphic issues on the "players" screen as scrolling problems on 1st stage. (Fabio Priuli)
- 03575: [Crash/Freeze] block2: [debug] Memory Leak in Debug (Fabio Priuli)
- 03569: [Crash/Freeze] escounts: Access Violation after OK (Phil Bennett)
- 03444: [Debugger] Registered ram blocks registered with save state cannot be viewed with debugger (Aaron Giles)
- 03567: [Crash/Freeze] trvquest: Access Violation after OK (Fabio Priuli)
- 03574: [Crash/Freeze] All sets in drivers using s2636 video chip: [debug] assert: src/emu/video/s2636.c:320: offset < 8 (Fabio Priuli)
- 03570: [Crash/Freeze] kf2k3pcb: Access Violation after OK (Fabio Priuli)


Source Changes
--------------
Added driver data struct to: [Fabio Priuli]
- airbustr.c
- cvs.c
- 8080bw.c and mw8080bw.c
- 88games.c, combatsc.c and rockrage.c
- psikyo4.c and psikyosh.c

Added driver data struct and save states to: [Fabio Priuli]
- djboy.c
- toratora.c and sf.c
- neogeo.c
- cps1.c, cps2.c and fcrash.c
- cbasebal.c, chinsan.c, mitchell.c and quasar.c
- malzak.c
- battlnts.c, bladestl.c, crshrace.c and contra.c
- f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c
- psikyo.c and pgm.c

Removed old index-based DISCRETE_ADJUSTMENT and then renamed the newer DISCRETE_ADJUSTMENT_TAG to replace it. Updated all callers. [Aaron Giles]

Removed all uses of input_port_by_index(), and removed the function. [Fabio Priuli, Aaron Giles]

Added saves to 6522via.c. This fixes problems of gameplan.c and trvquest.c games with -autosave. [Fabio Priuli]

Enabled GAME_SUPPORTS_SAVE flag to dday.c because some of the core changes have fixed the sound problem at loading. [Fabio Priuli]

Imported SAA5050 emulation from MESS and made it a device. Updated malzak.c to use it, removing the almost identical implementation in the driver. [Fabio Priuli]

Added TILE_GET_INFO_DEVICE and SET_TILE_INFO_DEVICE macros to tilemap.c. [Fabio Priuli]

Made MB14241 Shifter IC a device and moved its source to emu/machine. Updated mw8080bw.c and 8080bw.c accordingly. Also converted fgoal.c to use this implementation in place of its own version. [Fabio Priuli]

Enhanced the UML opcodes for LOAD, LOADS, and STORE to support arbitrary scaling factors. Previously, specifying a size implied a scaling factor equal to the size (i.e., specifying DWORD meant the index was scaled by 4). This is still the default. However, now you can specify the scale explicitly for other cases. For example, you can specify DWORD_x1 to fetch a DWORD but don't scale the index at all, or BYTE_x8 to fetch a BYTE while scaling the index by 8. Updated all backends to make this work. [Aaron Giles]

Konami devic-fication and improvements: [Fabio Priuli]
- Added device versions of all the Konami custom ICs currently emulated in machine/konamiic.c and video/konamiic.c
- Updated combatsc.c, contra.c, crshrace.c, f1gp.c, fastlane.c, flkatck.c, hcastle.c, labyrunr.c and suprslam.c to use the new code.
- Moved k056800 sound device to emu/sound and removed the old code; updated gticlub.c, hornet.c, nwk-tr.c, ultrsprt.c and zr107.c to use this implementation
- Updated 88games.c, battlnts.c, bladestl.c and rockrage.c to use new devices
- Updated asterix.c and moo.c to use the new devices.
- Converted aliens.c, blockhl.c, crimfght.c and gbusters.c to use Konami video devices
- Updated parodius.c, simpsons.c, thunderx.c, vendetta.c and xexex.c to use the new video devices
- Updated overdriv.c to use the Konami video devices
- Updated gradius3.c, mainevt.c & gijoe.c to use Konami video devices
- Updated ajax.c, bottom9.c, chqflag.c, rollerg.c, spy.c, surpratk.c to use Konami video devices
- Updated dbz.c, lethal.c, metro.c, rungun.c, tail2nos.c, tmnt.c, ultraman.c, wecleman.c, xmen.c & zr107.c to use Konami video devices instead of konamiic.h code
- Updated bishi.c and djmain.c to use Konami video devices
- Updated plygonet.c to use Konami video devices and input_port_write for eepromdev_read_bit
- Updated asterix.c, gijoe.c, hornet.c, lethal.c, moo.c, overdriv.c, rungun.c, vendetta.c, xexex.c & xmen.c to use eeprom device
- Updated konamigx.c, tmnt.c and mystwarr.c to use eeprom device

Fixed tilemaps so they can be initialized at device start time. [Aaron Giles]

Added redumped roms to coolridr. [David Haywood]

Fixed crash on exit for systems with no tilemaps. [Aaron Giles]

Added warning messages for auto_malloc, timer, and save state allocations done after init time. These should be fixed when detected, and will soon be disallowed entirely. Fixed many cases in the code where this was being done. [Aaron Giles]

Converted Taito F3 sound to a separate machine driver which is imported into games that use it. [Aaron Giles]

Converted the balsente driver to driver_data structure. [Aaron Giles]

Some more Atari driver shuffling. Added atarigen_init() function which allocates all timers and registers for save states. Updated all drivers to call it. Converted some drivers to use device timers. [Aaron Giles]

Changed ticket.c into a device, updated all users. [Aaron Giles]

CIA6526: fixed FLAG handling and slight interface cleanup. [Curt Coder]

Moved SNES timer allocation to MACHINE_START. [Fabio Priuli]

Koi Koi Part 2: written an hardcoded table (disabled by default), concluded that a color prom is currently undumped. Also documented a bunch of unused ports [Angelo Salese]

Carrera: fixed colors [Angelo Salese]

Sky Army: cleaned up the driver, also removed the GAME_WRONG_COLORS flag since the colors actually seems correct according to the references. [Angelo Salese]

Trivia Madness: Improved graphics & colors [Angelo Salese]

Super Rider: improved bitplane order and colors [Angelo Salese]

Preliminary RSP recompiler, with all vector ops stubbed out to C functions for now. [Harmony]

sbowling.c - Added proper COINAGE selections as well DIP LOCATIONS to the driver. Added mapping for button 1 which is used to allow change from curve to straight throw. Replaced clock speeds with XTAL values. [Tafoid]

Re-implemented 3d rasterization in the hng64 driver as a FIFO system. [Andrew Gardner]

ggconnie.c - Added DIP LOCATIONS to match those showing in service mode.  Added game year to source from title screen. [Tafoid]

Added preliminary decryption to Victor 5, Victor 21 and Cross Bingo [David Haywood]

Decoded Cross Bingo proms [Angelo Salese]

hexa.c - Added DIP LOCATIONS as well as assigned XTAL for the clock speeds, using those from Arkanoid, since the boards are nearly identical in many aspects. [Tafoid]

RSP recompiler improvements / optimizations: [Harmony]
- Split SATURATE_ACCUM into a signed and unsigned version to reduce stack usage.
- Corrected an issue with the 0h variants of VMRG, VAND, VNAND, VOR, VNOR, VXOR and VNXOR.
- Slightly optimized unaligned reads and writes
- Optimized unaligned dword reads
- Corrected an issue where badly-written RSP programs could jump to invalid addresses

Added new profiler bucket for DRC recompilation. [Aaron Giles]

luckgrln: Implemented CRT Controller hook-up [Angelo Salese]

gomoku.c, sspeedr.c - Added DIPS and changed clock values to XTAL [Tafoid]

nitedrvr.c, tourtabl.c - Changed clock values to XTAL [Tafoid]

Added new option "numprocessors" (see windows.txt for an explanation). [couriersud]

Optimized N64 RDP renderer by using function pointers to function variants that eliminate costly branches. [Harmony]

Minor drc improvments: [Aaron Giles]
- simplified RSP's misaligned memory accesses
- removed now-unnecessary shifts from direct memory accesses in mips3/powerpc drcs
- optimized AND with 0xff/0xffff/0xffffffff cases for x86/x64
- added rudimentary memory/register tracking in x86 backend to remove redundant loads

cb2001 improvements: [robiza]
- added ay8910 and 8255ppi devices
- added some info about relation between cmast91 and cb2001
- added many opcodes

Fixed sprite-tilemap priorities in Super Slams [Angelo Salese]

Worked around protection in sranger, srangerw and srangerb [Angelo Salese]

Converted 7474, 74148, and 74153 TTL implementations to devices. [Aaron Giles]

More rom name corrections for the merit.c driver [Brian Troha]

Added Guru's board notes to the Outrun/Super Hang-on Driver. [Guru]

Converted the ds2404 to a device. [Aaron Giles]

Removed deprecated core function decodegfx() [Christophe Jaillet]

Removed the global "includes" include and instead specify the "includes" path in all #include occurences. [Oliver Stoneberg]

Eliminated the use of generic.colorram and generic.videoram in several drivers [Atari Ace]

Fixed Brick Zone parent set bitplane graphics [Angelo Salese]

Fix megadrive emulation to use the SMSIII version of the sn76489 sound chip. [Lord Nightmare, DFJustin]

Added save states to ics2115 sound device. [Fabio Priuli]

Changed EEPROM usage in many drivers to use the new device version. [Aaron Giles, Fabio Priuli]

Removed auto-init hack from some Konami games. Hold down F2 and reset (via F3) to initialize the EEPROM, like all the other Konami games. [Fabio Priuli]

Cleaned up EEPROM device implementation a bit. [Aaron Giles]

Added flickering effect in Super Slams title screen [Angelo Salese, Guru]

Fixed sprite bank bit in Spark Man [Angelo Salese]

Converted gaelco3d.c to use eeprom device code. [Fabio Priuli]

Spark Man: Refactored the protection, implemented thrash protection that's used after the title screen. [Angelo Salese]

EEPROM device now looks for a matching memory region to fetch the default values from. Fixed bug in ROM loader that would change the memory region flags to match devices with no address bus. Updated groundfx to use the new default loading scheme. [Aaron Giles]

Reworked the hng64 polygon chunk recovery code to be more crash-proof. Documented what's known about the 3d data much better. Fixed vertex ROM loading for fatfurwa and buriki. [Andrew Gardner]

Converted rtc65271 to a device. [Aaron Giles]

Added "new" command -listdevices (or -ld) to list the devices attached to a driver. I notice that MESS has a command with the same name; hopefully the behaviors can be combined eventually. [Aaron Giles]

Got rid of explicit resource tracking for state saving. Now we just use the auto_ allocators, since registration is restricted to initialization. [Aaron Giles]

Moved machine->gfx initialization out of the video module and into drawgfx. We now call this before devices are initialized, so that devices can dynamically append to the machine->gfx as needed. [Aaron Giles]

i386 improvements: [Barry Rodewald]
* minimal implementation of the LSL protected mode instruction
* fixed the REP instruction when used with a segment prefix.

Updated readme for Race Drivin' Compact. [Guru]

Fixed a couple of edge case parsing bugs in srcclean.c. [Atari Ace]

Fixed some unbalanced quotes/braces lurking in the source (mostly in disabled code). [Atari Ace]

Added a new CPU core for the PIC 16c62x series of processors. [Samuele Zannoli]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Shark Party (Italy, v1.3) [David Haywood, Angelo Salese]
Victor 5 [David Haywood, Angelo Salese]
Victor 21 [David Haywood, Angelo Salese]
Poker Carnival [David Haywood, Angelo Salese]


New clones added
----------------
Hyper Street Fighter 2: The Anniversary Edition (USA 040202) [Artemio Urbina, David Haywood]
ST-V BIOS 1.11 [2 sets - Japan and Taiwan] [XingXing]
Blood Bros. (set 3) [Dlfrsilver]
Caveman Ninja (bootleg) [Dlfrsilver] (NOT WORKING)
Pipi & Bibis / Whoopee!! (Z80 sound cpu, set 2) [Dlfrsilver]
Mortal Kombat 4 v1.0 (not working) [xrodney, HobbyRoms, Patrick McCarron]


New games marked as GAME_NOT_WORKING
------------------------------------
Happy 6-in-1 [XX]

http://mamedev.org/
0.136
-----

MAMETesters Bugs Fixed
----------------------
- 03603: [DIP/Input] karnov, karnovj: incorrect difficulty dipswitch (Tafoid)
- 03604: [DIP/Input] oscar, oscaru, oscarj1, oscarj2: Incorrect difficulty dipswitch (Tafoid)
- 03142: [DIP/Input] All drivers using PORT_CHANGED callbacks: Input port callback functions are not triggered correctly during INP playback. (mahlemiut)
- 03493: [Gameplay] spacedxo: The game reboots itself after title screen (Fabio Priuli)
- 03608: [Multisession] scontra, scontraj: Tile/graphic corruption on multiple launches of Super Contra (Fabio Priuli)
- 03611: [Crash/Freeze] 1943, 1943j, 1943kai: Crash when starting 1943 in Service Mode (Fabio Priuli)
- 03598: [Original Reference] plotting, flipull: YM2203 speed adjustment (Tafoid)
- 03593: [Graphics] captaven & clones: Intro text scrolls from wrong direction (Pierpaolo Prazzoli)
- 03596: [Crash/Freeze] All sets in konamigv.c, mitchell.c: Attempt to register save state entry after state registration is closed (Aaron Giles)
- 03597: [Original Reference] outrun, outrunra, outruno, outrundx, outrunb: Incorrect vsync speed on Outrun (Tafoid)

Source Changes
--------------
hng64 improvements: [Andrew Gardner]
- RoadsEdge & XRally polygons are now visible.
- Improved geometry chunk type 0x2e.
- Fleshed out the 'chunk type bits' a little. This will be verified against type 0x24.
- Xrally and roadedge hng64 screens no longer run at 10fps.
- Fixed polygon lookup in driving games.

Changed behavior of -watchdog option to act like a real watchdog. It now specifies the number of seconds after the last video update that will cause auto-termination of MAME. Also modified it to output a message when the watchdog triggers the exit. [Aaron Giles]

Updated windows.txt to reflect this option and the debugger_font options which were never previously documented. [Aaron Giles]

EEPROM changes: [Aaron Giles]
- Fixed auto EEPROM region to properly handle 16-bit data.
- Changed EEPROM device to initialize EEPROM at NVRAM load time rather than init time, giving DEVICE_INIT handlers a chance to muck with the data first.
- Removed _NODEFAULT_ forms of EEPROM driver macros. If you need to add default data, follow the MDRV_EEPROM_ADD() with MDRV_EEPROM_DATA().
- Updated remaining drivers to the new EEPROM device code. Many of them now require a default EEPROM to be loaded along with the ROMs, rather than hard-coded data in the driver
- Exposed an address space for EEPROM devices, meaning the memory is now visible in the debugger and can be accessed via expressions
- Updated all systems that muck directly with EEPROM memory to use memory accessors instead on the EEPROM address space.
- Removed old EEPROM implementation

cb2001: added many new opcodes [robiza]

Split ADC1038, Konami 033906 and Konami 056230 emulation from gticlub.c and konppc.c. Also, converted them to be devices and updated PPC Konami games to use the new code. [Fabio Priuli]

Added a bunch of new protection handlers for Spark Man [Angelo Salese]

sub.c - Put in board XTAL and came up with some seeming better clock speed approximations until board readings can be done. [Tafoid]

mcr.c - Sets tron3 and tron4 don't appear to have a valid working cocktail mode video or controls (upright player2 works fine). Flagged as GAME_NO_COCKTAIL. [Tafoid]

subs.c - Added DIP LOCATIONS. [Tafoid]

Updated qdrmfgp.c to use Konami video devices. [Fabio Priuli]

Cleaned up a bunch of things in the gladiatr.c driver [Angelo Salese]

Removed sysconfig section from game_driver struct. Made compatible_with attribute available for MAME too (with NULL value set in GAMEL macro). [Miodrag Milanovic]

Added preliminary device version of Konami video ICs used in PowerPC games (001005, 001006, 001604 and 037122). [Fabio Priuli]

Converted all Taito custom I/O and video ICs to devices and updated all drivers to use them. [Fabio Priuli]

Simplified bloodbro gfx decoding and removed unnecessary DRIVER_INIT. Marked two weststry sprite ROMs as BAD_DUMP [David Haywood]

Converted Namco IO chips 56xx, 58xx and 59xx to be devices and converted gaplus.c, mappy.c and toypop.c to use the new code. [Fabio Priuli]

Allow any device memory (not just CPU's) to be accessed via debug expressions. Removed support in the expression engine for EEPROM- specific accesses. [Aaron Giles]

Converted Fujitsu MB87078 Volume Controller to be a device and updated taito_b.c to use the new code (it's the only driver emulating this chip atm). [Fabio Priuli]

merit.c - Fixed what might be a copy/paste error in two sets (trvwz3h, trvwz3v) where two roms had the same filename in the same romset. [Tafoid]

Renamed tilemap -> tilemap_t, as the name 'tilemap' is too commonly used for statics and structure members, and some compilers (esp. C++ compilers) don't allow that. [Aaron Giles]

Fix for INP recording ports that have changed notification. Also prevents new inputs from affecting recorded inputs during playback. [mahlemiut]

Updated srcclean to remove "invisible spaces" immediately preceding tabs. [Atari Ace]

Cleaned up braces in the code so that they are properly balanced. [Atari Ace]

Optimized RDP implementation further with more flattened branches. [Harmony]

Converted a number of vector opcodes to the RSP DRC core. [Harmony]

Unrolled and optimized a number of vector opcodes in the interpreter RSP core. [Harmony]

Extended the devtempl.h file to support device address spaces. [Aaron Giles]

cmmb.c - Identified and marked Service Mode DIP. [Tafoid]

Converted the NMK112 to be a device and updated drivers using it accordingly. [Fabio Priuli]

Added GAME_SUPPORTS_SAVE flag to psikyosh.c, since the conversion to eeprom devices fixed the remaining issues with save states. [Fabio Priuli, Aaron Giles]

Changed Caveman Ninja driver to use Partial Updates for Raster Effects instead of buffering scanline data [David Haywood]

Changed Deco32 driver to use Partial Updates for Raster Effects instead of buffering scanline data (but left Dragon Gun using the buffering, because the video rendering code is far too slow with 224 partial updates for now) [David Haywood]

Commented out some harmful and suspicious looking interrupt generation in NamcoND1 driver until it's being properly verified; fixes Game Options menu in NCV2 test mode.  [David Haywood]

adp.c improvements: [Angelo Salese]
- Fixed some minor quirks
- Improved Backgammon memory map
- Implemented RAMDAC for Fun Land Deluxe

Fixed error in codegen for drol/dror opcodes in the x86 back-end. [Aaron Giles]

Re-implemented misaligned memory handling in the RSP DRC as before. [Aaron Giles]

Explicitly sign-extend 32-bit indexes for load/loads/store on 64-bit machines to prevent overflow issues. Fixes DRC crash in mtetrisc. [Aaron Giles]

Fixed a few DRC-ized vector load/store opcodes in the RSP core. [Harmony]

Hardware multiplication and division on the SNES takes 8 machine cycles to complete. [Wilbert Pol]

Fixed x86 HLT instruction handling [Phill Harvey-Smith]

Made LA Girls and clone of Play Girls. It's clearly a bootleg hardware clone. Title & background change, but the demo play and block arrangement are identical. Added info from the Guru's website about the reported manufacture company and year for LA Girls. Added a note about Tube-it having the copyright and manufacture info removed. [Brian Troha]

Added additional information to the dipswitches and configurations sections in the -listxml output [Oliver Stoneberg]

Changed Green Beret sound chip to SN76489 and indicated that the bootleg has an undumped PAL and PROMs [Kevin Eshbach]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Final Fight (Japan, hack) [bonky0013, JacKc, Fabio Priuli]

New clones added
----------------
Spark Man (v 2.0, set 2) [Stefan Lindberg] (Not Working)
Cherry Master I (ver.1.01) (various bootleg? sets) [David Haywood]
Block (Game Corporation bootleg, set 3) [David Haywood]
Multi Fish (030124) [MetalliC]
Shaolin's Road (bootleg) [Kevin Eshbach]

New games marked as GAME_NOT_WORKING
------------------------------------
Cycle Mahbou [Angelo Salese, Chack'n, Team Japump, Dumping Union]
Race Drivin' Panorama [David Haywood]
Metal Maniax (prototype) [David Haywood]

http://mamedev.org/