0.211 2019-06-26
----------------


MAMETesters Bugs Fixed
----------------------
- 06264: [Interface] UI: Fatal error when losing focus in full-screen mode [hap].
- 07333: [Gameplay] (bbusters.cpp) bbusters and clones: Attract mode player AI behaves strangely [Dirk Best].
- 07343: [Gameplay] (carpolo.cpp) carpolo: Player inputs and collision detection not working [hap] .
- 07345: [Graphics] (dec0.cpp) birdtry: Issues with large sprites on title screen and during gameplay [cam900].
- 07347: [Flip Screen/Cocktail] (galaxian.cpp) skybase: Upright and cocktail settings are reversed [MetalGod].
- 07351: [DIP/Input] (subsino2.cpp) ptrain: Payout button does not work [Dirk Best)].
- 07354: [Flip Screen/Cocktail] (taitosj.cpp) spacecr: Cabinet type and flip screen DIP switches are reversed [MetalGod].


New working machines
--------------------
Gemcrush (Japan) [ShouTime, anonymous donor from Italy, ANY, Scott Moor, Russell Howard, Evan Korzon, Henrique Areias Pontes, Sean Sutton, Mr Goodwraith, Christopher Brownlee, Smitdogg, The Dumping Union, Angelo Salese]
VRT VT SDK 'Pink Jelly' (VT03 Demo) [ClawGrip]
VRT VT SDK 'VT03 Sound Test' (Sound Generator FMDemo) [ClawGrip]


New working clones
------------------
Huanle Liuhe Yi (Happy 6-in-1) (M68K ver. V100HK, ARM ver. V100HK) [GC8TECH]
Photo Y2K / Chaoji Bi Yi Bi / Dajia Lai Zhao Cha / Real and Fake (ver. 103, Japanese Board) [GC8TECH]
Puzz Loop 2 (Japan 010226 Phoenix Edition) (bootleg) [Anonymous]
Qume QVT-102A [Dirk Best]
Super Invasion (Electromar, Spanish) [ARPA, Recreativas.org]
Thunder & Lightning (bootleg with Tetris sound, set 2) [Bliep]


Machines promoted to working
----------------------------
Bikkuri Pro Wrestling (Japan 881221, Ver 1.05) [Angelo Salese]


Clones promoted to working
--------------------------
RyuKyu (Japan) (FD1094 317-5023) [Recreativas.org, The Dumping Union]


New machines marked as NOT_WORKING
----------------------------------
Fuusen Pentai [R. Belmont, SpinalFeyd, The Dumping Union]
Goldart (Spain) [Morten Shearman Kirkegaard, Peter Wilhelmsen, David Haywood, jordigahan, ClawGrip, Roberto Fresca, Ryan Holtz, David Torres, ArcadeHacker, Anarkade, ElSemi, Rafa Martinez, Ricky2001, Jonathan Valls, Lluis Mora, ElArcadio, Game Museum Team, Javier Martinez, Kaiser77, Pilar Bermudez, StrPinball, Eduardo Molina, Juanan Laguna, Angel Diaz, Recreativas.org]
Korokoro Pensuke [R. Belmont, SpinalFeyd, The Dumping Union]
Magic Bomb [Cristiano-MDQ]
ManilaMatic Master [Stefan Fettes]
Mindset Corporation Mindset Video Production System [O. Galibert, Al Kossow, Bitsavers]
Olympic Darts (K7) [jordigahan, ClawGrip, Roberto Fresca]
Queen Bee Bingo [Cristiano-MDQ]
Rhythm Nation (v01.00.04) [R. Belmont, ClawGrip, Arcade Vintage, Recreativas.org, The Dumping Union]
Super Train (Ver. 1.9) [Cristiano-MDQ]
Taiko no Tatsujin 6 (Japan, TK61 Ver.A) [Bill D, The Dumping Union, defor, twistedsymphony]
Treasure Bonus (American Alpha, Ver. 1.6) [Cristiano-MDQ]
Treasure City (Ver. 208) [Cristiano-MDQ]
Treasure Mary [Cristiano-MDQ]
VRT VT SDK 'Boxing' (Demo for VT03 Pic32) [ClawGrip]
VRT VT SDK 'Pinball' (C-Compiler Demo Program 2) [ClawGrip]


