Commit Graph

51457 Commits

Author SHA1 Message Date
Scott Stone
2a4132f9e8 Fix for cbm4032b "Fatal error: devcb_read: Error performing a late bind of type 9pet_state to 14pet2001b_state (name=pet2001b_state::pia1_pb_r)" (nw) 2017-05-15 15:17:13 -04:00
Miodrag Milanovic
9be358832d Fix tools as well (nw) 2017-05-15 19:40:12 +02:00
Miodrag Milanovic
a4c5e29c2f Forgot this one for GCC 7.1 (nw) 2017-05-15 19:27:56 +02:00
Miodrag Milanovic
f3b954ba6e Fix remaining GCC 7.1 issue (nw) 2017-05-15 18:47:53 +02:00
Miodrag Milanovic
662cee7fa4 Buffer overrun warnings from GCC 7.1 fixed (nw) 2017-05-15 18:47:53 +02:00
cracyc
40e1e3e698 Merge pull request #2303 from cracyc/linenoise_new
linenoise work
2017-05-15 11:41:06 -05:00
hap
e5f3a12e0a spc700: 3 more (nw) 2017-05-15 18:40:36 +02:00
hap
ac0d547d6f spc700: fix N flag in OP_LSRM (nw)
this macro is playing with fire:
#define FLAG_NZ     m_flag_n = m_flag_z /* Negative Flag and inverted Zero flag */
2017-05-15 18:34:04 +02:00
hap
8c18f02cee spc700: get rid of unneeded shifts (nw) 2017-05-15 18:30:56 +02:00
Miodrag Milanovic
21f7c8423f Fix obvious bugs found by GCC 7.1 (nw) 2017-05-15 17:38:50 +02:00
Miodrag Milanovic
b3e4f34645 constructor delegation (nw) 2017-05-15 11:23:45 +02:00
Miodrag Milanovic
b4fb95dd59 Fix validation (nw) 2017-05-15 11:01:34 +02:00
angelosa
572a1c803a ppp2nd note (nw) 2017-05-15 07:54:59 +02:00
angelosa
4b68c1bf4d Gun triggers for p911/jpark3 (nw) 2017-05-15 07:31:14 +02:00
Lord-Nightmare
321d93323f 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]
2017-05-15 01:08:39 -04:00
Vas Crabb
21d0662302 need a _and_ b (nw) 2017-05-15 12:24:32 +10:00
Vas Crabb
3a62007453 outputs were supposed to be safe (nw) 2017-05-15 12:19:48 +10:00
Vas Crabb
d3aa5244c7 one more typo (nw) 2017-05-15 11:50:22 +10:00
Dankan1890
38e846738d 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.
2017-05-15 11:37:55 +10:00
Vas Crabb
e7b8a8f98e couple more things for MSVC (nw) 2017-05-15 11:24:15 +10:00
npwoods
a46365d250 Merge pull request #2307 from tlindner/games_master_cartridge
Games Master Cartridge slot device for the Color Computer
2017-05-14 21:15:59 -04:00
Vas Crabb
e9de4eef90 and another (nw) 2017-05-15 10:49:44 +10:00
Vas Crabb
cfa63c7e1d forgot this (nw) 2017-05-15 10:48:38 +10:00
Vas Crabb
467143a5ac thorn in my side (nw) 2017-05-15 10:47:05 +10:00
Vas Crabb
6fbb04c725 work around MSVC issue (nw) 2017-05-15 10:33:52 +10:00
Vas Crabb
0026135232 fix 25pacmano (nw) 2017-05-15 10:05:14 +10:00
Vas Crabb
7c470f36c4 fix up bad state classes (nw) 2017-05-15 10:00:37 +10:00
tim lindner
963efbea77 Vasified source. 2017-05-14 15:50:36 -07:00
tim lindner
ef3254e428 Minor cleanup of some old defines. 2017-05-14 13:58:31 -07:00
tim lindner
5919311dd5 Updated for latest mame revision. 2017-05-14 13:53:08 -07:00
smf-
c1879a8c6c more spelling fixes (nw) 2017-05-14 21:48:48 +01:00
tim lindner
239f178cfe Merge branch 'master' into games_master_cartridge 2017-05-14 13:35:43 -07:00
smf-
e141a1c3b7 more incorrect names fixed (nw) 2017-05-14 21:17:21 +01:00
smf-
3607ecbd45 typo for MSVC (nw) 2017-05-14 21:09:26 +01:00
Justin Kerk
7db5c04a5d 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]
2017-05-14 12:48:36 -07:00
Ted Green
c84d7f1806 pci-ide: Allow for address size resolving even in legacy mode. (nw) 2017-05-14 13:22:12 -06:00
briantro
e99238e88b senjyo.cpp: Compile fix - sloppy cut-n-paste (nw) 2017-05-14 13:43:14 -05:00
hap
3e44b08b5b hh_tms1k: fix error: devcb_read: Error performing a late bind of type 13driver_device to 14elecbowl_state (nw) 2017-05-14 20:21:40 +02:00
briantro
9cbef8e35e senjyo.cpp: The Video Wave version of Mege Force is actually a US set (nw) 2017-05-14 12:46:48 -05:00
briantro
c201e90f36 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.
2017-05-14 12:41:11 -05:00
smf-
f7f4b2126e Revert "reordering the #include lets you build this file with latest mingw headers (nw)"
This reverts commit c3b10caf4e.
2017-05-14 16:49:49 +01:00
smf-
aca23ef3ba reordered #include again for latest mingw64 includes (nw) 2017-05-14 16:09:24 +01:00
smf-
c3b10caf4e reordering the #include lets you build this file with latest mingw headers (nw) 2017-05-14 16:09:24 +01:00
cracyc
644b5d761e hiscore.dat: Updates [Leezer] 2017-05-14 09:35:19 -05:00
Nathan Woods
48af971c2e 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
2017-05-14 23:02:40 +10:00
MetalliC
b39c0759e7 minor docs update (nw) 2017-05-14 15:39:29 +03:00
Vas Crabb
0f0d39ef81 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 protected
* 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.
2017-05-14 21:44:11 +10:00
Lord-Nightmare
e6c4be2b4d 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] 2017-05-14 03:27:30 -04:00
Philip Bennett
ba4920a71b TMS3203x: RTPS should be RPTS -nw- 2017-05-13 23:22:24 -07:00
briantro
4adc7dee30 namcos12.cpp: Correct Asia "2" region to World (nw) 2017-05-14 01:05:10 -05:00