Commit Graph

50811 Commits

Author SHA1 Message Date
Justin Kerk
38bd0f153a New working software list additions
-----------------------------------
ibm5150: Prince of Persia v1.0 [ArcadeShadow]
ibm5170: Monkey Island 2: LeChuck's Revenge, Space Quest V: The Next Mutation [ArcadeShadow]
2017-04-08 20:58:58 -07:00
arbee
c63db67fe2 Games added as GAME_NOT_WORKING:
Megatouch XL 6000 [R. Belmont, AeroCityMayor, Smitdogg, The Dumping Union]
2017-04-08 23:35:33 -04:00
briantro
0d80b42ea6 meritm.cpp: Minor corrections to Game name & rom name (nw) 2017-04-08 22:06:57 -05:00
Nathan Woods
67da857096 Made a few random methods 'const' 2017-04-09 12:33:22 +10:00
couriersud
a55419d485 Fix VS2015 build. (nw) 2017-04-09 04:25:49 +02:00
couriersud
5a24cab445 More work on 9316. (nw) 2017-04-09 04:25:09 +02:00
couriersud
6e9637196d Refactored 74715 to one device layout. Removed subdevice. (nw) 2017-04-09 02:42:38 +02:00
couriersud
49d50c3045 Netlist code refactoring:
- more use of c++ features
- some CRTP in pfmtlog
- demangled code for truthtables
- use more constexpr
- rewrite main loop
- use default constructors and assignment operators were applicable.
- optimized 7448 and 9316

All of this has decreased startup time by approx. 25% to 30%. Complex
netlists like pong or kidniki are parsed, analyzed and constructed in
around 15 ms. Run performance has increased by about 5%.

All in all not to bad. A game like pong uses a clock of 7 MHz (after
division by 2). Thats 14 MHz clock invocations. Running at over 200%, 28
MHz. On a 3.9 GHz Machine about 140 cycles/clock change.