New clones marked as NOT_WORKING
--------------------------------
Big Karnak (Modular System) [Recreativas.org, ArcadeHacker, ClawGrip, David Haywood]
Captain Zodiac (World) [Berty]
Corvette (PX3 Prototype) [PinMAME]
Champion Poker (v101) [Cristiano-MDQ]
Champion Poker (v201F) [Cristiano-MDQ]
Champion Poker (v210KS) [Cristiano-MDQ]
Champion Poker (v300US) [Cristiano-MDQ]
Cyber Troopers Virtual-On Relay (Japan) [ShouTime, defor]
Gals Panic (Modular System bootleg) [Juan Romero, Recreativas.org, ClawGrip, David Haywood]
Goldart (Portugal) [Morten Shearman Kirkegaard, Peter Wilhelmsen, David Haywood, jordigahan, ClawGrip, Roberto Fresca, Ryan Holtz, David Torres, ArcadeHacker, Anarkade, ElSemi, Rafa Martinez, Ricky2001, Jonathan Valls, Lluis Mora, ElArcadio, Game Museum Team, Javier Martinez, Kaiser77, Pilar Bermudez, StrPinball, Eduardo Molina, Juanan Laguna, Angel Diaz, Recreativas.org]
Mushiking The King Of Beetle (2K3 2ND Ver. 1.002-, World) [f205v]
Toki (Modular System) [Juan Romero, Recreativas.org, ClawGrip]
Treasure City (Ver. 202) [Cristiano-MDQ]


