Change log - May 15, 2017 - 09:46

Changes:


* constructor delegation (nw)

* Fix validation (nw)

* ppp2nd note (nw)

* Gun triggers for p911/jpark3 (nw)

* epos.cpp: Implemented Tristar 9000 hardware ay-3-8910 port A 'multiplexer', PSG REGISTERS test can (in theory) pass with dipswitches set now.

Switched Tristar 8000 hardware to use ay-3-8912 as shown on schematics. [Lord Nightmare]

* need a _and_ b (nw)

* outputs were supposed to be safe (nw)

* one more typo (nw)

* Starting from the Favorites menu now starts the software list submenu (if necessary). (#2308)

* Starting a machine containing a list of the software from the Favorites menu, now determines the launch of the appropriate sub-menu with the list of software.

* couple more things for MSVC (nw)

* Merge pull request #2307 from tlindner/games_master_cartridge

Games Master Cartridge slot device for the Color Computer

* Vasified source.

* Minor cleanup of some old defines.

* Updated for latest mame revision.

* Merge branch 'master' into games_master_cartridge

* Emulation of Games Master Cartridge

* and another (nw)

* forgot this (nw)

* thorn in my side (nw)

* work around MSVC issue (nw)

* fix 25pacmano (nw)

* fix up bad state classes (nw)

* more spelling fixes (nw)

* more incorrect names fixed (nw)

* typo for MSVC (nw)

* New working software list additions

-----------------------------------

ibm5150: Operation Wolf, Terminator 2: Judgment Day [ArcadeShadow]

ibm5150: Ferrari Formula One, Savage [breiztiger]

ibm5170: Dark Seed, The Secret of Monkey Island [ArcadeShadow]

* pci-ide: Allow for address size resolving even in legacy mode. (nw)

* senjyo.cpp: Compile fix - sloppy cut-n-paste (nw)

* hh_tms1k: fix error: devcb_read: Error performing a late bind of type 13driver_device to 14elecbowl_state (nw)

* senjyo.cpp: The Video Wave version of Mege Force is actually a US set (nw)

* New Mega Force clone added

New Clone Added

---------------------------------------------

Mega Force [ShoutTime, The Dumping Union]

out of whatsnew: This doesn't add any new roms, but does VERIFY the combo of roms on a genuine Tehkan PCB.

* Revert "reordering the #include lets you build this file with latest mingw headers (nw)"

This reverts commit c3b10caf4e83135756ce400ec39d1b10b7d97b93.

* reordered #include again for latest mingw64 includes (nw)

* reordering the #include lets you build this file with latest mingw headers (nw)

* hiscore.dat: Updates [Leezer]

* Fixed various issues that failed when compiling Vas' changes on MSVC

Most of these appear to be typos that should be benign but due to MSVC bugs, are not benign

The dac.h 'bits' thing is just stupid

* minor docs update (nw)

* Move static data out of devices into the device types. This is a significant change, so please pay attention.

The core changes are:

* Short name, full name and source file are no longer members of device_t, they are part of the device type

* MACHINE_COFIG_START no longer needs a driver class

* MACHINE_CONFIG_DERIVED_CLASS is no longer necessary

* Specify the state class you want in the GAME/COMP/CONS line

* The compiler will work out the base class where the driver init member is declared

* There is one static device type object per driver rather than one per machine configuration

Use DECLARE_DEVICE_TYPE or DECLARE_DEVICE_TYPE_NS to declare device type.

* DECLARE_DEVICE_TYPE forward-declares teh device type and class, and declares extern object finders.

* DECLARE_DEVICE_TYPE_NS is for devices classes in namespaces - it doesn't forward-declare the device type.

Use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_NS to define device types.

* These macros declare storage for the static data, and instantiate the device type and device finder templates.

The rest of the changes are mostly just moving stuff out of headers that shouldn't be there, renaming stuff for consistency, and scoping stuff down where appropriate.

Things I've actually messed with substantially:

* More descriptive names for a lot of devices

* Untangled the fantasy sound from the driver state, which necessitates breaking up sound/flip writes

* Changed DECO BSMT2000 ready callback into a device delegate

* Untangled Microprose 3D noise from driver state

* Used object finders for CoCo multipak, KC85 D002, and Irem sound subdevices

* Started to get TI-99 stuff out of the TI-990 directory and arrange bus devices properly

* Started to break out common parts of Samsung ARM SoC devices

* Turned some of FM, SID, SCSP DSP, EPIC12 and Voodoo cores into something resmbling C++

* Tried to make Z180 table allocation/setup a bit safer

* Converted generic keyboard/terminal to not use WRITE8 - space/offset aren't relevant

* Dynamically allocate generic terminal buffer so derived devices (e.g. teleprinter) can specify size

* Imporved encapsulation of Z80DART channels

* Refactored the SPC7110 bit table generator loop to make it more readable

* Added wrappers for SNES PPU operations so members can be made protectedv

* Factored out some boilerplate for YM chips with PSG

* toaplan2 gfx

* stic/intv resolution

* Video System video

* Out Run/Y-board sprite alignment

* GIC video hookup

* Amstrad CPC ROM box members

* IQ151 ROM cart region

* MSX cart IRQ callback resolution time

* SMS passthrough control devices starting subslots

I've smoke-tested several drivers, but I've probably missed something. Things I've missed will likely blow up spectacularly with failure to bind errors and the like. Let me know if there's more subtle breakage (could have happened in FM or Voodoo).

And can everyone please, please try to keep stuff clean. In particular, please stop polluting the global namespace. Keep things out of headers that don't need to be there, and use things that can be scoped down rather than macros.

It feels like an uphill battle trying to get this stuff under control while more of it's added.

* epos.cpp: Some corrections to rom names/comments and added rom types based on pcb pictures; added note that revngr84 is a newer set rom-numbering wise than revenger is. [Lord Nightmare]

* TMS3203x: RTPS should be RPTS -nw-

* namcos12.cpp: Correct Asia "2" region to World (nw)

* epos.cpp: Correct PCB layout (nw)

* model3.cpp: minor doc update (nw)

* New Shiritsu Justice Gakuen clone

New Clone Added

--------------------------------------

Shiritsu Justice Gakuen: Legion of Heroes (Japan 971216) [ShouTime, The Dumping Union]

* Lua scripts cleanup.

* vrc5074: Fixed serial register handling. (nw)

* vegas: Added some logic to get warfa to start booting. (nw)

* vrc5074: Added save states. (nw)

* vegas: Converted vegas driver to use new PCI bus.

* voodoo_pci: Add additional pci configuration registers for vegas support. (nw)

* gt64xxx: Change sdram configuration options. (nw)

* vrc5074: Added new Nile 4 System Controller device

* namcos11.cpp: Dancing Eyes World Ver C (DC2/VER.C) known to exist (nw)

* correct NAOMI Namco games regions World<->Asia (nw)

* new machine added as NOT_WORKING

--------------------------------

Football Power [ArcadeHacker, The Dumping Union]

* more timer_pulse removal (nw)

* forgot mame.lst (nw)

* namcos11.cpp: reworked game regions according to infos provided by ShouTime (nw)

* new working clone

-------------------------

Penky (Italian) [ShouTime, The Dumping Union]

* New working clone

--------------------------

Nibbler (rev 7) [CraftyMech]

* hmcs40: fix possible issue with irq/lpu (nw)

* Bug fix to -romident and aux verb cleanup (take two) (#2299)

* Resurrected auxverb_cleanup_and_romident_bugfix

* Changed usage for -romident and minor cleanups

* Supporting auxverbs in any order

The previous patch was supporting 'mame64 -listsource pacman' but not 'mame64 pacman -listsource'

* hh_hmcs40: added ladders to gckong svg (nw)

* hh_hmcs40: added simple workaround for bultrman (nw)