[Couriersud]
2017-04-09 00:04:10 +02:00
MetalliC
3f9f4eedcf naomi.cpp: converted remaining bad CHD v4 to good v5,
track1 and track2 length was restored based on known now data patterns
2017-04-09 00:31:15 +03:00
npwoods
a334ce66be Fixed some regressions introduced in my recent refactoring related to software lists (#2217)
This fixes crashes invoked by the following command lines

	mame nes zelda
	mame gamate cubeup

These had two independent causes.  The first crash was a consequence of open_image_file() doing something inappropriate required by implementations of get_default_card_software().  The second crash was a failure to access image options moved outside the core_options structure.
2017-04-08 22:59:25 +02:00
Rebecca G. Bettencourt
ace3e6b08a P2 IO port should be optional. My apologies. (#2216)
Wireless 60 (Jungle Soft / Kids Station Toys Inc) P2 IO port should be optional. My apologies.
2017-04-08 20:20:21 +10:00
Ivan Vangelista
ae13c50eda sg1000a.cpp: correct year for sderby2. Thanks sjy96525 (nw) 2017-04-08 07:12:31 +02:00
AJR
6a28cbd39e decocass.cpp: Correct missile colors for Highway Chase and Astro Fantasia 2017-04-08 00:07:25 -04:00
arbee
3c5fe35bb7 otomedius: add on-screen version code displayed (nw) 2017-04-07 22:46:17 -04:00
arbee
311d30941b New games added as GAME_NOT_WORKING:
Police Trainer 2 [R. Belmont, gamerfan, Mr. CAST, Smitdogg, The Dumping Union]
2017-04-07 22:43:04 -04:00
AJR
86171551b7 Fix palette-related regressions in Konami GX games (nw) 2017-04-07 22:11:22 -04:00
limyz
e23dd34558 Fixed gtrfrk6m from booting up due to an incorrect flash card memory size. 32MB works for gtrfrk5m as well. (#2214) 2017-04-07 22:12:10 +02:00
Rebecca G. Bettencourt
3a7473a7f4 New working machine added: Wireless 60 (Jungle Soft / Kids Station Toys Inc) (#2215) 2017-04-07 22:11:18 +02:00
Ivan Vangelista
199dbb29bc video/zeus2.cpp: fixed compile (nw) 2017-04-07 18:53:08 +02:00
Ted Green
fb18eff6f9 zeus2: Increase input fifo empty interrupt time and start to use address for quad selection. (nw) 2017-04-07 09:03:08 -06:00
Vas Crabb
832f67108a whoops (nw) 2017-04-07 14:05:40 +10:00
ajrhacker
9ed0c66274 Merge pull request #2213 from npwoods/dipalette_fix_msvc_whining
Fixed a pedantic MSVC warning in dipalette.h
2017-04-06 21:28:03 -04:00
Nathan Woods
c54d832ef8 Fixed a pedantic MSVC warning in dipalette.h 2017-04-06 20:51:24 -04:00
AJR
47bcfe80b4 v9938: A little cleanup (nw) 2017-04-06 19:03:56 -04:00
AJR
cb68159154 Palette device fixes (nw)
- Enforce dependencies in various Konami, Sega & Seta GFX devices
- Disable palette uniqueness check in divideo
2017-04-06 18:00:43 -04:00
Ivan Vangelista
0eebf8c69c New not working clone
---------------------------
Tokyo Cop (US, dedicated version) [Mark F., Smitdogg, The Dumping Union]
2017-04-06 19:21:33 +02:00
Ivan Vangelista
b80a7313fd oops (nw) 2017-04-06 19:07:27 +02:00
Ivan Vangelista
14441110b4 new not working machine
------------------------
Super Derby II (Satellite board) [Charles MacDonald, The Dumping Union]
2017-04-06 19:05:37 +02:00
yz70s
009bf030b1 chihiro: minor update (nw) 2017-04-06 07:30:14 +02:00
npwoods
f809f0e08d Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts (#2010)
* Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts

Also:
  - Converted the NTFS filetime code to use util::arbitrary_clock
  - Converted the Mac datetime code to use util::atribrary_clock

This is in preparation for a bigger change to Imgtool where I eliminate usage of time_t
2017-04-06 11:39:00 +10:00
Kaz
ee19701c2c nes.xml: new dumps
Adan y Eva [hashes were known, but ROMs surfaced on No-Intro]
AV Super Real Pachinko [Frank Cifaldi]

nes.xml: Marked edu2k48 as working, added notes about mouse titles.
Made koko not use battery-backed WRAM as evidenced on PCB picture. (nw)

bus/nes/waixing.cpp: Slight modernizations. waixing_sgzlz_device is now
implemented the way CaH4e3 does it, also gets some titles mostly working
in full. (nw)

fc_suborkey_device: Make PgUp and PgDown keys actually work (nw)
2017-04-06 11:36:10 +10:00
Michael.S.G
357b5778a5 Ipt service button fixes & cleanups (#2085)
* realbrk.cpp Remove service button hard coded keycode assignment

Remove hard coded key assignment and use default mapping.
Mame Testers Bug:
http://mametesters.org/view.php?id=6489

* albazc.cpp (hanaroku) Use standard inputs & key assignments.

Use standard inputs consistent with other hanafuda games.
(hanafuda games usually have a mahjong panel for input)
Remove hard coded IPT_SERVICE assignments.
Mame Testers Bug:
http://mametesters.org/view.php?id=6489

* aleck64.cpp Correct Service/Test Button assignments.

"Service Mode" which is assigned to IPT_SERVICE is not located in aleck64.cpp - No changes.
"Service Button" is assigned to IPT_SERVICE1 (Hard coded keycode removed & default used).
"Test Button" is assigned to IPT_SERVICE2 (Test Button is not displayed in Machine input....).
Mame Testers Bug:
http://mametesters.org/view.php?id=6489

* amaticmg.cpp (suprstar) Remove hard coded keycode assignments

Remove hard coded key assignment and use default mapping.
Mame Testers Bug:
http://mametesters.org/view.php?id=6489

* ampoker2.cpp Make various key assignments consistant

Cleanup different assignments for the same buttons across supported games while still keeping true to the Game Notes / Operation instructions.
1. Make "Operator Key" consistant (Use IPT_GAMBLE_SERVICE)
2. Make "Supervisor Key" consistant (Use IPT_SERVICE2)
3. Make "Hopper 1" consistant (Use IPT_OTHER, KEYCODE_Y)
4. Make "Hopper Out" consistant (Use IPT_OTHER, KEYCODE_G)
5. Make "Hopper Low" consistant (Use IPT_OTHER, KEYCODE_H)
6. Make "Return Line" consistant (Use IPT_OTHER, KEYCODE_J)
7. Make "Coin Refill" consistant (Use IPT_OTHER, KEYCODE_R)
8. Make "Payout" consistant (Use IPT_GAMBLE_PAYOUT)
9. Make "TILT" consistant (Use IPT_TILT)
10. Make "Double" consistant (Use IPT_GAMBLE_D_UP)

Mame Testers Bug:
http://mametesters.org/view.php?id=6489

* albazc.cpp: Assign "Data Clear" to IPT_MEMORY_RESET

Assign "Data Clear" to IPT_MEMORY_RESET

* albazc.cpp Change "Medal In" & "Pay Out" to standard buttons

Change "Medal In" & "Pay Out" to standard gamble service buttons (Previously standard service buttons).
Change Lockout "Key" to PORT_TOGGLE type.

* albazc.cpp Correct "Payout" button to use "IPT_GAMBLE_PAYOUT".

Payout operation has been clarified and noted at start of driver.
Correct "Payout" button to use "IPT_GAMBLE_PAYOUT".

* albazc.cpp Add Todo: Hookup hopper & Addresses.

Add Hookup hopper to to do list.
Add hopper activity addresses to notes.

* albazc.cpp Correct  IPT_SERVICE assignments

Rework PR to merge with commit 0bc96f38f1
Set IPT_SERVICE & Double up buttons as standard assignments.
Set "Ext In 1" & "Ext In 2" as IPT_OTHER.
2017-04-06 11:35:04 +10:00
AJR
8fe18e9ecc New device interface for palettes
- Create device_palette_interface, which takes over most functionality from palette_device except for the initialization/decoding routines and RAM interface.
- Update screen_device and device_gfx_interface to use a device_palette_interface object rather than a palette_device. This necessitates slight alterations to a few drivers and devices.
- Modify v9938 and v9958 to use the new device_palette_interface rather than a subdevice. This entails breaking a cyclic dependency between device_video_interface and screen_device for this case.
2017-04-06 11:30:40 +10:00
Nathan Woods
fbb7d927d3 Refactoring in response to MT#6531
Prior to this change, options for images and slots were stored in the emu_options collection.  Anything that might restart the emulation (such as slot changes and images that reset on load) had to manipulate the emu_options structure directly.  The dynamic nature of images and slots meant that some elaborate conventions for setting up this collection had to be understood by clients.

After this change, emu_options has two new members (image_options and slot_options) that expose image and slot selections via an std::map.  Anything that changes images or slots in a fashion that needs to persist across sessions needs to modify these data structures.  Additionally, some of the hairly logic (e.g. - get_default_card_software) now records its data here rather than trying to subvert the core_options system.

This is how MT#6531 was fixed; now when diimage.cpp sees an image that resets on load, it just modifies the image_options structure and forces a reset.  This allowed some further cleanups to happen within diimage.

This should be considered a very risky change, and scrutiny/feedback is welcome.  In particular, there seems to be functionality surrounding device bioses that I'm not 100% sure how it works; the syntax seems to imply that it only works on slot devices.
2017-04-06 11:20:45 +10:00
Nathan Woods
694a781215 Changed a lookup within the softlist code to use std::find_if() 2017-04-06 11:19:55 +10:00
Ivan Vangelista
ab8b83e9ed new not working machine
-------------------------
Tokyo Cop (US, kit version) [Mark F., Smitdogg, The Dumping Union]
2017-04-05 19:52:01 +02:00
Ivan Vangelista
7bdfe17ed6 New not working machine
-------------------------
Ring Riders (Software version v2.2) [Mark F., Smitdogg, The Dumping Union]
2017-04-05 18:15:30 +02:00
Ted Green
77d26cef72 zeus2: Add uv scaling. (nw) 2017-04-04 14:45:41 -06:00
ajrhacker
2923e360a1 Merge pull request #2207 from SailorSat/master
vicdual: fix missing explosion sound on n-sub (nw)
2017-04-04 15:38:05 -04:00
Ivan Vangelista
da69e8daac New not working machine
-----------------------------------
Gaelco Championship Tuning Race [Mark F., Smitdogg, The Dumping Union]

Also renamed the driver from tokyocop.cpp to gaelcopc.cpp. Other game on this hardware is Ring Riders. (nw)
2017-04-04 19:58:47 +02:00
Ariane Fugmann
8413b07e3f vicdual: fix missing explosion sound on n-sub (nw) 2017-04-04 15:25:58 +02:00
mahlemiut
3100882843 fm77av: fix mapping of F-BASIC ROM (fixes MT#06534) 2017-04-04 19:47:36 +12:00
Nathan Woods
ac1cea0dcf Fixed a bug that caused "Switch Item Ordering" in the software list menu to dupe entries
This was MT#6402
2017-04-04 11:33:34 +10:00
couriersud
58aa97913f pstring, pdynlib, pfmtlog refactoring :
pstring:
- added support for UTF16LE to pstring. 
- renamed size() to mem_t_size()
- renmaed len() to length()
- added size() == length()
- added empty()
- added simple compare()

pfmtlog:
- Simplified pfmtlog, added more c++

pdynlib:
- add a dynproc type to dynlib to wrap dynamic library calls. 

various:
- fix two coverty scan issue.
- various clang warnings fixed.

(nw)
2017-04-04 02:02:56 +02:00
AJR
9e78adc115 jankenmn: Add DAC type (nw) 2017-04-03 19:17:13 -04:00
ajrhacker
fdb3b5f6bf Merge pull request #2205 from npwoods/fix_unrecognized_option_reporting
Fixed issue that could cause bogus arguments to be reported incorrectly
2017-04-03 14:20:09 -04:00
MetalliC
557b0732b0 naomi.cpp: redumped "Initial D Arcade Stage Ver. 2 (Export) (GDS-0027)" [rtw] 2017-04-03 20:57:36 +03:00
Ivan Vangelista
7bd5683beb New not working machine added
--------------------------
Unknown Sega gambling game (M1 Satellite board) [Jacob Kesinger, Surgeville, Paul Vining, Smitdogg, The Dumping Union]
2017-04-03 19:21:41 +02:00
Ted Green
2dbbb19a49 zeus2: Added texture lookup for RGB555 direct color type. (nw) 2017-04-03 07:22:17 -06:00
arbee
6f5cef10c3 otomedius: IDed CPU and Northbridge, all components now known (nw) 2017-04-02 20:56:26 -04:00