Source Changes
--------------
- mc68340 timer improvements: Fixed pre-scaler calculation. Handle various reset behaviors. Record TOUT changes in status register. Improved handling of COM flag and compare register being zero. Wait for cycle after reaching zero to reload [AJR].
- ds1386: Fixed initialization of RTC registers from system time, and made default command register value more useful [AJR].
- Implemented accurate byte-smearing for writes on 32-bit M68k family CPUs [AJR].
- i8275: Improved and simplified handling of field attributes [AJR].
- Fixed fatal error when attempting to set a watchpoint straddling unaligned portions of two adjacent native words [AJR].
- x68000: Overhauled interrupt handling, and added second expansion slot [AJR].
- Added preliminary disassembler and skeleton CPU device for the Elan RISC II architecture [AJR].
- unidasm: Corrected address shifts for u'nSP and uPD7725 [AJR].
-a2vidtrm, a2vtc2: Merged devices and ROM sets [AJR] 
- Corrected VGA/SVGA display parameters [AJR].
- Added disassembler and skeleton device for   the DP8344 Biphase Communications Processor [AJR].
- cntsteer.cpp: Fix sprite colors and magnification feature [Angelo Salese].
- deco32.cpp: Provided gun Y minimum/maximum values for Locked N Loaded, making it possible to calibrate [Angelo Salese].
- balsente.cpp: Fixed reversed joystick inputs for players 3 and 4 [Angelo Salese].
- sh2.cpp updates: Started refactoring SH7604 system-on-a-chip. Fixed condition for clearing divider unit overflow flag. Fixed division unit overflow flag clearance [Angelo Salese].
- mega32x.cpp: Improved member names, and converted read/write handlers to 16-bit space [Angelo Salese].
- exedexes.cpp: Converted to priority drawing, simplified graphics decoding and cleaned up code [cam900].
- 1943.cpp: Fixed drawing priorities, reduced runtime tag map lookups, simplified graphics decoding, and cleaned up code [cam900].
- decmxc06.cpp: Fixed graphical regressions and corrected comments [cam900].
- jedi.cpp updates: Added graphics decoding for debugging (disabled by default) and converted palette handling to use palette device. Reduced runtime tag map lookups and cleaned up code [cam900].
- ddenlovr.cpp: Corrected CPU type [cam900].
- drawgfx.cpp: Added functionality for drawing bitmaps and scan lines with priority, and exposed additive blending function. Converted hng64.cpp, realbrk.cpp and stvvdp2.cpp to use new common functionality [cam900].
- tigeroad_spr.cpp: Moved graphics decoding from the drivers into the device, and cleaned   up code [cam900].
- aquarium.cpp, asuka.cpp, bionicc.cpp, tigeroad.cpp, supduck.cpp: Simplified graphics decoding and cleaned up code [cam900].
- fuukifg.cpp updates: Moved sprite RAM to drivers, and added callbacks for colour/priority/banking behavior. Moved graphics decoding into the device, and cleaned up code [cam900].
- fuukifg2.cpp, fuukifg3.cpp, gcpinbal.cpp: Cleaned up code [cam900].
- excellent_spr.cpp: Moved graphics decoding into the device, added callback for priority behavior, and cleaned up code [cam900].
- video/generic.cpp: Added packed 4-bit and raw graphics layouts. Now used in 2mindril.cpp, ashnojoe.cpp, asuka.cpp, f1gp.cpp, pgm2.cpp, powerins.cpp, psikyosh.cpp, and undrfire.cpp [cam900].
- epic12.cpp: Added a video RAM viewer for debugging (disabled by default), and cleaned up code [cam900].
- ninjaw.cpp cleanup: Cleaned up sprite priority behavior, and split graphics layouts for each TC0100SCN chip. Eliminated register_postload, simplified graphics decoding and cleaned up code [cam900].
- warriorb.cpp: Derive clocks from crystals on PCB, simplified graphics decoding, and cleaned up code [cam900].
- othunder.cpp, topspeed.cpp: Reduced runtime tag map lookups, simplified graphics decoding, and cleaned up code [cam900].
- taito_z.cpp: Reduced use of MCFG_MACHINE_START and MCFG_MACHINE_RESET macros, and cleaned up code [cam900].
- wgp.cpp updates: Implemented masked drawing priorities, and simplified graphics decoding. Eliminated register_postload, reduced redundancy, cleaned up code, and added notes [cam900].
- tc0280grd.cpp: Moved graphics decoding from the drivers to the device, and added support for masked drawing priorities [cam900].
- taito_f2.cpp: Implemented masked priority for ROZ layer, fixed finalb 6-bit graphics decoding, and cleaned up code [cam900].
- galastrm.cpp: Simplified graphics decoding [cam900].
- groundfx.cpp, undrfire.cpp: Fixed 6-bit graphics decoding and cleaned up code [cam900]
- tc0100scn.cpp: Allow graphics granularity to be updated after configuration [cam900].
- 2mindril.cpp: Improved notes and metadata for 2mindril [cam900].
- taito_f3.cpp, 2mindril.cpp updates: Improved graphics decoding and ROM loading. Defer allocation of video RAM to start time, reduced runtime tag map lookups, reduced redundancy, and cleaned up code [cam900].
- ashnojoe.cpp: Corrected number of tilemaps, reduced runtime tag map lookups, reduced redundancy, and cleaned up code [cam900].
- gp9001.cpp: Added callback for bank switching, suppress read side effects for debugger and cleaned up code [cam900].
- toaplan2.cpp: Cleaned up code [cam900].
- seta.cpp: Suppress read side effects for debugger, simplified graphics decoding, and cleaned up code [cam900].
- rohga.cpp, segas32.cpp: Added links to reference videos [cam900].
- darius.cpp updates: Simplified graphics decoding, and cleaned up sprite priority behavior. Eliminated register_postload, reduced runtime tag map lookups, reduced redundancy, and cleaned up code [cam900] 
- tc0480scp.cpp updates: Moved graphics decoding from drivers into device, and fixed text layer graphics decoding for bootleg boards. Improved graphics decoding and cleaned up code in drivers using this device [cam900].
- tc0100scn.cpp: Moved graphics decoding from drivers to device, made color base configurable, and added TC0620SCC variant [cam900].
-metro.cpp: Fixed vertical blanking interrupt routing for bangball [cam900].
- igs017_igs031.cpp: Avoid creating temporary graphics elements to improve performance [cam900].
- boogwing.cpp, dblewing.cpp, deco156.cpp, deco32.cpp, dietgo.cpp, mirage.cpp, supbtime.cpp: Simplified graphics decoding [cam900].
- cninja.cpp: Simplified graphics decoding, and improved ROM region names [cam900].
- toaplan2.cpp: Reduced runtime tag map lookups, reduced redundancy, improved sound mixing levels, and cleaned up code [cam900].
- cbuster.cpp: Simplified graphics decoding, changed palette to use a format handler, and cleaned up code [cam900].
- huc6230.cpp, huc6272.cpp: Added links to relevant patents [cam900].
- tc009xlvc.cpp updates: Moved on-chip functionality from driver to device, including bank switching, graphics, interrupts, palette, and video registers. Converted banking to use address_map_bank_device, and cleaned up code and added notes [cam900].
- lastbank.cpp: Corrected audio CPU program ROM region size [cam900].
- tzx_cas.cpp: Revert changes to pause insertion that cause Speedlock loaders to fail [David Haywood].
- redclash.cpp: Re-parented Red Clash sets, as it appears to be a Kaneko game [David Haywood].
-Added uPD7004 analog to digital converter device [Dirk Best].
- bbusters: Refactored to use uPD7004 device and adjusted gun limits to better match factory defaults (MT07333) [Dirk Best].
- subsino2.cpp: Added hopper/ticket dispenser and fixed key-out and payout inputs for xtrain and ptrain (MT07351) [Dirk Best].
- argus.cpp: Added notes about the ROM checksum tests [Dirk Best].
- qvt102.cpp updates: Added low-level keyboard emulation, including beeper. Fixed some graphical issues, corrected blink frequency, and added support for full-screen reverse. Added support for German and UK character sets. Hooked up CTC properly, added RS-232 auxiliary port, and added configuration jumpers for RS-232 control signals. Added save state support [Dirk Best].
-qvt6800.cpp: Renamed to qvt190.cpp, added graphics decoding, and implemented basic text rendering [Dirk Best].
-qvt103.cpp, qvt201.cpp: Added graphics decoding [Dirk Best].
- qvt70.cpp: Started to flesh out the skeleton driver [Dirk Best].
- z80sio.cpp: Improved synchronous mode emulation using HP98406 tests for guidance [F. Ulivi].
- hp9845: Added support for the HP98046 serial I/O module [F. Ulivi].
- Fixed Visual Studio clang/llvm build configuration [feos].
- by35.cpp updates: Added Bally Squawk & Talk sound boards, and switched video games over to new implementation. Added audio output filters. Added sound LED to layouts [hackbar].
- tms5220.cpp: Adjusted delay between /RS being activated and /READY being asserted. [hackbar].
- 6821pia.cpp: Made reading port A when it's in output mode more flexible [hackbar].
- Changed auto-fire plugin to store configuration in the plugin home path directory [Jack Li].
- Added X11 XInput development library package to Travis build configuration [Kiall Mac Innes].
- toypop.cpp: Fixed rendering of withered flowers in liblrabl [kunikuni].
-Default save/load search path to an empty string if it's null [Nathan Woods].
-Added a -version verb that prints the build version [Nathan Woods].
- ef9365.cpp: Fixed vertical characters, and use configured palette [Nigel Barnes].
-Fixed a subtle memory subsystem bug in unit mask handling [O. Galibert].
- SGI IOC2: Switched to using emulated PS/2 keyboard/mouse controller - fixes inability to type numerous characters [Patrick Mackinlay, Ryan Holtz].
- audio/bally.cpp: Fixed AS2888 sound board playing incorrect tones, and changed sound test switch assignment to avoid conflicts
 [Quench].
- konmedal updates: Corrected K52109 mapping and tile banking for shuriboy and fuusenpn. Fixed visible area, colors and priorities for shuriboy [R. Belmont].
- konmedal68k.cpp: Added address map for koropens, allowing it to pass its self-test [R. Belmont].
- SGI Newport graphics updates: Added Display Control Bus timeout - prevents Presenter board from being erroneously detected. Fixed COLORI shift when cross-initialized by COLORRED, RGB vs. CI fast-clear handling, and octant calculation for lines. Fixed handling of COLORI register alternate access, and added support for RAMDAC gamma LUT. Fixed source buffer shift when blending is enabled. Fixed line drawing to not cause a hang in certain cases. Fixed color iterator reload behavior, and color iterator clamping behavior. Fixed per-pixel alpha. Added support for endian swapping on host data port writes, and added double-buffer shift support for non-RGB/CI planes. Fixed Packed Color Fractions register handling. Fixed store shift for overlay planes - fixes cursor outlines in Barco ColorTone [Ryan Holtz].
- sgi_mc: Fixed VDMA TLB which caused corrupt bitmap transfers [Ryan Holtz].
-SGI HAL2 audio updates: Added handling for different frequency rates and fixed stereo DAC playback. Moved DAC devices into HAL2 from HPC3. Implemented DAC parameter read-back [Ryan Holtz].
- indy_indigo2.cpp: Improved set names, converted to use BIOS options, and added B4 stepping of Indy boot PROM [Ryan Holtz].
- am2910: Added a preliminary, largely-untested Am2910 Microprogram Controller device [Ryan Holtz].
- tdc1008: Emulated the TRW TDC1008 Multiplier-Accumulator [Ryan Holtz].
- tmc208k: Added device for the TRW TMC208K/TMC28KU 8x8-bit Parallel Multiplier [Ryan Holtz].
- am25s55x: Added initial implementation for Am25S557 and 25S558 Combinatorial Multiplier chips [Ryan Holtz].
- 74381: Added untested 74S381 ALU/Function Generator device [Ryan Holtz].
- Renamed SGI GIO bus implementation to GIO64 (it's not the same as the earlier 32-bit GIO bus) [tyfighter].
- ap2_dsk.cpp: Added support for 40-track disk images used by Chinese clones [zzemu, R. Belmont].
- Konami System 573 MP3 playback fixes: Fixed addressing issues that could cause crashes, failure to boot, or bad graphics. Fixed playback flag handling, added volume control, and fixed the way playback time is reported. Fixed transitioning between MP3 files [Windy Fairy].
- chanbara.cpp: Added DIP switch locations for chanbara [Corrado Tomaselli, The Dumping Union].
- aristmk6.cpp: Added Queensland 25012805 BIOS [Dam0, Heihachi_73].
- aristmk5.cpp: Dumped USA set chips v1.0, v4.03.07 and v4.04.05 [Gaby, Roberto Fresca].
-gticlub.cpp, hornet.cpp: Expanded notes about I/O boards [Hydreigon].
-bagman.cpp: Changed pickin to use an 8-way joystick, and corrected DIP switch locations [Mark Spaeth, Tafoid].
- m72.cpp: Dumped GAL at IC3 for lohtb. [parramon, ClawGrip].
- toki_ms.cpp: Re-dumped "5_tk_514.ic25" ROM for tokims [parramon, ClawGrip].
- konmedal.cpp: Dumped PROMs for shuriboy [TeamEurope, Rod_Wod, The Dumping Union].
